mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 11:25:17 +00:00
chore: use npmignore to remove declaration maps from packaging
This commit is contained in:
parent
1fd26871a3
commit
ec3447cb26
@ -131,3 +131,4 @@ schema.graphql
|
||||
front-workspace.code-workspace
|
||||
.yarn
|
||||
.yarnrc
|
||||
dist/**/*.d.ts.map
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -97,3 +97,4 @@ tests
|
||||
__tests__
|
||||
jest.config.js
|
||||
coverage
|
||||
dist/**/*.d.ts.map
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
"source": "./src/index.ts",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files": [
|
||||
"./dist/**/!(*.d.ts.map)"
|
||||
"./dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "pack-up build",
|
||||
|
||||
@ -97,3 +97,4 @@ tests
|
||||
__tests__
|
||||
jest.config.js
|
||||
coverage
|
||||
dist/**/*.d.ts.map
|
||||
|
||||
@ -68,7 +68,7 @@
|
||||
"types": "./dist/index.d.ts",
|
||||
"bin": "./bin/strapi.js",
|
||||
"files": [
|
||||
"./dist/**/!(*.d.ts.map)",
|
||||
"./dist",
|
||||
"./bin",
|
||||
"./scripts",
|
||||
"./resources",
|
||||
|
||||
@ -97,3 +97,4 @@ tests
|
||||
__tests__
|
||||
jest.config.js
|
||||
coverage
|
||||
dist/**/*.d.ts.map
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
"main": "index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files": [
|
||||
"./dist/**/!(*.d.ts.map)",
|
||||
"./dist",
|
||||
"index.js"
|
||||
],
|
||||
"scripts": {
|
||||
|
||||
@ -96,3 +96,4 @@ test
|
||||
tests
|
||||
__tests__
|
||||
jest.config.js
|
||||
dist/**/*.d.ts.map
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
"source": "./src/index.ts",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files": [
|
||||
"./dist/**/!(*.d.ts.map)"
|
||||
"./dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "pack-up build",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user