Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {}
permissions:
contents: read

jobs:
build:
Expand All @@ -32,6 +33,8 @@ jobs:
- name: Install dependencies
uses: ./.github/actions/setup
- run: pnpm check
- name: Types (lib)
run: pnpm --filter @effect-template/lib typecheck

lint:
name: Lint
Expand All @@ -48,6 +51,8 @@ jobs:
- name: Install global linter dependencies
run: npm install -g typescript @biomejs/biome
- run: pnpm lint
- name: Lint (lib)
run: pnpm --filter @effect-template/lib lint

test:
name: Test
Expand All @@ -61,6 +66,8 @@ jobs:
- name: Install global linter dependencies
run: npm install -g typescript @biomejs/biome
- run: pnpm test
- name: Test (lib)
run: pnpm --filter @effect-template/lib test

lint-effect:
name: Lint Effect-TS
Expand All @@ -71,3 +78,5 @@ jobs:
- name: Install dependencies
uses: ./.github/actions/setup
- run: pnpm lint:effect
- name: Lint Effect-TS (lib)
run: pnpm --filter @effect-template/lib lint:effect
3 changes: 2 additions & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
branches: [main, next-minor, next-major]
workflow_dispatch:

permissions: {}
permissions:
contents: read

jobs:
snapshot:
Expand Down
1 change: 1 addition & 0 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"list": "pnpm -C ../.. run list",
"prestart": "pnpm run build",
"start": "node dist/main.js",
"pretest": "pnpm -C ../lib build",
"test": "pnpm run lint:tests && vitest run",
"pretypecheck": "pnpm -C ../lib build",
"typecheck": "tsc --noEmit"
Expand Down
6 changes: 3 additions & 3 deletions packages/app/src/docker-git/menu-create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ export const resolveCreateInputs = (
repoRef: values.repoRef ?? "main",
outDir,
secretsRoot,
runUp: values.runUp ?? true,
enableMcpPlaywright: values.enableMcpPlaywright ?? false,
force: values.force ?? false
runUp: values.runUp !== false,
enableMcpPlaywright: values.enableMcpPlaywright === true,
force: values.force === true
}
}

Expand Down
3 changes: 1 addition & 2 deletions packages/app/src/docker-git/menu-render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ export const renderStepLabel = (step: CreateStep, defaults: CreateInputs): strin
Match.when("runUp", () => `Run docker compose up now? [${defaults.runUp ? "Y" : "n"}]`),
Match.when(
"mcpPlaywright",
() =>
`Enable Playwright MCP (Chromium sidecar)? [${defaults.enableMcpPlaywright ? "y" : "N"}]`
() => `Enable Playwright MCP (Chromium sidecar)? [${defaults.enableMcpPlaywright ? "y" : "N"}]`
),
Match.when(
"force",
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/.jscpd.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"threshold": 0,
"minTokens": 30,
"minLines": 5,
"minTokens": 50,
"minLines": 15,
"ignore": [
"**/node_modules/**",
"**/build/**",
Expand Down
3 changes: 3 additions & 0 deletions packages/lib/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"files": {
"ignoreUnknown": false
},
"assist": {
"enabled": false
},
"formatter": {
"enabled": false,
"indentStyle": "tab"
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint": "npx @ton-ai-core/vibecode-linter src/",
"lint:effect": "npx eslint --config eslint.effect-ts-check.config.mjs .",
"typecheck": "tsc --noEmit -p tsconfig.json",
"test": "vitest run"
"test": "vitest run --passWithNoTests"
},
"repository": {
"type": "git",
Expand Down
Loading