Skip to content

Commit 90b3adf

Browse files
committed
chore: esm path find fix
1 parent 2ec5bff commit 90b3adf

File tree

15 files changed

+45
-60
lines changed

15 files changed

+45
-60
lines changed

packages/nativescript-material-activityindicator/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"name": "nativescript-material-activityindicator",
33
"version": "3.2.5",
44
"description": "Material ActivityIndicator component",
5-
"main": "./activityindicator.js",
6-
"module": "./activityindicator.mjs",
5+
"main": "./activityindicator",
76
"sideEffects": false,
87
"typings": "./activityindicator.d.ts",
98
"scripts": {
109
"tsc": "cp ../../src/activityindicator/activityindicator.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1110
"tsc-win": "copy ..\\..\\src\\activityindicator\\activityindicator.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
12-
"build": "npm run tsc && npm run build.esm && node ../../build.esm.js && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
13-
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm",
11+
"build": "npm run tsc && npm run build.esm && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
12+
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1413
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1514
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",
1615
"clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map"

packages/nativescript-material-bottomnavigationbar/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"name": "nativescript-material-bottomnavigationbar",
33
"version": "3.2.5",
44
"description": "NativeScript plugin to add a bottom navigation bar component for Android & iOS",
5-
"main": "bottomnavigationbar.js",
6-
"module": "./bottomnavigationbar.mjs",
5+
"main": "bottomnavigationbar",
76
"sideEffects": false,
87
"typings": "bottomnavigationbar.d.ts",
98
"nativescript": {
@@ -15,8 +14,8 @@
1514
"scripts": {
1615
"tsc": "cp ../../src/bottomnavigationbar/bottomnavigationbar.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1716
"tsc-win": "copy ..\\..\\src\\bottomnavigationbar\\bottomnavigationbar.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
18-
"build": "npm run tsc && npm run build.esm && node ../../build.esm.js && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
19-
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm",
17+
"build": "npm run tsc && npm run build.esm && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
18+
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
2019
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
2120
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",
2221
"clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map"

packages/nativescript-material-bottomsheet/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"name": "nativescript-material-bottomsheet",
33
"version": "3.2.5",
44
"description": "Material bottomsheet component",
5-
"main": "./bottomsheet.js",
6-
"module": "./bottomsheet.mjs",
5+
"main": "./bottomsheet",
76
"sideEffects": false,
87
"typings": "./bottomsheet.d.ts",
98
"scripts": {
109
"tsc": "cp ../../src/bottomsheet/bottomsheet.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1110
"tsc-win": "copy ..\\..\\src\\bottomsheet\\bottomsheet.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
12-
"build": "npm run tsc && npm run build.esm && node ../../build.esm.js && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
13-
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm",
11+
"build": "npm run tsc && npm run build.esm && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
12+
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1413
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1514
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",
1615
"clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map"

packages/nativescript-material-button/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"name": "nativescript-material-button",
33
"version": "3.2.5",
44
"description": "Material button component",
5-
"main": "./button.js",
6-
"module": "./button.mjs",
5+
"main": "./button",
76
"sideEffects": false,
87
"typings": "./button.d.ts",
98
"scripts": {
109
"tsc": "cp ../../src/button/button.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1110
"tsc-win": "copy ..\\..\\src\\button\\button.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
12-
"build": "npm run tsc && npm run build.esm && node ../../build.esm.js && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
13-
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm",
11+
"build": "npm run tsc && npm run build.esm && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
12+
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1413
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1514
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",
1615
"clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map"

packages/nativescript-material-cardview/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"name": "nativescript-material-cardview",
33
"version": "3.2.5",
44
"description": "Material cardview component",
5-
"main": "./cardview.js",
6-
"module": "./cardview.mjs",
5+
"main": "./cardview",
76
"sideEffects": false,
87
"typings": "./cardview.d.ts",
98
"scripts": {
109
"tsc": "cp ../../src/cardview/cardview.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1110
"tsc-win": "copy ..\\..\\src\\cardview\\cardview.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
12-
"build": "npm run tsc && npm run build.esm && node ../../build.esm.js && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
13-
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm",
11+
"build": "npm run tsc && npm run build.esm && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
12+
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1413
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1514
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",
1615
"clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map"

packages/nativescript-material-core/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"name": "nativescript-material-core",
33
"version": "3.2.5",
44
"description": "Material Core component",
5-
"main": "./core.js",
6-
"module": "./core.mjs",
5+
"main": "./core",
76
"sideEffects": false,
87
"typings": "./core.d.ts",
98
"scripts": {
109
"tsc": "cp ../../src/core/core.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1110
"tsc-win": "copy ..\\..\\src\\core\\core.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
12-
"build": "npm run tsc && npm run build.esm && node ../../build.esm.js && ../../node_modules/.bin/rimraf ./build/esm",
13-
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm",
11+
"build": "npm run tsc && npm run build.esm && ../../node_modules/.bin/rimraf ./build/esm",
12+
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1413
"clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map android"
1514
},
1615
"nativescript": {

packages/nativescript-material-dialogs/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"name": "nativescript-material-dialogs",
33
"version": "3.2.5",
44
"description": "Material Dialogs component",
5-
"main": "./dialogs.js",
6-
"module": "./dialogs.mjs",
5+
"main": "./dialogs",
76
"sideEffects": false,
87
"typings": "./dialogs.d.ts",
98
"scripts": {
109
"tsc": "cp ../../src/dialogs/dialogs.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1110
"tsc-win": "copy ..\\..\\src\\dialogs\\dialogs.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
12-
"build": "npm run tsc && npm run build.esm && node ../../build.esm.js && ../../node_modules/.bin/rimraf ./build/esm",
13-
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm",
11+
"build": "npm run tsc && npm run build.esm && ../../node_modules/.bin/rimraf ./build/esm",
12+
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1413
"clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map"
1514
},
1615
"nativescript": {

packages/nativescript-material-floatingactionbutton/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"name": "nativescript-material-floatingactionbutton",
33
"version": "3.2.5",
44
"description": "Material floatingactionbutton component",
5-
"main": "./floatingactionbutton.js",
6-
"module": "./floatingactionbutton.mjs",
5+
"main": "./floatingactionbutton",
76
"sideEffects": false,
87
"typings": "./floatingactionbutton.d.ts",
98
"scripts": {
109
"tsc": "cp ../../src/floatingactionbutton/floatingactionbutton.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1110
"tsc-win": "copy ..\\..\\src\\floatingactionbutton\\floatingactionbutton.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
12-
"build": "npm run tsc && npm run build.esm && node ../../build.esm.js && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
13-
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm",
11+
"build": "npm run tsc && npm run build.esm && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
12+
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1413
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1514
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",
1615
"clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map"

packages/nativescript-material-progress/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"name": "nativescript-material-progress",
33
"version": "3.2.5",
44
"description": "Material progress component",
5-
"main": "./progress.js",
6-
"module": "./progress.mjs",
5+
"main": "./progress",
76
"sideEffects": false,
87
"typings": "./progress.d.ts",
98
"scripts": {
109
"tsc": "cp ../../src/progress/progress.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1110
"tsc-win": "copy ..\\..\\src\\progress\\progress.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
12-
"build": "npm run tsc && npm run build.esm && node ../../build.esm.js && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
13-
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm",
11+
"build": "npm run tsc && npm run build.esm && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
12+
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1413
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1514
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",
1615
"clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map"

packages/nativescript-material-ripple/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
"name": "nativescript-material-ripple",
33
"version": "3.2.5",
44
"description": "Material ripple component",
5-
"main": "./ripple.js",
6-
"module": "./ripple.mjs",
5+
"main": "./ripple",
76
"sideEffects": false,
87
"typings": "./ripple.d.ts",
98
"scripts": {
109
"tsc": "cp ../../src/ripple/ripple.d.ts ./ && ../../node_modules/.bin/tsc --skipLibCheck -d",
1110
"tsc-win": "copy ..\\..\\src\\ripple\\ripple.d.ts .\\ && ..\\..\\node_modules\\.bin\\tsc --skipLibCheck -d",
12-
"build": "npm run tsc && npm run build.esm && node ../../build.esm.js && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
13-
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm",
11+
"build": "npm run tsc && npm run build.esm && ../../node_modules/.bin/rimraf ./build/esm && npm run ngc",
12+
"build.esm": "tsc -skipLibCheck --target es2015 --module esnext --module esnext --removeComments --outDir ./build/esm && node ../../build.esm.js",
1413
"ngc-win": "..\\..\\node_modules\\.bin\\ngc",
1514
"ngc": "NODE_OPTIONS=--max_old_space_size=8192 ../../node_modules/.bin/ngc",
1615
"clean": "../../node_modules/.bin/rimraf ./*.d.ts ./*.js ./*.js.map"

0 commit comments

Comments
 (0)