diff --git a/packages/core/data-transfer/.npmignore b/packages/core/data-transfer/.npmignore index 1bf5894edf..317b2cae54 100644 --- a/packages/core/data-transfer/.npmignore +++ b/packages/core/data-transfer/.npmignore @@ -131,3 +131,4 @@ schema.graphql front-workspace.code-workspace .yarn .yarnrc +dist/**/*.d.ts.map diff --git a/packages/core/data-transfer/package.json b/packages/core/data-transfer/package.json index 93fa2626cc..e9c128058a 100644 --- a/packages/core/data-transfer/package.json +++ b/packages/core/data-transfer/package.json @@ -27,7 +27,7 @@ "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ - "./dist/**/!(*.d.ts.map)" + "./dist" ], "scripts": { "build": "run -T tsc -p tsconfig.build.json", diff --git a/packages/core/permissions/.npmignore b/packages/core/permissions/.npmignore index 18627a59c6..5607d002a6 100644 --- a/packages/core/permissions/.npmignore +++ b/packages/core/permissions/.npmignore @@ -97,3 +97,4 @@ tests __tests__ jest.config.js coverage +dist/**/*.d.ts.map diff --git a/packages/core/permissions/package.json b/packages/core/permissions/package.json index e51d0ead05..fdac24fc05 100644 --- a/packages/core/permissions/package.json +++ b/packages/core/permissions/package.json @@ -24,7 +24,7 @@ "source": "./src/index.ts", "types": "./dist/index.d.ts", "files": [ - "./dist/**/!(*.d.ts.map)" + "./dist" ], "scripts": { "build": "pack-up build", diff --git a/packages/core/strapi/.npmignore b/packages/core/strapi/.npmignore index 18627a59c6..5607d002a6 100644 --- a/packages/core/strapi/.npmignore +++ b/packages/core/strapi/.npmignore @@ -97,3 +97,4 @@ tests __tests__ jest.config.js coverage +dist/**/*.d.ts.map diff --git a/packages/core/strapi/package.json b/packages/core/strapi/package.json index 72bae56804..ac30a0ab56 100644 --- a/packages/core/strapi/package.json +++ b/packages/core/strapi/package.json @@ -68,7 +68,7 @@ "types": "./dist/index.d.ts", "bin": "./bin/strapi.js", "files": [ - "./dist/**/!(*.d.ts.map)", + "./dist", "./bin", "./scripts", "./resources", diff --git a/packages/core/types/.npmignore b/packages/core/types/.npmignore index 18627a59c6..5607d002a6 100644 --- a/packages/core/types/.npmignore +++ b/packages/core/types/.npmignore @@ -97,3 +97,4 @@ tests __tests__ jest.config.js coverage +dist/**/*.d.ts.map diff --git a/packages/core/types/package.json b/packages/core/types/package.json index 8704a24f36..be7fd37a28 100644 --- a/packages/core/types/package.json +++ b/packages/core/types/package.json @@ -29,7 +29,7 @@ "main": "index.js", "types": "./dist/index.d.ts", "files": [ - "./dist/**/!(*.d.ts.map)", + "./dist", "index.js" ], "scripts": { diff --git a/packages/core/utils/.npmignore b/packages/core/utils/.npmignore index 9e045af109..8d24adfc24 100644 --- a/packages/core/utils/.npmignore +++ b/packages/core/utils/.npmignore @@ -96,3 +96,4 @@ test tests __tests__ jest.config.js +dist/**/*.d.ts.map diff --git a/packages/core/utils/package.json b/packages/core/utils/package.json index 65d10f7afc..e6a321cd3f 100644 --- a/packages/core/utils/package.json +++ b/packages/core/utils/package.json @@ -32,7 +32,7 @@ "source": "./src/index.ts", "types": "./dist/index.d.ts", "files": [ - "./dist/**/!(*.d.ts.map)" + "./dist" ], "scripts": { "build": "pack-up build",