portosaurus 1.14.0 → 1.15.1
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/bin/portosaurus.js +5 -2
- package/package.json +1 -1
- package/template/README.md +2 -2
package/README.md
CHANGED
|
@@ -48,10 +48,10 @@ Navigate to your project and start the development server:
|
|
|
48
48
|
cd my-portfolio
|
|
49
49
|
|
|
50
50
|
# With npm
|
|
51
|
-
npm run
|
|
51
|
+
npm run dev
|
|
52
52
|
|
|
53
53
|
# With Bun
|
|
54
|
-
bun run
|
|
54
|
+
bun run dev
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
Your site will be available at `http://localhost:3000`.
|
|
@@ -61,7 +61,7 @@ Your site will be available at `http://localhost:3000`.
|
|
|
61
61
|
To generate the static site for production:
|
|
62
62
|
|
|
63
63
|
```bash
|
|
64
|
-
# With Bun
|
|
64
|
+
# With Bun
|
|
65
65
|
bun run build
|
|
66
66
|
|
|
67
67
|
# With npm
|
package/bin/portosaurus.js
CHANGED
|
@@ -207,6 +207,7 @@ program
|
|
|
207
207
|
version: "0.0.1",
|
|
208
208
|
private: true,
|
|
209
209
|
scripts: {
|
|
210
|
+
dev: "portosaurus dev",
|
|
210
211
|
start: "portosaurus start",
|
|
211
212
|
build: "portosaurus build",
|
|
212
213
|
},
|
|
@@ -266,18 +267,19 @@ program
|
|
|
266
267
|
logger.success("Dependencies installed!");
|
|
267
268
|
logger.tip("You can now run:");
|
|
268
269
|
logger.info(` cd ${projectName}`);
|
|
269
|
-
logger.info(` ${runCmd}
|
|
270
|
+
logger.info(` ${runCmd} dev`);
|
|
270
271
|
} catch (error) {
|
|
271
272
|
logger.error("Failed to install dependencies.");
|
|
272
273
|
logger.tip("You can install them manually:");
|
|
273
274
|
logger.info(` cd ${projectName}`);
|
|
274
275
|
logger.info(` ${installCmd}`);
|
|
276
|
+
logger.info(` ${runCmd} dev`);
|
|
275
277
|
}
|
|
276
278
|
} else {
|
|
277
279
|
logger.tip("Inside that directory, you can run:");
|
|
278
280
|
logger.info(` cd ${projectName}`);
|
|
279
281
|
logger.info(` ${installCmd}`);
|
|
280
|
-
logger.info(` ${runCmd}
|
|
282
|
+
logger.info(` ${runCmd} dev`);
|
|
281
283
|
}
|
|
282
284
|
} catch (error) {
|
|
283
285
|
logger.error(`Failed to initialize project: ${error.message}`);
|
|
@@ -289,6 +291,7 @@ program
|
|
|
289
291
|
|
|
290
292
|
program
|
|
291
293
|
.command("start")
|
|
294
|
+
.alias("dev")
|
|
292
295
|
.description("Start the development server")
|
|
293
296
|
.action(async () => {
|
|
294
297
|
const projectRoot = process.cwd();
|
package/package.json
CHANGED