Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
SohelIslamImran committed Oct 21, 2024
1 parent 6343ede commit 8e4a18c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "extensionHost",
"request": "launch",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"outFiles": ["${workspaceFolder}/out/**/*.js"],
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "${defaultBuildTask}"
}
]
Expand Down
8 changes: 2 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false, // set this to true to hide the "out" folder with the compiled JS files
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
"dist": false
},
"search.exclude": {
"out": true, // set this to false to include "out" folder in search results
"dist": true // set this to false to include "dist" folder in search results
"dist": true
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
}
4 changes: 1 addition & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"problemMatcher": "$esbuild-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
Expand Down
6 changes: 6 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
.vscode/**
.vscode-test/**
src/**
node_modules/**
.gitignore
.yarnrc
bun.lockb
CHANGELOG.md
README.md
**/images/example.png
**/package.json
vsc-extension-quickstart.md
**/tsconfig.json
**/eslint.config.mjs
Expand Down
Binary file modified bun.lockb
Binary file not shown.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"onLanguage:javascriptreact"
],
"icon": "images/logo-marketplace.png",
"main": "./out/extension.js",
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
Expand All @@ -49,10 +49,10 @@
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"vscode:prepublish": "bun run compile",
"compile": "bun build ./src/extension.ts --outfile=dist/extension.js --format=cjs --target=node --minify -e vscode",
"watch": "bun run compile --watch",
"pretest": "tsc --noEmit -p ./ && bun run lint && bun run compile",
"lint": "eslint src"
},
"devDependencies": {
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"module": "Node16",
"target": "ES2022",
"lib": ["ES2023"],
"outDir": "out",
"sourceMap": true,
"rootDir": "src",
"esModuleInterop": true,
"skipLibCheck": true,
Expand Down

0 comments on commit 8e4a18c

Please sign in to comment.