Skip to content

Commit c9bf329

Browse files
committed
chore: fix build scripts
1 parent 5a2858c commit c9bf329

File tree

15 files changed

+28
-28
lines changed

15 files changed

+28
-28
lines changed

packages/nativescript-material-activityindicator/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./activityindicator.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/activityindicator/activityindicator.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/activityindicator/activityindicator.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\activityindicator\\activityindicator.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-bottomnavigationbar/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
}
1313
},
1414
"scripts": {
15-
"tsc": "cp ../../src/bottomnavigationbar/bottomnavigationbar.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
15+
"tsc": "cp -f ../../src/bottomnavigationbar/bottomnavigationbar.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1616
"tsc-win": "copy ..\\..\\src\\bottomnavigationbar\\bottomnavigationbar.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
17-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
17+
"build": "npm run tsc && npm run ngc",
1818
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1919
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
2020
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-bottomsheet/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./bottomsheet.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/bottomsheet/bottomsheet.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/bottomsheet/bottomsheet.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\bottomsheet\\bottomsheet.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-button/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./button.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/button/button.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/button/button.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\button\\button.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-cardview/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./cardview.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/cardview/cardview.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/cardview/cardview.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\cardview\\cardview.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"sideEffects": false,
77
"typings": "./core.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/core/core.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/core/core.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\core\\core.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
1111
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",

packages/nativescript-material-dialogs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"sideEffects": false,
77
"typings": "./dialogs.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/dialogs/dialogs.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/dialogs/dialogs.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\dialogs\\dialogs.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
1111
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",

packages/nativescript-material-floatingactionbutton/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./floatingactionbutton.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/floatingactionbutton/floatingactionbutton.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/floatingactionbutton/floatingactionbutton.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\floatingactionbutton\\floatingactionbutton.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-progress/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./progress.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/progress/progress.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/progress/progress.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\progress\\progress.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-ripple/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./ripple.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/ripple/ripple.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/ripple/ripple.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\ripple\\ripple.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-slider/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./slider.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/slider/slider.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/slider/slider.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\slider\\slider.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-snackbar/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./snackbar.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/snackbar/snackbar.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/snackbar/snackbar.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\snackbar\\snackbar.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-tabs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./tabs.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/tabs/tabs.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/tabs/tabs.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\tabs\\tabs.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-textfield/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./textfield.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/textfield/textfield.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/textfield/textfield.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\textfield\\textfield.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

packages/nativescript-material-textview/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"sideEffects": false,
77
"typings": "./textview.d.ts",
88
"scripts": {
9-
"tsc": "cp ../../src/textview/textview.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
9+
"tsc": "cp -f ../../src/textview/textview.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1010
"tsc-win": "copy ..\\..\\src\\textview\\textview.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
11-
"build": "npm run tsc && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
11+
"build": "npm run tsc && npm run ngc",
1212
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1313
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1414
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",

0 commit comments

Comments
 (0)