init-workspace-cervvaljs 0.3.2 → 0.3.5-beta.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/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 0.3.4 2025-01-08
2
+ - node 24.12.0
3
+ - pnpm 10.27.0
1
4
  ## 0.3.2 2025-12-15
2
5
  - use npm to update pnpm
3
6
  - overrides @types/node version to 20.14.6
@@ -7,7 +10,7 @@
7
10
  ## 0.2.5 2024-06-20
8
11
  - pnpm 9.5.0
9
12
  ## 0.2.4 2024-06-20
10
- - node 20.14-0
13
+ - node 20.14.0
11
14
  - pnpm 9.5.0
12
15
  - Update packages versions
13
16
  ## 0.2.3 2024-01-13
package/README.md CHANGED
@@ -7,7 +7,7 @@ This package setups a pnpm Cervval.js workspace :
7
7
  * create workspace package.json
8
8
 
9
9
  ## Prerequisites
10
- * Node 20 or above
10
+ * Node 24 or above
11
11
 
12
12
  ## Usage
13
13
  Create a workspace folder and run
package/bin/index.js CHANGED
@@ -1,19 +1,19 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function (o, m, k, k2) {
4
4
  if (k2 === undefined) k2 = k;
5
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
6
6
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
7
+ desc = { enumerable: true, get: function () { return m[k]; } };
8
8
  }
9
9
  Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
10
+ }) : (function (o, m, k, k2) {
11
11
  if (k2 === undefined) k2 = k;
12
12
  o[k2] = m[k];
13
13
  }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function (o, v) {
15
15
  Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
16
+ }) : function (o, v) {
17
17
  o["default"] = v;
18
18
  });
19
19
  var __importStar = (this && this.__importStar) || function (mod) {
@@ -70,8 +70,8 @@ function initWorkspace(options) {
70
70
  console.info(" Linux: https://github.com/nvm-sh/nvm");
71
71
  console.info(" Windows: https://github.com/coreybutler/nvm-windows");
72
72
  console.info("2. Install Node");
73
- console.info(" nvm install 20.19.5");
74
- console.info(" nvm use 20.19.5");
73
+ console.info(" nvm install 24.12.0");
74
+ console.info(" nvm use 24.12.0");
75
75
  process.exit(1 /* ErrorCodes.WRONG_NODE */);
76
76
  }
77
77
  // check config files are not already in current folder
@@ -146,7 +146,7 @@ function initWorkspace(options) {
146
146
  * parses command arguments and inits workspace in current working directory
147
147
  */
148
148
  function cli() {
149
- const options = { dry: false, update: false, pnpmVersion: "10.18.1" };
149
+ const options = { dry: false, update: false, pnpmVersion: "10.27.0" };
150
150
  const args = process.argv.slice(2);
151
151
  if (args.includes("--dry")) {
152
152
  console.info("* dry mode on");
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "init-workspace-cervvaljs",
3
- "version": "0.3.2",
3
+ "version": "0.3.5-beta.1",
4
4
  "description": "Cervval.js Init Workspace Command Line Interface",
5
5
  "author": "Cervval",
6
6
  "license": "CC-BY-NC-ND-4.0",
7
7
  "bin": {
8
8
  "init-workspace-cervvaljs": "./bin/index.js"
9
9
  }
10
- }
10
+ }
@@ -37,5 +37,5 @@
37
37
  "eslint-plugin-mocha": "=11.1.0",
38
38
  "eslint-plugin-promise": "=7.2.1"
39
39
  },
40
- "version": "0.3.2"
40
+ "version": "0.3.5-beta.1"
41
41
  }