Skip to content

Commit

Permalink
build(pack): include only source build files
Browse files Browse the repository at this point in the history
  • Loading branch information
pauliesnug committed Jan 11, 2024
1 parent 8f7765a commit 66cb9dc
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 48 deletions.
11 changes: 3 additions & 8 deletions configs/create-petal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,12 @@
"create-petal": "./bin/create-petal.js"
},
"files": [
"!**/*.spec",
"!**/*.test.*",
"!**/*.ts.map",
"!**/*.tsbuildinfo",
"!**/test/**/*",
"CHANGELOG.md",
"LICENSE",
"README.md",
"bin/**/*",
"build/**/*",
"types/**/*"
"bin/**/*.js",
"build/**/*.js",
"types/**/*.d.ts"
],
"engines": {
"node": ">=18"
Expand Down
10 changes: 2 additions & 8 deletions configs/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,11 @@
"module": "./build/index.js",
"types": "./types/index.d.ts",
"files": [
"!**/*.spec",
"!**/*.test.*",
"!**/*.ts.map",
"!**/*.tsbuildinfo",
"!**/fixtures/**/*",
"!**/test/**/*",
"CHANGELOG.md",
"LICENSE",
"README.md",
"build/**/*",
"types/**/*"
"build/**/*.js",
"types/**/*.d.ts"
],
"engines": {
"node": ">=18"
Expand Down
12 changes: 2 additions & 10 deletions configs/eslint-petal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,11 @@
"module": "./build/index.js",
"types": "./types/index.d.ts",
"files": [
"!**/*.spec",
"!**/*.test.*",
"!**/*.ts.map",
"!**/*.tsbuildinfo",
"!**/docs/**/*",
"!**/test/**/*",
"!**/test/**/*",
"!**/vendor/**/*",
"CHANGELOG.md",
"LICENSE",
"README.md",
"build/**/*",
"types/**/*"
"build/**/*.js",
"types/**/*.d.ts"
],
"engines": {
"node": ">=18"
Expand Down
5 changes: 0 additions & 5 deletions configs/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
},
"main": "tsconfig.json",
"files": [
"!**/*.spec",
"!**/*.test.*",
"!**/*.ts.map",
"!**/*.tsbuildinfo",
"!**/test/**/*",
"CHANGELOG.md",
"LICENSE",
"README.md",
Expand Down
9 changes: 2 additions & 7 deletions core/petal-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
"module": "build/index.js",
"types": "./types/index.d.ts",
"files": [
"!**/*.spec",
"!**/*.test.*",
"!**/*.ts.map",
"!**/*.tsbuildinfo",
"!**/test/**/*",
"CHANGELOG.md",
"LICENSE",
"README.md",
"build/**/*",
"types/**/*"
"build/**/*.js",
"types/**/*.d.ts"
],
"engines": {
"node": ">=18"
Expand Down
4 changes: 3 additions & 1 deletion core/petal/config/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"types": ["node"],
"declaration": true,
"sourceMap": false,
"isolatedModules": false
"isolatedModules": false,
"declarationMap": false,
"inlineSourceMap": false,
},
"include": ["src"]
}
12 changes: 3 additions & 9 deletions core/petal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,13 @@
"petal": "./bin/petal.js"
},
"files": [
"!**/*.spec",
"!**/*.test.*",
"!**/*.ts.map",
"!**/*.ts.map",
"!**/*.tsbuildinfo",
"!**/test/**/*",
"CHANGELOG.md",
"LICENSE",
"README.md",
"bin/**/*",
"build/**/*",
"bin/**/*.js",
"build/**/*.js",
"config/**/*",
"types/**/*"
"types/**/*.d.ts"
],
"engines": {
"node": ">=18"
Expand Down

0 comments on commit 66cb9dc

Please sign in to comment.