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 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 start
51
+ npm run dev
52
52
 
53
53
  # With Bun
54
- bun run start
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
@@ -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} start`);
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} start`);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "portosaurus",
3
- "version": "1.14.0",
3
+ "version": "1.15.1",
4
4
  "author": "soymadip",
5
5
  "license": "GPL-3.0-only",
6
6
  "description": "Complete portfolio cum personal website solution for your digital personality.",
@@ -10,10 +10,10 @@ Start the development server:
10
10
 
11
11
  ```bash
12
12
  # With Bun
13
- bun run start
13
+ bun run dev
14
14
 
15
15
  # With npm
16
- npm run start
16
+ npm run dev
17
17
  ```
18
18
 
19
19
  The site will be available at `http://localhost:3000`.