@r_masseater/vite-plus-adopt 0.3.1 → 0.3.3
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/README.md +1 -1
- package/dist/attw.mjs +1 -1
- package/dist/attw.mjs.map +1 -1
- package/dist/cli.mjs +2 -1
- package/dist/cli.mjs.map +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -154,7 +154,7 @@ postinstall が動いていないと、Betterleaks・actionlint・zizmor の検
|
|
|
154
154
|
| `dependencyRules.allowed` | `dependencyRules.allowed` は、理由ごとに `banned` の例外を書く。`workspaces` のワークスペースの、`dependencies` の名前の glob に合う依存を禁止しない。`fields` を書くと、その欄(`devDependencies` など)の依存だけを例外にする。 |
|
|
155
155
|
| `dependencyRules.exactDependencies` | `dependencyRules.exactDependencies` は、理由ごとにワークスペースのディレクトリの glob を並べる。合うワークスペースの `dependencies` は正確なバージョンでなければならず、ほかのワークスペースとの指定の一致は求めない。git の依存として読まれるパッケージのように、カタログを使えないものに使う。 |
|
|
156
156
|
| `dependencyRules.peerRanges` | `dependencyRules.peerRanges` を `"intersect"` にすると、`peerDependencies` の範囲は重なれば通る。省くと、ほかの依存と同じく指定の一致を求める。`workspace:` の指定は比べない。 |
|
|
157
|
-
| `textlint.ignores` | `textlint.ignores` は git の glob で、それ以外のキーは `.textlintrc` と同じである。規則のパッケージは、リポのルートの `node_modules` から読む。
|
|
157
|
+
| `textlint.ignores` | `textlint.ignores` は git の glob で、それ以外のキーは `.textlintrc` と同じである。規則のパッケージは、リポのルートの `node_modules` から読む。TypeScript のまま置いた規則も、`vpx` と同じく `vite-plus/register` で読み込む。 |
|
|
158
158
|
| `markdownlint.config` | `markdownlint.config` は markdownlint の規則の設定で、省くと既定の規則で検査する。`ignores` は git の glob である。 |
|
|
159
159
|
| `steiger.paths` | `steiger.paths` は検査するディレクトリの glob、`steiger.rules` は `steiger.config.ts` の中身と同じである。 |
|
|
160
160
|
| `fallow` | `fallow` は `.fallowrc.json` と同じキーを書く。fallow は使う側の依存に入れる。 |
|
package/dist/attw.mjs
CHANGED
|
@@ -3131,7 +3131,7 @@ const PACKAGE_JSON = "package.json";
|
|
|
3131
3131
|
const NODE_MODULES = "node_modules";
|
|
3132
3132
|
const SEPARATOR_LENGTH = 1;
|
|
3133
3133
|
const EMPTY$5 = 0;
|
|
3134
|
-
const BYTE_ORDER_MARK =
|
|
3134
|
+
const BYTE_ORDER_MARK = /^\uFEFF/u;
|
|
3135
3135
|
const memo = () => {
|
|
3136
3136
|
const cell = MutableRef.make(Option.none());
|
|
3137
3137
|
return (compute) => {
|