Skip to content

Commit 32c36ee

Browse files
refactor: node-outdated rewritten "just for fun"; (#11)
* refactor: node-outdated rewritten "just for fun"; * revert: github workflows to ubuntu-latest; * revert: keep CHANGELOG.md as is; * feat: Detect package manager as configured in vscode * feat: Allow to control cache time in settings Co-authored-by: David Rodrigues <david.rodrigues@rentalhost.net>
1 parent fc39772 commit 32c36ee

34 files changed

+8018
-10244
lines changed

.github/workflows/format.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ jobs:
66
format:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v3
1010
with:
1111
ref: ${{ github.head_ref }}
12-
- uses: actions/setup-node@v1
12+
- uses: actions/setup-node@v3
1313
with:
14-
node-version: "12.x"
14+
node-version: 16
1515
- name: Format
1616
run: |
1717
npm ci
1818
npx prettier --write .
1919
- name: Commit changes
20-
uses: stefanzweifel/git-auto-commit-action@v4.1.2
20+
uses: stefanzweifel/git-auto-commit-action@v4.16.0
2121
with:
2222
commit_message: Apply formatting changes
2323
branch: ${{ github.head_ref }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
release:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v2
7+
- uses: actions/checkout@v3
88
- run: npm ci
99
- run: npx eslint .
1010
- run: npx semantic-release

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
node_modules/
2-
out/
3-
.vscode/settings.json
1+
out
2+
dist
3+
node_modules
4+
.vscode-test/
5+
*.vsix

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
3+
}

.vscode/launch.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
52
"version": "0.2.0",
63
"configurations": [
74
{
85
"name": "Run Extension",
96
"type": "extensionHost",
107
"request": "launch",
11-
"runtimeExecutable": "${execPath}",
12-
"args": [
13-
"--disable-extensions",
14-
"--extensionDevelopmentPath=${workspaceFolder}"
15-
],
16-
"env": {
17-
"VSCODE_DEBUGGING_EXTENSION": "npm-outdated"
18-
},
19-
"outFiles": ["${workspaceFolder}/out/**/*.js"]
8+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
9+
"outFiles": ["${workspaceFolder}/out/**/*.js"],
10+
"preLaunchTask": "${defaultBuildTask}"
2011
}
2112
]
2213
}

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.exclude": { "out": false },
3+
"search.exclude": { "out": true },
4+
"typescript.tsc.autoDetect": "off"
5+
}

.vscode/tasks.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "watch",
7+
"problemMatcher": "$tsc-watch",
8+
"isBackground": true,
9+
"presentation": {
10+
"reveal": "never"
11+
},
12+
"group": {
13+
"kind": "build",
14+
"isDefault": true
15+
}
16+
}
17+
]
18+
}

.vscodeignore

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
.github/
2-
.vscode/
3-
out/**/*.map
4-
src/
5-
.all-contributorsrc
6-
.eslintignore
1+
.vscode/**
2+
.vscode-test/**
3+
src/**
74
.gitignore
8-
.prettierignore
9-
.releaserc.json
10-
tsconfig.json
11-
webpack.config.js
5+
**/tsconfig.json
6+
**/.eslintrc.json
7+
**/*.map
8+
**/*.ts

assets/screenshot.jpg

-177 KB
Binary file not shown.

0 commit comments

Comments
 (0)