@kazee-ds/init 0.1.5 → 0.1.7
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/README.md +2 -2
- package/package.json +1 -1
- package/src/content.mjs +1 -1
- package/templates/AGENTS.md +1 -1
- package/templates/consumer-lint.md +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @kazee-ds/init
|
|
2
2
|
|
|
3
|
-
Preview-first setup for an existing standalone React or Vue application. Published CLI 0.1.
|
|
3
|
+
Preview-first setup for an existing standalone React or Vue application. Published CLI 0.1.7 pins React/Vue/styles at 0.5.4 and consumer lint at 0.4.2. Verify the available npm versions before installing. Earlier CLI releases targeted private GitLab.
|
|
4
4
|
|
|
5
|
-
From an existing application, preview with `npm exec --yes --package=@kazee-ds/init@0.1.
|
|
5
|
+
From an existing application, preview with `npm exec --yes --package=@kazee-ds/init@0.1.7 -- kazee-init`; append `--apply` after reviewing the plan.
|
|
6
6
|
|
|
7
7
|
From the design-system checkout, run:
|
|
8
8
|
|
package/package.json
CHANGED
package/src/content.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { readFileSync } from 'node:fs';
|
|
2
2
|
|
|
3
|
-
export const RELEASE = Object.freeze({ framework: '0.5.
|
|
3
|
+
export const RELEASE = Object.freeze({ framework: '0.5.4', styles: '0.5.4', lint: '0.4.2' });
|
|
4
4
|
export const REGISTRY = 'https://registry.npmjs.org/';
|
|
5
5
|
const INIT_VERSION = JSON.parse(
|
|
6
6
|
readFileSync(new URL('../package.json', import.meta.url), 'utf8'),
|
package/templates/AGENTS.md
CHANGED
|
@@ -5,7 +5,7 @@ Apply these rules to UI work in this application alongside its existing project
|
|
|
5
5
|
## Check the installed contract first
|
|
6
6
|
|
|
7
7
|
- Read this application's `package.json` and lockfile before changing UI. Use its installed package version as the API contract.
|
|
8
|
-
- Use the installed version's public catalog. Framework/styles 0.5.
|
|
8
|
+
- Use the installed version's public catalog. Framework/styles 0.5.4 include the Toast keyboard guard and shared subtle borders; tokens are 0.4.3 and lint is 0.4.2. MCP 0.1.7 retains verified 0.5.1, 0.5.2, 0.5.3 and 0.5.4 catalogs; confirm that exact MCP patch is published before pinning it. Older MCP 0.1.4 labels 0.5.1 as a workspace candidate. Use installed public types if the matching verified catalog is unavailable. Do not assume a component exists in an older version.
|
|
9
9
|
- When Kazee MCP is connected, read `get_catalog_versions`, then `list_components`, `get_component_docs`, and `get_component_examples` using this framework and exact installed version. Otherwise inspect the installed package's public types when uncertain. A prop accepted by React Aria, Reka UI, or another UI library is not automatically supported by Kazee components.
|
|
10
10
|
- Start file discovery in application source, manifests, and the installed Kazee package's public entry points/types. Do not recursively list all of `node_modules` or investigate React Aria/Reka UI internals for routine component usage.
|
|
11
11
|
- Investigate dependency internals only when a concrete type, build, or runtime failure remains unexplained by the public contract. Identify that failure and the relevant file before expanding the search. When the requested behavior, build, and typecheck pass, report the result and any unrun checks instead of continuing speculative API research.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Consumer lint rules
|
|
2
2
|
|
|
3
|
-
[`@kazee-ds/eslint-config`](../packages/eslint-config) provides a reusable ESLint flat configuration. Published version `0.4.
|
|
3
|
+
[`@kazee-ds/eslint-config`](../packages/eslint-config) provides a reusable ESLint flat configuration. Published version `0.4.2` implements public-import boundaries and selected component API checks, including Input and extended Button variants. Current React/Vue/styles are `0.5.4`; tokens are `0.4.3`. See the [version matrix](versions.md). It is an ESM package for ESLint 10 and Node 22.16 or later, with TypeScript declarations and no runtime dependencies. Adding `AGENTS.md` alone does not enable these checks.
|
|
4
4
|
|
|
5
5
|
## Rules
|
|
6
6
|
|
|
@@ -53,7 +53,7 @@ The rule rejects selected unsupported props. Coverage varies by component and ve
|
|
|
53
53
|
Configure public npm access without read credentials using the [installation guide](installation.md). Keep the application's existing ESLint configuration, parsers, plugins, package manager, and lockfile, then install:
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
|
-
npm install --save-dev --save-exact @kazee-ds/eslint-config@0.4.
|
|
56
|
+
npm install --save-dev --save-exact @kazee-ds/eslint-config@0.4.2
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
Merge the configuration object into the application's existing flat config, after its framework/parser setup:
|