@iwsdk/create 1.0.1 → 1.1.0-rc.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.
package/dist/cli.js CHANGED
@@ -17989,7 +17989,7 @@ function stringify(value, replacer, options) {
17989
17989
  */
17990
17990
  const BASE_OVERRIDES = {
17991
17991
  sharp: '0.35.4',
17992
- three: 'npm:super-three@0.181.0',
17992
+ three: 'npm:super-three@0.185.0',
17993
17993
  };
17994
17994
  const ONLY_BUILT_DEPENDENCIES = ['esbuild', 'protobufjs', 'sharp'];
17995
17995
  const IGNORED_BUILT_DEPENDENCIES = [
@@ -18380,13 +18380,13 @@ function createProjectManifest(configuration) {
18380
18380
  dev: {
18381
18381
  emulator: {
18382
18382
  device: 'metaQuest3',
18383
- ...(target === 'ar' ? { environment: 'living_room' } : {}),
18383
+ ...(target === 'ar' ? { environment: 'sunlit_living_room' } : {}),
18384
18384
  },
18385
18385
  },
18386
18386
  };
18387
18387
  }
18388
18388
 
18389
- const VERSION = "1.0.1";
18389
+ const VERSION = "1.1.0-rc.0";
18390
18390
  const NODE_ENGINE = ">=20.19.0 <21.0.0-0 || >=22.12.0 <23.0.0-0 || >=24.0.0";
18391
18391
 
18392
18392
  /**
@@ -18452,7 +18452,7 @@ function createProjectPackageJson(appName, language, source) {
18452
18452
  '@pmndrs/uikit': '^1.0.74',
18453
18453
  '@pmndrs/uikit-horizon': '^1.0.74',
18454
18454
  '@pmndrs/uikit-lucide': '^1.0.74',
18455
- three: 'npm:super-three@0.181.0',
18455
+ three: 'npm:super-three@0.185.0',
18456
18456
  },
18457
18457
  devDependencies: {
18458
18458
  '@iwsdk/reference': packageSpec('@iwsdk/reference'),
@@ -18460,13 +18460,13 @@ function createProjectPackageJson(appName, language, source) {
18460
18460
  '@iwsdk/vite-plugin-dev': packageSpec('@iwsdk/vite-plugin-dev'),
18461
18461
  '@meta-quest/metavr': '^1.8.1',
18462
18462
  ...(language === 'ts'
18463
- ? { '@types/three': '^0.181.0', typescript: '^5.5.0' }
18463
+ ? { '@types/three': '^0.185.0', typescript: '^5.5.0' }
18464
18464
  : {}),
18465
18465
  vite: '^7.1.4',
18466
18466
  },
18467
18467
  overrides: {
18468
18468
  sharp: '0.35.4',
18469
- three: 'npm:super-three@0.181.0',
18469
+ three: 'npm:super-three@0.185.0',
18470
18470
  },
18471
18471
  engines: {
18472
18472
  node: '>=20.19.0 <21.0.0-0 || >=22.12.0 <23.0.0-0 || >=24.0.0',
@@ -18,7 +18,7 @@ IWSDK is built on three pillars:
18
18
 
19
19
  1. **ECS (Entity Component System)** via `elics` library
20
20
  2. **Reactive Signals** via `@preact/signals-core`
21
- 3. **Three.js Integration** with zero-copy transform binding (super-three v0.181.0)
21
+ 3. **Three.js Integration** with zero-copy transform binding (super-three v0.185.0)
22
22
 
23
23
  IWSDK is a 3D web framework with first-class XR support. `World.create()` always creates a persistent `world.player` origin and keeps `world.camera` under it, even when `xr: false` is used for browser-only apps. For first-person browser movement, move `world.player`; for orbit, editor, product, cinematic, or third-person cameras, it is fine to keep `world.player` at the origin and drive `world.camera`. Remember that `world.camera.position` is local to `world.player`, so use `camera.getWorldPosition(...)` when world-space viewer position matters.
24
24
 
@@ -18,7 +18,7 @@ IWSDK is built on three pillars:
18
18
 
19
19
  1. **ECS (Entity Component System)** via `elics` library
20
20
  2. **Reactive Signals** via `@preact/signals-core`
21
- 3. **Three.js Integration** with zero-copy transform binding (super-three v0.181.0)
21
+ 3. **Three.js Integration** with zero-copy transform binding (super-three v0.185.0)
22
22
 
23
23
  IWSDK is a 3D web framework with first-class XR support. `World.create()` always creates a persistent `world.player` origin and keeps `world.camera` under it, even when `xr: false` is used for browser-only apps. For first-person browser movement, move `world.player`; for orbit, editor, product, cinematic, or third-person cameras, it is fine to keep `world.player` at the origin and drive `world.camera`. Remember that `world.camera.position` is local to `world.player`, so use `camera.getWorldPosition(...)` when world-space viewer position matters.
24
24
 
@@ -19,7 +19,7 @@ export default defineConfig({
19
19
  },
20
20
  esbuild: { target: 'esnext' },
21
21
  // @drawcall/uikitml otherwise pulls a second three/@pmndrs/uikit graph
22
- // (three@0.185 vs app super-three@0.181). Duplicate Component classes break
22
+ // (its own three vs the app's super-three alias). Duplicate Component classes break
23
23
  // instanceof checks → "Only pmndrs/uikit components can be added as children".
24
24
  resolve: {
25
25
  dedupe: [
@@ -17,7 +17,7 @@ export default defineConfig({
17
17
  },
18
18
  esbuild: { target: 'esnext' },
19
19
  // @drawcall/uikitml otherwise pulls a second three/@pmndrs/uikit graph
20
- // (three@0.185 vs app super-three@0.181). Duplicate Component classes break
20
+ // (its own three vs the app's super-three alias). Duplicate Component classes break
21
21
  // instanceof checks → "Only pmndrs/uikit components can be added as children".
22
22
  resolve: {
23
23
  dedupe: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iwsdk/create",
3
- "version": "1.0.1",
3
+ "version": "1.1.0-rc.0",
4
4
  "description": "Interactive CLI to scaffold Immersive Web SDK starter apps",
5
5
  "type": "module",
6
6
  "private": false,
@@ -46,9 +46,9 @@
46
46
  "@types/semver": "^7.5.8",
47
47
  "typescript": "^5.8.3",
48
48
  "vitest": "^4.1.10",
49
- "@iwsdk/core": "1.0.1",
50
- "@iwsdk/cli": "1.0.1",
51
- "@iwsdk/scene-composition": "1.0.1"
49
+ "@iwsdk/cli": "1.1.0-rc.0",
50
+ "@iwsdk/scene-composition": "1.1.0-rc.0",
51
+ "@iwsdk/core": "1.1.0-rc.0"
52
52
  },
53
53
  "scripts": {
54
54
  "prebuild": "node scripts/gen-version.cjs && node scripts/build-template.mjs",
@@ -51,7 +51,7 @@ try {
51
51
  );
52
52
  if (
53
53
  packageJson.overrides?.sharp !== '0.35.4' ||
54
- packageJson.overrides?.three !== 'npm:super-three@0.181.0'
54
+ packageJson.overrides?.three !== 'npm:super-three@0.185.0'
55
55
  ) {
56
56
  blockers.push(
57
57
  'generated package.json is missing the npm Sharp/Three overrides',
@@ -61,7 +61,7 @@ try {
61
61
  pnpmWorkspace.packages?.length !== 1 ||
62
62
  pnpmWorkspace.packages[0] !== '.' ||
63
63
  pnpmWorkspace.overrides?.sharp !== '0.35.4' ||
64
- pnpmWorkspace.overrides?.three !== 'npm:super-three@0.181.0' ||
64
+ pnpmWorkspace.overrides?.three !== 'npm:super-three@0.185.0' ||
65
65
  pnpmWorkspace.allowBuilds?.sharp !== true ||
66
66
  pnpmWorkspace.allowBuilds?.['@meta-quest/metavr'] !== false ||
67
67
  pnpmWorkspace.allowBuilds?.['onnxruntime-node'] !== false