@r_masseater/msch 0.134.1 → 0.141.2
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/dist/addon-tasks.mjs +1 -1
- package/dist/build-workspace-settings-Dv5SXt_j.mjs +648 -0
- package/dist/build-workspace-settings-Dv5SXt_j.mjs.map +1 -0
- package/dist/cargo-inputs.mjs +1 -1
- package/dist/cli.mjs +708 -750
- package/dist/cli.mjs.map +1 -1
- package/dist/config.d.mts +13 -37
- package/dist/config.mjs +335 -23
- package/dist/config.mjs.map +1 -1
- package/dist/decision-rules-CqgOVodl.mjs +43 -0
- package/dist/decision-rules-CqgOVodl.mjs.map +1 -0
- package/dist/decision-rules.d.mts +2 -1
- package/dist/decision-rules.mjs +1 -1
- package/dist/{dependencies-Bjn3xWkq.mjs → dependencies-DgltkhvK.mjs} +2 -2
- package/dist/{dependencies-Bjn3xWkq.mjs.map → dependencies-DgltkhvK.mjs.map} +1 -1
- package/dist/{derive-cargo-inputs-BLMqkRS3.mjs → derive-cargo-inputs-DbMOBcGP.mjs} +3 -3
- package/dist/{derive-cargo-inputs-BLMqkRS3.mjs.map → derive-cargo-inputs-DbMOBcGP.mjs.map} +1 -1
- package/dist/{ignored-directories-CaTFIbjo.mjs → ignored-directories-BGiOSvNx.mjs} +2 -2
- package/dist/{ignored-directories-CaTFIbjo.mjs.map → ignored-directories-BGiOSvNx.mjs.map} +1 -1
- package/dist/index-DOkaGaUe.d.mts +25 -0
- package/dist/library.mjs +2 -2
- package/dist/lint.d.mts +38 -2
- package/dist/lint.mjs +20 -1
- package/dist/lint.mjs.map +1 -0
- package/dist/oxlint.mjs +2 -2
- package/dist/{problem-Dk1svgmC.mjs → problem-CkDaLJxX.mjs} +2 -2
- package/dist/{problem-Dk1svgmC.mjs.map → problem-CkDaLJxX.mjs.map} +1 -1
- package/dist/{published-Cgl1qeYH.mjs → published-BrX24558.mjs} +269 -8
- package/dist/published-BrX24558.mjs.map +1 -0
- package/dist/{repository-files-C_GzAnYp.mjs → repository-files-CX48nfE5.mjs} +4 -5
- package/dist/repository-files-CX48nfE5.mjs.map +1 -0
- package/dist/{define-lint-preset-_bDnJMcY.mjs → repository-text-CpD8Z1kp.mjs} +355 -380
- package/dist/repository-text-CpD8Z1kp.mjs.map +1 -0
- package/dist/traced-rules.config-CnYNZrOa.mjs +8 -0
- package/dist/traced-rules.config-CnYNZrOa.mjs.map +1 -0
- package/dist/workspace-settings.mjs +2 -434
- package/dist/zenn-markdown.config-uksui7Go.mjs +77 -0
- package/dist/zenn-markdown.config-uksui7Go.mjs.map +1 -0
- package/package.json +13 -13
- package/skills/msch-checks/SKILL.md +5 -5
- package/skills/msch-publishing/SKILL.md +1 -1
- package/skills/msch-repository-config/SKILL.md +19 -18
- package/skills/msch-workspace-settings/SKILL.md +17 -9
- package/src/app/vite.d.ts +5 -8
- package/dist/define-lint-preset-_bDnJMcY.mjs.map +0 -1
- package/dist/index-_y7Igwy0.d.mts +0 -321
- package/dist/published-Cgl1qeYH.mjs.map +0 -1
- package/dist/repository-files-C_GzAnYp.mjs.map +0 -1
- package/dist/repository-text-BPhi-pct.mjs +0 -331
- package/dist/repository-text-BPhi-pct.mjs.map +0 -1
- package/dist/required-stack-BLSiAmpx.mjs +0 -188
- package/dist/required-stack-BLSiAmpx.mjs.map +0 -1
- package/dist/workspace-projects-Zg078aA1.mjs +0 -269
- package/dist/workspace-projects-Zg078aA1.mjs.map +0 -1
- package/dist/workspace-settings.mjs.map +0 -1
|
@@ -1,331 +0,0 @@
|
|
|
1
|
-
import { r as RepositoryFiles } from "./repository-files-C_GzAnYp.mjs";
|
|
2
|
-
import { c as TASK_NAMES, i as workspaceProjects } from "./workspace-projects-Zg078aA1.mjs";
|
|
3
|
-
import { a as zennMarkdown, b as exempt, o as textlintFilters, s as textlintPresets } from "./define-lint-preset-_bDnJMcY.mjs";
|
|
4
|
-
import { i as USAGE_SPOOL } from "./config-B3SYjao5.mjs";
|
|
5
|
-
import { Array, Effect, Option, Record, String as String$1, pipe } from "effect";
|
|
6
|
-
import { fileURLToPath } from "node:url";
|
|
7
|
-
import manifest from "@r_masseater/mdlct/package.json" with { type: "json" };
|
|
8
|
-
import { betterleaks } from "@r_masseater/h56m/presets";
|
|
9
|
-
// src/entities/workspace/model/workspace-names.ts
|
|
10
|
-
const ALTERNATIVE = "|";
|
|
11
|
-
const SCOPE = /^@[^/]+\//u;
|
|
12
|
-
const SPECIAL = /[$()*+.?[\\\]^{|}]/gu;
|
|
13
|
-
/** @internal */
|
|
14
|
-
const patternOf = (names) => {
|
|
15
|
-
const alternatives = pipe(names, Array.map(String$1.replaceAll(SPECIAL, String.raw`\$&`)));
|
|
16
|
-
return new RegExp(`(?<![\\p{L}\\p{N}_-])(?:${Array.join(alternatives, ALTERNATIVE)})(?![\\p{L}\\p{N}_-])`, "gu");
|
|
17
|
-
};
|
|
18
|
-
const namedIn = (basename) => ({ directory, packageName }) => {
|
|
19
|
-
const unscoped = pipe(packageName, Option.map(String$1.replace(SCOPE, "")));
|
|
20
|
-
return {
|
|
21
|
-
directory,
|
|
22
|
-
names: pipe([
|
|
23
|
-
Option.some(directory),
|
|
24
|
-
Option.some(basename(directory)),
|
|
25
|
-
packageName,
|
|
26
|
-
unscoped
|
|
27
|
-
], Array.getSomes, Array.dedupe),
|
|
28
|
-
packageName
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
/** @internal */
|
|
32
|
-
const namedWorkspaces = Effect.fn("namedWorkspaces")(function* namedWorkspaces(root) {
|
|
33
|
-
const files = yield* RepositoryFiles;
|
|
34
|
-
const projects = yield* workspaceProjects(root);
|
|
35
|
-
return pipe(projects, Array.map(namedIn((directory) => files.basename(directory))));
|
|
36
|
-
});
|
|
37
|
-
// src/shared/lib/path-existence.ts
|
|
38
|
-
const WILDCARD = /[*?[]/u;
|
|
39
|
-
const SEPARATOR = "/";
|
|
40
|
-
const FIRST = 0;
|
|
41
|
-
/** @internal */
|
|
42
|
-
const existsAt = Effect.fn("existsAt")(function* existsAt(root, path) {
|
|
43
|
-
const files = yield* RepositoryFiles;
|
|
44
|
-
return yield* files.exists(files.join(root, path));
|
|
45
|
-
});
|
|
46
|
-
/** @internal */
|
|
47
|
-
const isDirectoryAt = Effect.fn("isDirectoryAt")(function* isDirectoryAt(root, path) {
|
|
48
|
-
const files = yield* RepositoryFiles;
|
|
49
|
-
const directory = yield* files.isDirectory(files.join(root, path));
|
|
50
|
-
return Option.getOrElse(directory, () => false);
|
|
51
|
-
});
|
|
52
|
-
/** @internal */
|
|
53
|
-
const staticPrefix = (path) => {
|
|
54
|
-
const prefix = Array.headNonEmpty(String$1.split(path, WILDCARD));
|
|
55
|
-
if (String$1.endsWith(SEPARATOR)(prefix)) return String$1.slice(FIRST, -1)(prefix);
|
|
56
|
-
return prefix;
|
|
57
|
-
};
|
|
58
|
-
/** @internal */
|
|
59
|
-
const isIgnored = Effect.fn("isIgnored")(function* isIgnored(root, path) {
|
|
60
|
-
const prefix = staticPrefix(path);
|
|
61
|
-
if (String$1.isEmpty(prefix)) return false;
|
|
62
|
-
const ignored = yield* (yield* RepositoryFiles).ignoredPaths(root, [prefix, `${prefix}${SEPARATOR}`]);
|
|
63
|
-
return Array.isReadonlyArrayNonEmpty(ignored);
|
|
64
|
-
});
|
|
65
|
-
// src/app/built-config.ts
|
|
66
|
-
/** @internal */
|
|
67
|
-
const recordBuilt = (config) => {
|
|
68
|
-
globalThis.mschBuiltConfig = [config];
|
|
69
|
-
return config;
|
|
70
|
-
};
|
|
71
|
-
/** @internal */
|
|
72
|
-
const forgetBuilt = () => {
|
|
73
|
-
globalThis.mschBuiltConfig = [];
|
|
74
|
-
};
|
|
75
|
-
/** @internal */
|
|
76
|
-
const lastBuilt = () => pipe(Option.fromUndefinedOr(globalThis.mschBuiltConfig), Option.flatMap(Array.head));
|
|
77
|
-
// src/shared/lib/mdlct.ts
|
|
78
|
-
/** @internal */
|
|
79
|
-
const MDLCT_BIN = fileURLToPath(new URL(manifest.bin.mdlct, import.meta.resolve("@r_masseater/mdlct/package.json")));
|
|
80
|
-
// src/app/repository-tasks.ts
|
|
81
|
-
const NOT_INPUTS = [
|
|
82
|
-
"!node_modules/.pnpm-store",
|
|
83
|
-
"!node_modules/.pnpm-store/**",
|
|
84
|
-
"!node_modules/.tmp",
|
|
85
|
-
"!node_modules/.tmp/**",
|
|
86
|
-
"!target/**",
|
|
87
|
-
"!node_modules/.vitest-cache/**",
|
|
88
|
-
"!node_modules/.cache/**"
|
|
89
|
-
];
|
|
90
|
-
const UNTRACKED_ENV = [
|
|
91
|
-
"CLOUDFLARE_ACCOUNT_ID",
|
|
92
|
-
"CLOUDFLARE_AI_GATEWAY_ID",
|
|
93
|
-
"CLOUDFLARE_API_TOKEN",
|
|
94
|
-
"CLAUDECODE",
|
|
95
|
-
"CLAUDE_CODE_REMOTE",
|
|
96
|
-
"GITHUB_ACTIONS",
|
|
97
|
-
"HTTPS_PROXY",
|
|
98
|
-
"https_proxy",
|
|
99
|
-
"NO_PROXY",
|
|
100
|
-
"no_proxy",
|
|
101
|
-
"SSL_CERT_FILE",
|
|
102
|
-
"NODE_EXTRA_CA_CERTS"
|
|
103
|
-
];
|
|
104
|
-
const MSCH = "FALLOW_TYPE_AWARE_BACKEND=tsrs msch";
|
|
105
|
-
const CHECK = `TSRS_LINT_RUN_EXTERNAL_CODE=1 msch changed --batch-sources ${String(1e3)} -- vp check --deny-warnings --continue-on-error --no-error-on-unmatched-pattern`;
|
|
106
|
-
const COMPAT = "msch changed -- msch publish compat-changed";
|
|
107
|
-
const SKILLS = `node ${MDLCT_BIN} check`;
|
|
108
|
-
const AUDIT = Array.join([
|
|
109
|
-
"copy=\"$(mktemp -d)\"",
|
|
110
|
-
`trap 'rm -rf "$copy"' EXIT`,
|
|
111
|
-
`for file in ${Array.join([
|
|
112
|
-
"package.json",
|
|
113
|
-
"pnpm-workspace.yaml",
|
|
114
|
-
"pnpm-lock.yaml",
|
|
115
|
-
".npmrc"
|
|
116
|
-
], " ")}; do if [ -f "$file" ]; then cp "$file" "$copy/"; fi; done`,
|
|
117
|
-
"(cd \"$copy\" && vp pm audit --fix >/dev/null) || exit",
|
|
118
|
-
`added="$(diff pnpm-workspace.yaml "$copy/pnpm-workspace.yaml" | sed -n 's/^> \\(.*\\)$/\\1 # exit: unused/p')"`,
|
|
119
|
-
"if [ -z \"$added\" ]; then exit 0; fi",
|
|
120
|
-
`printf '%s\\n' "vp pm audit --fix found vulnerable versions. First update them within their ranges with vp update -r --no-save <package>... -- --depth Infinity. For each one still reported by vp pm audit, add its line to overrides in pnpm-workspace.yaml and run vp install:" "$added" >&2`,
|
|
121
|
-
"exit 1"
|
|
122
|
-
], "; ");
|
|
123
|
-
const BROKER_TOKEN = `GH_TOKEN="\${GITHUB_APP_TOKEN:-$GH_TOKEN}"`;
|
|
124
|
-
const DAILY = `msch exits; ${BROKER_TOKEN} msch upstream; ${BROKER_TOKEN} msch callers; ${BROKER_TOKEN} msch refs; refs=$?; msch agents "\${RUNNER_TEMP:-\${TMPDIR:-/tmp}}/msch-agents" && exit "$refs"`;
|
|
125
|
-
const TEST = "msch changed -- vp test run --passWithNoTests";
|
|
126
|
-
const CARGO = "cargo fmt --all --check && cargo clippy --workspace --all-targets --locked -- -D warnings";
|
|
127
|
-
const cargoTasks = (cargo) => Option.match(cargo, {
|
|
128
|
-
onNone: () => ({}),
|
|
129
|
-
onSome: (inputs) => ({ cargo: {
|
|
130
|
-
command: CARGO,
|
|
131
|
-
cache: {
|
|
132
|
-
input: [...inputs],
|
|
133
|
-
output: [],
|
|
134
|
-
untrackedEnv: UNTRACKED_ENV
|
|
135
|
-
}
|
|
136
|
-
} })
|
|
137
|
-
});
|
|
138
|
-
const MSCH_VERIFY_COMMANDS = {
|
|
139
|
-
check: CHECK,
|
|
140
|
-
msch: MSCH,
|
|
141
|
-
audit: AUDIT,
|
|
142
|
-
published: "msch published",
|
|
143
|
-
compat: COMPAT,
|
|
144
|
-
skills: SKILLS
|
|
145
|
-
};
|
|
146
|
-
const MSCH_TASK_COMMANDS = {
|
|
147
|
-
...MSCH_VERIFY_COMMANDS,
|
|
148
|
-
test: TEST
|
|
149
|
-
};
|
|
150
|
-
const CI_TASKS = [TASK_NAMES.verify, TASK_NAMES.test];
|
|
151
|
-
const USAGE_TASK = "usage";
|
|
152
|
-
const METERED_TASKS = ["check", "msch"];
|
|
153
|
-
const meteredCommand = (command) => `USAGE_METER_SPOOL="$PWD/${USAGE_SPOOL}" ${command}`;
|
|
154
|
-
const usageCommandOf = ({ endpoint, apiKeyEnv }) => pipe(Option.fromUndefinedOr(apiKeyEnv), Option.match({
|
|
155
|
-
onNone: () => `msch usage --endpoint ${endpoint}`,
|
|
156
|
-
onSome: (name) => `msch usage --endpoint ${endpoint} --api-key-env ${name}`
|
|
157
|
-
}));
|
|
158
|
-
const commandOf = (usage) => (command) => Option.match(usage, {
|
|
159
|
-
onNone: () => command,
|
|
160
|
-
onSome: () => meteredCommand(command)
|
|
161
|
-
});
|
|
162
|
-
const usageTasks = (usage) => Option.match(usage, {
|
|
163
|
-
onNone: () => ({}),
|
|
164
|
-
onSome: (options) => ({ [USAGE_TASK]: {
|
|
165
|
-
command: usageCommandOf(options),
|
|
166
|
-
dependsOn: [...METERED_TASKS],
|
|
167
|
-
cache: false
|
|
168
|
-
} })
|
|
169
|
-
});
|
|
170
|
-
const tasksOf = ({ workspace, commands, usage, cargo }) => {
|
|
171
|
-
const inputs = [
|
|
172
|
-
{ auto: true },
|
|
173
|
-
...workspace.ignoredDirectories,
|
|
174
|
-
...NOT_INPUTS
|
|
175
|
-
];
|
|
176
|
-
const run = commandOf(usage);
|
|
177
|
-
const checks = {
|
|
178
|
-
...commands,
|
|
179
|
-
check: {
|
|
180
|
-
command: run(CHECK),
|
|
181
|
-
cache: {
|
|
182
|
-
input: inputs,
|
|
183
|
-
untrackedEnv: UNTRACKED_ENV
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
msch: {
|
|
187
|
-
command: run(MSCH_VERIFY_COMMANDS.msch),
|
|
188
|
-
dependsOn: ["check", ...workspace.tasks.native],
|
|
189
|
-
cache: false
|
|
190
|
-
},
|
|
191
|
-
audit: {
|
|
192
|
-
command: AUDIT,
|
|
193
|
-
cache: false
|
|
194
|
-
},
|
|
195
|
-
skills: {
|
|
196
|
-
command: SKILLS,
|
|
197
|
-
cache: {
|
|
198
|
-
input: inputs,
|
|
199
|
-
output: []
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
published: {
|
|
203
|
-
command: MSCH_TASK_COMMANDS.published,
|
|
204
|
-
cache: false
|
|
205
|
-
},
|
|
206
|
-
compat: {
|
|
207
|
-
command: COMPAT,
|
|
208
|
-
dependsOn: ["msch"],
|
|
209
|
-
cache: false
|
|
210
|
-
},
|
|
211
|
-
...cargoTasks(cargo),
|
|
212
|
-
...usageTasks(usage)
|
|
213
|
-
};
|
|
214
|
-
return {
|
|
215
|
-
...checks,
|
|
216
|
-
test: {
|
|
217
|
-
command: TEST,
|
|
218
|
-
dependsOn: ["check", ...workspace.tasks.native],
|
|
219
|
-
cache: { input: [...inputs, "!**/.cache/**"] }
|
|
220
|
-
},
|
|
221
|
-
daily: {
|
|
222
|
-
command: DAILY,
|
|
223
|
-
dependsOn: [...workspace.tasks.native],
|
|
224
|
-
cache: false
|
|
225
|
-
},
|
|
226
|
-
verify: {
|
|
227
|
-
command: [],
|
|
228
|
-
dependsOn: [...workspace.tasks.verify, ...Record.keys(checks)]
|
|
229
|
-
},
|
|
230
|
-
ci: {
|
|
231
|
-
command: [],
|
|
232
|
-
dependsOn: [...CI_TASKS, ...workspace.tasks.test]
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
|
-
};
|
|
236
|
-
const REINSTALL = "vp install";
|
|
237
|
-
const GIT_HOOKS = {
|
|
238
|
-
"pre-commit": ["vp staged", "vp exec msch --staged"],
|
|
239
|
-
"commit-msg": ["vp exec msch --commit-msg \"$1\""],
|
|
240
|
-
"pre-push": ["vp exec msch --pre-push", "vp run verify"],
|
|
241
|
-
"post-checkout": [`[ "$3" = 0 ] || ${REINSTALL}`],
|
|
242
|
-
"post-merge": [REINSTALL],
|
|
243
|
-
"post-rewrite": [REINSTALL]
|
|
244
|
-
};
|
|
245
|
-
const gitHooksOf = (hooks = {}) => ({
|
|
246
|
-
...GIT_HOOKS,
|
|
247
|
-
...hooks
|
|
248
|
-
});
|
|
249
|
-
// src/app/repository-text.ts
|
|
250
|
-
const TEXT_IGNORES = [
|
|
251
|
-
"AGENTS.md",
|
|
252
|
-
"CLAUDE.md",
|
|
253
|
-
".agents/skills/**",
|
|
254
|
-
"CHANGELOG.md",
|
|
255
|
-
...exempt
|
|
256
|
-
];
|
|
257
|
-
const ZENN_MARKDOWN = "zenn-markdown";
|
|
258
|
-
const QUOTATION = String.raw`/「(?:[^「」]|「[^「」]*」)*」|『(?:[^『』]|『[^『』]*』)*』/`;
|
|
259
|
-
const SPEAKER = String.raw`/^:::[\w-]+\n[\s\S]*?\n:::$/m`;
|
|
260
|
-
const ELLIPSIS = "…";
|
|
261
|
-
/** @internal */
|
|
262
|
-
const BUILT_ALLOWANCES = [QUOTATION, SPEAKER];
|
|
263
|
-
const filtersOf = (properNouns) => ({
|
|
264
|
-
comments: true,
|
|
265
|
-
"node-types": { nodeTypes: ["BlockQuote"] },
|
|
266
|
-
allowlist: { allow: [...BUILT_ALLOWANCES, ...properNouns] }
|
|
267
|
-
});
|
|
268
|
-
const SENTENCE_LENGTH = 120;
|
|
269
|
-
const KANJI_RUN = 6;
|
|
270
|
-
const PUBLIC_LINES = [
|
|
271
|
-
String.raw`\bCF_BEACON_TOKEN = "[0-9a-f]{32}"`,
|
|
272
|
-
String.raw`\b\w*DISCORD_\w*ID = "[0-9]{17,20}"`,
|
|
273
|
-
String.raw`untrusted comment: minisign public key: [0-9A-F]{16}`
|
|
274
|
-
];
|
|
275
|
-
const EXEMPT_PATHS = [String.raw`(?:^|/)(?:fixtures|upstream|hooks/vendor)/`];
|
|
276
|
-
const builtRules = (style) => ({
|
|
277
|
-
"@textlint-ja/preset-ai-writing": true,
|
|
278
|
-
"@r_masseater/preset-ja": true,
|
|
279
|
-
"preset-ja-technical-writing": {
|
|
280
|
-
"sentence-length": { max: SENTENCE_LENGTH },
|
|
281
|
-
"ja-no-mixed-period": { allowPeriodMarks: [":"] },
|
|
282
|
-
"no-mix-dearu-desumasu": {
|
|
283
|
-
preferInBody: style,
|
|
284
|
-
preferInList: style
|
|
285
|
-
},
|
|
286
|
-
"max-kanji-continuous-len": { max: KANJI_RUN },
|
|
287
|
-
"ja-no-successive-word": { allow: [ELLIPSIS] }
|
|
288
|
-
}
|
|
289
|
-
});
|
|
290
|
-
const textlintOf = ({ properNouns = [], rules = {}, sources = [], articles }) => {
|
|
291
|
-
const textRules = {
|
|
292
|
-
...rules,
|
|
293
|
-
...builtRules("である")
|
|
294
|
-
};
|
|
295
|
-
const filters = filtersOf(properNouns);
|
|
296
|
-
const articleSources = Array.filter([{
|
|
297
|
-
files: [...articles],
|
|
298
|
-
plugins: { [ZENN_MARKDOWN]: true },
|
|
299
|
-
rules: {
|
|
300
|
-
...rules,
|
|
301
|
-
...builtRules("ですます")
|
|
302
|
-
},
|
|
303
|
-
filters
|
|
304
|
-
}], () => Array.isReadonlyArrayNonEmpty(articles));
|
|
305
|
-
return {
|
|
306
|
-
ignores: [...TEXT_IGNORES, ...articles],
|
|
307
|
-
presets: textlintPresets,
|
|
308
|
-
filterModules: textlintFilters,
|
|
309
|
-
pluginModules: { [ZENN_MARKDOWN]: zennMarkdown },
|
|
310
|
-
reportUnusedDirectives: true,
|
|
311
|
-
sources: pipe(sources, Array.map(({ files, plugins }) => ({
|
|
312
|
-
files: [...files],
|
|
313
|
-
plugins: { ...plugins },
|
|
314
|
-
rules: textRules,
|
|
315
|
-
filters
|
|
316
|
-
})), Array.appendAll(articleSources)),
|
|
317
|
-
filters,
|
|
318
|
-
rules: textRules
|
|
319
|
-
};
|
|
320
|
-
};
|
|
321
|
-
const anyOf = (subject) => (patterns) => {
|
|
322
|
-
if (Array.isReadonlyArrayEmpty(patterns)) return [];
|
|
323
|
-
return [`matchesAny(${subject}, [${pipe(patterns, Array.map((pattern) => `\`${pattern}\``), Array.join(", "))}])`];
|
|
324
|
-
};
|
|
325
|
-
const secretsOf = () => ({
|
|
326
|
-
extend: { path: betterleaks },
|
|
327
|
-
filter: pipe([...anyOf("finding.line")(PUBLIC_LINES), ...anyOf(`attributes["path"]`)(EXEMPT_PATHS)], Array.join(" || "))
|
|
328
|
-
});
|
|
329
|
-
export { gitHooksOf as a, forgetBuilt as c, existsAt as d, isDirectoryAt as f, patternOf as g, namedWorkspaces as h, GIT_HOOKS as i, lastBuilt as l, staticPrefix as m, secretsOf as n, tasksOf as o, isIgnored as p, textlintOf as r, MDLCT_BIN as s, BUILT_ALLOWANCES as t, recordBuilt as u };
|
|
330
|
-
|
|
331
|
-
//# sourceMappingURL=repository-text-BPhi-pct.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"repository-text-BPhi-pct.mjs","names":["Arr","Str","Arr","Str","Arr","Arr","Rec","Arr"],"sources":["../src/entities/workspace/model/workspace-names.ts","../src/shared/lib/path-existence.ts","../src/app/built-config.ts","../src/shared/lib/mdlct.ts","../src/app/repository-tasks.ts","../src/app/repository-text.ts"],"sourcesContent":["import { Array as Arr, Effect, Option, String as Str, pipe } from \"effect\";\n\nimport { RepositoryFiles } from \"#/shared/lib/repository-files.ts\";\n\nimport { workspaceProjects } from \"./workspace-projects.ts\";\nimport type { WorkspaceProject } from \"./workspace-projects.ts\";\n\nconst ALTERNATIVE = \"|\";\nconst SCOPE = /^@[^/]+\\//u;\nconst SPECIAL = /[$()*+.?[\\\\\\]^{|}]/gu;\n\nexport interface NamedWorkspace {\n readonly directory: string;\n readonly names: readonly string[];\n readonly packageName: Option.Option<string>;\n}\n\n/** @internal */\nexport const patternOf = (names: readonly string[]): RegExp => {\n const alternatives = pipe(names, Arr.map(Str.replaceAll(SPECIAL, String.raw`\\$&`)));\n return new RegExp(\n `(?<![\\\\p{L}\\\\p{N}_-])(?:${Arr.join(alternatives, ALTERNATIVE)})(?![\\\\p{L}\\\\p{N}_-])`,\n \"gu\",\n );\n};\n\nconst namedIn =\n (basename: (directory: string) => string) =>\n ({ directory, packageName }: WorkspaceProject): NamedWorkspace => {\n const unscoped = pipe(packageName, Option.map(Str.replace(SCOPE, \"\")));\n const names = pipe(\n [Option.some(directory), Option.some(basename(directory)), packageName, unscoped],\n Arr.getSomes,\n Arr.dedupe,\n );\n return { directory, names, packageName };\n };\n\n/** @internal */\nexport const namedWorkspaces = Effect.fn(\"namedWorkspaces\")(function* namedWorkspaces(\n root: string,\n) {\n const files = yield* RepositoryFiles;\n const projects = yield* workspaceProjects(root);\n return pipe(projects, Arr.map(namedIn((directory) => files.basename(directory))));\n});\n","import { Array as Arr, Effect, Option, String as Str } from \"effect\";\n\nimport { RepositoryFiles } from \"#/shared/lib/repository-files.ts\";\n\nconst WILDCARD = /[*?[]/u;\nconst SEPARATOR = \"/\";\nconst FIRST = 0;\n\n/** @internal */\nexport const existsAt = Effect.fn(\"existsAt\")(function* existsAt(root: string, path: string) {\n const files = yield* RepositoryFiles;\n return yield* files.exists(files.join(root, path));\n});\n\n/** @internal */\nexport const isDirectoryAt = Effect.fn(\"isDirectoryAt\")(function* isDirectoryAt(\n root: string,\n path: string,\n) {\n const files = yield* RepositoryFiles;\n const directory = yield* files.isDirectory(files.join(root, path));\n return Option.getOrElse(directory, () => false);\n});\n\n/** @internal */\nexport const staticPrefix = (path: string): string => {\n const prefix = Arr.headNonEmpty(Str.split(path, WILDCARD));\n if (Str.endsWith(SEPARATOR)(prefix)) {\n return Str.slice(FIRST, -SEPARATOR.length)(prefix);\n }\n return prefix;\n};\n\n/** @internal */\nexport const isIgnored = Effect.fn(\"isIgnored\")(function* isIgnored(root: string, path: string) {\n const prefix = staticPrefix(path);\n if (Str.isEmpty(prefix)) {\n return false;\n }\n const files = yield* RepositoryFiles;\n const ignored = yield* files.ignoredPaths(root, [prefix, `${prefix}${SEPARATOR}`]);\n return Arr.isReadonlyArrayNonEmpty(ignored);\n});\n","import { Array as Arr, Option, pipe } from \"effect\";\n\nimport type { FinalConfig } from \"./config-sections.ts\";\n\ndeclare global {\n var mschBuiltConfig: readonly FinalConfig[] | undefined;\n}\n\n/** @internal */\nexport const recordBuilt = <Config extends FinalConfig>(config: Config): Config => {\n globalThis.mschBuiltConfig = [config];\n return config;\n};\n\n/** @internal */\nexport const forgetBuilt = (): void => {\n globalThis.mschBuiltConfig = [];\n};\n\n/** @internal */\nexport const lastBuilt = (): Option.Option<FinalConfig> =>\n pipe(Option.fromUndefinedOr(globalThis.mschBuiltConfig), Option.flatMap(Arr.head));\n","import { fileURLToPath } from \"node:url\";\n\nimport manifest from \"@r_masseater/mdlct/package.json\" with { type: \"json\" };\n\n/** @internal */\nexport const MDLCT_BIN = fileURLToPath(\n new URL(manifest.bin.mdlct, import.meta.resolve(\"@r_masseater/mdlct/package.json\")),\n);\n","import type { GitHooksSection } from \"@r_masseater/vite-plus-adopt\";\nimport { Array as Arr, Option, Record as Rec, pipe } from \"effect\";\nimport type { UserConfig } from \"vite-plus\";\n\nimport { TASK_NAMES } from \"#/entities/workspace/index.ts\";\nimport type { WorkspaceSettings } from \"#/features/build-workspace-settings/index.ts\";\nimport type { CargoInput } from \"#/features/derive-cargo-inputs/index.ts\";\nimport { USAGE_SPOOL } from \"#/shared/config/index.ts\";\nimport { MDLCT_BIN } from \"#/shared/lib/mdlct.ts\";\n\nexport type { GitHooksSection } from \"@r_masseater/vite-plus-adopt\";\n\ntype Tasks = NonNullable<NonNullable<UserConfig[\"run\"]>[\"tasks\"]>;\n\nexport interface UsageOptions {\n readonly endpoint: string;\n readonly apiKeyEnv?: string;\n}\n\nexport interface TaskOptions {\n readonly workspace: WorkspaceSettings;\n readonly commands: Readonly<Record<string, string>>;\n readonly usage: Option.Option<UsageOptions>;\n readonly cargo: Option.Option<CargoInputs>;\n}\n\nexport type CargoInputs = readonly CargoInput[];\n\nconst NOT_INPUTS = [\n \"!node_modules/.pnpm-store\",\n \"!node_modules/.pnpm-store/**\",\n \"!node_modules/.tmp\",\n \"!node_modules/.tmp/**\",\n \"!target/**\",\n \"!node_modules/.vitest-cache/**\",\n \"!node_modules/.cache/**\",\n];\n\nconst UNTRACKED_ENV = [\n \"CLOUDFLARE_ACCOUNT_ID\",\n \"CLOUDFLARE_AI_GATEWAY_ID\",\n \"CLOUDFLARE_API_TOKEN\",\n \"CLAUDECODE\",\n \"CLAUDE_CODE_REMOTE\",\n \"GITHUB_ACTIONS\",\n \"HTTPS_PROXY\",\n \"https_proxy\",\n \"NO_PROXY\",\n \"no_proxy\",\n \"SSL_CERT_FILE\",\n \"NODE_EXTRA_CA_CERTS\",\n];\n\nconst MSCH = \"FALLOW_TYPE_AWARE_BACKEND=tsrs msch\";\n\nconst CHECK_BATCH_SOURCES = 1000;\n\nconst CHECK = `TSRS_LINT_RUN_EXTERNAL_CODE=1 msch changed --batch-sources ${String(CHECK_BATCH_SOURCES)} -- vp check --deny-warnings --continue-on-error --no-error-on-unmatched-pattern`;\n\nconst COMPAT = \"msch changed -- msch publish compat-changed\";\n\nconst SKILLS = `node ${MDLCT_BIN} check`;\n\nconst AUDIT_FILES = [\"package.json\", \"pnpm-workspace.yaml\", \"pnpm-lock.yaml\", \".npmrc\"];\n\nconst AUDIT = Arr.join(\n [\n 'copy=\"$(mktemp -d)\"',\n `trap 'rm -rf \"$copy\"' EXIT`,\n `for file in ${Arr.join(AUDIT_FILES, \" \")}; do if [ -f \"$file\" ]; then cp \"$file\" \"$copy/\"; fi; done`,\n '(cd \"$copy\" && vp pm audit --fix >/dev/null) || exit',\n `added=\"$(diff pnpm-workspace.yaml \"$copy/pnpm-workspace.yaml\" | sed -n 's/^> \\\\(.*\\\\)$/\\\\1 # exit: unused/p')\"`,\n 'if [ -z \"$added\" ]; then exit 0; fi',\n `printf '%s\\\\n' \"vp pm audit --fix found vulnerable versions. First update them within their ranges with vp update -r --no-save <package>... -- --depth Infinity. For each one still reported by vp pm audit, add its line to overrides in pnpm-workspace.yaml and run vp install:\" \"$added\" >&2`,\n \"exit 1\",\n ],\n \"; \",\n);\n\nconst BROKER_TOKEN = `GH_TOKEN=\"\\${GITHUB_APP_TOKEN:-$GH_TOKEN}\"`;\nconst AGENT_STATE = `\"\\${RUNNER_TEMP:-\\${TMPDIR:-/tmp}}/msch-agents\"`;\n\nconst DAILY = `msch exits; ${BROKER_TOKEN} msch upstream; ${BROKER_TOKEN} msch callers; ${BROKER_TOKEN} msch refs; refs=$?; msch agents ${AGENT_STATE} && exit \"$refs\"`;\n\nconst TEST = \"msch changed -- vp test run --passWithNoTests\";\n\nconst CARGO =\n \"cargo fmt --all --check && cargo clippy --workspace --all-targets --locked -- -D warnings\";\n\nconst cargoTasks = (cargo: Option.Option<CargoInputs>): Tasks =>\n Option.match(cargo, {\n onNone: (): Tasks => ({}),\n onSome: (inputs): Tasks => ({\n cargo: {\n command: CARGO,\n cache: { input: [...inputs], output: [], untrackedEnv: UNTRACKED_ENV },\n },\n }),\n });\n\nexport const MSCH_VERIFY_COMMANDS = {\n check: CHECK,\n msch: MSCH,\n audit: AUDIT,\n published: \"msch published\",\n compat: COMPAT,\n skills: SKILLS,\n} as const;\n\nexport const MSCH_TASK_COMMANDS = { ...MSCH_VERIFY_COMMANDS, test: TEST } as const;\n\nexport const CI_TASKS = [TASK_NAMES.verify, TASK_NAMES.test] as const;\n\nconst USAGE_TASK = \"usage\";\n\nconst METERED_TASKS = [\"check\", \"msch\"] as const;\n\nexport const meteredCommand = (command: string): string =>\n `USAGE_METER_SPOOL=\"$PWD/${USAGE_SPOOL}\" ${command}`;\n\nconst usageCommandOf = ({ endpoint, apiKeyEnv }: UsageOptions): string =>\n pipe(\n Option.fromUndefinedOr(apiKeyEnv),\n Option.match({\n onNone: () => `msch usage --endpoint ${endpoint}`,\n onSome: (name) => `msch usage --endpoint ${endpoint} --api-key-env ${name}`,\n }),\n );\n\nconst commandOf =\n (usage: Option.Option<UsageOptions>) =>\n (command: string): string =>\n Option.match(usage, { onNone: () => command, onSome: () => meteredCommand(command) });\n\nconst usageTasks = (usage: Option.Option<UsageOptions>): Tasks =>\n Option.match(usage, {\n onNone: (): Tasks => ({}),\n onSome: (options): Tasks => ({\n [USAGE_TASK]: {\n command: usageCommandOf(options),\n dependsOn: [...METERED_TASKS],\n cache: false,\n },\n }),\n });\n\nexport const tasksOf = ({\n workspace,\n commands,\n usage,\n cargo,\n}: TaskOptions): NonNullable<NonNullable<UserConfig[\"run\"]>[\"tasks\"]> => {\n const inputs = [{ auto: true }, ...workspace.ignoredDirectories, ...NOT_INPUTS];\n const run = commandOf(usage);\n const checks: Tasks = {\n ...commands,\n check: {\n command: run(CHECK),\n cache: { input: inputs, untrackedEnv: UNTRACKED_ENV },\n },\n msch: {\n command: run(MSCH_VERIFY_COMMANDS.msch),\n dependsOn: [\"check\", ...workspace.tasks.native],\n cache: false,\n },\n audit: { command: AUDIT, cache: false },\n skills: { command: SKILLS, cache: { input: inputs, output: [] } },\n published: { command: MSCH_TASK_COMMANDS.published, cache: false },\n compat: { command: COMPAT, dependsOn: [\"msch\"], cache: false },\n ...cargoTasks(cargo),\n ...usageTasks(usage),\n };\n return {\n ...checks,\n test: {\n command: TEST,\n dependsOn: [\"check\", ...workspace.tasks.native],\n cache: { input: [...inputs, \"!**/.cache/**\"] },\n },\n daily: { command: DAILY, dependsOn: [...workspace.tasks.native], cache: false },\n verify: { command: [], dependsOn: [...workspace.tasks.verify, ...Rec.keys(checks)] },\n ci: { command: [], dependsOn: [...CI_TASKS, ...workspace.tasks.test] },\n };\n};\n\nconst REINSTALL = \"vp install\";\n\nexport const GIT_HOOKS = {\n \"pre-commit\": [\"vp staged\", \"vp exec msch --staged\"],\n \"commit-msg\": ['vp exec msch --commit-msg \"$1\"'],\n \"pre-push\": [\"vp exec msch --pre-push\", \"vp run verify\"],\n \"post-checkout\": [`[ \"$3\" = 0 ] || ${REINSTALL}`],\n \"post-merge\": [REINSTALL],\n \"post-rewrite\": [REINSTALL],\n} as const satisfies GitHooksSection;\n\nexport const gitHooksOf = (hooks: GitHooksSection = {}): GitHooksSection => ({\n ...GIT_HOOKS,\n ...hooks,\n});\n","import type { H56mConfig } from \"@r_masseater/h56m\";\nimport { betterleaks } from \"@r_masseater/h56m/presets\";\nimport type { ToolSections } from \"@r_masseater/vite-plus-adopt\";\nimport { Array as Arr, pipe } from \"effect\";\n\nimport {\n textlintFilters,\n textlintPresets,\n zennMarkdown,\n} from \"#/features/define-lint-preset/index.ts\";\nimport { exempt } from \"#/shared/config/index.ts\";\n\ntype Source = NonNullable<NonNullable<ToolSections[\"textlint\"]>[\"sources\"]>[number];\n\nexport interface TextSource {\n readonly files: readonly string[];\n readonly plugins: Readonly<Record<string, boolean | object>>;\n}\n\nexport interface TextOptions {\n readonly properNouns?: readonly string[];\n readonly rules?: Readonly<Record<string, object>>;\n readonly sources?: readonly TextSource[];\n}\n\nexport interface BuiltTextOptions extends TextOptions {\n readonly articles: readonly string[];\n}\n\nexport const TEXT_IGNORES = [\n \"AGENTS.md\",\n \"CLAUDE.md\",\n \".agents/skills/**\",\n \"CHANGELOG.md\",\n ...exempt,\n];\nconst ZENN_MARKDOWN = \"zenn-markdown\";\nconst QUOTATION = String.raw`/「(?:[^「」]|「[^「」]*」)*」|『(?:[^『』]|『[^『』]*』)*』/`;\nconst SPEAKER = String.raw`/^:::[\\w-]+\\n[\\s\\S]*?\\n:::$/m`;\nconst ELLIPSIS = \"…\";\n\n/** @internal */\nexport const BUILT_ALLOWANCES: readonly string[] = [QUOTATION, SPEAKER];\nconst filtersOf = (properNouns: readonly string[]): Readonly<Record<string, object | boolean>> => ({\n comments: true,\n \"node-types\": { nodeTypes: [\"BlockQuote\"] },\n allowlist: { allow: [...BUILT_ALLOWANCES, ...properNouns] },\n});\nconst SENTENCE_LENGTH = 120;\nconst KANJI_RUN = 6;\nconst PUBLIC_LINES = [\n String.raw`\\bCF_BEACON_TOKEN = \"[0-9a-f]{32}\"`,\n String.raw`\\b\\w*DISCORD_\\w*ID = \"[0-9]{17,20}\"`,\n String.raw`untrusted comment: minisign public key: [0-9A-F]{16}`,\n];\nconst EXEMPT_PATHS = [String.raw`(?:^|/)(?:fixtures|upstream|hooks/vendor)/`];\n\ntype Style = \"である\" | \"ですます\";\n\nconst builtRules = (style: Style): Readonly<Record<string, boolean | object>> => ({\n \"@textlint-ja/preset-ai-writing\": true,\n \"@r_masseater/preset-ja\": true,\n \"preset-ja-technical-writing\": {\n \"sentence-length\": { max: SENTENCE_LENGTH },\n \"ja-no-mixed-period\": { allowPeriodMarks: [\":\"] },\n \"no-mix-dearu-desumasu\": { preferInBody: style, preferInList: style },\n \"max-kanji-continuous-len\": { max: KANJI_RUN },\n \"ja-no-successive-word\": { allow: [ELLIPSIS] },\n },\n});\n\nexport const textlintOf = ({\n properNouns = [],\n rules = {},\n sources = [],\n articles,\n}: BuiltTextOptions): NonNullable<ToolSections[\"textlint\"]> => {\n const textRules = { ...rules, ...builtRules(\"である\") };\n const filters = filtersOf(properNouns);\n const articleSources = Arr.filter(\n [\n {\n files: [...articles],\n plugins: { [ZENN_MARKDOWN]: true },\n rules: { ...rules, ...builtRules(\"ですます\") },\n filters,\n } satisfies Source,\n ],\n () => Arr.isReadonlyArrayNonEmpty(articles),\n );\n return {\n ignores: [...TEXT_IGNORES, ...articles],\n presets: textlintPresets,\n filterModules: textlintFilters,\n pluginModules: { [ZENN_MARKDOWN]: zennMarkdown },\n reportUnusedDirectives: true,\n sources: pipe(\n sources,\n Arr.map(({ files, plugins }): Source => ({\n files: [...files],\n plugins: { ...plugins },\n rules: textRules,\n filters,\n })),\n Arr.appendAll(articleSources),\n ),\n filters,\n rules: textRules,\n };\n};\n\nconst anyOf =\n (subject: string) =>\n (patterns: readonly string[]): readonly string[] => {\n if (Arr.isReadonlyArrayEmpty(patterns)) {\n return [];\n }\n const listed = pipe(\n patterns,\n Arr.map((pattern) => `\\`${pattern}\\``),\n Arr.join(\", \"),\n );\n return [`matchesAny(${subject}, [${listed}])`];\n };\n\nexport const secretsOf = (): H56mConfig => ({\n extend: { path: betterleaks },\n filter: pipe(\n [...anyOf(\"finding.line\")(PUBLIC_LINES), ...anyOf(`attributes[\"path\"]`)(EXEMPT_PATHS)],\n Arr.join(\" || \"),\n ),\n});\n"],"mappings":";;;;;;;;;AAOA,MAAM,cAAc;AACpB,MAAM,QAAQ;AACd,MAAM,UAAU;;AAShB,MAAa,aAAa,UAAqC;CAC7D,MAAM,eAAe,KAAK,OAAOA,MAAI,IAAIC,SAAI,WAAW,SAAS,OAAO,GAAG,KAAK,CAAC,CAAC;CAClF,OAAO,IAAI,OACT,2BAA2BD,MAAI,KAAK,cAAc,WAAW,EAAE,wBAC/D,IACF;AACF;AAEA,MAAM,WACH,cACA,EAAE,WAAW,kBAAoD;CAChE,MAAM,WAAW,KAAK,aAAa,OAAO,IAAIC,SAAI,QAAQ,OAAO,EAAE,CAAC,CAAC;CAMrE,OAAO;EAAE;EAAW,OALN,KACZ;GAAC,OAAO,KAAK,SAAS;GAAG,OAAO,KAAK,SAAS,SAAS,CAAC;GAAG;GAAa;EAAQ,GAChFD,MAAI,UACJA,MAAI,MAEkB;EAAG;CAAY;AACzC;;AAGF,MAAa,kBAAkB,OAAO,GAAG,iBAAiB,CAAC,CAAC,UAAU,gBACpE,MACA;CACA,MAAM,QAAQ,OAAO;CACrB,MAAM,WAAW,OAAO,kBAAkB,IAAI;CAC9C,OAAO,KAAK,UAAUA,MAAI,IAAI,SAAS,cAAc,MAAM,SAAS,SAAS,CAAC,CAAC,CAAC;AAClF,CAAC;;ACzCD,MAAM,WAAW;AACjB,MAAM,YAAY;AAClB,MAAM,QAAQ;;AAGd,MAAa,WAAW,OAAO,GAAG,UAAU,CAAC,CAAC,UAAU,SAAS,MAAc,MAAc;CAC3F,MAAM,QAAQ,OAAO;CACrB,OAAO,OAAO,MAAM,OAAO,MAAM,KAAK,MAAM,IAAI,CAAC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AAiBC,MAAI,OACzB,CACE;EACE,OAAO,CAAC,GAAG,QAAQ;EACnB,SAAS,GAAG,gBAAgB,KAAK;EACjC,OAAO;GAAE,GAAG;GAAO,GAAG,WAAW,MAAM;EAAE;EACzC;CACF,CACF,SACMA,MAAI,wBAAwB,QAAQ,CAC5C;CACA,OAAO;EACL,SAAS,CAAC,GAAG,cAAc,GAAG,QAAQ;EACtC,SAAS;EACT,eAAe;EACf,eAAe,GAAG,gBAAgB,aAAa;EAC/C,wBAAwB;EACxB,SAAS,KACP,SACAA,MAAI,KAAK,EAAE,OAAO,eAAuB;GACvC,OAAO,CAAC,GAAG,KAAK;GAChB,SAAS,EAAE,GAAG,QAAQ;GACtB,OAAO;GACP;EACF,EAAE,GACFA,MAAI,UAAU,cAAc,CAC9B;EACA;EACA,OAAO;CACT;AACF;AAEA,MAAM,SACH,aACA,aAAmD;CAClD,IAAIA,MAAI,qBAAqB,QAAQ,GACnC,OAAO,CAAC;CAOV,OAAO,CAAC,cAAc,QAAQ,KALf,KACb,UACAA,MAAI,KAAK,YAAY,KAAK,QAAQ,GAAG,GACrCA,MAAI,KAAK,IAAI,CAEyB,EAAE,GAAG;AAC/C;AAEF,MAAa,mBAA+B;CAC1C,QAAQ,EAAE,MAAM,YAAY;CAC5B,QAAQ,KACN,CAAC,GAAG,MAAM,cAAc,CAAC,CAAC,YAAY,GAAG,GAAG,MAAM,oBAAoB,CAAC,CAAC,YAAY,CAAC,GACrFA,MAAI,KAAK,MAAM,CACjB;AACF"}
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
// src/shared/config/required-stack.ts
|
|
2
|
-
const UI_STATE = "UI 状態は effect-atom だけで扱う";
|
|
3
|
-
const INSTRUMENTATION = "計装は Effect のトレーシングだけで扱う";
|
|
4
|
-
const INFRASTRUCTURE = "インフラは Alchemy の IaC と Cloudflare だけで扱い、wrangler は使わない";
|
|
5
|
-
const requiredStack = {
|
|
6
|
-
[UI_STATE]: [
|
|
7
|
-
"zustand",
|
|
8
|
-
"jotai",
|
|
9
|
-
"valtio",
|
|
10
|
-
"recoil",
|
|
11
|
-
"mobx",
|
|
12
|
-
"mobx-*",
|
|
13
|
-
"redux",
|
|
14
|
-
"@reduxjs/*",
|
|
15
|
-
"react-redux",
|
|
16
|
-
"xstate",
|
|
17
|
-
"@xstate/*",
|
|
18
|
-
"nanostores",
|
|
19
|
-
"@nanostores/*",
|
|
20
|
-
"@preact/signals*"
|
|
21
|
-
],
|
|
22
|
-
"サーバー状態は TanStack Query と Eden だけで扱う": [
|
|
23
|
-
"swr",
|
|
24
|
-
"react-query",
|
|
25
|
-
"@apollo/*",
|
|
26
|
-
"urql",
|
|
27
|
-
"@urql/*",
|
|
28
|
-
"axios",
|
|
29
|
-
"ky",
|
|
30
|
-
"ofetch",
|
|
31
|
-
"got",
|
|
32
|
-
"node-fetch",
|
|
33
|
-
"graphql-request",
|
|
34
|
-
"@trpc/*"
|
|
35
|
-
],
|
|
36
|
-
"ルーティングとサーバーは TanStack Start と Elysia だけで扱う": [
|
|
37
|
-
"react-router",
|
|
38
|
-
"react-router-dom",
|
|
39
|
-
"next",
|
|
40
|
-
"@remix-run/*",
|
|
41
|
-
"wouter",
|
|
42
|
-
"express",
|
|
43
|
-
"hono",
|
|
44
|
-
"fastify",
|
|
45
|
-
"koa",
|
|
46
|
-
"@nestjs/*"
|
|
47
|
-
],
|
|
48
|
-
"データベースは Drizzle だけで扱い、スキーマはマイグレーションで生成する": [
|
|
49
|
-
"prisma",
|
|
50
|
-
"@prisma/*",
|
|
51
|
-
"typeorm",
|
|
52
|
-
"sequelize",
|
|
53
|
-
"kysely",
|
|
54
|
-
"knex",
|
|
55
|
-
"@mikro-orm/*",
|
|
56
|
-
"better-sqlite3",
|
|
57
|
-
"pg",
|
|
58
|
-
"mysql2"
|
|
59
|
-
],
|
|
60
|
-
"認証は better-auth だけで扱う": [
|
|
61
|
-
"next-auth",
|
|
62
|
-
"@auth/*",
|
|
63
|
-
"lucia",
|
|
64
|
-
"passport",
|
|
65
|
-
"passport-*",
|
|
66
|
-
"@clerk/*",
|
|
67
|
-
"firebase/auth",
|
|
68
|
-
"@supabase/*"
|
|
69
|
-
],
|
|
70
|
-
"UI は shadcn/ui と Tailwind CSS だけで組む": [
|
|
71
|
-
"@mui/*",
|
|
72
|
-
"antd",
|
|
73
|
-
"@chakra-ui/*",
|
|
74
|
-
"@mantine/*",
|
|
75
|
-
"styled-components",
|
|
76
|
-
"@emotion/*",
|
|
77
|
-
"bootstrap",
|
|
78
|
-
"react-bootstrap"
|
|
79
|
-
],
|
|
80
|
-
"検証、日時、ログ、関数型ユーティリティは Effect だけで扱う": [
|
|
81
|
-
"zod",
|
|
82
|
-
"yup",
|
|
83
|
-
"joi",
|
|
84
|
-
"valibot",
|
|
85
|
-
"arktype",
|
|
86
|
-
"io-ts",
|
|
87
|
-
"superstruct",
|
|
88
|
-
"moment",
|
|
89
|
-
"dayjs",
|
|
90
|
-
"date-fns",
|
|
91
|
-
"luxon",
|
|
92
|
-
"winston",
|
|
93
|
-
"pino",
|
|
94
|
-
"bunyan",
|
|
95
|
-
"loglevel",
|
|
96
|
-
"lodash",
|
|
97
|
-
"lodash-es",
|
|
98
|
-
"ramda",
|
|
99
|
-
"rxjs",
|
|
100
|
-
"fp-ts",
|
|
101
|
-
"neverthrow",
|
|
102
|
-
"ts-results",
|
|
103
|
-
"purify-ts"
|
|
104
|
-
],
|
|
105
|
-
"CSV は effect/encoding の Csv だけで読み書きする": [
|
|
106
|
-
"papaparse",
|
|
107
|
-
"csv-parse",
|
|
108
|
-
"csv-parser",
|
|
109
|
-
"csv-stringify",
|
|
110
|
-
"fast-csv",
|
|
111
|
-
"@fast-csv/*",
|
|
112
|
-
"d3-dsv"
|
|
113
|
-
],
|
|
114
|
-
"tar は effect/encoding の Tar だけで読み書きする": [
|
|
115
|
-
"modern-tar",
|
|
116
|
-
"nanotar",
|
|
117
|
-
"tar",
|
|
118
|
-
"tar-stream",
|
|
119
|
-
"tar-fs",
|
|
120
|
-
"tar-js",
|
|
121
|
-
"tarts",
|
|
122
|
-
"it-tar"
|
|
123
|
-
],
|
|
124
|
-
"エージェントスキルは vite.config.ts の skills に書き、msch --prepare で入れる": ["skills"],
|
|
125
|
-
"フィーチャーフラグは OpenFeature だけで扱う": [
|
|
126
|
-
"launchdarkly-*",
|
|
127
|
-
"@launchdarkly/*",
|
|
128
|
-
"@growthbook/*",
|
|
129
|
-
"unleash-client",
|
|
130
|
-
"flagsmith",
|
|
131
|
-
"@vercel/flags"
|
|
132
|
-
],
|
|
133
|
-
"テストは Vitest と Playwright だけで扱う": [
|
|
134
|
-
"jest",
|
|
135
|
-
"jest-*",
|
|
136
|
-
"@jest/*",
|
|
137
|
-
"ts-jest",
|
|
138
|
-
"mocha",
|
|
139
|
-
"jasmine",
|
|
140
|
-
"jasmine-core",
|
|
141
|
-
"ava",
|
|
142
|
-
"cypress",
|
|
143
|
-
"tap",
|
|
144
|
-
"uvu"
|
|
145
|
-
],
|
|
146
|
-
"決済は Stripe だけで扱う": [
|
|
147
|
-
"@paypal/*",
|
|
148
|
-
"paypal-rest-sdk",
|
|
149
|
-
"braintree",
|
|
150
|
-
"@paddle/*",
|
|
151
|
-
"@lemonsqueezy/*",
|
|
152
|
-
"square"
|
|
153
|
-
],
|
|
154
|
-
"整形は Vite+ の vp fmt だけで扱う": [
|
|
155
|
-
"prettier",
|
|
156
|
-
"prettier-plugin-*",
|
|
157
|
-
"@prettier/*",
|
|
158
|
-
"@biomejs/*",
|
|
159
|
-
"dprint"
|
|
160
|
-
],
|
|
161
|
-
"lint は Vite+ の vp lint だけで扱い、ESLint のプラグインは oxlint の JS プラグインとして読む": [
|
|
162
|
-
"eslint",
|
|
163
|
-
"@eslint/*",
|
|
164
|
-
"eslint-config-*",
|
|
165
|
-
"tslint",
|
|
166
|
-
"standard",
|
|
167
|
-
"xo"
|
|
168
|
-
],
|
|
169
|
-
[INSTRUMENTATION]: [
|
|
170
|
-
"@opentelemetry/*",
|
|
171
|
-
"dd-trace",
|
|
172
|
-
"newrelic"
|
|
173
|
-
],
|
|
174
|
-
[INFRASTRUCTURE]: [
|
|
175
|
-
"wrangler",
|
|
176
|
-
"miniflare",
|
|
177
|
-
"@cloudflare/vite-plugin",
|
|
178
|
-
"@vercel/*",
|
|
179
|
-
"@netlify/*",
|
|
180
|
-
"aws-cdk",
|
|
181
|
-
"aws-cdk-lib",
|
|
182
|
-
"@pulumi/*",
|
|
183
|
-
"cdktf"
|
|
184
|
-
]
|
|
185
|
-
};
|
|
186
|
-
export { requiredStack as n, INSTRUMENTATION as t };
|
|
187
|
-
|
|
188
|
-
//# sourceMappingURL=required-stack-BLSiAmpx.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"required-stack-BLSiAmpx.mjs","names":[],"sources":["../src/shared/config/required-stack.ts"],"sourcesContent":["const UI_STATE = \"UI 状態は effect-atom だけで扱う\";\n\nexport const INSTRUMENTATION = \"計装は Effect のトレーシングだけで扱う\";\nconst INFRASTRUCTURE = \"インフラは Alchemy の IaC と Cloudflare だけで扱い、wrangler は使わない\";\n\nexport const requiredStack: Readonly<Record<string, readonly string[]>> = {\n [UI_STATE]: [\n \"zustand\",\n \"jotai\",\n \"valtio\",\n \"recoil\",\n \"mobx\",\n \"mobx-*\",\n \"redux\",\n \"@reduxjs/*\",\n \"react-redux\",\n \"xstate\",\n \"@xstate/*\",\n \"nanostores\",\n \"@nanostores/*\",\n \"@preact/signals*\",\n ],\n \"サーバー状態は TanStack Query と Eden だけで扱う\": [\n \"swr\",\n \"react-query\",\n \"@apollo/*\",\n \"urql\",\n \"@urql/*\",\n \"axios\",\n \"ky\",\n \"ofetch\",\n \"got\",\n \"node-fetch\",\n \"graphql-request\",\n \"@trpc/*\",\n ],\n \"ルーティングとサーバーは TanStack Start と Elysia だけで扱う\": [\n \"react-router\",\n \"react-router-dom\",\n \"next\",\n \"@remix-run/*\",\n \"wouter\",\n \"express\",\n \"hono\",\n \"fastify\",\n \"koa\",\n \"@nestjs/*\",\n ],\n \"データベースは Drizzle だけで扱い、スキーマはマイグレーションで生成する\": [\n \"prisma\",\n \"@prisma/*\",\n \"typeorm\",\n \"sequelize\",\n \"kysely\",\n \"knex\",\n \"@mikro-orm/*\",\n \"better-sqlite3\",\n \"pg\",\n \"mysql2\",\n ],\n \"認証は better-auth だけで扱う\": [\n \"next-auth\",\n \"@auth/*\",\n \"lucia\",\n \"passport\",\n \"passport-*\",\n \"@clerk/*\",\n \"firebase/auth\",\n \"@supabase/*\",\n ],\n \"UI は shadcn/ui と Tailwind CSS だけで組む\": [\n \"@mui/*\",\n \"antd\",\n \"@chakra-ui/*\",\n \"@mantine/*\",\n \"styled-components\",\n \"@emotion/*\",\n \"bootstrap\",\n \"react-bootstrap\",\n ],\n \"検証、日時、ログ、関数型ユーティリティは Effect だけで扱う\": [\n \"zod\",\n \"yup\",\n \"joi\",\n \"valibot\",\n \"arktype\",\n \"io-ts\",\n \"superstruct\",\n \"moment\",\n \"dayjs\",\n \"date-fns\",\n \"luxon\",\n \"winston\",\n \"pino\",\n \"bunyan\",\n \"loglevel\",\n \"lodash\",\n \"lodash-es\",\n \"ramda\",\n \"rxjs\",\n \"fp-ts\",\n \"neverthrow\",\n \"ts-results\",\n \"purify-ts\",\n ],\n \"CSV は effect/encoding の Csv だけで読み書きする\": [\n \"papaparse\",\n \"csv-parse\",\n \"csv-parser\",\n \"csv-stringify\",\n \"fast-csv\",\n \"@fast-csv/*\",\n \"d3-dsv\",\n ],\n \"tar は effect/encoding の Tar だけで読み書きする\": [\n \"modern-tar\",\n \"nanotar\",\n \"tar\",\n \"tar-stream\",\n \"tar-fs\",\n \"tar-js\",\n \"tarts\",\n \"it-tar\",\n ],\n \"エージェントスキルは vite.config.ts の skills に書き、msch --prepare で入れる\": [\"skills\"],\n \"フィーチャーフラグは OpenFeature だけで扱う\": [\n \"launchdarkly-*\",\n \"@launchdarkly/*\",\n \"@growthbook/*\",\n \"unleash-client\",\n \"flagsmith\",\n \"@vercel/flags\",\n ],\n \"テストは Vitest と Playwright だけで扱う\": [\n \"jest\",\n \"jest-*\",\n \"@jest/*\",\n \"ts-jest\",\n \"mocha\",\n \"jasmine\",\n \"jasmine-core\",\n \"ava\",\n \"cypress\",\n \"tap\",\n \"uvu\",\n ],\n \"決済は Stripe だけで扱う\": [\n \"@paypal/*\",\n \"paypal-rest-sdk\",\n \"braintree\",\n \"@paddle/*\",\n \"@lemonsqueezy/*\",\n \"square\",\n ],\n \"整形は Vite+ の vp fmt だけで扱う\": [\n \"prettier\",\n \"prettier-plugin-*\",\n \"@prettier/*\",\n \"@biomejs/*\",\n \"dprint\",\n ],\n \"lint は Vite+ の vp lint だけで扱い、ESLint のプラグインは oxlint の JS プラグインとして読む\": [\n \"eslint\",\n \"@eslint/*\",\n \"eslint-config-*\",\n \"tslint\",\n \"standard\",\n \"xo\",\n ],\n [INSTRUMENTATION]: [\"@opentelemetry/*\", \"dd-trace\", \"newrelic\"],\n [INFRASTRUCTURE]: [\n \"wrangler\",\n \"miniflare\",\n \"@cloudflare/vite-plugin\",\n \"@vercel/*\",\n \"@netlify/*\",\n \"aws-cdk\",\n \"aws-cdk-lib\",\n \"@pulumi/*\",\n \"cdktf\",\n ],\n};\n"],"mappings":";AAAA,MAAM,WAAW;AAEjB,MAAa,kBAAkB;AAC/B,MAAM,iBAAiB;AAEvB,MAAa,gBAA6D;EACvE,WAAW;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,uCAAuC;EACrC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,8CAA8C;EAC5C;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,4CAA4C;EAC1C;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,yBAAyB;EACvB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,uCAAuC;EACrC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,qCAAqC;EACnC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,yCAAyC;EACvC;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,yCAAyC;EACvC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,8DAA8D,CAAC,QAAQ;CACvE,gCAAgC;EAC9B;EACA;EACA;EACA;EACA;EACA;CACF;CACA,kCAAkC;EAChC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,oBAAoB;EAClB;EACA;EACA;EACA;EACA;EACA;CACF;CACA,4BAA4B;EAC1B;EACA;EACA;EACA;EACA;CACF;CACA,sEAAsE;EACpE;EACA;EACA;EACA;EACA;EACA;CACF;EACC,kBAAkB;EAAC;EAAoB;EAAY;CAAU;EAC7D,iBAAiB;EAChB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;AACF"}
|