create-moost 0.5.28 → 0.5.30
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/dist/index.cjs +8 -9
- package/dist/index.mjs +7 -7
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
//#region rolldown:runtime
|
|
3
2
|
var __create = Object.create;
|
|
4
3
|
var __defProp = Object.defineProperty;
|
|
@@ -233,24 +232,24 @@ let Commands = class Commands$1 extends __moostjs_event_cli.CliApp {
|
|
|
233
232
|
await scaffold(prompts$2);
|
|
234
233
|
const cli = prompts$2.type === "cli";
|
|
235
234
|
return `
|
|
236
|
-
|
|
235
|
+
[97m[1mSuccess! [22mYour new "${prompts$2.projectName}" project has been created successfully. [39m
|
|
237
236
|
|
|
238
237
|
Follow these next steps to start your development server:
|
|
239
238
|
|
|
240
239
|
1. Navigate to your new project:
|
|
241
|
-
|
|
240
|
+
[36mcd ${prompts$2.targetDir} [39m
|
|
242
241
|
|
|
243
242
|
2. Install the dependencies:
|
|
244
|
-
|
|
243
|
+
[36mnpm install [39m
|
|
245
244
|
${cli ? `
|
|
246
245
|
3. Make bin.js executable:
|
|
247
|
-
|
|
246
|
+
[36mchmod +x ./bin.js [39m
|
|
248
247
|
` : ""}
|
|
249
248
|
${cli ? "4" : "3"}. Start the development server:
|
|
250
|
-
|
|
249
|
+
[36mnpm run dev${cli ? " -- hello World" : ""}[39m
|
|
251
250
|
|
|
252
|
-
|
|
253
|
-
Enjoy coding, and build something amazing
|
|
251
|
+
[32mYou're all set! The development server will help you in building your application.
|
|
252
|
+
Enjoy coding, and build something amazing![39m
|
|
254
253
|
`;
|
|
255
254
|
}
|
|
256
255
|
};
|
|
@@ -298,4 +297,4 @@ function run() {
|
|
|
298
297
|
}
|
|
299
298
|
|
|
300
299
|
//#endregion
|
|
301
|
-
exports.run = run
|
|
300
|
+
exports.run = run;
|
package/dist/index.mjs
CHANGED
|
@@ -209,24 +209,24 @@ let Commands = class Commands$1 extends CliApp {
|
|
|
209
209
|
await scaffold(prompts$1);
|
|
210
210
|
const cli = prompts$1.type === "cli";
|
|
211
211
|
return `
|
|
212
|
-
|
|
212
|
+
[97m[1mSuccess! [22mYour new "${prompts$1.projectName}" project has been created successfully. [39m
|
|
213
213
|
|
|
214
214
|
Follow these next steps to start your development server:
|
|
215
215
|
|
|
216
216
|
1. Navigate to your new project:
|
|
217
|
-
|
|
217
|
+
[36mcd ${prompts$1.targetDir} [39m
|
|
218
218
|
|
|
219
219
|
2. Install the dependencies:
|
|
220
|
-
|
|
220
|
+
[36mnpm install [39m
|
|
221
221
|
${cli ? `
|
|
222
222
|
3. Make bin.js executable:
|
|
223
|
-
|
|
223
|
+
[36mchmod +x ./bin.js [39m
|
|
224
224
|
` : ""}
|
|
225
225
|
${cli ? "4" : "3"}. Start the development server:
|
|
226
|
-
|
|
226
|
+
[36mnpm run dev${cli ? " -- hello World" : ""}[39m
|
|
227
227
|
|
|
228
|
-
|
|
229
|
-
Enjoy coding, and build something amazing
|
|
228
|
+
[32mYou're all set! The development server will help you in building your application.
|
|
229
|
+
Enjoy coding, and build something amazing![39m
|
|
230
230
|
`;
|
|
231
231
|
}
|
|
232
232
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-moost",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.30",
|
|
4
4
|
"description": "create-moost",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"homepage": "https://github.com/moostjs/moostjs/tree/main/packages/create-moost#readme",
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@prostojs/rewrite": "^0.1.1",
|
|
47
|
-
"@wooksjs/event-cli": "^0.6.
|
|
47
|
+
"@wooksjs/event-cli": "^0.6.1",
|
|
48
48
|
"prompts": "^2.4.2",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
49
|
+
"moost": "^0.5.30",
|
|
50
|
+
"@moostjs/event-cli": "^0.5.30"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@moostjs/vite": "^0.5.21",
|
|
54
53
|
"@types/prompts": "^2.4.9",
|
|
55
|
-
"rolldown": "1.0.0-beta.
|
|
56
|
-
"unplugin-swc": "^1.5.
|
|
54
|
+
"rolldown": "1.0.0-beta.19",
|
|
55
|
+
"unplugin-swc": "^1.5.5",
|
|
57
56
|
"vite": "^6.1.0",
|
|
58
|
-
"vitest": "
|
|
57
|
+
"vitest": "3.2.4",
|
|
58
|
+
"@moostjs/vite": "^0.5.30"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"pub": "pnpm publish --access public",
|