From 1f46fd798a0f03f73c40fcb5156a040f475d8035 Mon Sep 17 00:00:00 2001 From: dcode Date: Sun, 14 Jun 2020 12:40:18 +0200 Subject: [PATCH] fix: Fix version string in SDK dist files --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 38f59d7bf2..fbc5f3b32e 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "asinit": "bin/asinit" }, "scripts": { - "build": "npm run build:bundle && npm run build:dts && npm run build:sdk", + "build": "npm run build:bundle && npm run build:dts", "build:bundle": "webpack --mode production --display-modules", "build:dts": "node scripts/build-dts && tsc --noEmit --target ESNEXT --module commonjs --experimentalDecorators tests/require/index-release", "build:sdk": "node scripts/build-sdk", @@ -67,7 +67,7 @@ "make": "npm run clean && npm test && npm run build && npm test", "all": "npm run check && npm run make", "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", - "postversion": "node scripts/postversion", + "postversion": "node scripts/postversion && npm run build:sdk", "prepublishOnly": "node scripts/prepublish", "postpublish": "node scripts/postpublish", "asbuild": "npm run asbuild:untouched && npm run asbuild:optimized",