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
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ jobs:

- uses: extractions/setup-just@v3

- name: Cache turbo
uses: actions/cache@v4
with:
path: .turbo
key: turbo-lint-ext-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.sha }}
restore-keys: |
turbo-lint-ext-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-
turbo-lint-ext-${{ runner.os }}-

- name: Install dependencies
run: |
just deps-root
Expand Down Expand Up @@ -73,6 +82,15 @@ jobs:

- uses: extractions/setup-just@v3

- name: Cache turbo
uses: actions/cache@v4
with:
path: .turbo
key: turbo-lint-view-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.sha }}
restore-keys: |
turbo-lint-view-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-
turbo-lint-view-${{ runner.os }}-

- name: Install dependencies
run: |
just deps-root
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ jobs:

- uses: extractions/setup-just@v3

- name: Cache turbo
uses: actions/cache@v4
with:
path: .turbo
key: turbo-test-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.sha }}
restore-keys: |
turbo-test-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}-
turbo-test-${{ runner.os }}-

- name: Install dependencies
run: just deps-compact

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

node_modules/
.turbo/
.pnpm-store/
.env
.claude/settings.local.json
Expand Down
13 changes: 13 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ src/view/

# Root public folder - exclude screenshots
public/screenshots/
public/screenshots_legacy/
public/*.gif

# All node_modules
Expand All @@ -50,6 +51,18 @@ src/node_modules/
.travis.yml
.circleci/

# Turborepo
.turbo/
**/.turbo/
turbo.json

# pnpm workspace
pnpm-workspace.yaml

# Playwright test artifacts
playwright-report/
test-results/

# Git
.git/
.gitignore
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"version": "0.9.0",
"publisher": "KubrickCode",
"license": "MIT",
"packageManager": "pnpm@9.15.0",
"repository": {
"type": "git",
"url": "https://github.com/KubrickCode/quick-command-buttons.git"
Expand Down Expand Up @@ -344,15 +345,15 @@
}
},
"scripts": {
"build": "pnpm build:view && pnpm build:extension",
"build": "turbo run build",
"build:extension": "node esbuild.config.mjs --production",
"build:extension:dev": "node esbuild.config.mjs",
"build:extension:watch": "node esbuild.config.mjs --watch",
"build:view": "cd src/view && pnpm build",
"compile": "cd src/extension && tsc -p ./",
"dev": "cd src/view && pnpm dev",
"install-package": "code --install-extension quick-command-buttons-$npm_package_version.vsix",
"lint": "pnpm lint:format && pnpm lint:extension && pnpm lint:view",
"lint": "turbo run lint && pnpm lint:config",
"lint:config": "npx prettier --write \"**/*.{json,yml,yaml,md}\"",
"lint:extension": "cd src && npx eslint --fix extension/main.ts internal pkg shared",
"lint:format": "npx prettier --write \"src/{extension,internal,pkg,shared}/**/*.ts\" \"src/view/src/**/*.{ts,tsx}\" \"**/*.{json,yml,yaml,md}\"",
Expand All @@ -361,9 +362,9 @@
"package": "pnpm build && vsce package --no-dependencies --allow-star-activation && find . -maxdepth 1 -name '*.vsix' ! -name '*'$npm_package_version'.vsix' -delete",
"prepare": "husky",
"preview": "cd src/view && pnpm preview",
"test": "cd src/extension && jest",
"test:ci": "cd src/extension && jest --ci --coverage --watchAll=false",
"test:coverage": "cd src/extension && jest --coverage",
"test": "turbo run test --filter=quick-command-buttons-extension",
"test:ci": "turbo run test:ci --filter=quick-command-buttons-extension",
"test:coverage": "turbo run test:coverage --filter=quick-command-buttons-extension",
"test:watch": "cd src/extension && jest --watch",
"test:e2e-ui": "cd src/view && pnpm test:e2e-ui",
"test:e2e-ui:report": "cd src/view && pnpm test:e2e-ui:report",
Expand Down Expand Up @@ -396,6 +397,7 @@
"prettier": "3.6.2",
"semantic-release": "25.0.2",
"ts-jest": "29.4.1",
"turbo": "2.6.1",
"typescript": "5.8.3",
"typescript-eslint": "8.46.0"
},
Expand Down
Loading
Loading