@iwsdk/create 1.0.0 → 1.0.1-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.
Files changed (2) hide show
  1. package/dist/cli.js +10 -2
  2. package/package.json +4 -4
package/dist/cli.js CHANGED
@@ -18181,6 +18181,7 @@ async function installDependenciesFromBundle(outDir, source) {
18181
18181
  }
18182
18182
  const DEFAULT_REFERENCE_WARMUP_TIMEOUT_MS = 120_000;
18183
18183
  const IWER_CONTROLS_URL = 'https://iwsdk.dev/guides/02-testing-experience.html#iwer-controls';
18184
+ const MPT_SDK_LICENSE_URL = 'https://developers.meta.com/horizon/licenses/oculussdk/';
18184
18185
  /**
18185
18186
  * Initialize the optional reference cache without making project creation
18186
18187
  * depend on network/model availability.
@@ -18234,8 +18235,15 @@ function printReferenceWarmupGuidance() {
18234
18235
  console.log(stdoutColor.gray(' # warmup still needs access to the baked public model file URLs unless the shared cache is already pre-warmed'));
18235
18236
  console.log(stdoutColor.gray(' # then run: npx @iwsdk/cli reference warmup'));
18236
18237
  }
18238
+ function printMetavrNotice() {
18239
+ console.log('\nAbout metavr CLI:');
18240
+ console.log(' Your new Immersive Web SDK starter app includes metavr CLI as a project-scoped dev dependency (@meta-quest/metavr). metavr lets you control a connected Meta Quest headset from the command line, so you can build, deploy, and test on device in one loop. It also searches the Horizon OS documentation for platform and SDK features, and offers a catalog of ready-made 3D assets.');
18241
+ console.log(`\n metavr collects essential usage data, as described in the Meta Platform Technologies SDK License (${MPT_SDK_LICENSE_URL}). If you don't want to use metavr, uninstall it from your project:`);
18242
+ console.log(stdoutColor.gray(' npm uninstall @meta-quest/metavr'));
18243
+ }
18237
18244
  function printNextSteps(appName, installed, actionItems = [], inPlace = false, referenceReady = false, xrEnabled = true) {
18238
18245
  const startCmd = 'npm run dev';
18246
+ printMetavrNotice();
18239
18247
  console.log('\nNext steps:');
18240
18248
  // Choose the best stream for colored action items
18241
18249
  const itemStream = process.stdout.isTTY
@@ -18378,7 +18386,7 @@ function createProjectManifest(configuration) {
18378
18386
  };
18379
18387
  }
18380
18388
 
18381
- const VERSION = "1.0.0";
18389
+ const VERSION = "1.0.1-rc.0";
18382
18390
  const NODE_ENGINE = ">=20.19.0 <21.0.0-0 || >=22.12.0 <23.0.0-0 || >=24.0.0";
18383
18391
 
18384
18392
  /**
@@ -18450,7 +18458,7 @@ function createProjectPackageJson(appName, language, source) {
18450
18458
  '@iwsdk/reference': packageSpec('@iwsdk/reference'),
18451
18459
  '@iwsdk/cli': packageSpec('@iwsdk/cli'),
18452
18460
  '@iwsdk/vite-plugin-dev': packageSpec('@iwsdk/vite-plugin-dev'),
18453
- '@meta-quest/metavr': '^1.8.0',
18461
+ '@meta-quest/metavr': '^1.8.1',
18454
18462
  ...(language === 'ts'
18455
18463
  ? { '@types/three': '^0.181.0', typescript: '^5.5.0' }
18456
18464
  : {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iwsdk/create",
3
- "version": "1.0.0",
3
+ "version": "1.0.1-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/cli": "1.0.0",
50
- "@iwsdk/core": "1.0.0",
51
- "@iwsdk/scene-composition": "1.0.0"
49
+ "@iwsdk/core": "1.0.1-rc.0",
50
+ "@iwsdk/scene-composition": "1.0.1-rc.0",
51
+ "@iwsdk/cli": "1.0.1-rc.0"
52
52
  },
53
53
  "scripts": {
54
54
  "prebuild": "node scripts/gen-version.cjs && node scripts/build-template.mjs",