Skip to content

Commit 2bc0302

Browse files
authored
fix: Rebuild with known version before publishing (#1414)
1 parent 0472909 commit 2bc0302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"asinit": "bin/asinit"
5050
},
5151
"scripts": {
52-
"build": "npm run build:bundle && npm run build:dts",
52+
"build": "npm run build:bundle && npm run build:dts && npm run build:sdk",
5353
"build:bundle": "webpack --mode production --display-modules",
5454
"build:dts": "node scripts/build-dts && tsc --noEmit --target ESNEXT --module commonjs --experimentalDecorators tests/require/index-release",
5555
"build:sdk": "node scripts/build-sdk",
@@ -67,7 +67,7 @@
6767
"make": "npm run clean && npm test && npm run build && npm test",
6868
"all": "npm run check && npm run make",
6969
"docs": "typedoc --tsconfig tsconfig-docs.json --mode modules --name \"AssemblyScript Compiler API\" --out ./docs/api --ignoreCompilerErrors --excludeNotExported --excludePrivate --excludeExternals --exclude **/std/** --includeDeclarations --readme src/README.md",
70-
"postversion": "node scripts/postversion && npm run build:sdk",
70+
"postversion": "node scripts/postversion && npm run build",
7171
"prepublishOnly": "node scripts/prepublish",
7272
"postpublish": "node scripts/postpublish",
7373
"asbuild": "npm run asbuild:untouched && npm run asbuild:optimized",

0 commit comments

Comments
 (0)