ultracite 4.1.20 → 4.2.0

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/README.md CHANGED
@@ -55,7 +55,7 @@ Ultracite is designed to be used with [VS Code](https://code.visualstudio.com/).
55
55
  "editor.formatOnPaste": true,
56
56
  "emmet.showExpandedAbbreviation": "never",
57
57
  "editor.codeActionsOnSave": {
58
- "quickfix.biome": "explicit",
58
+ "source.fixAll.biome": "explicit",
59
59
  "source.organizeImports.biome": "explicit"
60
60
  },
61
61
  "[typescript]": {
package/biome.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "options": {
41
41
  "attributes": ["className"],
42
42
  "functions": ["clsx", "cva", "tw", "twMerge", "cn", "twJoin"]
43
- }
43
+ }
44
44
  }
45
45
  },
46
46
  "performance": {
package/package.json CHANGED
@@ -39,7 +39,7 @@
39
39
  "type": "git",
40
40
  "url": "git+https://github.com/haydenbleasel/ultracite.git"
41
41
  },
42
- "version": "4.1.20",
42
+ "version": "4.2.0",
43
43
  "devDependencies": {
44
44
  "@biomejs/biome": "^1.9.4"
45
45
  },
package/scripts/run.mjs CHANGED
@@ -7,7 +7,9 @@ const program = new Command();
7
7
 
8
8
  program
9
9
  .name('Ultracite')
10
- .description('Strict, opinionated linting config for modern TypeScript apps.');
10
+ .description(
11
+ 'Strict, opinionated linting config for modern TypeScript apps.'
12
+ );
11
13
 
12
14
  program
13
15
  .command('init')
@@ -28,7 +30,7 @@ program
28
30
  'editor.formatOnPaste': true,
29
31
  'emmet.showExpandedAbbreviation': 'never',
30
32
  'editor.codeActionsOnSave': {
31
- 'quickfix.biome': 'explicit',
33
+ 'source.fixAll.biome': 'explicit',
32
34
  'source.organizeImports.biome': 'explicit',
33
35
  },
34
36
  '[typescript]': {
@@ -55,7 +57,9 @@ program
55
57
  };
56
58
 
57
59
  try {
58
- const existingTsConfig = JSON.parse(execSync('cat tsconfig.json', { encoding: 'utf-8' }));
60
+ const existingTsConfig = JSON.parse(
61
+ execSync('cat tsconfig.json', { encoding: 'utf-8' })
62
+ );
59
63
  tsConfig = {
60
64
  ...existingTsConfig,
61
65
  compilerOptions: {
@@ -74,7 +78,11 @@ program
74
78
  execSync('mkdir -p .vscode');
75
79
  execSync(`echo '${JSON.stringify(biomeConfig, null, 2)}' > biome.json`);
76
80
  execSync(
77
- `echo '${JSON.stringify(vsCodeSettings, null, 2)}' > .vscode/settings.json`
81
+ `echo '${JSON.stringify(
82
+ vsCodeSettings,
83
+ null,
84
+ 2
85
+ )}' > .vscode/settings.json`
78
86
  );
79
87
  execSync(`echo '${JSON.stringify(tsConfig, null, 2)}' > tsconfig.json`);
80
88