create-ailk 0.3.0 → 0.4.0

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 (37) hide show
  1. package/dist/cli.js +19 -9
  2. package/dist/lib/extract-module-bundle.d.ts +39 -0
  3. package/dist/lib/extract-module-bundle.js +165 -78
  4. package/dist/lib/fetch-template.d.ts +20 -0
  5. package/dist/lib/fetch-template.js +129 -0
  6. package/dist/lib/module-license-gate.d.ts +8 -0
  7. package/dist/lib/module-license-gate.js +12 -4
  8. package/dist/module-architecture.d.ts +58 -0
  9. package/dist/module-architecture.js +156 -4
  10. package/dist/parse-args.d.ts +8 -1
  11. package/dist/parse-args.js +43 -0
  12. package/dist/programmatic.d.ts +26 -1
  13. package/dist/programmatic.js +100 -4
  14. package/dist/surfaces.js +42 -0
  15. package/dist/template-manifest.d.ts +92 -0
  16. package/dist/template-manifest.js +168 -0
  17. package/dist/template-names.d.ts +41 -0
  18. package/dist/template-names.js +44 -0
  19. package/package.json +2 -1
  20. package/site-templates/marketing-site-free/ailk-template.json +8 -0
  21. package/site-templates/marketing-site-free/content/en/Pricing/pricing.mdx +103 -0
  22. package/site-templates/marketing-site-free/content/en/PrivacyPage/privacy.mdx +79 -0
  23. package/site-templates/marketing-site-free/content/en/TermsPage/terms.mdx +80 -0
  24. package/site-templates/marketing-site-free/provenance.json +4 -0
  25. package/templates/apps/api/src/__tests__/workspace-module-registration.test.ts +166 -0
  26. package/templates/apps/api/src/config/modules.ts +1 -1
  27. package/templates/apps/api/src/server.ts +46 -3
  28. package/templates/apps/web/app/[locale]/pricing/page.tsx +40 -0
  29. package/templates/apps/web/app/[locale]/privacy/page.tsx +40 -0
  30. package/templates/apps/web/app/[locale]/terms/page.tsx +40 -0
  31. package/templates/apps/web/jest.config.cjs +5 -0
  32. package/templates/apps/web/lib/__tests__/server-api.test.ts +61 -0
  33. package/templates/apps/web/lib/server-api.ts +28 -12
  34. package/templates/apps/web/messages/en.json +58 -0
  35. package/templates/database/CHANGELOG.md +14 -0
  36. package/templates/database/package.json +1 -1
  37. package/templates/package.json +1 -1
@@ -171,6 +171,14 @@
171
171
  "heading": "Partners",
172
172
  "emptyState": "Partners listing coming soon."
173
173
  },
174
+ "pricing": {
175
+ "heading": "Pricing",
176
+ "emptyState": "Pricing page content coming soon."
177
+ },
178
+ "privacy": {
179
+ "heading": "Privacy Policy",
180
+ "emptyState": "Privacy policy content coming soon."
181
+ },
174
182
  "products": {
175
183
  "heading": "Products",
176
184
  "emptyState": "Products listing coming soon."
@@ -215,6 +223,10 @@
215
223
  "description": "Deep dives into the architecture and internals of this site.",
216
224
  "emptyState": "Technical articles coming soon."
217
225
  },
226
+ "terms": {
227
+ "heading": "Terms of Service",
228
+ "emptyState": "Terms of service content coming soon."
229
+ },
218
230
  "testimonials": {
219
231
  "heading": "Testimonials",
220
232
  "emptyState": "Testimonials coming soon."
@@ -395,5 +407,51 @@
395
407
  "emptyHeadline": "No purchases yet",
396
408
  "emptyDescription": "Purchases you complete will appear here."
397
409
  }
410
+ },
411
+ "workspace": {
412
+ "title": "Workspace settings",
413
+ "description": "Your workspace name, site settings, and team.",
414
+ "nav": {
415
+ "account": "Account",
416
+ "general": "General",
417
+ "site": "Site",
418
+ "team": "Team"
419
+ },
420
+ "general": {
421
+ "heading": "General",
422
+ "nameLabel": "Workspace name",
423
+ "saveButton": "Save",
424
+ "saving": "Saving\u2026",
425
+ "saved": "Saved",
426
+ "saveError": "Could not save. Try again."
427
+ },
428
+ "site": {
429
+ "heading": "Site",
430
+ "identityHeading": "Identity",
431
+ "identityName": "Site name",
432
+ "identityUrl": "Site URL",
433
+ "identityDescription": "Description",
434
+ "seoHeading": "SEO",
435
+ "seoDescription": "Meta description",
436
+ "seoOgImage": "Social share image URL",
437
+ "themeHeading": "Theme",
438
+ "themeLightPrimary": "Primary colour (light)",
439
+ "themeLightAccent": "Accent colour (light)",
440
+ "themeDarkPrimary": "Primary colour (dark)",
441
+ "themeDarkAccent": "Accent colour (dark)",
442
+ "themeUnconfigured": "This site uses the default theme. Colours become editable once a theme is configured for the workspace.",
443
+ "saveButton": "Save",
444
+ "saving": "Saving\u2026",
445
+ "saved": "Saved",
446
+ "saveError": "Could not save. Try again."
447
+ },
448
+ "team": {
449
+ "heading": "Team",
450
+ "name": "Name",
451
+ "email": "Email",
452
+ "role": "Role",
453
+ "emptyHeadline": "No members yet",
454
+ "emptyDescription": "People with access to this workspace will appear here."
455
+ }
398
456
  }
399
457
  }
@@ -1,5 +1,19 @@
1
1
  # @working-theory/database
2
2
 
3
+ ## 0.23.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`10a9fc9`](https://github.com/Working-Theory-Labs/ai-launch-kit-internal/commit/10a9fc97455ecadb760c06d295965035b45aa605)]:
8
+ - @working-theory/validation@0.23.0
9
+
10
+ ## 0.22.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies []:
15
+ - @working-theory/validation@0.22.1
16
+
3
17
  ## 0.22.0
4
18
 
5
19
  ### Minor Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@working-theory/database",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -60,7 +60,7 @@
60
60
  "yaml": "^2.9.0",
61
61
  "zod": "^4.2.1",
62
62
  "zod-to-ts": "^2.1.0",
63
- "@working-theory/cli": "^0.22.0"
63
+ "@working-theory/cli": "^0.23.0"
64
64
  },
65
65
  "lint-staged": {
66
66
  "*.{ts,tsx}": [