sdocs 0.0.29 → 0.0.30
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 +13 -0
- package/dist/commands/dev.js +8 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.0.30] - 2026-07-03
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- The `sdocs dev`/`run` explorer UI rendered unstyled since 0.0.28: with the
|
|
15
|
+
staging directory under `node_modules`, the Svelte plugin doesn't serve
|
|
16
|
+
virtual CSS modules for the client's components. Styles are now compiled
|
|
17
|
+
into the components in dev. (Static builds were unaffected.)
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- The package exports `./package.json`.
|
|
22
|
+
|
|
10
23
|
## [0.0.29] - 2026-07-03
|
|
11
24
|
|
|
12
25
|
### Fixed
|
package/dist/commands/dev.js
CHANGED
|
@@ -49,7 +49,14 @@ export async function devCommand() {
|
|
|
49
49
|
include: ['svelte'],
|
|
50
50
|
},
|
|
51
51
|
plugins: [
|
|
52
|
-
svelte(
|
|
52
|
+
svelte({
|
|
53
|
+
compilerOptions: {
|
|
54
|
+
// The staging dir lives under node_modules (see createStagingDir),
|
|
55
|
+
// where vite-plugin-svelte doesn't serve virtual CSS modules for
|
|
56
|
+
// components; inject styles into the JS instead.
|
|
57
|
+
css: 'injected',
|
|
58
|
+
},
|
|
59
|
+
}),
|
|
53
60
|
sdocsPlugin({ ...config, include: absoluteIncludes }),
|
|
54
61
|
],
|
|
55
62
|
server: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sdocs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.30",
|
|
4
4
|
"description": "A lightweight documentation tool for Svelte 5 components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"./ui": {
|
|
23
23
|
"types": "./dist/ui/index.d.ts",
|
|
24
24
|
"svelte": "./dist/ui/index.js"
|
|
25
|
-
}
|
|
25
|
+
},
|
|
26
|
+
"./package.json": "./package.json"
|
|
26
27
|
},
|
|
27
28
|
"files": [
|
|
28
29
|
"dist",
|