@peers-app/peers-ui 0.25.11 → 0.25.12

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.
@@ -15,6 +15,9 @@ jobs:
15
15
  - name: Checkout code
16
16
  uses: actions/checkout@v6
17
17
 
18
+ - name: Enforce release freeze
19
+ run: node release-guard.js
20
+
18
21
  - name: Setup Node.js
19
22
  uses: actions/setup-node@v6
20
23
  with:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peers-app/peers-ui",
3
- "version": "0.25.11",
3
+ "version": "0.25.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/peers-app/peers-ui.git"
@@ -17,9 +17,11 @@
17
17
  "build": "npm run clean && tsc",
18
18
  "dev": "tsc -w",
19
19
  "clean:build": "npm run clean && npm run build",
20
- "release:patch": "npm run clean && npm run build && npm version patch && git push && git push --tags",
21
- "release:minor": "npm run clean && npm run build && npm version minor && git push && git push --tags",
22
- "release:major": "npm run clean && npm run build && npm version major && git push && git push --tags",
20
+ "release:guard": "node release-guard.js",
21
+ "prepublishOnly": "npm run release:guard",
22
+ "release:patch": "npm run release:guard && npm run clean && npm run build && npm version patch && git push && git push --tags",
23
+ "release:minor": "npm run release:guard && npm run clean && npm run build && npm version minor && git push && git push --tags",
24
+ "release:major": "npm run release:guard && npm run clean && npm run build && npm version major && git push && git push --tags",
23
25
  "release": "npm run release:patch",
24
26
  "test": "jest --no-watchman",
25
27
  "test:watch": "jest --watch",
@@ -28,7 +30,7 @@
28
30
  "lint:fix": "biome check --write ."
29
31
  },
30
32
  "peerDependencies": {
31
- "@peers-app/peers-sdk": "^0.25.11",
33
+ "@peers-app/peers-sdk": "^0.25.12",
32
34
  "bootstrap": "^5.3.3",
33
35
  "react": "^18.0.0",
34
36
  "react-dom": "^18.0.0"
@@ -39,7 +41,7 @@
39
41
  "@babel/preset-react": "^7.24.1",
40
42
  "@babel/preset-typescript": "^7.27.1",
41
43
  "@biomejs/biome": "2.3.11",
42
- "@peers-app/peers-sdk": "0.25.11",
44
+ "@peers-app/peers-sdk": "0.25.12",
43
45
  "@testing-library/dom": "^10.4.0",
44
46
  "@testing-library/jest-dom": "^6.6.3",
45
47
  "@testing-library/react": "^16.3.0",
@@ -0,0 +1,10 @@
1
+ const fs = require("node:fs");
2
+ const path = require("node:path");
3
+
4
+ const freezePath = path.join(__dirname, "RELEASES_FROZEN.md");
5
+
6
+ if (fs.existsSync(freezePath)) {
7
+ console.error("Release blocked: the release credential exposure incident freeze is active.");
8
+ console.error(`See ${freezePath} for the coordinated unfreeze process.`);
9
+ process.exit(1);
10
+ }