@hs-web-team/eslint-config-node 3.1.0-next.1 → 3.1.1

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.
@@ -2,17 +2,23 @@ name: Publish Package to npmjs
2
2
  on:
3
3
  release:
4
4
  types: [created]
5
+
6
+ permissions:
7
+ id-token: write # Required for OIDC
8
+ contents: read
9
+
5
10
  jobs:
6
11
  build:
7
12
  runs-on: ubuntu-latest
8
13
  steps:
9
14
  # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
10
- - uses: actions/checkout@v5
15
+ - uses: actions/checkout@v6
11
16
  - uses: actions/setup-node@v6
12
17
  with:
13
18
  node-version: 24
14
19
  registry-url: 'https://registry.npmjs.org'
15
- - run: npm install
20
+ - run: npm ci
21
+ - run: npm run build --if-present
16
22
  - name: Publish to npm
17
23
  run: |
18
24
  VERSION=$(node -p "require('./package.json').version")
@@ -26,5 +32,3 @@ jobs:
26
32
  echo "Publishing stable version $VERSION"
27
33
  npm publish
28
34
  fi
29
- env:
30
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hs-web-team/eslint-config-node",
3
- "version": "3.1.0-next.1",
3
+ "version": "3.1.1",
4
4
  "description": "HubSpot Marketing WebTeam ESLint rules for Node.js",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -36,14 +36,14 @@
36
36
  "@eslint/js": "^9.39.1",
37
37
  "@typescript-eslint/eslint-plugin": "^8.46.3",
38
38
  "@typescript-eslint/parser": "^8.46.3",
39
- "eslint": "^9.39.1",
39
+ "eslint": "^9.39.2",
40
40
  "eslint-formatter-checkstyle": "^9.0.1",
41
41
  "eslint-plugin-jsx-a11y": "^6.10.2",
42
42
  "eslint-plugin-react": "^7.37.5",
43
43
  "eslint-plugin-react-hooks": "^7.0.1",
44
- "globals": "^16.5.0",
44
+ "globals": "^17.0.0",
45
45
  "jiti": "^2.6.1",
46
- "prettier": "^3.7.4",
47
- "typescript-eslint": "^8.48.1"
46
+ "prettier": "^3.8.1",
47
+ "typescript-eslint": "^8.53.1"
48
48
  }
49
49
  }