@zenkigen-inc/component-theme 1.22.0 → 2.0.0-rc.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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/source.css +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenkigen-inc/component-theme",
3
- "version": "1.22.0",
3
+ "version": "2.0.0-rc.0",
4
4
  "repository": "https://github.com/zenkigen/zenkigen-component",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -14,7 +14,8 @@
14
14
  ".": {
15
15
  "import": "./dist/index.mjs",
16
16
  "require": "./dist/index.js"
17
- }
17
+ },
18
+ "./source": "./source.css"
18
19
  },
19
20
  "scripts": {
20
21
  "type-check": "tsc --noEmit",
@@ -22,7 +23,6 @@
22
23
  "build-lib": "rimraf dist && tsup src/index.ts --format cjs,esm --dts"
23
24
  },
24
25
  "devDependencies": {
25
- "tailwindcss": "3.4.19",
26
26
  "tsup": "8.5.1",
27
27
  "typescript": "5.9.3"
28
28
  }
package/source.css ADDED
@@ -0,0 +1,4 @@
1
+ /* Tailwind v4 のクラス検出対象として component-theme のビルド成果物を登録する。
2
+ @source の相対パスはこのファイルの場所基準で解決されるため、利用側に
3
+ node_modules へのパスを書かせずに済む。 */
4
+ @source './dist/**/*.mjs';