@regardio/dev 1.7.1 → 1.9.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.
@@ -88,6 +88,12 @@ await new Promise((resolve, reject) => {
88
88
  });
89
89
  console.log('Updating lockfile...');
90
90
  run('pnpm install --ignore-workspace');
91
+ console.log('Fixing formatting...');
92
+ try {
93
+ run('pnpm fix');
94
+ }
95
+ catch {
96
+ }
91
97
  run('git add -A');
92
98
  const updatedPackageJson = JSON.parse(readFileSync(packageJsonPath, 'utf-8'));
93
99
  const { version } = updatedPackageJson;
package/package.json CHANGED
@@ -47,6 +47,7 @@
47
47
  "./biome": "./src/biome/preset.json",
48
48
  "./commitlint": "./src/commitlint/commitlint.cjs",
49
49
  "./markdownlint": "./src/markdownlint/markdownlint.json",
50
+ "./markdownlint-cli2": "./src/markdownlint/markdownlint-cli2.jsonc",
50
51
  "./playwright": {
51
52
  "default": "./dist/playwright/index.js",
52
53
  "types": "./dist/playwright/index.d.ts"
@@ -111,5 +112,5 @@
111
112
  },
112
113
  "sideEffects": false,
113
114
  "type": "module",
114
- "version": "1.7.1"
115
+ "version": "1.9.1"
115
116
  }
@@ -145,6 +145,14 @@ await new Promise<void>((resolve, reject) => {
145
145
  console.log('Updating lockfile...');
146
146
  run('pnpm install --ignore-workspace');
147
147
 
148
+ // Run fix to ensure package.json formatting is correct after changeset version
149
+ console.log('Fixing formatting...');
150
+ try {
151
+ run('pnpm fix');
152
+ } catch {
153
+ // fix may not exist in all packages, ignore errors
154
+ }
155
+
148
156
  // Stage all changes
149
157
  run('git add -A');
150
158
 
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/main/schema/markdownlint-cli2-config-schema.json",
3
+ "config": {
4
+ "extends": "@regardio/dev/markdownlint"
5
+ },
6
+ "ignores": [".changeset/**", "**/node_modules/**", "**/dist/**"]
7
+ }