@cosense-toolbox/tailwind 0.1.0-beta.3 → 0.1.0-beta.5

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/README.md +2 -2
  2. package/package.json +7 -4
package/README.md CHANGED
@@ -11,7 +11,7 @@ Tailwind を使っているなら、style.css を別に読み込まなくてよ
11
11
  ## インストール
12
12
 
13
13
  ```sh
14
- npm install -D @cosense-toolbox/tailwind@beta
14
+ npm install -D @cosense-toolbox/tailwind
15
15
  ```
16
16
 
17
17
  Tailwind v4 の CSS に `@plugin` で足す。
@@ -153,7 +153,7 @@ bun run compare # style.css とプラグインで、ブラウザの計算済
153
153
  `bun run compare` は、parser の記法仕様のページをすべて描画し、style.css で表示したものとプラグインで表示したものの全要素のスタイルを突き合わせる。あわせて、modifier がどれも対象の要素で既定のスタイルに勝つことを確かめる。
154
154
  Chromium が要るので、`npx playwright install chromium` で入れるか、手元の Chromium を `CHROMIUM_PATH` で渡す。
155
155
 
156
- `examples/astro-blog` はこのパッケージの `dist/` を読む。プラグインを直したら `bun run build` してから example を動かす。作り直さないと、新しい modifier は Tailwind に知られていない variant として黙って捨てられる。
156
+ `examples/astro-blog` は npm に公開された版を使う。直したプラグインを example で試すときは、`bun run build` してから `bun link` でつなぐ ([手元のパッケージで試す](../../examples/astro-blog/README.md#手元のパッケージで試す))。作り直さないと、新しい modifier は Tailwind に知られていない variant として黙って捨てられる。
157
157
 
158
158
  ## ライセンス
159
159
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosense-toolbox/tailwind",
3
- "version": "0.1.0-beta.3",
3
+ "version": "0.1.0-beta.5",
4
4
  "description": "Tailwind CSS plugin: add class=\"cosense\" and the Cosense notation HTML inside it gets the default look.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -36,17 +36,20 @@
36
36
  "dev": "tsdown --watch",
37
37
  "typecheck": "tsc --noEmit",
38
38
  "test": "vitest run",
39
- "prepublishOnly": "bun run build"
39
+ "prepublishOnly": "bun run build",
40
+ "lint": "eslint .",
41
+ "format:check": "prettier --check . --ignore-path ../../.gitignore --ignore-path ../../.prettierignore"
40
42
  },
41
43
  "peerDependencies": {
42
44
  "tailwindcss": ">=4.0.0"
43
45
  },
44
46
  "devDependencies": {
45
- "@cosense-toolbox/parser": "0.1.0-beta.3",
47
+ "@cosense-toolbox/parser": "0.1.0-beta.5",
48
+ "@cosense-toolbox/style": "0.1.0-beta.5",
46
49
  "@tailwindcss/node": "^4.3.3",
47
50
  "effect": "^3.22.1",
48
- "postcss": "^8.5.28",
49
51
  "playwright-core": "^1.56.1",
52
+ "postcss": "^8.5.28",
50
53
  "postcss-selector-parser": "^7.1.6",
51
54
  "tailwindcss": "^4.3.3",
52
55
  "tsdown": "^0.22.14",