Skip to content

Commit 091efbd

Browse files
authored
Merge branch 'dev' into patch/dev-stream
2 parents 5f5001e + 01e11ef commit 091efbd

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Package extension
5555
env:
5656
NODE_ENV: ${{ inputs.prod || '0' }}
57-
run: pnpx @vscode/vsce package --allow-star-activation --no-dependencies
57+
run: pnpm vsce package --allow-star-activation --no-dependencies
5858

5959
- name: Upload builds
6060
uses: actions/upload-artifact@v4

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
run: pnpm install --frozen-lockfile
2828

2929
- name: lint check
30-
run: pnpx eslint src/
30+
run: pnpm eslint src/

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Publish extension
5353
env:
5454
NODE_ENV: 1
55-
run: pnpx @vscode/vsce publish ${{inputs.version}} -p ${{secrets.MARKETPLACE_TOKEN}} --allow-star-activation --no-dependencies
55+
run: pnpm vsce publish ${{inputs.version}} -p ${{secrets.MARKETPLACE_TOKEN}} --allow-star-activation --no-dependencies
5656

5757
- name: Commit and push version change
5858
run: |

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pnpm types
2-
pnpx eslint
2+
pnpm eslint src/

esbuild.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,13 @@ switch (mode.toLowerCase()) {
6363
default:
6464
outDir = './out';
6565
}
66+
67+
const directoryPlural = outDir.length() === 1 || outDir.length() === -1 ? 'directory' : 'directories';
6668
if (fs.existsSync(outDir)) {
67-
console.log(chalk.yellow(`🗑️ Output directory ${outDir} already exists, removing dir...`));
69+
console.log(chalk.yellow(`🗑️ Output ${directoryPlural} ${outDir} already exists, removing dir...`));
6870
fs.rmSync(outDir, {recursive: true});
6971
} else {
70-
console.log(chalk.dim(`📁 Output directory ${outDir} doesn't exist, skipping removal step.`));
72+
console.log(chalk.dim(`📁 Output ${directoryPlural} ${outDir} doesn't exist, skipping removal step.`));
7173
}
7274

7375
try {

0 commit comments

Comments
 (0)