@regardio/dev 1.18.1 → 1.18.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.
@@ -1,8 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import { spawn } from 'node:child_process';
3
3
  import { createRequire } from 'node:module';
4
+ import { dirname, resolve } from 'node:path';
4
5
  const require = createRequire(import.meta.url);
5
- const bin = require.resolve('husky');
6
+ const bin = resolve(dirname(require.resolve('husky')), 'bin.js');
6
7
  const args = process.argv.slice(2);
7
8
  const child = spawn(process.execPath, [bin, ...args], { stdio: 'inherit' });
8
9
  child.on('exit', (code) => process.exit(code ?? 0));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package.json",
3
3
  "name": "@regardio/dev",
4
- "version": "1.18.1",
4
+ "version": "1.18.3",
5
5
  "private": false,
6
6
  "description": "Regardio developer tooling for testing, linting, and build workflows",
7
7
  "keywords": [
@@ -93,7 +93,7 @@
93
93
  "typecheck": "tsc --noEmit"
94
94
  },
95
95
  "dependencies": {
96
- "@biomejs/biome": "2.4.8",
96
+ "@biomejs/biome": "2.4.9",
97
97
  "@commitlint/cli": "20.5.0",
98
98
  "@commitlint/config-conventional": "20.5.0",
99
99
  "@playwright/test": "1.58.2",
@@ -101,20 +101,22 @@
101
101
  "@testing-library/react": "16.3.2",
102
102
  "@total-typescript/ts-reset": "0.6.1",
103
103
  "@types/node": "25.5.0",
104
- "@vitest/coverage-v8": "4.1.0",
105
- "@vitest/ui": "4.1.0",
104
+ "@vitest/coverage-v8": "4.1.1",
105
+ "@vitest/ui": "4.1.1",
106
106
  "husky": "9.1.7",
107
107
  "jsdom": "29.0.1",
108
- "markdownlint-cli2": "0.21.0",
108
+ "markdownlint-cli2": "0.22.0",
109
109
  "npm-run-all": "4.1.5",
110
110
  "postcss": "8.5.8",
111
111
  "rimraf": "6.1.3",
112
- "rollup": "4.59.0",
112
+ "rollup": "4.60.0",
113
113
  "sort-package-json": "3.6.1",
114
- "tsx": "4.21.0",
115
- "typescript": "5.9.3",
116
- "vite": "8.0.1",
117
- "vitest": "4.1.0"
114
+ "typescript": "6.0.2",
115
+ "vite": "8.0.2",
116
+ "vitest": "4.1.1"
117
+ },
118
+ "devDependencies": {
119
+ "tsx": "4.21.0"
118
120
  },
119
121
  "peerDependencies": {
120
122
  "postcss": "^8.4.0"
@@ -5,9 +5,10 @@
5
5
  */
6
6
  import { spawn } from 'node:child_process';
7
7
  import { createRequire } from 'node:module';
8
+ import { dirname, resolve } from 'node:path';
8
9
 
9
10
  const require = createRequire(import.meta.url);
10
- const bin = require.resolve('husky');
11
+ const bin = resolve(dirname(require.resolve('husky')), 'bin.js');
11
12
  const args = process.argv.slice(2);
12
13
  const child = spawn(process.execPath, [bin, ...args], { stdio: 'inherit' });
13
14
  child.on('exit', (code) => process.exit(code ?? 0));