@joshuafolkken/kit 1.1094.0 → 1.1128.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.
- package/.claude/skills/workflow-commands/SKILL.md +1 -1
- package/.claude/skills/workflow-commands/background-commands.md +36 -85
- package/.claude/skills/workflow-commands/backlogrun-progress.md +29 -32
- package/.claude/skills/workflow-commands/backlogrun-steps.md +2 -2
- package/.claude/skills/workflow-commands/fullrun.md +5 -4
- package/.claude/skills/workflow-commands/halfrun.md +5 -4
- package/.claude/skills/workflow-commands/latest-gate.md +7 -15
- package/.claude/skills/workflow-commands/pre-gate-cut.md +4 -8
- package/.claude/skills/workflow-commands/split-assessment.md +4 -18
- package/.github/actions/setup-node/action.yml +33 -0
- package/.github/actions/setup-pnpm/action.yml +4 -4
- package/.github/workflows/auto-tag.yml +2 -3
- package/.github/workflows/ci.yml +7 -8
- package/.github/workflows/dependabot-auto-merge.yml +1 -0
- package/.github/workflows/pr-classification.yml +1 -3
- package/.github/workflows/production.yml +1 -0
- package/.github/workflows/publish.yml +10 -9
- package/.github/workflows/sonar-qube.yml +17 -13
- package/.pnpmfile.mjs +29 -0
- package/AGENTS.md +4 -11
- package/CLAUDE.md +24 -17
- package/GEMINI.md +4 -13
- package/README.md +8 -3
- package/SECURITY.md +1 -0
- package/cspell/index.yaml +4 -0
- package/dist/CLAUDE.basic.md +6 -6
- package/dist/CLAUDE.md +24 -17
- package/dist/CLAUDE.static.md +6 -6
- package/dist/config-merge/index.js +33 -9
- package/dist/hooks/batch-guard.js +4 -4
- package/dist/hooks/{chunk-NKOG3XAV.js → chunk-4JZDP5X5.js} +2 -2
- package/dist/hooks/{chunk-3C4YCCEF.js → chunk-5SD2YM7Z.js} +4 -4
- package/dist/hooks/{chunk-OIZUHPJI.js → chunk-77J7IEQM.js} +1 -1
- package/dist/hooks/{chunk-KHWHKJOM.js → chunk-7HVB7SZG.js} +3 -3
- package/dist/hooks/{chunk-UD24EAIL.js → chunk-AIOIOMPX.js} +1875 -104
- package/dist/hooks/{chunk-M2XDCUKD.js → chunk-M7QKEKWO.js} +88 -1783
- package/dist/hooks/{chunk-E54KGFEQ.js → chunk-MKVGBQPA.js} +1 -1
- package/dist/hooks/{chunk-7ZPFAVR7.js → chunk-NXYMNPUQ.js} +3 -3
- package/dist/hooks/{chunk-O4LL4HTI.js → chunk-QVLT52OV.js} +2 -2
- package/dist/hooks/{chunk-IL27YTPH.js → chunk-XYUIQOW3.js} +2 -2
- package/dist/hooks/codex-hook-adapter.js +12 -47
- package/dist/hooks/duplicate-read-guard.js +5 -5
- package/dist/hooks/format-edited.js +2 -2
- package/dist/hooks/inputs.json +180 -179
- package/dist/hooks/investigation-guard.js +5 -5
- package/dist/hooks/pretool-guard.js +9 -9
- package/dist/hooks/stop-guard.js +17 -12
- package/dist/josh.js +79 -30
- package/dist/version/index.js +36 -20
- package/eslint/rules/unicorn.js +3 -2
- package/package.json +18 -2
- package/pnpm-workspace.yaml +5 -7
- package/prompts/collaboration-workflow/glossary.md +17 -0
- package/prompts/collaboration-workflow/issue-template.md +1 -1
- package/prompts/collaboration-workflow/operating-rules.md +1 -1
- package/prompts/collaboration-workflow/principles.md +9 -0
- package/prompts/collaboration-workflow.md +1 -0
- package/scripts/backlog/backlog-arrival.ts +30 -10
- package/scripts/backlog/backlog-budget-cli.ts +15 -16
- package/scripts/backlog/backlog-offer-cli.ts +6 -14
- package/scripts/backlog/backlog-plan.ts +29 -18
- package/scripts/backlog/backlog-ready.ts +20 -7
- package/scripts/config-merge/parse-jsonc.ts +33 -3
- package/scripts/config-merge/patch-json-key.ts +13 -6
- package/scripts/cost-runtime/cost-cli.ts +3 -7
- package/scripts/doctor/doctor-consumer.ts +3 -5
- package/scripts/doctor/doctor-io.ts +9 -13
- package/scripts/document/backlogrun-parent-read-set.ts +12 -1
- package/scripts/document/document-byte-budget.ts +1 -0
- package/scripts/document/entry-read-budget.ts +13 -7
- package/scripts/document/entry-read-set.ts +32 -8
- package/scripts/document/lane-child-read-set.ts +7 -0
- package/scripts/document/read-set-point-of-use.ts +8 -3
- package/scripts/document/read-set-trim.ts +3 -1
- package/scripts/epic/epic-audit.ts +3 -18
- package/scripts/gh/git-gh-issue-list.ts +12 -11
- package/scripts/gh/git-gh-issue-write.ts +4 -1
- package/scripts/gh/git-gh-pr-auto-merge.ts +4 -1
- package/scripts/git/git-command.ts +6 -1
- package/scripts/git/git-spawn-sync.ts +65 -0
- package/scripts/git/git-spawn.ts +5 -4
- package/scripts/git/stash/stash-pop-args.ts +1 -6
- package/scripts/init/init-file-action.ts +54 -0
- package/scripts/init/init-logic-migrate.ts +35 -17
- package/scripts/init/init-logic-secretlint.ts +1 -1
- package/scripts/init/init-logic.ts +6 -22
- package/scripts/init/init.ts +11 -68
- package/scripts/init/kit-written-paths.ts +2 -0
- package/scripts/init/project-profile.ts +3 -6
- package/scripts/init/start-steps.ts +2 -1
- package/scripts/issue/defect-rate-cli.ts +61 -20
- package/scripts/issue/issue-backlinks.ts +7 -14
- package/scripts/issue/issue-cite.ts +12 -6
- package/scripts/issue/issue-file.ts +5 -12
- package/scripts/issue/markdown-section.ts +21 -6
- package/scripts/issue/measure-rerun-cli.ts +73 -14
- package/scripts/josh/josh-commands-project.ts +1 -1
- package/scripts/josh/josh-commands-workflow.ts +1 -1
- package/scripts/josh/run-github-prerequisite.ts +3 -6
- package/scripts/lane/lane-await.ts +43 -13
- package/scripts/lane/lane-close.ts +4 -1
- package/scripts/lane/lane-launch-cli.ts +10 -16
- package/scripts/lane/openai-review-broker.ts +4 -1
- package/scripts/lib/cli-flags.ts +31 -2
- package/scripts/lib/error-message.ts +12 -1
- package/scripts/lines/line-targets.ts +0 -11
- package/scripts/lines/lines-command.ts +5 -3
- package/scripts/propagate/propagate-git.ts +3 -8
- package/scripts/refactor/refactor-scan.ts +2 -1
- package/scripts/registry-migration/migrate-logic.ts +28 -19
- package/scripts/registry-migration/migrate.ts +6 -5
- package/scripts/release/github-release-cli.ts +14 -3
- package/scripts/release/release-publish.ts +36 -2
- package/scripts/release/release-worktree.ts +97 -2
- package/scripts/review/review-checkout.ts +3 -2
- package/scripts/review/review-record-cli.ts +9 -16
- package/scripts/rules/early-heartbeat.ts +4 -3
- package/scripts/rules/lane-park.ts +9 -0
- package/scripts/rules/stop-rules.ts +7 -4
- package/scripts/run/run-carry-args.ts +8 -12
- package/scripts/run/run-cut-args.ts +1 -6
- package/scripts/run/run-ending-cli.ts +1 -5
- package/scripts/run/run-entry-cli.ts +40 -9
- package/scripts/run/run-entry-stop.ts +104 -0
- package/scripts/run/run-event-stream-emit.ts +7 -2
- package/scripts/run/run-hold.ts +4 -1
- package/scripts/run/run-liveness-cli.ts +1 -5
- package/scripts/run/run-merge-cli.ts +2 -10
- package/scripts/run/run-parent-cut-hook.ts +4 -1
- package/scripts/run/run-prep-cli.ts +4 -1
- package/scripts/run/run-progress-args.ts +20 -4
- package/scripts/run/run-progress-cli.ts +31 -29
- package/scripts/run/run-progress-clock.ts +4 -1
- package/scripts/run/run-ship-cli.ts +8 -16
- package/scripts/run/run-ship-probe.ts +4 -1
- package/scripts/run/run-status-cli.ts +2 -15
- package/scripts/run/run-tidy-lanes.ts +4 -1
- package/scripts/run/run-wake-cli.ts +2 -10
- package/scripts/run/run-watcher-guard.ts +9 -5
- package/scripts/safe-chain/pack-hook.ts +92 -0
- package/scripts/sync/sync-ai-files.ts +4 -0
- package/scripts/test/test-declared-changed.ts +13 -16
- package/scripts/test/test-declared.ts +3 -7
- package/scripts/version/version-commands.ts +11 -1
- package/templates/CLAUDE.basic.md +6 -6
- package/templates/workflows/ci.yml +16 -82
- package/templates/workflows/dependabot-auto-merge.yml +1 -0
- package/templates/workflows/github-release.yml +1 -3
- package/tsconfig.sonar.json +4 -22
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env tsx
|
|
2
2
|
import { text } from 'node:stream/consumers'
|
|
3
3
|
import { fileURLToPath } from 'node:url'
|
|
4
|
-
import { parseArgs } from 'node:util'
|
|
5
4
|
import { project_checks } from '#scripts/gate/project-checks'
|
|
5
|
+
import { cli_flags } from '#scripts/lib/cli-flags'
|
|
6
6
|
import { test_declared_changed } from './test-declared-changed'
|
|
7
7
|
import { test_declared_logic, type Verdict } from './test-declared-logic'
|
|
8
8
|
import { test_declared_match, type MatchResult } from './test-declared-match'
|
|
@@ -55,13 +55,9 @@ interface Options {
|
|
|
55
55
|
// The parsed flags, or `undefined` when an unknown one was passed — the strict parse is what turns a
|
|
56
56
|
// typo into a refusal rather than a silent re-print of the verdict.
|
|
57
57
|
function parse(argv: ReadonlyArray<string>): Options | undefined {
|
|
58
|
-
|
|
59
|
-
const { values } = parseArgs({ args: [...argv], options: PARSE_ARGS_OPTIONS, strict: true })
|
|
58
|
+
const values = cli_flags.values_of(argv, PARSE_ARGS_OPTIONS)
|
|
60
59
|
|
|
61
|
-
|
|
62
|
-
} catch {
|
|
63
|
-
return undefined
|
|
64
|
-
}
|
|
60
|
+
return values === undefined ? undefined : { is_help: values.help, is_match: values.match }
|
|
65
61
|
}
|
|
66
62
|
|
|
67
63
|
// The next command a verdict leaves to run, or `undefined` when there is nothing to do next. Only
|
|
@@ -24,6 +24,8 @@ import { version_targets } from './version-targets'
|
|
|
24
24
|
const FAILURE_EXIT_CODE = 1
|
|
25
25
|
const ALREADY_UP_TO_DATE = 'Already up to date'
|
|
26
26
|
const NO_QUARANTINE_MINUTES = 0
|
|
27
|
+
// A global install that goes to the network — the same ten minutes `lane-install.ts` gives one.
|
|
28
|
+
const UPGRADE_TIMEOUT_MS = 600_000
|
|
27
29
|
|
|
28
30
|
// What the local minimum-release-age policy permits for one package. Resolved per package because
|
|
29
31
|
// the newest installable release is a property of that package's own publish history. Returns a hold
|
|
@@ -195,8 +197,16 @@ function run_check(config: VersionCommandConfig): void {
|
|
|
195
197
|
)
|
|
196
198
|
}
|
|
197
199
|
|
|
200
|
+
// Through `sh -c` because an upgrade command is the user's own configured string — `pnpm add -g …`,
|
|
201
|
+
// or a chain with `&&` — so it is inside the trust boundary and needs a shell to mean what it says.
|
|
202
|
+
// The bound keeps a registry that never answers from holding `josh version` open forever; a timed-out
|
|
203
|
+
// run has no exit code, so it falls through to the failure code like any other failed step.
|
|
198
204
|
function run_upgrade_command(command: string): number {
|
|
199
|
-
const result = execaSync('sh', ['-c', command], {
|
|
205
|
+
const result = execaSync('sh', ['-c', command], {
|
|
206
|
+
stdio: 'inherit',
|
|
207
|
+
reject: false,
|
|
208
|
+
timeout: UPGRADE_TIMEOUT_MS,
|
|
209
|
+
})
|
|
200
210
|
|
|
201
211
|
return result.exitCode ?? FAILURE_EXIT_CODE
|
|
202
212
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Project instructions
|
|
2
2
|
|
|
3
|
-
-
|
|
4
|
-
-
|
|
5
|
-
- HTML
|
|
6
|
-
-
|
|
7
|
-
- JavaScript
|
|
8
|
-
- Git
|
|
3
|
+
- Respect existing files and the user's settings, and read a file's contents before changing it.
|
|
4
|
+
- Verify every change, and report the results you actually observed.
|
|
5
|
+
- Format HTML, CSS and JavaScript files with Prettier when the project has any.
|
|
6
|
+
- After a change that is visible on screen, check its display and interaction in a browser.
|
|
7
|
+
- After changing JavaScript or TypeScript behavior, add an automated test that checks that behavior.
|
|
8
|
+
- Use the Git or GitHub workflow only when you use Git or GitHub.
|
|
@@ -29,12 +29,11 @@ concurrency:
|
|
|
29
29
|
# list (e.g. `chromium firefox webkit`) instead of editing this file, which josh sync overwrites.
|
|
30
30
|
env:
|
|
31
31
|
JOSH_PLAYWRIGHT_BROWSERS: ${{ vars.JOSH_PLAYWRIGHT_BROWSERS || 'chromium' }}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
SAFE_CHAIN_INSTALLER_SHA256: 0ad25efe15d1fa56105157a454d647223e78eb0c53d1f85e3d10afcd722e7bfd
|
|
32
|
+
|
|
33
|
+
# Every job that needs pnpm prepares it through `.github/actions/setup-pnpm`, which `josh sync`
|
|
34
|
+
# writes beside this file: the pnpm version resolution, the store cache, the hash-verified safe-chain
|
|
35
|
+
# installer and the install. kit's own `ci.yml` calls the same action, so the path a consumer runs is
|
|
36
|
+
# the path kit runs (joshuafolkken/kit#3095).
|
|
38
37
|
|
|
39
38
|
jobs:
|
|
40
39
|
playwright-image:
|
|
@@ -126,37 +125,11 @@ jobs:
|
|
|
126
125
|
persist-credentials: false
|
|
127
126
|
|
|
128
127
|
- name: Setup Node.js
|
|
129
|
-
uses: actions/setup-node
|
|
130
|
-
with:
|
|
131
|
-
node-version: '24'
|
|
128
|
+
uses: ./.github/actions/setup-node
|
|
132
129
|
|
|
133
130
|
- name: Configure GitHub Packages authentication for existing projects
|
|
134
131
|
run: printf '//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}\n' >> "$HOME/.npmrc"
|
|
135
132
|
|
|
136
|
-
- name: Resolve pnpm version
|
|
137
|
-
id: pnpm-version
|
|
138
|
-
run: |
|
|
139
|
-
version=$(node -p "const m = require('./package.json'); m.packageManager?.match(/^pnpm@([^+]+)/)?.[1] ?? (m.devEngines?.packageManager?.name === 'pnpm' ? m.devEngines.packageManager.version?.split('+')[0] : 'latest') ?? 'latest'")
|
|
140
|
-
test -n "$version"
|
|
141
|
-
echo "version=$version" >> "$GITHUB_OUTPUT"
|
|
142
|
-
|
|
143
|
-
- name: Setup pnpm
|
|
144
|
-
uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
|
|
145
|
-
with:
|
|
146
|
-
version: ${{ steps.pnpm-version.outputs.version }}
|
|
147
|
-
install: false
|
|
148
|
-
|
|
149
|
-
- name: Resolve pnpm store path
|
|
150
|
-
run: echo "PNPM_STORE_PATH=$(pnpm store path)" >> "$GITHUB_ENV"
|
|
151
|
-
|
|
152
|
-
- name: Setup pnpm store cache
|
|
153
|
-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
154
|
-
with:
|
|
155
|
-
path: ${{ env.PNPM_STORE_PATH }}
|
|
156
|
-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
|
|
157
|
-
restore-keys: |
|
|
158
|
-
${{ runner.os }}-pnpm-store-
|
|
159
|
-
|
|
160
133
|
- name: Setup ESLint cache
|
|
161
134
|
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
162
135
|
id: eslint-cache
|
|
@@ -188,17 +161,10 @@ jobs:
|
|
|
188
161
|
${{ runner.os }}-cspell-cache-${{ hashFiles('pnpm-lock.yaml') }}-
|
|
189
162
|
${{ runner.os }}-cspell-cache-
|
|
190
163
|
|
|
191
|
-
- name: Setup
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
echo "$SAFE_CHAIN_INSTALLER_SHA256 $installer" | sha256sum -c -
|
|
196
|
-
sh "$installer" --ci
|
|
197
|
-
|
|
198
|
-
- name: Install dependencies
|
|
199
|
-
env:
|
|
200
|
-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
201
|
-
run: pnpm install --frozen-lockfile --ignore-scripts
|
|
164
|
+
- name: Setup pnpm and install dependencies
|
|
165
|
+
uses: ./.github/actions/setup-pnpm
|
|
166
|
+
with:
|
|
167
|
+
node-auth-token: ${{ secrets.GITHUB_TOKEN }}
|
|
202
168
|
|
|
203
169
|
# A `basic` project has no `prepare`, no build and no SvelteKit, so the ordered steps below
|
|
204
170
|
# would fail on its first pull request (joshuafolkken/kit#2814). The profile is read from
|
|
@@ -399,37 +365,11 @@ jobs:
|
|
|
399
365
|
persist-credentials: false
|
|
400
366
|
|
|
401
367
|
- name: Setup Node.js
|
|
402
|
-
uses: actions/setup-node
|
|
403
|
-
with:
|
|
404
|
-
node-version: '24'
|
|
368
|
+
uses: ./.github/actions/setup-node
|
|
405
369
|
|
|
406
370
|
- name: Configure GitHub Packages authentication for existing projects
|
|
407
371
|
run: printf '//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}\n' >> "$HOME/.npmrc"
|
|
408
372
|
|
|
409
|
-
- name: Resolve pnpm version
|
|
410
|
-
id: pnpm-version
|
|
411
|
-
run: |
|
|
412
|
-
version=$(node -p "const m = require('./package.json'); m.packageManager?.match(/^pnpm@([^+]+)/)?.[1] ?? (m.devEngines?.packageManager?.name === 'pnpm' ? m.devEngines.packageManager.version?.split('+')[0] : 'latest') ?? 'latest'")
|
|
413
|
-
test -n "$version"
|
|
414
|
-
echo "version=$version" >> "$GITHUB_OUTPUT"
|
|
415
|
-
|
|
416
|
-
- name: Setup pnpm
|
|
417
|
-
uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
|
|
418
|
-
with:
|
|
419
|
-
version: ${{ steps.pnpm-version.outputs.version }}
|
|
420
|
-
install: false
|
|
421
|
-
|
|
422
|
-
- name: Resolve pnpm store path
|
|
423
|
-
run: echo "PNPM_STORE_PATH=$(pnpm store path)" >> "$GITHUB_ENV"
|
|
424
|
-
|
|
425
|
-
- name: Setup pnpm store cache
|
|
426
|
-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
427
|
-
with:
|
|
428
|
-
path: ${{ env.PNPM_STORE_PATH }}
|
|
429
|
-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
|
|
430
|
-
restore-keys: |
|
|
431
|
-
${{ runner.os }}-pnpm-store-
|
|
432
|
-
|
|
433
373
|
- name: Setup build cache
|
|
434
374
|
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
435
375
|
id: build-cache
|
|
@@ -441,17 +381,10 @@ jobs:
|
|
|
441
381
|
${{ runner.os }}-build-cache-e2e-${{ hashFiles('pnpm-lock.yaml') }}-
|
|
442
382
|
${{ runner.os }}-build-cache-e2e-
|
|
443
383
|
|
|
444
|
-
- name: Setup
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
echo "$SAFE_CHAIN_INSTALLER_SHA256 $installer" | sha256sum -c -
|
|
449
|
-
sh "$installer" --ci
|
|
450
|
-
|
|
451
|
-
- name: Install dependencies
|
|
452
|
-
env:
|
|
453
|
-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
454
|
-
run: pnpm install --frozen-lockfile --ignore-scripts
|
|
384
|
+
- name: Setup pnpm and install dependencies
|
|
385
|
+
uses: ./.github/actions/setup-pnpm
|
|
386
|
+
with:
|
|
387
|
+
node-auth-token: ${{ secrets.GITHUB_TOKEN }}
|
|
455
388
|
|
|
456
389
|
# --ignore-scripts suppresses the install-time `prepare`, so generated framework
|
|
457
390
|
# files never appear. Playwright >= 1.62 hard-throws when a tsconfig `extends`
|
|
@@ -679,6 +612,7 @@ jobs:
|
|
|
679
612
|
needs.e2e-detect.result == 'success' &&
|
|
680
613
|
(needs.e2e.result == 'success' || needs.e2e.result == 'skipped')
|
|
681
614
|
runs-on: ubuntu-latest
|
|
615
|
+
timeout-minutes: 5
|
|
682
616
|
permissions:
|
|
683
617
|
contents: write
|
|
684
618
|
steps:
|
|
@@ -27,6 +27,7 @@ jobs:
|
|
|
27
27
|
# what stays restricted to Dependabot's own events, on the step below.
|
|
28
28
|
auto-merge:
|
|
29
29
|
runs-on: ubuntu-latest
|
|
30
|
+
timeout-minutes: 10
|
|
30
31
|
if: github.event.pull_request.user.login == 'dependabot[bot]'
|
|
31
32
|
steps:
|
|
32
33
|
# Whether the pull request touches a workflow some upstream package overwrites. Decided from
|
|
@@ -57,9 +57,7 @@ jobs:
|
|
|
57
57
|
|
|
58
58
|
- name: Setup Node.js
|
|
59
59
|
if: steps.release.outputs.tag != ''
|
|
60
|
-
uses: actions/setup-node
|
|
61
|
-
with:
|
|
62
|
-
node-version: '24'
|
|
60
|
+
uses: ./.github/actions/setup-node
|
|
63
61
|
|
|
64
62
|
- name: Configure GitHub Packages authentication for existing projects
|
|
65
63
|
if: steps.release.outputs.tag != ''
|
package/tsconfig.sonar.json
CHANGED
|
@@ -1,29 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "@joshuafolkken/kit/tsconfig/base",
|
|
2
3
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"moduleResolution": "node",
|
|
7
|
-
"allowImportingTsExtensions": false,
|
|
4
|
+
"target": "ES2022",
|
|
5
|
+
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
6
|
+
"types": ["node"],
|
|
8
7
|
"allowJs": true,
|
|
9
8
|
"checkJs": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"skipLibCheck": true,
|
|
14
|
-
"sourceMap": true,
|
|
15
|
-
"strict": true,
|
|
16
|
-
"noUncheckedIndexedAccess": true,
|
|
17
|
-
"noImplicitOverride": true,
|
|
18
|
-
"noUnusedLocals": true,
|
|
19
|
-
"noUnusedParameters": true,
|
|
20
|
-
"exactOptionalPropertyTypes": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noImplicitReturns": true,
|
|
23
|
-
"noPropertyAccessFromIndexSignature": true,
|
|
24
|
-
"allowUnusedLabels": false,
|
|
25
|
-
"allowUnreachableCode": false,
|
|
26
|
-
"isolatedModules": true,
|
|
27
9
|
"paths": {
|
|
28
10
|
"$lib": ["./src/lib"],
|
|
29
11
|
"$lib/*": ["./src/lib/*"]
|