@kazee-ds/init 0.1.9 → 0.1.10
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 +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @kazee-ds/init
|
|
2
2
|
|
|
3
|
-
Version **0.1.
|
|
3
|
+
Version **0.1.10** pins runtime/styles **0.7.0** and lint **0.5.1**. Verify all target versions before using registry commands. Local candidate verification uses matching packed artifacts. See [release status](https://gitlab.com/kazee.indonesia/kazee-design-system/-/blob/main/docs/versions.md).
|
|
4
4
|
|
|
5
5
|
Preview-first setup for an existing standalone React or Vue application. Preserve the application's framework, package manager and configuration. Earlier CLI releases targeted private GitLab.
|
|
6
6
|
|
|
7
|
-
From an existing application, preview with `npm exec --yes --package=@kazee-ds/init@0.1.
|
|
7
|
+
From an existing application, preview with `npm exec --yes --package=@kazee-ds/init@0.1.10 -- kazee-init`; append `--apply` after reviewing the plan.
|
|
8
8
|
|
|
9
9
|
From the design-system checkout, run:
|
|
10
10
|
|
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.
|
|
3
|
+
export const RELEASE = Object.freeze({ framework: '0.7.0', styles: '0.7.0', lint: '0.5.1' });
|
|
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
|
|
8
|
+
- Use the exact installed version public catalog. Published framework/styles 0.6.0 use tokens 0.4.4 and lint 0.5.0. Published MCP 0.1.9 lacks the verified 0.6.0 snapshot; the 0.1.10 candidate adds it alongside a separate 0.7.0-workspace preview. Confirm publication before updating the client pin and reconnect. Never substitute workspace docs for an installed registry package. New Avatar/date/time/dense-control APIs require matching 0.7.0 artifacts; do not assume they exist in earlier packages.
|
|
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
|
-
|
|
3
|
+
The next consumer lint **0.5.1** candidate accepts the expanded size/variant APIs while preserving import, event and accessible-name checks. Published lint **0.5.0** accompanies runtime/styles **0.6.0**. New runtime/styles **0.7.0** and tokens **0.5.0** remain unpublished candidates. See [versions](versions.md).
|
|
4
4
|
|
|
5
5
|
## Rules
|
|
6
6
|
|