@kazee-ds/init 0.1.13 → 0.1.15
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 +3 -2
- package/package.json +1 -1
- package/src/content.mjs +7 -2
- package/src/setup.mjs +1 -1
- package/templates/AGENTS.md +1 -1
- package/templates/consumer-lint.md +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# @kazee-ds/init
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Prepared, unpublished version **0.1.15** pins React **0.10.2** / styles **0.10.3**, Vue **0.10.1** and consumer lint **0.5.1**. See [release status](https://gitlab.com/kazee.indonesia/kazee-design-system/-/blob/main/docs/versions.md).
|
|
4
4
|
|
|
5
|
+
The prepared styles **0.10.3** bundle tokens **0.6.1**, using `#DBDBDB` for light-theme neutral/default and hover borders. Dark theme and focus/error/selected state colors retain their own roles.
|
|
5
6
|
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
7
|
|
|
7
|
-
|
|
8
|
+
After publication is verified, from an existing application preview with `npm exec --yes --package=@kazee-ds/init@0.1.15 -- kazee-init`; append `--apply` after reviewing the plan.
|
|
8
9
|
|
|
9
10
|
From the design-system checkout, run:
|
|
10
11
|
|
package/package.json
CHANGED
package/src/content.mjs
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { readFileSync } from 'node:fs';
|
|
2
2
|
|
|
3
|
-
export const RELEASE = Object.freeze({
|
|
3
|
+
export const RELEASE = Object.freeze({
|
|
4
|
+
react: '0.10.2',
|
|
5
|
+
vue: '0.10.1',
|
|
6
|
+
styles: '0.10.3',
|
|
7
|
+
lint: '0.5.1',
|
|
8
|
+
});
|
|
4
9
|
export const REGISTRY = 'https://registry.npmjs.org/';
|
|
5
10
|
const INIT_VERSION = JSON.parse(
|
|
6
11
|
readFileSync(new URL('../package.json', import.meta.url), 'utf8'),
|
|
@@ -19,7 +24,7 @@ export function managedRules(framework) {
|
|
|
19
24
|
}
|
|
20
25
|
|
|
21
26
|
export function installCommand(manager, framework) {
|
|
22
|
-
const runtime = `@kazee-ds/${framework}@${RELEASE
|
|
27
|
+
const runtime = `@kazee-ds/${framework}@${RELEASE[framework]} @kazee-ds/styles@${RELEASE.styles}`;
|
|
23
28
|
const lint = `@kazee-ds/eslint-config@${RELEASE.lint}`;
|
|
24
29
|
if (manager === 'npm')
|
|
25
30
|
return `npm install --save-exact ${runtime}\nnpm install --save-dev --save-exact ${lint}`;
|
package/src/setup.mjs
CHANGED
|
@@ -249,7 +249,7 @@ export function createPlan({
|
|
|
249
249
|
);
|
|
250
250
|
}
|
|
251
251
|
for (const [name, version, section] of [
|
|
252
|
-
[`@kazee-ds/${framework}`, RELEASE
|
|
252
|
+
[`@kazee-ds/${framework}`, RELEASE[framework], 'dependencies'],
|
|
253
253
|
['@kazee-ds/styles', RELEASE.styles, 'dependencies'],
|
|
254
254
|
['@kazee-ds/eslint-config', RELEASE.lint, 'devDependencies'],
|
|
255
255
|
]) {
|
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 exact installed version
|
|
8
|
+
- Use the exact installed framework version catalog. Retained npm catalog 0.10.1 covers React/styles 0.10.1, Vue 0.10.0, tokens 0.6.0 and lint 0.5.1. Prepared MCP 0.1.15 adds a separate 0.10.2-workspace preview for unpublished React 0.10.2 / styles 0.10.3 and Vue 0.10.1. Prepared styles 0.10.3 bundles tokens 0.6.1 with #DBDBDB light neutral borders; dark and focus/error/selected roles remain theme-aware. The compact DateRangePicker has screen-reader-only title/summary and no calendar-side period shortcuts; presets belong in a linked Select. Keep client pins on verified published versions until npm artifacts and the corresponding catalog are verified. Never substitute workspace docs for installed npm 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
|
+
This checkout prepares **React 0.10.2 / styles 0.10.3**, **Vue 0.10.1**, and **init/MCP 0.1.15** for the compact DateRangePicker. Token release **0.6.1** adds consistent light-theme neutral borders; consumer ESLint **0.5.1** is unchanged. These candidates are unpublished; use matching local packed artifacts for review and retain verified installation pins until publication. See [release preparation](releases/2026-11-05-compact-date-range.md).
|
|
4
4
|
|
|
5
5
|
## Rules
|
|
6
6
|
|