create-keboola-app 0.2.1 → 0.2.2
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
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# create-keboola-app
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Under `--workspace`, the scaffolded app's `knip:check` runs the monorepo's shared knip runner.
|
|
8
|
+
|
|
9
|
+
- It checks the app with `knip.json`, then in production mode, where an export only tests import fails the check.
|
|
10
|
+
|
|
3
11
|
## 0.2.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cli.js
CHANGED
|
@@ -182,7 +182,7 @@ const writeManifest = (opts) => {
|
|
|
182
182
|
...pkg.scripts,
|
|
183
183
|
"gate:ui": gateUiScript(titleCase(appName), blocks),
|
|
184
184
|
...workspace ? {
|
|
185
|
-
"knip:check":
|
|
185
|
+
"knip:check": "node ../../scripts/knip-check.mjs",
|
|
186
186
|
"knip:fix": `pnpm --dir ../.. exec knip --workspace apps/${appName} --fix-type types,exports,files`
|
|
187
187
|
} : {}
|
|
188
188
|
};
|
|
@@ -32,7 +32,7 @@ const INITIAL_TOKENS: Token[] = [
|
|
|
32
32
|
// Mutable in-memory store
|
|
33
33
|
let tokens: Token[] = [...INITIAL_TOKENS];
|
|
34
34
|
|
|
35
|
-
/** Resets the in-memory store to its initial seed — call from test `beforeEach`. */
|
|
35
|
+
/** @internal Resets the in-memory store to its initial seed — call from test `beforeEach`. */
|
|
36
36
|
export const resetFixtures = (): void => {
|
|
37
37
|
tokens = [...INITIAL_TOKENS];
|
|
38
38
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-keboola-app",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Scaffold a Keboola-shaped frontend app — Vite + React 19 + TanStack Router/Query/Form + Zustand + @keboola/design — from a minimal shell plus the blocks you pick",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"lint:fix": "oxlint --fix . && oxfmt",
|
|
60
60
|
"lint:format": "oxfmt --check",
|
|
61
61
|
"lint:oxlint": "oxlint . --quiet",
|
|
62
|
-
"knip:check": "
|
|
62
|
+
"knip:check": "node ../../scripts/knip-check.mjs",
|
|
63
63
|
"knip:fix": "pnpm --dir ../.. exec knip --workspace packages/create-keboola-app --fix-type types,exports,files",
|
|
64
64
|
"test": "vitest run --reporter=dot",
|
|
65
65
|
"type-check": "tsc"
|