@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.
Files changed (40) hide show
  1. package/node_modules/@ykdz/template-builtin-source/package.json +1 -1
  2. package/node_modules/@ykdz/template-builtin-source/templates/preset-source.json +11 -0
  3. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/.github/dependabot.yml +4 -0
  4. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/.github/workflows/check.yml +2 -0
  5. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/drizzle/migrations/20260709120325_old_captain_flint/migration.sql +6 -0
  6. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/drizzle/migrations/20260709120325_old_captain_flint/snapshot.json +67 -0
  7. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/scripts/seed-example.ts +7 -0
  8. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/db.ts +2 -1
  9. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/index.ts +1 -0
  10. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/queries/todos.ts +17 -1
  11. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/readiness.ts +22 -0
  12. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/schema.ts +1 -1
  13. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/src/seed/example.ts +23 -0
  14. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/db/test/todos.test.ts +2 -0
  15. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/+server.ts +2 -1
  16. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/Dockerfile +83 -0
  17. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/Dockerfile.dockerignore +14 -0
  18. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/pages/index/+Page.telefunc.ts +1 -2
  19. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/pages/index/+Page.vue +6 -2
  20. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/playwright.config.ts +50 -14
  21. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/scripts/check-standalone-deployment.ts +449 -0
  22. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/scripts/container-entrypoint.sh +52 -0
  23. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/scripts/prepare-database.sh +6 -0
  24. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/scripts/run-playwright.ts +101 -12
  25. package/node_modules/@ykdz/template-builtin-source/templates/vike-app/web/server/app.ts +23 -12
  26. package/node_modules/@ykdz/template-core/dist/dependency-catalog.js +13 -0
  27. package/node_modules/@ykdz/template-core/dist/generated-scenarios.d.ts +3 -2
  28. package/node_modules/@ykdz/template-core/dist/generated-scenarios.js +99 -13
  29. package/node_modules/@ykdz/template-core/dist/module-graph.d.ts +12 -0
  30. package/node_modules/@ykdz/template-core/dist/module-graph.js +18 -0
  31. package/node_modules/@ykdz/template-core/dist/pnpm-workspace.yaml +7 -4
  32. package/node_modules/@ykdz/template-core/dist/project-github.d.ts +1 -0
  33. package/node_modules/@ykdz/template-core/dist/project-github.js +18 -5
  34. package/node_modules/@ykdz/template-core/dist/projection-capabilities.js +57 -7
  35. package/node_modules/@ykdz/template-core/dist/renderer.js +4 -1
  36. package/node_modules/@ykdz/template-core/dist/template-boundary-check.js +1 -1
  37. package/node_modules/@ykdz/template-core/package.json +2 -1
  38. package/node_modules/@ykdz/template-shared/dist/index.d.ts +6 -6
  39. package/node_modules/@ykdz/template-shared/package.json +1 -0
  40. 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: ("oxc-format-lint" | "workspace-library-package" | "workspace-node-packages" | "rust-binary-workspace" | "strict-typescript-root" | "node-pnpm-devcontainer" | "github-maintenance")[];
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<("single-package" | "multi-package")[], 1, undefined>]>;
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: "supported" | "future";
472
+ generation: "future" | "supported";
473
473
  supportedPackageManagers: "pnpm"[];
474
- supportedProjectKinds: ("single-package" | "multi-package")[];
474
+ supportedProjectKinds: ("multi-package" | "single-package")[];
475
475
  packageAdditionSupport: "supported" | "unsupported";
476
- features: ("pnpm-catalog" | "oxc-format-lint" | "strict-typescript" | "root-check" | "fix-command" | "devcontainer" | "github-actions" | "dependabot" | "rustfmt-clippy" | "cargo-test" | "native-binary-release")[];
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<("single-package" | "multi-package")[], 1, undefined>]>;
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<{
@@ -29,6 +29,7 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "catalog:",
32
+ "@typescript/native": "catalog:",
32
33
  "oxfmt": "catalog:",
33
34
  "oxlint": "catalog:",
34
35
  "oxlint-tsgolint": "catalog:"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ykdz/template",
3
- "version": "0.0.21",
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.3",
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.0.0",
42
+ "@types/node": "^24.13.3",
43
+ "@typescript/native": "npm:typescript@^7.0.2",
43
44
  "oxfmt": "^0.58.0",
44
- "oxlint": "^1.72.0",
45
+ "oxlint": "^1.73.0",
45
46
  "oxlint-tsgolint": "^0.24.0"
46
47
  },
47
48
  "bundleDependencies": [