@woodsportal/hubspot-kit 1.0.35 → 1.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cli.js +142 -180
- package/dist/cli.js.map +1 -1
- package/package.json +2 -2
- package/scripts/resolve-consumer-dep.mjs +76 -11
- package/scripts/resolve-consumer-dep.test.mjs +22 -0
- package/scripts/run-dev.mjs +12 -90
- package/scripts/test-fixtures/consumer-dep/node_modules/@tanstack/router-plugin/dist/esm/vite.js +3 -0
- package/scripts/test-fixtures/consumer-dep/node_modules/@tanstack/router-plugin/package.json +16 -0
- package/scripts/test-fixtures/consumer-dep/node_modules/react/jsx-dev-runtime.js +1 -0
- package/scripts/test-fixtures/consumer-dep/node_modules/react/jsx-runtime.js +1 -0
- package/scripts/test-fixtures/consumer-dep/node_modules/react/package.json +8 -0
- package/scripts/test-fixtures/consumer-dep/node_modules/vite/dist/node/index.js +1 -0
- package/scripts/test-fixtures/consumer-dep/node_modules/vite/package.json +10 -0
- package/scripts/test-fixtures/consumer-dep-fixture-root.mjs +8 -0
- package/scripts/vite/consumer-react-aliases.js +28 -0
- package/scripts/vite/consumer-react-aliases.test.mjs +12 -0
- package/scripts/vite/create-dev-server-config.mjs +114 -0
- package/scripts/vite/resolve-from-project-root.js +16 -8
- package/vite/vite.config.dev.mjs +2 -106
package/CHANGELOG.md
CHANGED
|
@@ -19,6 +19,18 @@
|
|
|
19
19
|
- **CSS entries** — shared `tailwind.css.config.css`; documented never-merge rules on `main.dev.css` / `main.prod.css`
|
|
20
20
|
- **`wp doctor`** — CSS pipeline checks (prefix, `.temp` @source, `skipRuntimeCss`, `module.css` dw utilities, CDN `require_css` warning)
|
|
21
21
|
|
|
22
|
+
## 1.0.37 — 2026-06-08
|
|
23
|
+
|
|
24
|
+
### Dev server
|
|
25
|
+
- **Consumer dep resolution** — replace `createRequire` / `require.resolve` with a filesystem `package.json` exports resolver for Vite, React plugins, and JSX runtime aliases; fixes `getStatus` crash on Node 24+ when starting `yarn local`
|
|
26
|
+
|
|
27
|
+
## 1.0.36 — 2026-06-08
|
|
28
|
+
|
|
29
|
+
### Dev server
|
|
30
|
+
- **`wp dev` / `wp local`** — start Vite via programmatic `run-dev.mjs` (no `vite.config.*` file load); fixes persistent `getStatus` config errors on Node 24+
|
|
31
|
+
- **React JSX runtimes** — pin `react/jsx-dev-runtime` (and related subpaths) to the consumer `node_modules`; resolve kit UI imports from `.wphs/` through the project root
|
|
32
|
+
- **Shared dev config** — `create-dev-server-config.mjs` used by `run-dev.mjs` and `vite.config.dev.mjs`
|
|
33
|
+
|
|
22
34
|
## 1.0.35 — 2026-06-08
|
|
23
35
|
|
|
24
36
|
### Dev server
|