@sequencemedia/hooks 1.1.113 → 1.1.139

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.
@@ -9,7 +9,7 @@ jobs:
9
9
  - run:
10
10
  name: Publish to NPM
11
11
  command: |
12
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
12
+ export NPM_ID_TOKEN=$(circleci run oidc get --claims '{"aud": "npm:registry.npmjs.org"}')
13
13
  echo ".publish" >> .npmignore
14
14
  git clone https://github.com/sequencemedia/publish.git .publish
15
15
  .publish/publish.sh
package/husky.mjs ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env node
2
+
3
+ // @ts-ignore
4
+ Promise.resolve(import('husky'))
5
+ .then(({ default: husky }) => { husky() })
6
+ .catch((e) => {
7
+ if (e instanceof Error) {
8
+ if ('code' in e) {
9
+ const { code } = e
10
+ if (code === 'ERR_MODULE_NOT_FOUND') return
11
+ }
12
+
13
+ const { message } = e
14
+ if (message) console.error(`💥 ${message}`)
15
+ }
16
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencemedia/hooks",
3
- "version": "1.1.113",
3
+ "version": "1.1.139",
4
4
  "description": "Git Hooks",
5
5
  "keywords": [
6
6
  "git",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "repository": {
22
22
  "type": "git",
23
- "url": "git+https://github.com/sequencemedia/hooks"
23
+ "url": "git+https://github.com/sequencemedia/hooks.git"
24
24
  },
25
25
  "homepage": "https://github.com/sequencemedia/hooks#readme",
26
26
  "bugs": {
@@ -29,18 +29,18 @@
29
29
  "scripts": {
30
30
  "lint": "eslint .",
31
31
  "lint:fix": "npm run lint -- --fix",
32
- "prepare": "husky"
32
+ "prepare": "node husky.mjs"
33
33
  },
34
34
  "dependencies": {
35
35
  "debug": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {
38
- "@sequencemedia/eslint-config-standard": "^0.2.107",
39
- "@sequencemedia/eslint-config-typescript": "^0.1.182",
40
- "@types/debug": "^4.1.12",
41
- "@types/node": "^24.10.1",
38
+ "@sequencemedia/eslint-config-standard": "^0.2.125",
39
+ "@sequencemedia/eslint-config-typescript": "^0.1.216",
40
+ "@types/debug": "^4.1.13",
41
+ "@types/node": "^26.4.1",
42
42
  "eslint": "9.38.0",
43
- "globals": "^16.5.0",
43
+ "globals": "^17.12.0",
44
44
  "husky": "^9.1.7"
45
45
  },
46
46
  "imports": {