@regardio/dev 1.18.0 → 1.18.2
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 +19 -14
- package/src/biome/preset.json +1 -1
- package/src/templates/release.yml +25 -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.
|
|
4
|
+
"version": "1.18.2",
|
|
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": [
|
|
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",
|
|
@@ -90,7 +93,7 @@
|
|
|
90
93
|
"typecheck": "tsc --noEmit"
|
|
91
94
|
},
|
|
92
95
|
"dependencies": {
|
|
93
|
-
"@biomejs/biome": "2.4.
|
|
96
|
+
"@biomejs/biome": "2.4.9",
|
|
94
97
|
"@commitlint/cli": "20.5.0",
|
|
95
98
|
"@commitlint/config-conventional": "20.5.0",
|
|
96
99
|
"@playwright/test": "1.58.2",
|
|
@@ -98,23 +101,25 @@
|
|
|
98
101
|
"@testing-library/react": "16.3.2",
|
|
99
102
|
"@total-typescript/ts-reset": "0.6.1",
|
|
100
103
|
"@types/node": "25.5.0",
|
|
101
|
-
"@vitest/coverage-v8": "4.1.
|
|
102
|
-
"@vitest/ui": "4.1.
|
|
104
|
+
"@vitest/coverage-v8": "4.1.1",
|
|
105
|
+
"@vitest/ui": "4.1.1",
|
|
103
106
|
"husky": "9.1.7",
|
|
104
|
-
"jsdom": "29.0.
|
|
105
|
-
"markdownlint-cli2": "0.
|
|
107
|
+
"jsdom": "29.0.1",
|
|
108
|
+
"markdownlint-cli2": "0.22.0",
|
|
106
109
|
"npm-run-all": "4.1.5",
|
|
107
110
|
"postcss": "8.5.8",
|
|
108
111
|
"rimraf": "6.1.3",
|
|
109
|
-
"rollup": "4.
|
|
112
|
+
"rollup": "4.60.0",
|
|
110
113
|
"sort-package-json": "3.6.1",
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
|
|
114
|
+
"typescript": "6.0.2",
|
|
115
|
+
"vite": "8.0.2",
|
|
116
|
+
"vitest": "4.1.1"
|
|
117
|
+
},
|
|
118
|
+
"devDependencies": {
|
|
119
|
+
"tsx": "4.21.0"
|
|
115
120
|
},
|
|
116
121
|
"peerDependencies": {
|
|
117
|
-
"postcss": "8.4"
|
|
122
|
+
"postcss": "^8.4.0"
|
|
118
123
|
},
|
|
119
124
|
"peerDependenciesMeta": {
|
|
120
125
|
"postcss": {
|
|
@@ -124,4 +129,4 @@
|
|
|
124
129
|
"engines": {
|
|
125
130
|
"node": ">=18"
|
|
126
131
|
}
|
|
127
|
-
}
|
|
132
|
+
}
|
package/src/biome/preset.json
CHANGED
|
@@ -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
|
|