create-webiny-project 6.2.0-beta.0 → 6.3.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/extensions/README.md +2 -2
- package/_templates/base/template.package.json +1 -1
- package/_templates/base/tsconfig.json +0 -1
- package/features/CreateWebinyProject/projects/base/SetupBaseWebinyProject.js +1 -14
- package/features/CreateWebinyProject/projects/base/SetupBaseWebinyProject.js.map +1 -1
- package/package.json +7 -7
|
@@ -4,8 +4,8 @@ The extensions folder is the dedicated home for all extension implementations in
|
|
|
4
4
|
While webiny.config.tsx (located in the project root) is responsible for registering extensions, the actual implementation code always lives inside this folder.
|
|
5
5
|
|
|
6
6
|
This structure keeps your project organized by separating:
|
|
7
|
-
•
|
|
8
|
-
•
|
|
7
|
+
• Extension registration → in webiny.config.tsx
|
|
8
|
+
• Extension implementation → in ./extensions
|
|
9
9
|
|
|
10
10
|
By keeping all implementations in one place, it becomes easier to maintain, share, and scale your custom logic across the project.
|
|
11
11
|
|
|
@@ -8,20 +8,7 @@ export const renames = [{
|
|
|
8
8
|
}, {
|
|
9
9
|
prev: "example.gitattributes",
|
|
10
10
|
next: ".gitattributes"
|
|
11
|
-
},
|
|
12
|
-
// {
|
|
13
|
-
// prev: "example.prettierrc.ts",
|
|
14
|
-
// next: ".prettierrc.ts"
|
|
15
|
-
// },
|
|
16
|
-
// {
|
|
17
|
-
// prev: "example.prettierignore",
|
|
18
|
-
// next: ".prettierignore"
|
|
19
|
-
// },
|
|
20
|
-
// {
|
|
21
|
-
// prev: "example.eslint.config.js",
|
|
22
|
-
// next: "eslint.config.js"
|
|
23
|
-
// },
|
|
24
|
-
{
|
|
11
|
+
}, {
|
|
25
12
|
prev: "template.package.json",
|
|
26
13
|
next: "package.json"
|
|
27
14
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["fs","path","GetProjectRootPath","GetTemplatesFolderPath","renames","prev","next","SetupBaseWebinyProject","execute","cliArgs","getTemplatesFolderPath","templatesFolderPath","baseTemplatePath","join","getProjectRootPath","projectRootFolderPath","copySync","i","length","moveSync","overwrite"],"sources":["SetupBaseWebinyProject.ts"],"sourcesContent":["import fs from \"fs-extra\";\nimport path from \"path\";\nimport { GetProjectRootPath } from \"../../../../services/GetProjectRootPath.js\";\nimport { CliParams } from \"../../../../types.js\";\nimport { GetTemplatesFolderPath } from \"../../../../services/GetTemplatesFolderPath.js\";\n\nexport const renames = [\n {\n prev: \"example.gitignore\",\n next: \".gitignore\"\n },\n {\n prev: \"example.gitattributes\",\n next: \".gitattributes\"\n },\n
|
|
1
|
+
{"version":3,"names":["fs","path","GetProjectRootPath","GetTemplatesFolderPath","renames","prev","next","SetupBaseWebinyProject","execute","cliArgs","getTemplatesFolderPath","templatesFolderPath","baseTemplatePath","join","getProjectRootPath","projectRootFolderPath","copySync","i","length","moveSync","overwrite"],"sources":["SetupBaseWebinyProject.ts"],"sourcesContent":["import fs from \"fs-extra\";\nimport path from \"path\";\nimport { GetProjectRootPath } from \"../../../../services/GetProjectRootPath.js\";\nimport { CliParams } from \"../../../../types.js\";\nimport { GetTemplatesFolderPath } from \"../../../../services/GetTemplatesFolderPath.js\";\n\nexport const renames = [\n {\n prev: \"example.gitignore\",\n next: \".gitignore\"\n },\n {\n prev: \"example.gitattributes\",\n next: \".gitattributes\"\n },\n {\n prev: \"template.package.json\",\n next: \"package.json\"\n }\n];\n\nexport class SetupBaseWebinyProject {\n execute(cliArgs: CliParams) {\n const getTemplatesFolderPath = new GetTemplatesFolderPath();\n const templatesFolderPath = getTemplatesFolderPath.execute();\n\n const baseTemplatePath = path.join(templatesFolderPath, \"base\");\n\n const getProjectRootPath = new GetProjectRootPath();\n const projectRootFolderPath = getProjectRootPath.execute(cliArgs);\n\n fs.copySync(baseTemplatePath, projectRootFolderPath);\n\n for (let i = 0; i < renames.length; i++) {\n fs.moveSync(\n path.join(projectRootFolderPath, renames[i].prev),\n path.join(projectRootFolderPath, renames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
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-webiny-project",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0-beta.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Webiny project bootstrap tool.",
|
|
6
6
|
"main": "index.js",
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
"author": "Webiny Ltd.",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@webiny/build-tools": "6.
|
|
15
|
-
"@webiny/mcp": "6.
|
|
16
|
-
"@webiny/system-requirements": "6.
|
|
17
|
-
"@webiny/telemetry": "6.
|
|
14
|
+
"@webiny/build-tools": "6.3.0-beta.0",
|
|
15
|
+
"@webiny/mcp": "6.3.0-beta.0",
|
|
16
|
+
"@webiny/system-requirements": "6.3.0-beta.0",
|
|
17
|
+
"@webiny/telemetry": "6.3.0-beta.0",
|
|
18
18
|
"chalk": "5.6.2",
|
|
19
19
|
"execa": "5.1.1",
|
|
20
20
|
"find-up": "8.0.0",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"ora": "9.3.0",
|
|
27
27
|
"os": "0.1.2",
|
|
28
28
|
"rimraf": "6.1.3",
|
|
29
|
-
"type-fest": "5.
|
|
29
|
+
"type-fest": "5.6.0",
|
|
30
30
|
"uuid": "13.0.0",
|
|
31
31
|
"validate-npm-package-name": "7.0.2",
|
|
32
32
|
"write-json-file": "7.0.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"access": "public",
|
|
42
42
|
"directory": "dist"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "94c21e58aebc9855bf1ae972423281faa0f5c135",
|
|
45
45
|
"adio": {
|
|
46
46
|
"ignoreDirs": [
|
|
47
47
|
"_templates"
|