create-aura3d 1.3.1 → 1.3.3

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 (126) hide show
  1. package/dist/cli.js +0 -0
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +9 -2
  5. package/dist/index.js.map +1 -1
  6. package/package.json +11 -3
  7. package/templates/animation-channel/package.json +1 -1
  8. package/templates/animation-channel/tests/screenshot.spec.ts +16 -0
  9. package/templates/animation-studio/dist/episodes/prompt-to-scene-proof/two-robots-fixing-a-car.document.json +680 -0
  10. package/templates/animation-studio/dist/episodes/scene/episode-3d.webm +0 -0
  11. package/templates/animation-studio/dist/episodes/scene/frames/action.png +0 -0
  12. package/templates/animation-studio/dist/episodes/scene/frames/dialogue.png +0 -0
  13. package/templates/animation-studio/dist/episodes/scene/frames/final.png +0 -0
  14. package/templates/animation-studio/dist/episodes/scene/frames/first.png +0 -0
  15. package/templates/animation-studio/dist/episodes/scene/frames/mouth-closed.png +0 -0
  16. package/templates/animation-studio/dist/episodes/scene/frames/mouth-open.png +0 -0
  17. package/templates/animation-studio/dist/episodes/scene/render-live-summary.json +2021 -2542
  18. package/templates/animation-studio/dist/episodes/scene/skeleton-overlays/broken.png +0 -0
  19. package/templates/animation-studio/dist/episodes/scene/skeleton-overlays/chefs.png +0 -0
  20. package/templates/animation-studio/dist/episodes/scene/skeleton-overlays/customer.png +0 -0
  21. package/templates/animation-studio/dist/episodes/scene/skeleton-overlays/friend-1.png +0 -0
  22. package/templates/animation-studio/dist/episodes/scene/skeleton-overlays/friend-2.png +0 -0
  23. package/templates/animation-studio/dist/episodes/scene/skeleton-overlays/worker-1.png +0 -0
  24. package/templates/animation-studio/dist/episodes/scene/skeleton-overlays/worker-2.png +0 -0
  25. package/templates/animation-studio/dist/scene/working.document.json +219 -269
  26. package/templates/animation-studio/index.html +12 -0
  27. package/templates/animation-studio/node_modules.publish-aside/.vite/deps/_metadata.json +8 -0
  28. package/templates/animation-studio/node_modules.publish-aside/.vite/deps/package.json +3 -0
  29. package/templates/animation-studio/package-lock.json +1307 -55
  30. package/templates/animation-studio/package.json +11 -5
  31. package/templates/animation-studio/scripts/asset-motion-probe.ts +7 -1
  32. package/templates/animation-studio/scripts/render-live.ts +24 -0
  33. package/templates/animation-studio/src/director/prompt-to-scene.ts +73 -5
  34. package/templates/animation-studio/studio/dist/assets/index-C7f8tHfi.css +1 -0
  35. package/templates/animation-studio/studio/dist/assets/index-CLo3GXyN.js +43 -0
  36. package/templates/animation-studio/studio/dist/index.html +19 -0
  37. package/templates/animation-studio/studio/index.html +18 -0
  38. package/templates/animation-studio/studio/src/App.tsx +498 -0
  39. package/templates/animation-studio/studio/src/components/Console.tsx +372 -0
  40. package/templates/animation-studio/studio/src/components/Icon.tsx +90 -0
  41. package/templates/animation-studio/studio/src/components/Inspector.tsx +265 -0
  42. package/templates/animation-studio/studio/src/components/Outliner.tsx +210 -0
  43. package/templates/animation-studio/studio/src/components/Palette.tsx +204 -0
  44. package/templates/animation-studio/studio/src/components/Stage.tsx +344 -0
  45. package/templates/animation-studio/studio/src/components/Timeline.tsx +230 -0
  46. package/templates/animation-studio/studio/src/components/Topbar.tsx +66 -0
  47. package/templates/animation-studio/studio/src/main.tsx +10 -0
  48. package/templates/animation-studio/studio/src/state/backend.ts +108 -0
  49. package/templates/animation-studio/studio/src/state/fidelity.ts +110 -0
  50. package/templates/animation-studio/studio/src/state/mapDocument.ts +430 -0
  51. package/templates/animation-studio/studio/src/state/sceneTool.ts +66 -0
  52. package/templates/animation-studio/studio/src/state/types.ts +173 -0
  53. package/templates/animation-studio/studio/src/state/util.ts +46 -0
  54. package/templates/animation-studio/studio/src/styles.css +528 -0
  55. package/templates/animation-studio/studio/vite.config.ts +175 -0
  56. package/templates/animation-studio/tests/route-health.spec.ts +33 -0
  57. package/templates/animation-studio/tests/screenshot.spec.ts +30 -0
  58. package/templates/character-controller/package.json +3 -3
  59. package/templates/character-controller/src/main.ts +18 -1
  60. package/templates/cinematic-scene/package.json +1 -1
  61. package/templates/cinematic-scene/tests/screenshot.spec.ts +3 -1
  62. package/templates/episode-builder/package.json +1 -1
  63. package/templates/episode-builder/tests/screenshot.spec.ts +15 -0
  64. package/templates/fighting-game/package.json +1 -1
  65. package/templates/fighting-game/tests/screenshot.spec.ts +15 -0
  66. package/templates/mini-game/package.json +1 -1
  67. package/templates/product-viewer/package.json +1 -1
  68. package/templates/product-viewer/tests/screenshot.spec.ts +3 -1
  69. package/templates/prompt-animation-channel/package.json +1 -1
  70. package/templates/prompt-animation-channel/tests/screenshot.spec.ts +15 -0
  71. package/templates/three-compat-architecture-interior/index.html +16 -0
  72. package/templates/three-compat-architecture-interior/package.json +21 -0
  73. package/templates/three-compat-architecture-interior/playwright.config.ts +14 -0
  74. package/templates/three-compat-architecture-interior/src/main.ts +27 -0
  75. package/templates/three-compat-architecture-interior/tests/route-health.spec.ts +16 -0
  76. package/templates/three-compat-architecture-interior/tests/screenshot.spec.ts +15 -0
  77. package/templates/three-compat-architecture-interior/tsconfig.json +19 -0
  78. package/templates/three-compat-asset-inspector/index.html +16 -0
  79. package/templates/three-compat-asset-inspector/package.json +21 -0
  80. package/templates/three-compat-asset-inspector/playwright.config.ts +14 -0
  81. package/templates/three-compat-asset-inspector/src/main.ts +17 -0
  82. package/templates/three-compat-asset-inspector/tests/route-health.spec.ts +16 -0
  83. package/templates/three-compat-asset-inspector/tests/screenshot.spec.ts +15 -0
  84. package/templates/three-compat-asset-inspector/tsconfig.json +19 -0
  85. package/templates/three-compat-character-viewer/index.html +16 -0
  86. package/templates/three-compat-character-viewer/package.json +21 -0
  87. package/templates/three-compat-character-viewer/playwright.config.ts +14 -0
  88. package/templates/three-compat-character-viewer/src/main.ts +17 -0
  89. package/templates/three-compat-character-viewer/tests/route-health.spec.ts +16 -0
  90. package/templates/three-compat-character-viewer/tests/screenshot.spec.ts +15 -0
  91. package/templates/three-compat-character-viewer/tsconfig.json +19 -0
  92. package/templates/three-compat-custom-threejs-migration/index.html +16 -0
  93. package/templates/three-compat-custom-threejs-migration/package.json +21 -0
  94. package/templates/three-compat-custom-threejs-migration/playwright.config.ts +14 -0
  95. package/templates/three-compat-custom-threejs-migration/src/main.ts +16 -0
  96. package/templates/three-compat-custom-threejs-migration/tests/route-health.spec.ts +16 -0
  97. package/templates/three-compat-custom-threejs-migration/tests/screenshot.spec.ts +15 -0
  98. package/templates/three-compat-custom-threejs-migration/tsconfig.json +19 -0
  99. package/templates/three-compat-large-scene/index.html +16 -0
  100. package/templates/three-compat-large-scene/package.json +21 -0
  101. package/templates/three-compat-large-scene/playwright.config.ts +14 -0
  102. package/templates/three-compat-large-scene/src/main.ts +31 -0
  103. package/templates/three-compat-large-scene/tests/route-health.spec.ts +16 -0
  104. package/templates/three-compat-large-scene/tests/screenshot.spec.ts +15 -0
  105. package/templates/three-compat-large-scene/tsconfig.json +19 -0
  106. package/templates/three-compat-material-authoring/index.html +16 -0
  107. package/templates/three-compat-material-authoring/package.json +21 -0
  108. package/templates/three-compat-material-authoring/playwright.config.ts +14 -0
  109. package/templates/three-compat-material-authoring/src/main.ts +33 -0
  110. package/templates/three-compat-material-authoring/tests/route-health.spec.ts +16 -0
  111. package/templates/three-compat-material-authoring/tests/screenshot.spec.ts +15 -0
  112. package/templates/three-compat-material-authoring/tsconfig.json +19 -0
  113. package/templates/three-compat-postprocess-scene/index.html +16 -0
  114. package/templates/three-compat-postprocess-scene/package.json +21 -0
  115. package/templates/three-compat-postprocess-scene/playwright.config.ts +14 -0
  116. package/templates/three-compat-postprocess-scene/src/main.ts +17 -0
  117. package/templates/three-compat-postprocess-scene/tests/route-health.spec.ts +16 -0
  118. package/templates/three-compat-postprocess-scene/tests/screenshot.spec.ts +15 -0
  119. package/templates/three-compat-postprocess-scene/tsconfig.json +19 -0
  120. package/templates/three-compat-premium-product-viewer/index.html +16 -0
  121. package/templates/three-compat-premium-product-viewer/package.json +21 -0
  122. package/templates/three-compat-premium-product-viewer/playwright.config.ts +14 -0
  123. package/templates/three-compat-premium-product-viewer/src/main.ts +18 -0
  124. package/templates/three-compat-premium-product-viewer/tests/route-health.spec.ts +16 -0
  125. package/templates/three-compat-premium-product-viewer/tests/screenshot.spec.ts +15 -0
  126. package/templates/three-compat-premium-product-viewer/tsconfig.json +19 -0
