@ykdz/template 0.0.21 → 0.0.23
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/node_modules/@ykdz/template-builtin-source/package.json +1 -1
- package/node_modules/@ykdz/template-builtin-source/templates/preset-source.json +11 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/.github/dependabot.yml +4 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/.github/workflows/check.yml +2 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/drizzle/migrations/20260709120325_old_captain_flint/migration.sql +6 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/drizzle/migrations/20260709120325_old_captain_flint/snapshot.json +67 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/scripts/seed-example.ts +7 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/db.ts +2 -1
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/index.ts +1 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/queries/todos.ts +17 -1
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/readiness.ts +22 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/schema.ts +1 -1
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/seed/example.ts +23 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/test/todos.test.ts +2 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/+server.ts +2 -1
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/Dockerfile +83 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/Dockerfile.dockerignore +14 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/pages/index/+Page.telefunc.ts +1 -2
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/pages/index/+Page.vue +6 -2
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/playwright.config.ts +50 -14
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/scripts/check-standalone-deployment.ts +449 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/scripts/container-entrypoint.sh +52 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/scripts/prepare-database.sh +6 -0
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/scripts/run-playwright.ts +101 -12
- package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/server/app.ts +23 -12
- package/node_modules/@ykdz/template-core/dist/dependency-catalog.js +13 -0
- package/node_modules/@ykdz/template-core/dist/generated-scenarios.d.ts +3 -2
- package/node_modules/@ykdz/template-core/dist/generated-scenarios.js +99 -13
- package/node_modules/@ykdz/template-core/dist/module-graph.d.ts +12 -0
- package/node_modules/@ykdz/template-core/dist/module-graph.js +18 -0
- package/node_modules/@ykdz/template-core/dist/pnpm-workspace.yaml +7 -4
- package/node_modules/@ykdz/template-core/dist/project-github.d.ts +1 -0
- package/node_modules/@ykdz/template-core/dist/project-github.js +18 -5
- package/node_modules/@ykdz/template-core/dist/projection-capabilities.js +57 -7
- package/node_modules/@ykdz/template-core/dist/renderer.js +4 -1
- package/node_modules/@ykdz/template-core/dist/template-boundary-check.js +1 -1
- package/node_modules/@ykdz/template-core/package.json +2 -1
- package/node_modules/@ykdz/template-shared/dist/index.d.ts +6 -6
- package/node_modules/@ykdz/template-shared/package.json +1 -0
- package/package.json +5 -4
|
@@ -142,7 +142,7 @@ export declare const featureNameValues: readonly ["pnpm-catalog", "oxc-format-li
|
|
|
142
142
|
export declare const packageManagerJsonSchemaEnum: readonly ["pnpm"];
|
|
143
143
|
export declare const presetGenerationJsonSchemaEnum: readonly ["supported", "future"];
|
|
144
144
|
export declare const featureNameJsonSchemaEnum: readonly ["pnpm-catalog", "oxc-format-lint", "strict-typescript", "root-check", "fix-command", "devcontainer", "github-actions", "dependabot", "rustfmt-clippy", "cargo-test", "native-binary-release"];
|
|
145
|
-
export declare const projectionCapabilityKinds: ("
|
|
145
|
+
export declare const projectionCapabilityKinds: ("github-maintenance" | "node-pnpm-devcontainer" | "oxc-format-lint" | "rust-binary-workspace" | "strict-typescript-root" | "workspace-library-package" | "workspace-node-packages")[];
|
|
146
146
|
export declare const packageLeafNamePattern = "^[a-z0-9][a-z0-9-]*$";
|
|
147
147
|
export declare const presetSourceManifestJsonSchema: {
|
|
148
148
|
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
@@ -451,7 +451,7 @@ export declare const presetSourceManifestSchema: v.StrictObjectSchema<{
|
|
|
451
451
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
452
452
|
readonly generation: v.PicklistSchema<readonly ["supported", "future"], undefined>;
|
|
453
453
|
readonly supportedPackageManagers: v.ArraySchema<v.PicklistSchema<readonly ["pnpm"], undefined>, undefined>;
|
|
454
|
-
readonly supportedProjectKinds: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["single-package", "multi-package"], undefined>, undefined>, v.MinLengthAction<("
|
|
454
|
+
readonly supportedProjectKinds: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["single-package", "multi-package"], undefined>, undefined>, v.MinLengthAction<("multi-package" | "single-package")[], 1, undefined>]>;
|
|
455
455
|
readonly packageAdditionSupport: v.PicklistSchema<readonly ["supported", "unsupported"], undefined>;
|
|
456
456
|
readonly features: v.ArraySchema<v.PicklistSchema<readonly ["pnpm-catalog", "oxc-format-lint", "strict-typescript", "root-check", "fix-command", "devcontainer", "github-actions", "dependabot", "rustfmt-clippy", "cargo-test", "native-binary-release"], undefined>, undefined>;
|
|
457
457
|
readonly dependencyCatalog: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, readonly []>;
|
|
@@ -469,11 +469,11 @@ export declare const presetSourceManifestSchema: v.StrictObjectSchema<{
|
|
|
469
469
|
name: string;
|
|
470
470
|
title: string;
|
|
471
471
|
description: string;
|
|
472
|
-
generation: "
|
|
472
|
+
generation: "future" | "supported";
|
|
473
473
|
supportedPackageManagers: "pnpm"[];
|
|
474
|
-
supportedProjectKinds: ("
|
|
474
|
+
supportedProjectKinds: ("multi-package" | "single-package")[];
|
|
475
475
|
packageAdditionSupport: "supported" | "unsupported";
|
|
476
|
-
features: ("
|
|
476
|
+
features: ("cargo-test" | "dependabot" | "devcontainer" | "fix-command" | "github-actions" | "native-binary-release" | "oxc-format-lint" | "pnpm-catalog" | "root-check" | "rustfmt-clippy" | "strict-typescript")[];
|
|
477
477
|
dependencyCatalog: string[];
|
|
478
478
|
projection?: {
|
|
479
479
|
capabilities: ({
|
|
@@ -614,7 +614,7 @@ export declare const presetFileSchema: v.StrictObjectSchema<{
|
|
|
614
614
|
readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
615
615
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
616
616
|
readonly supportedPackageManagers: v.ArraySchema<v.PicklistSchema<readonly ["pnpm"], undefined>, undefined>;
|
|
617
|
-
readonly supportedProjectKinds: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["single-package", "multi-package"], undefined>, undefined>, v.MinLengthAction<("
|
|
617
|
+
readonly supportedProjectKinds: v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["single-package", "multi-package"], undefined>, undefined>, v.MinLengthAction<("multi-package" | "single-package")[], 1, undefined>]>;
|
|
618
618
|
readonly features: v.ArraySchema<v.PicklistSchema<readonly ["pnpm-catalog", "oxc-format-lint", "strict-typescript", "root-check", "fix-command", "devcontainer", "github-actions", "dependabot", "rustfmt-clippy", "cargo-test", "native-binary-release"], undefined>, undefined>;
|
|
619
619
|
}, undefined>;
|
|
620
620
|
export declare const projectBlueprintSchema: v.StrictObjectSchema<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ykdz/template",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Project template generator for YKDZ starter projects.",
|
|
6
6
|
"keywords": [
|
|
@@ -32,16 +32,17 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"typescript": "^6.0.
|
|
35
|
+
"@typescript/typescript6": "^6.0.2",
|
|
36
36
|
"valibot": "^1.4.2",
|
|
37
37
|
"@ykdz/template-core": "0.0.0",
|
|
38
38
|
"@ykdz/template-builtin-source": "0.0.0",
|
|
39
39
|
"@ykdz/template-shared": "0.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@types/node": "^24.
|
|
42
|
+
"@types/node": "^24.13.3",
|
|
43
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
43
44
|
"oxfmt": "^0.58.0",
|
|
44
|
-
"oxlint": "^1.
|
|
45
|
+
"oxlint": "^1.73.0",
|
|
45
46
|
"oxlint-tsgolint": "^0.24.0"
|
|
46
47
|
},
|
|
47
48
|
"bundleDependencies": [
|