mirror of
https://github.com/strapi/strapi.git
synced 2025-11-08 14:19:40 +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
|
front-workspace.code-workspace
|
||||||
.yarn
|
.yarn
|
||||||
.yarnrc
|
.yarnrc
|
||||||
|
dist/**/*.d.ts.map
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"./dist/**/!(*.d.ts.map)"
|
"./dist"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "run -T tsc -p tsconfig.build.json",
|
"build": "run -T tsc -p tsconfig.build.json",
|
||||||
|
|||||||
@ -97,3 +97,4 @@ tests
|
|||||||
__tests__
|
__tests__
|
||||||
jest.config.js
|
jest.config.js
|
||||||
coverage
|
coverage
|
||||||
|
dist/**/*.d.ts.map
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
"source": "./src/index.ts",
|
"source": "./src/index.ts",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"./dist/**/!(*.d.ts.map)"
|
"./dist"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pack-up build",
|
"build": "pack-up build",
|
||||||
|
|||||||
@ -97,3 +97,4 @@ tests
|
|||||||
__tests__
|
__tests__
|
||||||
jest.config.js
|
jest.config.js
|
||||||
coverage
|
coverage
|
||||||
|
dist/**/*.d.ts.map
|
||||||
|
|||||||
@ -68,7 +68,7 @@
|
|||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"bin": "./bin/strapi.js",
|
"bin": "./bin/strapi.js",
|
||||||
"files": [
|
"files": [
|
||||||
"./dist/**/!(*.d.ts.map)",
|
"./dist",
|
||||||
"./bin",
|
"./bin",
|
||||||
"./scripts",
|
"./scripts",
|
||||||
"./resources",
|
"./resources",
|
||||||
|
|||||||
@ -97,3 +97,4 @@ tests
|
|||||||
__tests__
|
__tests__
|
||||||
jest.config.js
|
jest.config.js
|
||||||
coverage
|
coverage
|
||||||
|
dist/**/*.d.ts.map
|
||||||
|
|||||||
@ -29,7 +29,7 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"./dist/**/!(*.d.ts.map)",
|
"./dist",
|
||||||
"index.js"
|
"index.js"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -96,3 +96,4 @@ test
|
|||||||
tests
|
tests
|
||||||
__tests__
|
__tests__
|
||||||
jest.config.js
|
jest.config.js
|
||||||
|
dist/**/*.d.ts.map
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
"source": "./src/index.ts",
|
"source": "./src/index.ts",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"./dist/**/!(*.d.ts.map)"
|
"./dist"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pack-up build",
|
"build": "pack-up build",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user