@iyulab/house-style 0.1.0 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.1] - 2026-10-05
4
+
5
+ ### Fixed
6
+
7
+ - **`import '@iyulab/house-style'` type-checks.** The package entry resolved straight to a `.css`
8
+ file, which TypeScript cannot read, so a project with `noUncheckedSideEffectImports` (Vite's
9
+ TypeScript templates turn it on) failed with TS2882. The entry now carries a `types` condition
10
+ pointing at an empty declaration; bundlers still load `styles/index.css`.
11
+ - The `examples/list-app` starter used the removed `color="gray"` for pending tags; it now uses
12
+ `neutral`, matching the guide.
13
+
3
14
  ## [0.1.0] - 2026-10-05
4
15
 
5
16
  First release as a package. Until now `@iyulab/house-style` was only the guide site.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iyulab/house-style",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "The iyulab house theme: a CSS-only theme for @iyulab components — tokens, component recipes, line-of-business layout patterns and a Tailwind CSS v4 preset — plus the guide site that documents it.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -9,8 +9,12 @@
9
9
  },
10
10
  "type": "module",
11
11
  "style": "./styles/index.css",
12
+ "types": "./styles/index.d.ts",
12
13
  "exports": {
13
- ".": "./styles/index.css",
14
+ ".": {
15
+ "types": "./styles/index.d.ts",
16
+ "default": "./styles/index.css"
17
+ },
14
18
  "./styles/*": "./styles/*",
15
19
  "./package.json": "./package.json"
16
20
  },
@@ -30,6 +34,7 @@
30
34
  "preview": "vite preview",
31
35
  "typecheck": "tsc --noEmit",
32
36
  "check:start-here": "node scripts/check-start-here.mjs",
37
+ "check:start-here:local": "node scripts/check-start-here.mjs --local",
33
38
  "test": "node --test \"tests/*.test.mjs\""
34
39
  },
35
40
  "engines": {
@@ -0,0 +1,5 @@
1
+ // `import '@iyulab/house-style'` is a side-effect import of a stylesheet. TypeScript resolves a bare
2
+ // specifier through `exports` and cannot read `.css`, so with `noUncheckedSideEffectImports` (on in
3
+ // TypeScript 6 projects such as Vite's templates) the import fails to type-check. This empty module
4
+ // is what the `types` condition resolves to; the bundler still loads `styles/index.css`.
5
+ export {};