Skip to content

Commit 49068e6

Browse files
committed
chore: fix typescript compilation while pack compat pkg
1 parent 3206531 commit 49068e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/pack-scripts/pack-compat.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fs.emptyDirSync(tempFolderPath);
5656
fs.ensureDirSync(distFolderPath);
5757

5858
// Install, run tsc and run ngc
59-
execSync(`npm i && tsc && npm run ngc`, {
59+
execSync(`npm i && npm run tsc && npm run ngc`, {
6060
cwd: nsAngularPackagePath
6161
});
6262

nativescript-angular-package/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@
4141
},
4242
"scripts": {
4343
"ngc": "ngc -p tsconfig.json",
44-
"pack-with-scoped-version": "cd ../build/pack-scripts && npm i && npx ts-node pack-compat.ts"
44+
"tsc": "tsc",
4545
}
4646
}

0 commit comments

Comments
 (0)