Skip to content

Commit

Permalink
Remove types entrypoint again
Browse files Browse the repository at this point in the history
  • Loading branch information
hanneskuettner committed Apr 17, 2023
1 parent f523b5c commit 21f2323
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 46 deletions.
8 changes: 2 additions & 6 deletions packages/composables/package.json
Expand Up @@ -17,17 +17,13 @@
"license": "GPL-3.0",
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"!**/*.d.ts.map"
"!**/*.test.{js,d.ts}"
],
"publishConfig": {
"access": "public"
Expand Down
9 changes: 2 additions & 7 deletions packages/constants/package.json
Expand Up @@ -16,17 +16,12 @@
"license": "GPL-3.0",
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"!**/*.d.ts.map"
"dist"
],
"publishConfig": {
"access": "public"
Expand Down
8 changes: 2 additions & 6 deletions packages/exceptions/package.json
Expand Up @@ -17,17 +17,13 @@
"license": "GPL-3.0",
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"!**/*.d.ts.map"
"!**/*.test.{js,d.ts}"
],
"publishConfig": {
"access": "public"
Expand Down
8 changes: 2 additions & 6 deletions packages/extensions-sdk/package.json
Expand Up @@ -15,22 +15,18 @@
"funding": "https://github.com/directus/directus?sponsor=1",
"author": "Nicola Krumschmidt",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./cli": "./dist/cli/index.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"directus-extension": "cli.js"
},
"files": [
"dist",
"templates",
"!**/*.d.ts.map"
"!**/*.test.{js,d.ts}"
],
"scripts": {
"build": "tsc --build",
Expand Down
8 changes: 2 additions & 6 deletions packages/schema/package.json
Expand Up @@ -26,21 +26,17 @@
"license": "GPL-3.0",
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json",
"./types/overview": {
"types": "./dist/types/overview.d.ts",
"default": "./dist/types/overview.js"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"!**/*.d.ts.map"
"!**/*.test.{js,d.ts}"
],
"scripts": {
"build": "tsc --build",
Expand Down
8 changes: 2 additions & 6 deletions packages/storage/package.json
Expand Up @@ -17,17 +17,13 @@
"license": "GPL-3.0",
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"!**/*.d.ts.map"
"!**/*.test.{js,d.ts}"
],
"publishConfig": {
"access": "public"
Expand Down
9 changes: 2 additions & 7 deletions packages/types/package.json
Expand Up @@ -16,17 +16,12 @@
"license": "GPL-3.0",
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
".": "./dist/index.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"!**/*.d.ts.map"
"dist"
],
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions packages/utils/package.json
Expand Up @@ -32,10 +32,9 @@
"./package.json": "./package.json"
},
"main": "dist/shared/index.js",
"types": "dist/shared/index.d.ts",
"files": [
"dist",
"!**/*.d.ts.map"
"!**/*.test.{js,d.ts}"
],
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 21f2323

Please sign in to comment.