Skip to content

Commit

Permalink
Improved Target Tree generation and added extra user configurations (#89
Browse files Browse the repository at this point in the history
)

Added two new configuration settings and improved TreeItems

Co-authored-by: Casey Riebe <cjriebe@sbgtv.com>
  • Loading branch information
sureshjoshi and Casey Riebe authored Apr 19, 2024
1 parent e9d285e commit 884ffff
Show file tree
Hide file tree
Showing 9 changed files with 1,626 additions and 32 deletions.
27 changes: 22 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-suspenders",
"displayName": "Suspenders",
"description": "PantsBuild support for VS Code",
"version": "0.0.1",
"version": "0.0.2",
"publisher": "robotpajamas",
"preview": true,
"private": true,
Expand Down Expand Up @@ -114,6 +114,20 @@
"default": "pants",
"order": 0,
"scope": "machine-overridable"
},
"suspenders.ignoreLockfiles": {
"description": "Ignore Lockfiles in Targets Tree",
"type": "boolean",
"default": true,
"order": 1,
"scope": "machine-overridable"
},
"suspenders.buildFileExtension": {
"description": "Extension used for BUILD files. Useful when wanting to differentiate between a BUILD file and a 'build' directory.",
"type": "string",
"default": "",
"order": 2,
"scope": "machine-overridable"
}
}
},
Expand Down Expand Up @@ -254,9 +268,11 @@
]
},
"scripts": {
"vscode:prepublish": "pnpm run esbuild-base --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/main.js --external:vscode --format=cjs --platform=node",
"build": "pnpm run esbuild-base --sourcemap",
"vscode:prepublish": "pnpm run build-base --minify",
"build-base": "esbuild ./src/extension.ts --bundle --outfile=dist/main.js --external:vscode --format=cjs --platform=node",
"build": "pnpm run clean && pnpm run build-base --sourcemap",
"package": "pnpm run build && pnpm vsce package --no-dependencies --out dist",
"clean": "rm -rf dist/",
"eslint": "eslint --ignore-path .gitignore --max-warnings=0 .",
"eslint:fix": "eslint --ignore-path .gitignore . --fix",
"format": "pnpm prettier:fix",
Expand All @@ -267,14 +283,15 @@
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"watch": "pnpm run esbuild-base --sourcemap --watch"
"watch": "pnpm run build-base --sourcemap --watch"
},
"devDependencies": {
"@types/node": "^20.12.7",
"@types/vscode": "^1.84.2",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"@vscode/test-electron": "^2.3.9",
"@vscode/vsce": "^2.26.0",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
Expand Down
2 changes: 1 addition & 1 deletion pants.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[GLOBAL]
pants_version = "2.16.0a1"
pants_version = "2.20.0"

backend_packages = [
"pants.backend.experimental.javascript",
Expand Down
Loading

0 comments on commit 884ffff

Please sign in to comment.