@theholocron/vite-config 7.16.0 → 7.17.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 +6 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -29,10 +29,10 @@ import { reactLibrary } from "@theholocron/vite-config/react-library";
|
|
|
29
29
|
import { storybookTest } from "@storybook/addon-vitest/vitest-plugin";
|
|
30
30
|
|
|
31
31
|
export default reactLibrary({
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
name: "my-lib",
|
|
33
|
+
overrides: {
|
|
34
|
+
plugins: [storybookTest()],
|
|
35
|
+
},
|
|
36
36
|
});
|
|
37
37
|
```
|
|
38
38
|
|
|
@@ -89,8 +89,8 @@ Set `CODECOV_TOKEN` as a CI secret, then add the following to your `codecov.yml`
|
|
|
89
89
|
|
|
90
90
|
```yaml
|
|
91
91
|
comment:
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
require_bundle_changes: true
|
|
93
|
+
bundle_change_threshold: "1Kb"
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
This posts a comment only when bundle size changes by more than 1 KB — enough to flag meaningful regressions without noise from routine fluctuations. See the [Codecov bundle analysis docs](https://docs.codecov.com/docs/javascript-bundle-analysis) for more threshold options.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/vite-config",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.17.0",
|
|
4
4
|
"description": "Vite configuration presets for libraries, React apps, and Node tools within the Galaxy.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/configs/tree/main/packages/vite-config#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/configs/issues",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"@vitest/coverage-v8": "^4.1.10",
|
|
27
27
|
"vite": "^8.2.0",
|
|
28
28
|
"@codecov/vite-plugin": "^2.0.0",
|
|
29
|
-
"@theholocron/
|
|
30
|
-
"@theholocron/
|
|
29
|
+
"@theholocron/tsconfig": "7.17.0",
|
|
30
|
+
"@theholocron/vitest-config": "7.17.0"
|
|
31
31
|
},
|
|
32
32
|
"exports": {
|
|
33
33
|
".": {
|