Skip to content
Open
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
15 changes: 15 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Enable hoisting for VS Code extension compatibility
hoist=true
hoist-pattern[]=*

# Strict peer dependencies
strict-peer-dependencies=false

# Use hoisted node-linker for esbuild external deps
node-linker=hoisted

# Auto-install peers
auto-install-peers=true

# Lockfile settings
lockfile=true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ For more details, refer to [original uv document](https://docs.astral.sh/uv/gett

#### Setup Extension
```bash
# If don't have yarn
npm install --global yarn
# If don't have pnpm
npm install --global pnpm

# MacOS / Linux / WSL
source setup.sh
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
],
"main": "./dist/extension.js",
"scripts": {
"install:all": "yarn && cd webview-ui && yarn",
"start:webview": "cd webview-ui && yarn start",
"build:webview": "cd webview-ui && yarn build",
"i18n:webview": "cd webview-ui && yarn i18n:extract && yarn i18n:compile",
"vscode:prepublish": "yarn build:webview && yarn package",
"compile": "yarn check-types && yarn lint && node esbuild.js",
"install:all": "pnpm install",
"start:webview": "pnpm --filter webview-ui start",
"build:webview": "pnpm --filter webview-ui build",
"i18n:webview": "pnpm --filter webview-ui i18n:extract && pnpm --filter webview-ui i18n:compile",
"vscode:prepublish": "pnpm build:webview && pnpm package",
"compile": "pnpm check-types && pnpm lint && node esbuild.js",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "yarn i18n:webview && yarn build:webview && yarn check-types && yarn lint && node esbuild.js --production",
"package": "pnpm i18n:webview && pnpm build:webview && pnpm check-types && pnpm lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "yarn compile-tests && yarn compile && yarn lint",
"pretest": "pnpm compile-tests && pnpm compile && pnpm lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
Expand Down
Loading