fabrique 0.2.0 → 0.2.4

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/.yarnrc.yml CHANGED
@@ -2,3 +2,5 @@ nodeLinker: node-modules
2
2
 
3
3
  unsafeHttpWhitelist:
4
4
  - localhost
5
+
6
+ yarnPath: .yarn/releases/yarn-4.6.0.cjs
package/README.md CHANGED
@@ -47,7 +47,7 @@ The library requires [Node.js](https://nodejs.org/en) `22+` and [yarn](https://y
47
47
  We recommend to use [npx](https://docs.npmjs.com/cli/v8/commands/npx):
48
48
 
49
49
  ```shell
50
- npx fabrique CMD
50
+ npx fabrique [CMD]
51
51
  ```
52
52
 
53
53
  But, you may prefer to install globally `fabrique`:
@@ -58,7 +58,7 @@ npm install -g fabrique
58
58
  And run a command with:
59
59
 
60
60
  ```shell
61
- fabrique CMD
61
+ fabrique [CMD]
62
62
  ```
63
63
 
64
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fabrique",
3
- "version": "0.2.0",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "bin": "./src/index.js",
@@ -19,15 +19,15 @@
19
19
  "type": "git",
20
20
  "url": "https://github.com/lifaon74/fabrique"
21
21
  },
22
- "packageManager": "yarn@4.5.1",
22
+ "packageManager": "yarn@4.6.0",
23
23
  "devDependencies": {
24
- "@inquirer/prompts": "^7.0.1",
25
- "prettier": "^3.3.3",
24
+ "@inquirer/prompts": "^7.2.1",
25
+ "prettier": "^3.4.2",
26
26
  "prettier-plugin-organize-imports": "^4.1.0",
27
- "typescript": "^5.6.3"
27
+ "typescript": "^5.7.2"
28
28
  },
29
29
  "dependencies": {
30
- "chalk": "^5.3.0",
31
- "commander": "^12.1.0"
30
+ "chalk": "^5.4.1",
31
+ "commander": "^13.0.0"
32
32
  }
33
33
  }
@@ -94,7 +94,7 @@ export async function upgrade({ force = false } = {}) {
94
94
  async function upgradeFiles(templatePath, destinationPath) {
95
95
  // files to exclude
96
96
  const exclude = [
97
- /^src(?:\/.*)?$/,
97
+ /^src(?:[\\\/].*)?$/,
98
98
  /^README\.md$/,
99
99
  /^LICENSE$/,
100
100
  /^package\.json$/,