@jskit-ai/jskit-catalog 0.2.116 → 0.2.117

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.
@@ -0,0 +1,47 @@
1
+ ## JSKIT
2
+
3
+ This app is built on JSKIT. Its guide,
4
+ `https://mobily-enterprises.github.io/jskit-ai/guide/`, and its pattern
5
+ library, `https://mobily-enterprises.github.io/jskit-ai/patterns/`, describe
6
+ the current JSKIT release. `@jskit-ai/agent-docs` is not an app dependency, so
7
+ the guide has no copy under `node_modules`. Keep the app on the current release
8
+ (`npm run jskit:update`) so the two agree. A pattern whose owner runtime package
9
+ is installed is also in that package's `patterns/` folder, at the app's
10
+ version. Never install a runtime package only to read its documentation.
11
+
12
+ Read the guide's page before the work it covers:
13
+
14
+ - code that reads or writes a database table:
15
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/data-access`
16
+ - server code (a feature, provider, action, service, repository, route, error
17
+ or test):
18
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/typed-features`
19
+ - client code (a composable, component, client factory or client provider):
20
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/client-features`
21
+ - code that sends email, SMS, push notifications or payments, calls another
22
+ system, or depends on where the app runs (`APP_ENV`):
23
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/environments`
24
+ - a screen:
25
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/material-3`
26
+ - tests:
27
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/typed-features#test-files-run-in-parallel`,
28
+ and browser tests:
29
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/ui-operations#browser-verification`
30
+ - a new capability: the pattern library; read the narrow pattern completely
31
+ before implementing.
32
+
33
+ `npm run verify` runs the checks listed in
34
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/typed-features#running-the-checks`.
35
+ `npm test` runs every Node test file; `npm test -- <file>` runs exactly that
36
+ file. Each finding links the guide section that explains it: fix it in the
37
+ code, and excuse one only with the guide's `readable-check: allow` comment and
38
+ reason prefix.
39
+
40
+ Where the host provides a managed browser runner, such as Vibe64's, every
41
+ Playwright suite runs through it from the first run, on a declared test target:
42
+ give the runner the package script (on Vibe64,
43
+ `vibe64-helper playwright --target test-app npm-run test:e2e`), and never start
44
+ `npx playwright test`, `playwright test` or `npm run test:e2e` yourself. Specs
45
+ that write run only on a test target with its own database, never on the
46
+ person's development target or database. The browser tests guide above shows
47
+ the test target's declaration.