Skip to content

Commit

Permalink
fix(build): package exports prop had invalid ESM import link (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Feb 7, 2023
1 parent 8753d64 commit 7f95f69
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 34 deletions.
3 changes: 1 addition & 2 deletions packages/binding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand Down Expand Up @@ -42,7 +42,6 @@
"build": "pnpm run bundle:esm",
"postbuild": "run-s sass:build sass:copy",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "run-s bundle:commonjs sass:copy",
"dev:watch": "pnpm run sass:watch",
Expand Down
3 changes: 1 addition & 2 deletions packages/composite-editor-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/custom-footer-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/custom-tooltip-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/empty-warning-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/event-pub-sub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/excel-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"bundle:commonjs": "tsc --project tsconfig.bundle.json --outDir dist/commonjs --module commonjs",
Expand Down
3 changes: 1 addition & 2 deletions packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/odata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/pagination-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/row-detail-view-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/rxjs-observable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/text-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -30,7 +30,6 @@
"prebuild": "pnpm run clean",
"build": "pnpm run bundle:esm",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/vanilla-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -31,7 +31,6 @@
"build": "tsc --build",
"postbuild": "pnpm run bundle:commonjs",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev": "pnpm run bundle:commonjs",
"prebundle": "pnpm run clean",
Expand Down
3 changes: 1 addition & 2 deletions packages/vanilla-force-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"exports": {
".": {
"browser": "./dist/esm/index.js",
"import": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.js"
},
"./*": "./*"
Expand All @@ -31,7 +31,6 @@
"build": "tsc --build",
"postbuild": "pnpm run bundle:commonjs",
"build:incremental": "tsc --incremental",
"build:watch": "tsc --incremental --watch",
"clean": "rimraf dist",
"dev:webpack": "webpack --env development",
"prebundle": "pnpm run clean",
Expand Down

0 comments on commit 7f95f69

Please sign in to comment.