@shivaedev/quality 0.39.1 → 0.39.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/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/dist/appTestConfig.js +1 -1
- package/dist/appTestConfig.js.map +1 -1
- package/package.json +1 -1
- package/src/appTestConfig.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.39.2 - 2026-10-25
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Each mounted host owns its in-memory rate-limit buckets and releases them with its scope.
|
|
8
|
+
- Starter stories import the application host without resetting modules.
|
|
9
|
+
- Application test configuration no longer inlines Better Auth for module resets.
|
|
10
|
+
|
|
3
11
|
## 0.39.1 - 2026-10-25
|
|
4
12
|
|
|
5
13
|
### Fixed
|
package/README.md
CHANGED
|
@@ -335,7 +335,7 @@ import { appTestConfig } from "@shivaedev/quality/appTestConfig.ts";
|
|
|
335
335
|
export default appTestConfig();
|
|
336
336
|
```
|
|
337
337
|
|
|
338
|
-
Use this in `vitest.config.ts`. It composes `testProjects` with browser and server resolution and inlines Platform
|
|
338
|
+
Use this in `vitest.config.ts`. It composes `testProjects` with browser and server resolution and inlines Platform for the test server. Both helpers accept extra export conditions for workspace development: `appViteConfig(plugins, ["source"])` and `appTestConfig(["source"])`. Published apps use the defaults.
|
|
339
339
|
|
|
340
340
|
For Vitest, install `vitest`, and add `@shivaedev/test-story` and `happy-dom` when the repository has DOM tests, then use:
|
|
341
341
|
|
package/dist/appTestConfig.js
CHANGED
|
@@ -4,7 +4,7 @@ export function appTestConfig(conditions = []) {
|
|
|
4
4
|
return defineConfig({
|
|
5
5
|
resolve: { conditions: [...conditions, "module", "browser", "development|production"] },
|
|
6
6
|
ssr: { resolve: { conditions: [...conditions, "node", "development|production"] } },
|
|
7
|
-
test: { ...testProjects(), server: { deps: { inline: ["@shivaedev/platform"
|
|
7
|
+
test: { ...testProjects(), server: { deps: { inline: ["@shivaedev/platform"] } } },
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=appTestConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appTestConfig.js","sourceRoot":"","sources":["../src/appTestConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,UAAU,aAAa,CAAC,UAAU,GAAa,EAAE;IACtD,OAAO,YAAY,CAAC;QACnB,OAAO,EAAE,EAAE,UAAU,EAAE,CAAC,GAAG,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,wBAAwB,CAAC,EAAE;QACvF,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,UAAU,EAAE,CAAC,GAAG,UAAU,EAAE,MAAM,EAAE,wBAAwB,CAAC,EAAE,EAAE;QACnF,IAAI,EAAE,EAAE,GAAG,YAAY,EAAE,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"appTestConfig.js","sourceRoot":"","sources":["../src/appTestConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,UAAU,aAAa,CAAC,UAAU,GAAa,EAAE;IACtD,OAAO,YAAY,CAAC;QACnB,OAAO,EAAE,EAAE,UAAU,EAAE,CAAC,GAAG,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,wBAAwB,CAAC,EAAE;QACvF,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,UAAU,EAAE,CAAC,GAAG,UAAU,EAAE,MAAM,EAAE,wBAAwB,CAAC,EAAE,EAAE;QACnF,IAAI,EAAE,EAAE,GAAG,YAAY,EAAE,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,CAAC,qBAAqB,CAAC,EAAE,EAAE,EAAE;KAClF,CAAC,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shivaedev/quality",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.2",
|
|
4
4
|
"description": "Repository quality gate with typed rules, a baseline of existing debt and a registry of reasoned exceptions",
|
|
5
5
|
"homepage": "https://github.com/ShivaeDev/platform/tree/main/packages/quality#readme",
|
|
6
6
|
"bugs": {
|
package/src/appTestConfig.ts
CHANGED
|
@@ -5,6 +5,6 @@ export function appTestConfig(conditions: string[] = []) {
|
|
|
5
5
|
return defineConfig({
|
|
6
6
|
resolve: { conditions: [...conditions, "module", "browser", "development|production"] },
|
|
7
7
|
ssr: { resolve: { conditions: [...conditions, "node", "development|production"] } },
|
|
8
|
-
test: { ...testProjects(), server: { deps: { inline: ["@shivaedev/platform"
|
|
8
|
+
test: { ...testProjects(), server: { deps: { inline: ["@shivaedev/platform"] } } },
|
|
9
9
|
});
|
|
10
10
|
}
|