Skip to content

Commit 3bbac99

Browse files
authored
Merge pull request #2348 from patternfly/fix/wireit-clean
chore: clean wireit builds
2 parents 985226e + 0279ca8 commit 3bbac99

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

package.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"patch": "patch-package",
4040
"husky": "npx husky install",
4141
"pr": "node scripts/open-pr.js"
42-
},
42+
},
4343
"wireit": {
4444
"postinstall": {
4545
"dependencies": [
@@ -101,6 +101,7 @@
101101
],
102102
"files": [
103103
"elements/*/*.ts",
104+
"!elements/*/*.d.ts",
104105
"elements/*/*.css",
105106
"elements/tsconfig.json",
106107
"tsconfig.settings.json"
@@ -117,9 +118,14 @@
117118
"clean": "if-file-deleted",
118119
"files": [
119120
"tools/pfe-tools/*.ts",
120-
"tools/pfe-tools/**/*.ts"
121+
"tools/pfe-tools/**/*.ts",
122+
"!tools/pfe-tools/*.d.ts",
123+
"!tools/pfe-tools/**/*.d.ts"
121124
],
122125
"output": [
126+
"tools/pfe-tools/**/*.js",
127+
"tools/pfe-tools/**/*.map",
128+
"tools/pfe-tools/**/*.d.ts",
123129
"tools/*.tsbuildinfo"
124130
]
125131
},
@@ -131,9 +137,13 @@
131137
],
132138
"files": [
133139
"core/**/*.ts",
140+
"!core/**/*.d.ts",
134141
"core/tsconfig.json"
135142
],
136143
"output": [
144+
"core/**/*.js",
145+
"core/**/*.map",
146+
"core/**/*.d.ts",
137147
"*.tsbuildinfo"
138148
]
139149
},
@@ -154,7 +164,9 @@
154164
"build:tools"
155165
],
156166
"files": [
157-
"**/*.ts",
167+
"elements/**/*.ts",
168+
"elements/**/*.css",
169+
"core/**/*.ts",
158170
"scripts/bundle.js"
159171
],
160172
"output": [

0 commit comments

Comments
 (0)