node-dependency-injection 3.2.4 → 3.2.6

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.
@@ -4,17 +4,27 @@ on:
4
4
  release:
5
5
  types: [created]
6
6
 
7
+ permissions:
8
+ contents: read
9
+ id-token: write
10
+
7
11
  jobs:
8
- build:
12
+ publish:
9
13
  runs-on: ubuntu-latest
10
14
  steps:
11
- - uses: actions/checkout@v3
12
- - uses: actions/setup-node@v3
15
+ - uses: actions/checkout@v4
16
+
17
+ - uses: actions/setup-node@v4
13
18
  with:
14
- node-version: '16.x'
15
- registry-url: 'https://registry.npmjs.org'
19
+ node-version: 20
20
+ registry-url: https://registry.npmjs.org/
21
+
22
+ # Ensure npm CLI is new enough for Trusted Publishing flows
23
+ - run: npm i -g npm@latest
24
+ - run: npm -v
25
+
16
26
  - run: npm ci
17
27
  - run: npm run build
18
- - run: npm publish
19
- env:
20
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
28
+
29
+ # Public packages sometimes need this explicitly (safe even if already public)
30
+ - run: npm publish --access public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-dependency-injection",
3
- "version": "3.2.4",
3
+ "version": "3.2.6",
4
4
  "description": "The NodeDependencyInjection component allows you to standardize and centralize the way objects are constructed in your application.",
5
5
  "main": "dist/lib/index.js",
6
6
  "directories": {
@@ -57,7 +57,7 @@
57
57
  "chalk": "^4.1.0",
58
58
  "commander": "^8.3.0",
59
59
  "console.table": "^0.10.0",
60
- "js-yaml": "^4.0.0",
60
+ "js-yaml": "^4.1.1",
61
61
  "json5": "^2.2.2",
62
62
  "validate-npm-package-name": "^3.0.0"
63
63
  },