create-webiny-project 6.4.12-beta.5 → 6.5.0-beta.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.
@@ -28,3 +28,4 @@ cypress.json
28
28
  !.yarn/sdks
29
29
  !.yarn/versions
30
30
  .pnp.*
31
+ db/
@@ -9,10 +9,10 @@
9
9
  "webiny": "latest"
10
10
  },
11
11
  "devDependencies": {
12
- "@types/node": "^24.13.6",
12
+ "@types/node": "^24.13.3",
13
13
  "@types/react": "18.3.31",
14
14
  "@types/react-dom": "18.3.7",
15
- "typescript": "6.0.3"
15
+ "typescript": "7.0.2"
16
16
  },
17
17
  "scripts": {},
18
18
  "engines": {
@@ -1,5 +1,5 @@
1
1
  export declare const runInteractivePrompt: () => Promise<{
2
+ aiAgent: any;
2
3
  region: any;
3
4
  storageOps: any;
4
- aiAgent: any;
5
5
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-webiny-project",
3
- "version": "6.4.12-beta.5",
3
+ "version": "6.5.0-beta.0",
4
4
  "type": "module",
5
5
  "description": "Webiny project bootstrap tool.",
6
6
  "exports": {
@@ -13,32 +13,32 @@
13
13
  "author": "Webiny Ltd.",
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
- "@webiny/build-tools": "6.4.12-beta.5",
17
- "@webiny/mcp": "6.4.12-beta.5",
18
- "@webiny/system-requirements": "6.4.12-beta.5",
19
- "@webiny/telemetry": "6.4.12-beta.5",
20
- "chalk": "6.0.0",
16
+ "@webiny/build-tools": "6.5.0-beta.0",
17
+ "@webiny/mcp": "6.5.0-beta.0",
18
+ "@webiny/stdlib": "0.0.12",
19
+ "@webiny/system-requirements": "6.5.0-beta.0",
20
+ "@webiny/telemetry": "6.5.0-beta.0",
21
+ "chalk": "5.6.2",
21
22
  "execa": "5.1.1",
22
23
  "find-up": "8.0.0",
23
- "fs-extra": "11.4.0",
24
- "inquirer": "14.2.2",
25
- "js-yaml": "5.4.2",
26
- "listr2": "11.1.0",
24
+ "fs-extra": "11.3.6",
25
+ "inquirer": "14.0.2",
26
+ "js-yaml": "5.2.1",
27
+ "listr2": "10.2.2",
27
28
  "load-json-file": "7.0.1",
28
29
  "ora": "9.4.1",
29
30
  "os": "0.1.2",
30
31
  "rimraf": "6.1.3",
31
- "type-fest": "5.10.0",
32
- "uuid": "14.0.2",
32
+ "type-fest": "5.8.0",
33
33
  "validate-npm-package-name": "8.0.0",
34
34
  "write-json-file": "7.0.0",
35
- "yargs": "18.1.0",
35
+ "yargs": "18.0.0",
36
36
  "yesno": "0.4.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/js-yaml": "4.0.9",
40
40
  "@types/validate-npm-package-name": "4.0.2",
41
- "vitest": "5.0.1"
41
+ "vitest": "4.1.10"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
@@ -2,7 +2,7 @@ import os from "os";
2
2
  import path from "path";
3
3
  import { loadJsonFileSync } from "load-json-file";
4
4
  import { writeJsonFileSync } from "write-json-file";
5
- import { v4 } from "uuid";
5
+ import { uuid } from "@webiny/stdlib";
6
6
  const configPath = path.join(os.homedir(), ".webiny", "config");
7
7
  class EnsureSystemWebinyConfig {
8
8
  execute() {
@@ -11,7 +11,7 @@ class EnsureSystemWebinyConfig {
11
11
  if (!config.id) throw Error("Invalid Webiny config.");
12
12
  } catch {
13
13
  writeJsonFileSync(configPath, {
14
- id: v4(),
14
+ id: uuid(),
15
15
  telemetry: true
16
16
  });
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"services/EnsureSystemWebinyConfig.js","sources":["../../src/services/EnsureSystemWebinyConfig.ts"],"sourcesContent":["import os from \"os\";\nimport path from \"path\";\nimport { loadJsonFileSync } from \"load-json-file\";\nimport { writeJsonFileSync } from \"write-json-file\";\nimport { v4 as uuidv4 } from \"uuid\";\n\nconst configPath = path.join(os.homedir(), \".webiny\", \"config\");\n\nexport class EnsureSystemWebinyConfig {\n execute() {\n // Check user ID\n try {\n const config = loadJsonFileSync<Record<string, any>>(configPath);\n if (!config.id) {\n throw Error(\"Invalid Webiny config.\");\n }\n } catch {\n // A new config file is written if it doesn't exist or is invalid.\n writeJsonFileSync(configPath, { id: uuidv4(), telemetry: true });\n }\n }\n}\n"],"names":["configPath","path","os","EnsureSystemWebinyConfig","config","loadJsonFileSync","Error","writeJsonFileSync","uuidv4"],"mappings":";;;;;AAMA,MAAMA,aAAaC,KAAK,IAAI,CAACC,GAAG,OAAO,IAAI,WAAW;AAE/C,MAAMC;IACT,UAAU;QAEN,IAAI;YACA,MAAMC,SAASC,iBAAsCL;YACrD,IAAI,CAACI,OAAO,EAAE,EACV,MAAME,MAAM;QAEpB,EAAE,OAAM;YAEJC,kBAAkBP,YAAY;gBAAE,IAAIQ;gBAAU,WAAW;YAAK;QAClE;IACJ;AACJ"}
1
+ {"version":3,"file":"services/EnsureSystemWebinyConfig.js","sources":["../../src/services/EnsureSystemWebinyConfig.ts"],"sourcesContent":["import os from \"os\";\nimport path from \"path\";\nimport { loadJsonFileSync } from \"load-json-file\";\nimport { writeJsonFileSync } from \"write-json-file\";\nimport { uuid as uuidv4 } from \"@webiny/stdlib\";\n\nconst configPath = path.join(os.homedir(), \".webiny\", \"config\");\n\nexport class EnsureSystemWebinyConfig {\n execute() {\n // Check user ID\n try {\n const config = loadJsonFileSync<Record<string, any>>(configPath);\n if (!config.id) {\n throw Error(\"Invalid Webiny config.\");\n }\n } catch {\n // A new config file is written if it doesn't exist or is invalid.\n writeJsonFileSync(configPath, { id: uuidv4(), telemetry: true });\n }\n }\n}\n"],"names":["configPath","path","os","EnsureSystemWebinyConfig","config","loadJsonFileSync","Error","writeJsonFileSync","uuidv4"],"mappings":";;;;;AAMA,MAAMA,aAAaC,KAAK,IAAI,CAACC,GAAG,OAAO,IAAI,WAAW;AAE/C,MAAMC;IACT,UAAU;QAEN,IAAI;YACA,MAAMC,SAASC,iBAAsCL;YACrD,IAAI,CAACI,OAAO,EAAE,EACV,MAAME,MAAM;QAEpB,EAAE,OAAM;YAEJC,kBAAkBP,YAAY;gBAAE,IAAIQ;gBAAU,WAAW;YAAK;QAClE;IACJ;AACJ"}