package/dist/cli.js CHANGED
File without changes
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const CREATE_AURA3D_TEMPLATES: readonly ["product-viewer", "cinematic-scene", "mini-game", "fighting-game", "animation-channel", "prompt-animation-channel", "animation-studio", "episode-builder", "animation-studio", "character-controller"];
1
+ export declare const CREATE_AURA3D_TEMPLATES: readonly ["product-viewer", "cinematic-scene", "mini-game", "fighting-game", "animation-channel", "prompt-animation-channel", "animation-studio", "episode-builder", "character-controller", "three-compat-premium-product-viewer", "three-compat-architecture-interior", "three-compat-material-authoring", "three-compat-asset-inspector", "three-compat-character-viewer", "three-compat-postprocess-scene", "three-compat-custom-threejs-migration", "three-compat-large-scene"];
2
2
  export type CreateA3DTemplate = (typeof CREATE_AURA3D_TEMPLATES)[number];
3
3
  export interface CreateA3DProjectOptions {
4
4
  readonly targetDir: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/create-aura3d/src/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB,kNAW1B,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CACnC;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,sBAAsB,CA6BzF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAGvF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/create-aura3d/src/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB,sdAkB1B,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;CACnC;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,sBAAsB,CA6BzF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,sBAAsB,GAAG,IAAI,CAGvF"}
package/dist/index.js CHANGED
@@ -10,8 +10,15 @@ export const CREATE_AURA3D_TEMPLATES = [
10
10
  "prompt-animation-channel",
11
11
  "animation-studio",
12
12
  "episode-builder",
13
- "animation-studio",
14
13
  "character-controller",
14
+ "three-compat-premium-product-viewer",
15
+ "three-compat-architecture-interior",
16
+ "three-compat-material-authoring",
17
+ "three-compat-asset-inspector",
18
+ "three-compat-character-viewer",
19
+ "three-compat-postprocess-scene",
20
+ "three-compat-custom-threejs-migration",
21
+ "three-compat-large-scene"
15
22
  ];
16
23
  export function createA3DProject(options) {
17
24
  const template = options.template ?? "product-viewer";
@@ -32,7 +39,7 @@ export function createA3DProject(options) {
32
39
  const packageJson = JSON.parse(readFileSync(packagePath, "utf8"));
33
40
  packageJson.dependencies = {
34
41
  ...(packageJson.dependencies ?? {}),
35
- "@aura3d/engine": options.packageVersion ?? packageJson.dependencies?.["@aura3d/engine"] ?? "1.3.1"
42
+ "@aura3d/engine": options.packageVersion ?? packageJson.dependencies?.["@aura3d/engine"] ?? "1.3.3"
36
43
  };
37
44
  writeFileSync(packagePath, `${JSON.stringify(packageJson, null, 2)}\n`);
38
45
  return {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/create-aura3d/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAClG,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,gBAAgB;IAChB,iBAAiB;IACjB,WAAW;IACX,eAAe;IACf,mBAAmB;IACnB,0BAA0B;IAC1B,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,sBAAsB;CACd,CAAC;AAgBX,MAAM,UAAU,gBAAgB,CAAC,OAAgC;IAC/D,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,gBAAgB,CAAC;IACtD,IAAI,CAAC,uBAAuB,CAAC,QAA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D,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,IAAI,uBAAuB,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC;YAAE,OAAO,OAAO,CAAC;QACrH,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;QAC9B,IAAI,IAAI,KAAK,OAAO;YAAE,MAAM;QAC5B,OAAO,GAAG,IAAI,CAAC;IACjB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC;AACvB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-aura3d",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-aura3d": "dist/cli.js"
@@ -15,7 +15,15 @@
15
15
  "templates/prompt-animation-channel",
16
16
  "templates/animation-studio",
17
17
  "templates/episode-builder",
18
- "templates/character-controller"
18
+ "templates/character-controller",
19
+ "templates/three-compat-premium-product-viewer",
20
+ "templates/three-compat-architecture-interior",
21
+ "templates/three-compat-material-authoring",
22
+ "templates/three-compat-asset-inspector",
23
+ "templates/three-compat-character-viewer",
24
+ "templates/three-compat-postprocess-scene",
25
+ "templates/three-compat-custom-threejs-migration",
26
+ "templates/three-compat-large-scene"
19
27
  ],
20
28
  "publishConfig": {
21
29
  "access": "public"
@@ -57,4 +65,4 @@
57
65
  "url": "https://github.com/auraoneai/aura3d/issues"
58
66
  },
59
67
  "license": "MIT"
60
- }
68
+ }
@@ -12,7 +12,7 @@
12
12
  "test:negative-failed-puppets": "playwright test tests/concept-2-5d.spec.ts tests/puppet-2d.spec.ts tests/image-puppet.spec.ts tests/concept-2-5d-animation.spec.ts tests/puppet-2d-animation.spec.ts tests/image-puppet-animation.spec.ts --workers=1"
13
13
  },
14
14
  "dependencies": {
15
- "@aura3d/engine": "1.3.1"
15
+ "@aura3d/engine": "1.3.3"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@playwright/test": "^1.52.0",
@@ -0,0 +1,16 @@
1
+ import { mkdirSync, writeFileSync } from "node:fs";
2
+ import { resolve } from "node:path";
3
+ import { expect, test } from "@playwright/test";
4
+
5
+ test.setTimeout(60_000);
6
+
7
+ test("Aura3D animation channel screenshot shows content", async ({ page }) => {
8
+ await page.goto("/");
9
+ await expect.poll(() => page.locator("body").getAttribute("data-aura3d-ready"), { timeout: 45_000 }).toBe("true");
10
+ const canvas = page.locator("canvas");
11
+ const screenshot = await page.screenshot({ fullPage: false });
12
+ mkdirSync(resolve("tests/reports"), { recursive: true });
13
+ writeFileSync(resolve("tests/reports/screenshot.png"), screenshot);
14
+ writeFileSync(resolve("tests/reports/screenshot.json"), `${JSON.stringify({ bytes: screenshot.byteLength }, null, 2)}\n`);
15
+ expect(screenshot.byteLength).toBeGreaterThan(1000);
16
+ });