@regardio/dev 1.18.0 → 1.18.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.
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.0",
4
+ "version": "1.18.1",
5
5
  "private": false,
6
6
  "description": "Regardio developer tooling for testing, linting, and build workflows",
7
7
  "keywords": [
@@ -68,7 +68,10 @@
68
68
  "ship-production": "dist/bin/ship/production.js",
69
69
  "ship-staging": "dist/bin/ship/staging.js"
70
70
  },
71
- "files": ["dist", "src"],
71
+ "files": [
72
+ "dist",
73
+ "src"
74
+ ],
72
75
  "scripts": {
73
76
  "build": "tsc -p tsconfig.build.json",
74
77
  "clean": "tsx src/bin/exec/clean.ts .turbo dist",
@@ -101,7 +104,7 @@
101
104
  "@vitest/coverage-v8": "4.1.0",
102
105
  "@vitest/ui": "4.1.0",
103
106
  "husky": "9.1.7",
104
- "jsdom": "29.0.0",
107
+ "jsdom": "29.0.1",
105
108
  "markdownlint-cli2": "0.21.0",
106
109
  "npm-run-all": "4.1.5",
107
110
  "postcss": "8.5.8",
@@ -110,11 +113,11 @@
110
113
  "sort-package-json": "3.6.1",
111
114
  "tsx": "4.21.0",
112
115
  "typescript": "5.9.3",
113
- "vite": "8.0.0",
116
+ "vite": "8.0.1",
114
117
  "vitest": "4.1.0"
115
118
  },
116
119
  "peerDependencies": {
117
- "postcss": "8.4"
120
+ "postcss": "^8.4.0"
118
121
  },
119
122
  "peerDependenciesMeta": {
120
123
  "postcss": {
@@ -124,4 +127,4 @@
124
127
  "engines": {
125
128
  "node": ">=18"
126
129
  }
127
- }
130
+ }
@@ -235,7 +235,7 @@
235
235
  "recommended": true
236
236
  },
237
237
  "style": {
238
- "noInferrableTypes": "error",
238
+ "noInferrableTypes": "off",
239
239
  "noNonNullAssertion": "error",
240
240
  "noParameterAssign": "error",
241
241
  "noUnusedTemplateLiteral": "error",
@@ -47,6 +47,31 @@ jobs:
47
47
  - name: Update npm for OIDC support
48
48
  run: npm install -g npm@latest
49
49
 
50
+ - name: Replace workspace dependencies with npm versions
51
+ run: |
52
+ node -e "
53
+ const fs = require('fs');
54
+ const { execSync } = require('child_process');
55
+ const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8'));
56
+ ['dependencies', 'devDependencies'].forEach(depType => {
57
+ if (pkg[depType]) {
58
+ Object.keys(pkg[depType]).forEach(key => {
59
+ if (pkg[depType][key].startsWith('workspace:')) {
60
+ try {
61
+ const version = execSync(\`npm view \${key} version\`, { encoding: 'utf8' }).trim();
62
+ pkg[depType][key] = \`^\${version}\`;
63
+ console.log(\`Replaced \${key}@workspace:* with ^\${version}\`);
64
+ } catch (e) {
65
+ console.error(\`Error: Could not find \${key} on npm. Publish it first.\`);
66
+ process.exit(1);
67
+ }
68
+ }
69
+ });
70
+ }
71
+ });
72
+ fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));
73
+ "
74
+
50
75
  - name: Install dependencies
51
76
  run: pnpm install --no-frozen-lockfile
52
77