ferrflow 4.10.2 → 5.18.0

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
@@ -1,7 +1,8 @@
1
1
  # FerrFlow
2
2
 
3
3
  [![Latest release](https://img.shields.io/github/v/release/FerrLabs/FerrFlow)](https://github.com/FerrLabs/FerrFlow/releases/latest)
4
- [![Coverage](https://codecov.io/gh/FerrLabs/FerrFlow/graph/badge.svg)](https://codecov.io/gh/FerrLabs/FerrFlow)
4
+ [![Quality Gate](https://sonar.ferrlabs.com/api/project_badges/measure?project=ferrflow&metric=alert_status&token=sqb_53f0d93466bd01a6c6a94a15125d5aa8390c67fa)](https://sonar.ferrlabs.com/dashboard?id=ferrflow)
5
+ [![Coverage](https://sonar.ferrlabs.com/api/project_badges/measure?project=ferrflow&metric=coverage&token=sqb_53f0d93466bd01a6c6a94a15125d5aa8390c67fa)](https://sonar.ferrlabs.com/dashboard?id=ferrflow)
5
6
  [![License](https://img.shields.io/github/license/FerrLabs/FerrFlow)](LICENSE)
6
7
  [![Socket Badge](https://badge.socket.dev/npm/package/ferrflow/latest)](https://badge.socket.dev/npm/package/ferrflow/latest)
7
8
  [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/FerrLabs/FerrFlow/badge)](https://scorecard.dev/viewer/?uri=github.com/FerrLabs/FerrFlow)
@@ -47,10 +48,12 @@ cargo install ferrflow
47
48
  npm install -D ferrflow
48
49
  ```
49
50
 
51
+ (`@ferrlabs/ferrflow` is kept as a published alias for the same package.)
52
+
50
53
  **Docker**
51
54
 
52
55
  ```bash
53
- docker run ghcr.io/ferrflow/ferrflow:latest check
56
+ docker run ghcr.io/ferrlabs/ferrflow:latest check
54
57
  ```
55
58
 
56
59
  **Pre-built binaries**
@@ -152,7 +155,7 @@ Add `$schema` to get autocompletion and validation in VS Code, WebStorm, and any
152
155
  "name": "my-app",
153
156
  "path": ".",
154
157
  "changelog": "CHANGELOG.md",
155
- "versioned_files": [
158
+ "versionedFiles": [
156
159
  { "path": "package.json", "format": "json" }
157
160
  ]
158
161
  }
@@ -173,7 +176,7 @@ Add `$schema` to get autocompletion and validation in VS Code, WebStorm, and any
173
176
  name: "my-app",
174
177
  path: ".",
175
178
  changelog: "CHANGELOG.md",
176
- versioned_files: [
179
+ versionedFiles: [
177
180
  { path: "package.json", format: "json" },
178
181
  ],
179
182
  },
@@ -210,8 +213,8 @@ format = "toml"
210
213
  "name": "api",
211
214
  "path": "services/api",
212
215
  "changelog": "services/api/CHANGELOG.md",
213
- "shared_paths": ["services/shared/"],
214
- "versioned_files": [
216
+ "sharedPaths": ["services/shared/"],
217
+ "versionedFiles": [
215
218
  { "path": "services/api/Cargo.toml", "format": "toml" }
216
219
  ]
217
220
  },
@@ -219,7 +222,7 @@ format = "toml"
219
222
  "name": "frontend",
220
223
  "path": "frontend",
221
224
  "changelog": "frontend/CHANGELOG.md",
222
- "versioned_files": [
225
+ "versionedFiles": [
223
226
  { "path": "frontend/package.json", "format": "json" }
224
227
  ]
225
228
  }
@@ -490,7 +493,7 @@ on_failure = "abort" # or "continue"
490
493
 
491
494
  If a hook exits non-zero and `on_failure` is `abort` (default), the release is cancelled. Set `on_failure` to `continue` to ignore hook failures.
492
495
 
493
- Hook commands receive environment variables: `FERRFLOW_PACKAGE`, `FERRFLOW_VERSION`, `FERRFLOW_PREV_VERSION`, `FERRFLOW_CHANNEL`, `FERRFLOW_IS_PRERELEASE`.
496
+ Hook commands receive environment variables: `FERRFLOW_PACKAGE`, `FERRFLOW_OLD_VERSION`, `FERRFLOW_NEW_VERSION`, `FERRFLOW_BUMP_TYPE`, `FERRFLOW_TAG`, `FERRFLOW_PACKAGE_PATH`, `FERRFLOW_DRY_RUN`, `FERRFLOW_CHANNEL`, `FERRFLOW_IS_PRERELEASE`.
494
497
 
495
498
  ## Conventional Commits
496
499
 
@@ -509,7 +512,7 @@ FerrFlow follows the [Conventional Commits](https://www.conventionalcommits.org/
509
512
 
510
513
  ```yaml
511
514
  release:
512
- image: ghcr.io/ferrflow/ferrflow:latest
515
+ image: ghcr.io/ferrlabs/ferrflow:latest
513
516
  script:
514
517
  - ferrflow release
515
518
  rules:
package/package.json CHANGED
@@ -14,16 +14,16 @@
14
14
  "license": "MPL-2.0",
15
15
  "name": "ferrflow",
16
16
  "optionalDependencies": {
17
- "@ferrflow/darwin-arm64": "4.10.2",
18
- "@ferrflow/darwin-x64": "4.10.2",
19
- "@ferrflow/linux-arm64": "4.10.2",
20
- "@ferrflow/linux-x64": "4.10.2",
21
- "@ferrflow/win32-x64": "4.10.2"
17
+ "@ferrflow/darwin-arm64": "5.18.0",
18
+ "@ferrflow/darwin-x64": "5.18.0",
19
+ "@ferrflow/linux-arm64": "5.18.0",
20
+ "@ferrflow/linux-x64": "5.18.0",
21
+ "@ferrflow/win32-x64": "5.18.0"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
25
25
  "url": "git+https://github.com/FerrLabs/FerrFlow.git"
26
26
  },
27
27
  "type": "module",
28
- "version": "4.10.2"
28
+ "version": "5.18.0"
29
29
  }
@@ -12,5 +12,5 @@
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/FerrLabs/FerrFlow.git"
14
14
  },
15
- "version": "4.10.2"
15
+ "version": "5.18.0"
16
16
  }
@@ -12,5 +12,5 @@
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/FerrLabs/FerrFlow.git"
14
14
  },
15
- "version": "4.10.2"
15
+ "version": "5.18.0"
16
16
  }
@@ -12,5 +12,5 @@
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/FerrLabs/FerrFlow.git"
14
14
  },
15
- "version": "4.10.2"
15
+ "version": "5.18.0"
16
16
  }
@@ -12,5 +12,5 @@
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/FerrLabs/FerrFlow.git"
14
14
  },
15
- "version": "4.10.2"
15
+ "version": "5.18.0"
16
16
  }
@@ -12,5 +12,5 @@
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/FerrLabs/FerrFlow.git"
14
14
  },
15
- "version": "4.10.2"
15
+ "version": "5.18.0"
16
16
  }
@@ -7,18 +7,17 @@ SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
7
7
  REPO_DIR="$(dirname "$(dirname "$SCRIPT_DIR")")"
8
8
  WASM_DIR="${REPO_DIR}/ferrflow-wasm"
9
9
 
10
- echo "Building @ferrflow/wasm@${VERSION}..."
10
+ echo "Building @ferrlabs/ferrflow-wasm@${VERSION}..."
11
11
 
12
12
  cd "$WASM_DIR"
13
- wasm-pack build --target bundler --scope ferrflow
13
+ wasm-pack build --target bundler --scope ferrlabs
14
14
 
15
15
  cd pkg
16
16
 
17
- # Rename package from @ferrflow/ferrflow-wasm to @ferrflow/wasm
18
17
  node -e "
19
18
  const fs = require('fs');
20
19
  const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
21
- pkg.name = '@ferrflow/wasm';
20
+ pkg.name = '@ferrlabs/ferrflow-wasm';
22
21
  pkg.version = '${VERSION}';
23
22
  pkg.repository = {
24
23
  type: 'git',
@@ -29,7 +28,7 @@ node -e "
29
28
  fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');
30
29
  "
31
30
 
32
- echo "Publishing @ferrflow/wasm@${VERSION}..."
31
+ echo "Publishing @ferrlabs/ferrflow-wasm@${VERSION}..."
33
32
  npm publish --access public
34
33
 
35
- echo "Published @ferrflow/wasm@${VERSION}"
34
+ echo "Published @ferrlabs/ferrflow-wasm@${VERSION}"
@@ -64,7 +64,20 @@ node -e "
64
64
 
65
65
  npm publish --access public
66
66
 
67
- echo "Published ferrflow@${VERSION} with all platform packages"
67
+ echo "Publishing brand alias @ferrlabs/ferrflow@${VERSION}..."
68
+ ALIAS_DIR="$(mktemp -d)"
69
+ cp -a "${NPM_DIR}/." "${ALIAS_DIR}/"
70
+ cd "$ALIAS_DIR"
71
+ node -e "
72
+ const pkg = JSON.parse(require('fs').readFileSync('package.json', 'utf8'));
73
+ pkg.name = '@ferrlabs/ferrflow';
74
+ require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');
75
+ "
76
+ npm publish --access public
77
+ cd - > /dev/null
78
+ rm -rf "$ALIAS_DIR"
79
+
80
+ echo "Published ferrflow@${VERSION} (+ @ferrlabs/ferrflow alias) with all platform packages"
68
81
 
69
82
  # Cleanup
70
83
  rm -rf "$WORK_DIR"