Skip to content

Commit

Permalink
refactor(repo): modify the declaration file to be a self-contained
Browse files Browse the repository at this point in the history
  • Loading branch information
geylnu committed Sep 7, 2023
1 parent 1c48fcc commit 1b5ab93
Show file tree
Hide file tree
Showing 31 changed files with 5 additions and 124 deletions.
4 changes: 0 additions & 4 deletions packages/alias/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -70,7 +67,6 @@
"rollup": "^3.2.3",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"files": [
"!**/fixtures/**",
Expand Down
4 changes: 0 additions & 4 deletions packages/auto-install/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -70,7 +67,6 @@
"rollup": "^3.2.3",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -84,7 +81,6 @@
"rollup": "^3.2.3",
"source-map": "^0.7.4"
},
"types": "./types/index.d.ts",
"ava": {
"files": [
"!**/fixtures/**",
Expand Down
4 changes: 0 additions & 4 deletions packages/buble/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -74,7 +71,6 @@
"source-map": "^0.7.4",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/commonjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -82,7 +79,6 @@
"source-map-support": "^0.5.21",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/data-uri/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -71,7 +68,6 @@
"rollup": "^3.2.3",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/dsv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -60,7 +57,6 @@
"del-cli": "^5.0.0",
"rollup": "^3.2.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/dynamic-import-vars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -76,7 +73,6 @@
"prettier": "^2.7.1",
"rollup": "^3.2.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -74,7 +71,6 @@
"rollup": "^3.2.3",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"files": [
"!**/fixtures/**",
Expand Down
6 changes: 1 addition & 5 deletions packages/esm-shim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -67,6 +64,5 @@
"devDependencies": {
"rollup": "^3.0.0-7",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts"
}
}
4 changes: 0 additions & 4 deletions packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -73,7 +70,6 @@
"graphql": "^16.6.0",
"rollup": "^3.2.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -67,7 +64,6 @@
"rollup-plugin-postcss": "^4.0.2",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -67,7 +64,6 @@
"@rollup/plugin-buble": "^1.0.0",
"rollup": "^3.2.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/inject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -75,7 +72,6 @@
"source-map": "^0.7.4",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"files": [
"!**/fixtures/**",
Expand Down
4 changes: 0 additions & 4 deletions packages/json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -71,7 +68,6 @@
"rollup": "^3.2.3",
"source-map-support": "^0.5.21"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -65,7 +62,6 @@
"del-cli": "^5.0.0",
"rollup": "^3.2.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/multi-entry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -68,7 +65,6 @@
"devDependencies": {
"rollup": "^3.2.3"
},
"types": "./types/index.d.ts",
"ava": {
"files": [
"!**/fixtures/**",
Expand Down
4 changes: 0 additions & 4 deletions packages/node-resolve/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -81,7 +78,6 @@
"source-map": "^0.7.4",
"string-capitalize": "^1.0.1"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/pluginutils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
"module": "./dist/es/index.js",
"type": "commonjs",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -77,7 +74,6 @@
"rollup": "^3.2.3",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"extensions": [
"ts"
Expand Down
4 changes: 0 additions & 4 deletions packages/replace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -74,7 +71,6 @@
"source-map": "^0.7.4",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -68,7 +65,6 @@
"sinon": "^14.0.0",
"typescript": "^4.8.3"
},
"types": "./types/index.d.ts",
"ava": {
"workerThreads": false,
"files": [
Expand Down
4 changes: 0 additions & 4 deletions packages/strip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.js",
"exports": {
"types": {
"import": "./dist/es/index.d.ts"
},
"import": "./dist/es/index.js",
"default": "./dist/cjs/index.js"
},
Expand Down Expand Up @@ -65,7 +62,6 @@
"acorn": "^8.8.0",
"rollup": "^3.2.3"
},
"types": "./types/index.d.ts",
"ava": {
"files": [
"!**/fixtures/**",
Expand Down
Loading

0 comments on commit 1b5ab93

Please sign in to comment.