diff --git a/lib/api/package.json b/lib/api/package.json index c706f2874be..74059d981ea 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -24,7 +24,8 @@ "ts3.5/**/*" ], "scripts": { - "prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js" + "prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js", + "postversion": "node ./scripts/generateVersion.js" }, "dependencies": { "@reach/router": "^1.3.3", diff --git a/lib/cli/package.json b/lib/cli/package.json index 59293d650e6..4427f4d28f6 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -35,7 +35,8 @@ "prepare": "node ../../scripts/prepare.js && node -r esm ./scripts/generate-app-versions.js", "test": "cd test && ./run_tests.sh", "test-latest-cra": "cd test && ./test_latest_cra.sh", - "test-yarn-2": "cd test && ./run_tests_yarn_2.sh" + "test-yarn-2": "cd test && ./run_tests_yarn_2.sh", + "postversion": "node -r esm ./scripts/generate-app-versions.js" }, "dependencies": { "@babel/core": "^7.9.6",