Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move package files to top level #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
cache-dependency-path: buildAndReleaseTask/package-lock.json

- name: Install packages
run: npm ci
working-directory: buildAndReleaseTask

- name: Run lint
run: npm run lint
working-directory: buildAndReleaseTask

- name: Build
run: npm run build
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules/
*.js
*.vsix
.taskkey
dist
3 changes: 0 additions & 3 deletions buildAndReleaseTask/tsconfig.json

This file was deleted.

File renamed without changes.
3 changes: 2 additions & 1 deletion buildAndReleaseTask/package.json → package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"author": "gattjoe",
"license": "Apache-2.0",
"scripts": {
"build": "tsc",
"lint": "eslint . --ext .ts"
},
"dependencies": {
Expand All @@ -23,4 +24,4 @@
"eslint-plugin-node": "11.1.0",
"eslint-plugin-security": "1.5.0"
}
}
}
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion buildAndReleaseTask/task.json → task.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"minimumAgentVersion": "2.206.1",
"execution": {
"Node16": {
"target": "index.js"
"target": "dist/index.js"
}
}
}
6 changes: 6 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "@tsconfig/node16-strictest/tsconfig.json",
"compilerOptions": {
"outDir": "dist"
}
}
5 changes: 4 additions & 1 deletion vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
],
"files": [
{
"path": "buildAndReleaseTask"
"path": "dist"
},
{
"path": "node_modules"
},
{
"path": "images", "addressable": true
Expand Down