Commit fce73a5
committed
Respect user .theme-check.yml in theme app extension builds
`runThemeCheck` hardcoded `theme-check:theme-app-extension`, which
bypassed theme-check-node's user-config discovery. Users who wanted to
`ignore:` source directories had to fork the CLI or rely on the
dot-prefix trick (hidden dirs are skipped by theme-check's glob).
When `.theme-check.yml` exists in the extension root, pass `undefined`
so theme-check-node auto-discovers the user config. When absent, keep
the existing bundled `theme-app-extension` defaults.1 parent 243750a commit fce73a5
2 files changed
Lines changed: 12 additions & 2 deletions
File tree
- .changeset
- packages/app/src/cli/services/build
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
0 commit comments