@deenruv/create 1.0.6 → 1.0.9
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/README.md +3 -3
- package/assets/admin/src/App.tsx +1 -1
- package/lib/create-deenruv-app.js +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -73,9 +73,9 @@ cd my-app
|
|
|
73
73
|
npm run dev # Starts server, worker, and admin panel concurrently
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
- **Admin API:** http://localhost:
|
|
77
|
-
- **Shop API:** http://localhost:
|
|
78
|
-
- **Admin UI:** http://localhost:
|
|
76
|
+
- **Admin API:** http://localhost:6100/admin-api
|
|
77
|
+
- **Shop API:** http://localhost:6100/shop-api
|
|
78
|
+
- **Admin UI:** http://localhost:6101/admin-ui
|
|
79
79
|
|
|
80
80
|
## Options
|
|
81
81
|
|
package/assets/admin/src/App.tsx
CHANGED
|
@@ -9,7 +9,7 @@ const settings: DeenruvAdminPanelSettings = {
|
|
|
9
9
|
name: "Deenruv Admin",
|
|
10
10
|
},
|
|
11
11
|
api: {
|
|
12
|
-
uri: import.meta.env.VITE_ADMIN_HOST_URL || "http://localhost:
|
|
12
|
+
uri: import.meta.env.VITE_ADMIN_HOST_URL || "http://localhost:6100",
|
|
13
13
|
authTokenName: "deenruv-auth-token",
|
|
14
14
|
channelTokenName: "deenruv-token",
|
|
15
15
|
},
|
|
@@ -264,8 +264,8 @@ async function createDeenruvApp(name, useNpm, logLevel, isCi = false) {
|
|
|
264
264
|
picocolors_1.default.gray("$ ") + picocolors_1.default.blue(picocolors_1.default.bold(`cd ${name}`)),
|
|
265
265
|
picocolors_1.default.gray("$ ") + picocolors_1.default.blue(picocolors_1.default.bold(`${startCommand}`)),
|
|
266
266
|
`\n`,
|
|
267
|
-
picocolors_1.default.dim(`Server API: http://localhost:
|
|
268
|
-
picocolors_1.default.dim(`Admin UI: http://localhost:
|
|
267
|
+
picocolors_1.default.dim(`Server API: http://localhost:6100/admin-api`),
|
|
268
|
+
picocolors_1.default.dim(`Admin UI: http://localhost:6101/admin-ui`),
|
|
269
269
|
];
|
|
270
270
|
(0, prompts_1.note)(nextSteps.join("\n"));
|
|
271
271
|
(0, prompts_1.outro)(`Happy hacking!`);
|
|
@@ -362,7 +362,7 @@ async function scaffoldAdminPanel(adminRoot, appName, assetPath) {
|
|
|
362
362
|
"# Local environment overrides (not committed to git).",
|
|
363
363
|
"# See src/vite-env.d.ts for available variables.",
|
|
364
364
|
"",
|
|
365
|
-
"VITE_ADMIN_HOST_URL=http://localhost:
|
|
365
|
+
"VITE_ADMIN_HOST_URL=http://localhost:6100",
|
|
366
366
|
"",
|
|
367
367
|
].join("\n");
|
|
368
368
|
await fs_extra_1.default.writeFile(path_1.default.join(adminRoot, ".env.local"), envLocalContent);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deenruv/create",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create": "./index.js"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"rimraf": "^5.0.5",
|
|
24
24
|
"ts-node": "^10.9.2",
|
|
25
25
|
"typescript": "5.3.3",
|
|
26
|
-
"@deenruv/core": "^1.0.
|
|
26
|
+
"@deenruv/core": "^1.0.9"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@clack/prompts": "^0.7.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"picocolors": "^1.0.0",
|
|
36
36
|
"semver": "^7.5.4",
|
|
37
37
|
"tcp-port-used": "^1.0.2",
|
|
38
|
-
"@deenruv/common": "^1.0.
|
|
38
|
+
"@deenruv/common": "^1.0.9"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@deenruv/core": "^1.0.0"
|