@7365admin1/module-hygiene 4.27.0 → 4.27.2-staging.3

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.
@@ -0,0 +1,36 @@
1
+ name: Publish Staging
2
+ on:
3
+ push:
4
+ branches:
5
+ - staging
6
+
7
+ concurrency: ${{ github.workflow }}-${{ github.ref }}
8
+
9
+ jobs:
10
+ publish:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+
15
+ - uses: actions/setup-node@v4
16
+ with:
17
+ node-version: 20.x
18
+ cache: "yarn"
19
+ cache-dependency-path: yarn.lock
20
+
21
+ - run: yarn install --immutable
22
+
23
+ - run: yarn build
24
+
25
+ - name: Create .npmrc for publishing
26
+ run: |
27
+ echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' > ~/.npmrc
28
+
29
+ - name: Set staging prerelease version
30
+ run: |
31
+ BASE=$(node -p "const [x,y,z]=require('./package.json').version.split('-')[0].split('.'); [x,y,+z+1].join('.')")
32
+ npm version "$BASE-staging.${{ github.run_number }}" --no-git-tag-version
33
+ node -p "'Publishing ' + require('./package.json').version"
34
+
35
+ - name: Publish to npm with staging tag
36
+ run: npm publish --tag staging --registry https://registry.npmjs.org
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @7365admin1/module-hygiene
2
2
 
3
+ ## 4.27.1
4
+
5
+ ### Patch Changes
6
+
7
+ - a787e0e: Bump `@7365admin1/node-server-utils` dependency to `^1.6.0` to match what `@7365admin1/core` now uses. Previously pinned to `^1.5.0`, which caused yarn to install a second, separate copy of node-server-utils in consuming apps (since core's own pin no longer satisfies that range) — the two copies don't share module-level singleton state (Redis/Mongo clients), which crashed API-core mid-startup with `InternalServerError: Unable to connect to server` and manifested as a 502.
8
+
3
9
  ## 4.27.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@7365admin1/module-hygiene",
3
3
  "license": "MIT",
4
- "version": "4.27.0",
4
+ "version": "4.27.2-staging.3",
5
5
  "author": "7365admin1",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.mjs",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@7365admin1/core": "^3.30.0",
30
- "@7365admin1/node-server-utils": "^1.5.0",
30
+ "@7365admin1/node-server-utils": "^1.6.0",
31
31
  "@types/qrcode": "^1.5.6",
32
32
  "@types/urllib": "^2.33.0",
33
33
  "cors": "^2.8.5",