|
34 | 34 | "**/*.js.map",
|
35 | 35 | "**/*.d.ts",
|
36 | 36 | "**/*.scss",
|
| 37 | + "web-types.json", |
37 | 38 | "!css-to-ts.js",
|
38 | 39 | "!web-test-runner.config.js",
|
39 | 40 | "!**/test/**",
|
|
75 | 76 | },
|
76 | 77 | "pnpm": {
|
77 | 78 | "peerDependencyRules": {
|
78 |
| - "ignoreMissing": [ |
79 |
| - "css-loader", |
80 |
| - "sass-loader", |
81 |
| - "style-loader" |
82 |
| - ] |
| 79 | + "ignoreMissing": ["css-loader", "sass-loader", "style-loader"] |
83 | 80 | }
|
84 | 81 | },
|
85 | 82 | "wireit": {
|
86 | 83 | "build": {
|
87 |
| - "dependencies": [ |
88 |
| - "build:ts" |
89 |
| - ] |
| 84 | + "dependencies": ["build:ts", "update-docs"] |
90 | 85 | },
|
91 | 86 | "build:ts": {
|
92 | 87 | "command": "tsc --pretty",
|
|
111 | 106 | "!scripts/"
|
112 | 107 | ],
|
113 | 108 | "clean": "if-file-deleted",
|
114 |
| - "dependencies": [ |
115 |
| - "build:css-to-ts" |
116 |
| - ] |
| 109 | + "dependencies": ["build:css-to-ts"] |
117 | 110 | },
|
118 | 111 | "build:css-to-ts": {
|
119 | 112 | "command": "find . \\( -path ./.wireit -o -path ./node_modules -o -path ./catalog \\) -prune -o -name '*.css' -print | xargs node css-to-ts.js",
|
120 |
| - "files": [ |
121 |
| - "css-to-ts.js", |
122 |
| - "!scripts/", |
123 |
| - "!node_modules" |
124 |
| - ], |
125 |
| - "output": [ |
126 |
| - "**/*.css.ts", |
127 |
| - "!catalog", |
128 |
| - "!scripts/" |
129 |
| - ], |
130 |
| - "dependencies": [ |
131 |
| - "build:sass" |
132 |
| - ] |
| 113 | + "files": ["css-to-ts.js", "!scripts/", "!node_modules"], |
| 114 | + "output": ["**/*.css.ts", "!catalog", "!scripts/"], |
| 115 | + "dependencies": ["build:sass"] |
133 | 116 | },
|
134 | 117 | "build:sass": {
|
135 | 118 | "command": "sass --style=compressed --load-path=node_modules --load-path=node_modules/sass-true/sass $(ls -d */ | grep -vE 'node_modules|catalog')",
|
136 |
| - "files": [ |
137 |
| - "**/*.scss", |
138 |
| - "!catalog", |
139 |
| - "!scripts/", |
140 |
| - "!node_modules" |
141 |
| - ], |
142 |
| - "output": [ |
143 |
| - "**/*.css", |
144 |
| - "**/*.css.map", |
145 |
| - "!catalog", |
146 |
| - "!scripts/" |
147 |
| - ] |
| 119 | + "files": ["**/*.scss", "!catalog", "!scripts/", "!node_modules"], |
| 120 | + "output": ["**/*.css", "**/*.css.map", "!catalog", "!scripts/"] |
148 | 121 | },
|
149 | 122 | "build:catalog": {
|
150 |
| - "dependencies": [ |
151 |
| - "./catalog:build:prod" |
152 |
| - ] |
| 123 | + "dependencies": ["./catalog:build:prod"] |
153 | 124 | },
|
154 | 125 | "build:analyzer": {
|
155 | 126 | "command": "tsc -b scripts/tsconfig.json --pretty",
|
|
180 | 151 | "!node_modules"
|
181 | 152 | ],
|
182 | 153 | "output": [],
|
183 |
| - "dependencies": [ |
184 |
| - "build:analyzer" |
185 |
| - ] |
| 154 | + "dependencies": ["build:analyzer"] |
186 | 155 | }
|
187 | 156 | },
|
188 | 157 | "web-types": "./web-types.json"
|
|
0 commit comments