diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fb5b53a..0fe090d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,6 +23,11 @@ jobs: node-version-file: .nvmrc cache: npm + - name: Install Pixi + run: | + curl -fsSL https://pixi.sh/install.sh | sh + echo "$HOME/.pixi/bin" >> "$GITHUB_PATH" + - name: Install dependencies run: npm ci diff --git a/.gitignore b/.gitignore index 0b60dfa..8466251 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,7 @@ dist node_modules .vscode-test/ *.vsix + +# Pixi environments in test fixtures and projects +**/.pixi/* +!**/.pixi/config.toml diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..678d79a --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +**/pixi.lock diff --git a/.vscodeignore b/.vscodeignore index 98449b5..d1108c6 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -1,6 +1,8 @@ **/.github/ .vscode/** .vscode-test/** +test/** +**/.pixi/** out/** node_modules/** src/** diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1648c0f..750fd9f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ Code extension that integrates Pixi environments with the Python Environments ex 1. **Prerequisites** - Node.js 20+ - VS Code with the Python Environments extension installed - - Pixi installed on your system + - [Pixi](https://pixi.prefix.dev/latest/installation/) installed on your system 2. **Clone and setup** diff --git a/package.json b/package.json index 144e63f..cba6aa3 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ }, "lint-staged": { "src/**/*.ts": "eslint --fix", - "*.{ts,js,mjs,cjs,json,md,yml,yaml}": "prettier --write" + "*": "prettier --write --ignore-unknown" }, "devDependencies": { "@types/fs-extra": "^11.0.4", diff --git a/test/fixtures/pixi-project/.gitignore b/test/fixtures/pixi-project/.gitignore deleted file mode 100644 index ae849e6..0000000 --- a/test/fixtures/pixi-project/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# pixi environments -.pixi/* -!.pixi/config.toml