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.
- package/_templates/base/example.gitignore +1 -0
- package/_templates/base/template.package.json +2 -2
- package/features/CreateWebinyProject/projects/aws/runInteractivePrompt.d.ts +1 -1
- package/package.json +14 -14
- package/services/EnsureSystemWebinyConfig.js +2 -2
- package/services/EnsureSystemWebinyConfig.js.map +1 -1
- package/services/SetupYarn/binaries/yarn-4.17.1.cjs +944 -0
- package/services/SetupYarn.js +5 -5
- package/services/SetupYarn.js.map +1 -1
- package/services/SetupYarn/binaries/yarn-4.14.1.cjs +0 -940
- package/services/SetupYarn/binaries/yarn-4.14.1.d.cts +0 -2
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"webiny": "latest"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@types/node": "^24.13.
|
|
12
|
+
"@types/node": "^24.13.3",
|
|
13
13
|
"@types/react": "18.3.31",
|
|
14
14
|
"@types/react-dom": "18.3.7",
|
|
15
|
-
"typescript": "
|
|
15
|
+
"typescript": "7.0.2"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {},
|
|
18
18
|
"engines": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-webiny-project",
|
|
3
|
-
"version": "6.
|
|
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.
|
|
17
|
-
"@webiny/mcp": "6.
|
|
18
|
-
"@webiny/
|
|
19
|
-
"@webiny/
|
|
20
|
-
"
|
|
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.
|
|
24
|
-
"inquirer": "14.
|
|
25
|
-
"js-yaml": "5.
|
|
26
|
-
"listr2": "
|
|
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.
|
|
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.
|
|
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": "
|
|
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 {
|
|
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:
|
|
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 {
|
|
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"}
|