chore: use npmignore to remove declaration maps from packaging

This commit is contained in:
Alexandre Bodin 2023-10-12 18:25:01 +02:00
parent 1fd26871a3
commit ec3447cb26
10 changed files with 10 additions and 5 deletions

View File

@ -131,3 +131,4 @@ schema.graphql
front-workspace.code-workspace
.yarn
.yarnrc
dist/**/*.d.ts.map

View File

@ -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",

View File

@ -97,3 +97,4 @@ tests
__tests__
jest.config.js
coverage
dist/**/*.d.ts.map

View File

@ -24,7 +24,7 @@
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"files": [
"./dist/**/!(*.d.ts.map)"
"./dist"
],
"scripts": {
"build": "pack-up build",

View File

@ -97,3 +97,4 @@ tests
__tests__
jest.config.js
coverage
dist/**/*.d.ts.map

View File

@ -68,7 +68,7 @@
"types": "./dist/index.d.ts",
"bin": "./bin/strapi.js",
"files": [
"./dist/**/!(*.d.ts.map)",
"./dist",
"./bin",
"./scripts",
"./resources",

View File

@ -97,3 +97,4 @@ tests
__tests__
jest.config.js
coverage
dist/**/*.d.ts.map

View File

@ -29,7 +29,7 @@
"main": "index.js",
"types": "./dist/index.d.ts",
"files": [
"./dist/**/!(*.d.ts.map)",
"./dist",
"index.js"
],
"scripts": {

View File

@ -96,3 +96,4 @@ test
tests
__tests__
jest.config.js
dist/**/*.d.ts.map

View File

@ -32,7 +32,7 @@
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"files": [
"./dist/**/!(*.d.ts.map)"
"./dist"
],
"scripts": {
"build": "pack-up build",