Skip to content

Commit 02a46ef

Browse files
authored
Merge pull request #59 from midouest/upgrade-deps
Upgrade deps
2 parents 1490391 + c3e18c0 commit 02a46ef

39 files changed

Lines changed: 1130 additions & 1197 deletions

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
5-
labels: ''
4+
title: ""
5+
labels: ""
66
assignees: midouest
7-
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is. If there is an error message, please include the exact error message and any relevant log messages.
1211

1312
**To Reproduce**
1413
Steps to reproduce the behavior:
14+
1515
1. Go to '...'
1616
2. Click on '....'
1717
3. Scroll down to '....'
@@ -24,10 +24,11 @@ A clear and concise description of what you expected to happen.
2424
If applicable, add screenshots to help explain your problem.
2525

2626
**Platform (please complete the following information):**
27-
- Operating system and version: [e.g. macOS Tahoe 26.0.1]
28-
- Playdate SDK version: [e.g. 3.0.1]
29-
- Visual Studio Code distribution and version: [e.g. VSCodium 1.105.1]
30-
- Playdate Debug extension version: [e.g. 1.18.0]
27+
28+
- Operating system and version: [e.g. macOS Tahoe 26.0.1]
29+
- Playdate SDK version: [e.g. 3.0.1]
30+
- Visual Studio Code distribution and version: [e.g. VSCodium 1.105.1]
31+
- Playdate Debug extension version: [e.g. 1.18.0]
3132

3233
**Additional context**
3334
Please include either a link to the project or the contents all relevant files (e.g., `.vscode/settings.json`, `.vscode/tasks.json`, `.vscode/launch.json`, `source/main.lua`, `source/pdxinfo`, etc.).

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
4+
title: ""
5+
labels: ""
66
assignees: midouest
7-
87
---
98

109
**Is your feature request related to a problem? Please describe.**

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install Node.js
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: 20.x
20+
node-version: 24.x
2121
cache: yarn
2222
- name: Install dependencies
2323
run: yarn install --frozen-lockfile
@@ -48,7 +48,7 @@ jobs:
4848
- name: Install Node.js
4949
uses: actions/setup-node@v3
5050
with:
51-
node-version: 20.x
51+
node-version: 24.x
5252
cache: yarn
5353
- name: Install dependencies
5454
run: yarn install --frozen-lockfile

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Install Node.js
1515
uses: actions/setup-node@v3
1616
with:
17-
node-version: 20.x
17+
node-version: 24.x
1818
cache: yarn
1919
- name: Install dependencies
2020
run: yarn install --frozen-lockfile

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.19.5
1+
v24.11.0

.vscode-test.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { defineConfig } from '@vscode/test-cli';
1+
import { defineConfig } from "@vscode/test-cli";
22

33
export default defineConfig({
4-
files: 'out/test/**/*.test.js',
4+
files: "out/test/**/*.test.js",
55
});

esbuild.js

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
const esbuild = require("esbuild");
22

3-
const production = process.argv.includes('--production');
4-
const watch = process.argv.includes('--watch');
3+
const production = process.argv.includes("--production");
4+
const watch = process.argv.includes("--watch");
55

66
/**
77
* @type {import('esbuild').Plugin}
88
*/
99
const esbuildProblemMatcherPlugin = {
10-
name: 'esbuild-problem-matcher',
10+
name: "esbuild-problem-matcher",
1111

12-
setup(build) {
13-
build.onStart(() => {
14-
console.log('[watch] build started');
15-
});
16-
build.onEnd((result) => {
17-
result.errors.forEach(({ text, location }) => {
18-
console.error(`✘ [ERROR] ${text}`);
19-
console.error(` ${location.file}:${location.line}:${location.column}:`);
20-
});
21-
console.log('[watch] build finished');
22-
});
23-
},
12+
setup(build) {
13+
build.onStart(() => {
14+
console.log("[watch] build started");
15+
});
16+
build.onEnd((result) => {
17+
result.errors.forEach(({ text, location }) => {
18+
console.error(`✘ [ERROR] ${text}`);
19+
console.error(
20+
` ${location.file}:${location.line}:${location.column}:`,
21+
);
22+
});
23+
console.log("[watch] build finished");
24+
});
25+
},
2426
};
2527

2628
async function main() {
27-
const ctx = await esbuild.context({
28-
entryPoints: [
29-
'src/extension.ts'
30-
],
31-
bundle: true,
32-
format: 'cjs',
33-
minify: production,
34-
sourcemap: !production,
35-
sourcesContent: false,
36-
platform: 'node',
37-
outfile: 'dist/extension.js',
38-
external: ['vscode'],
39-
logLevel: 'silent',
40-
plugins: [
41-
/* add to the end of plugins array */
42-
esbuildProblemMatcherPlugin,
43-
],
44-
});
45-
if (watch) {
46-
await ctx.watch();
47-
} else {
48-
await ctx.rebuild();
49-
await ctx.dispose();
50-
}
29+
const ctx = await esbuild.context({
30+
entryPoints: ["src/extension.ts"],
31+
bundle: true,
32+
format: "cjs",
33+
minify: production,
34+
sourcemap: !production,
35+
sourcesContent: false,
36+
platform: "node",
37+
outfile: "dist/extension.js",
38+
external: ["vscode"],
39+
logLevel: "silent",
40+
plugins: [
41+
/* add to the end of plugins array */
42+
esbuildProblemMatcherPlugin,
43+
],
44+
});
45+
if (watch) {
46+
await ctx.watch();
47+
} else {
48+
await ctx.rebuild();
49+
await ctx.dispose();
50+
}
5151
}
5252

53-
main().catch(e => {
54-
console.error(e);
55-
process.exit(1);
53+
main().catch((e) => {
54+
console.error(e);
55+
process.exit(1);
5656
});
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"folders": [
33
{
4-
"path": "basic-configuration"
4+
"path": "basic-configuration",
55
},
66
{
7-
"path": "override-configuration"
7+
"path": "override-configuration",
88
},
99
{
10-
"path": "pdc-configuration"
10+
"path": "pdc-configuration",
1111
},
1212
{
13-
"path": "playdate-simulator-configuration"
13+
"path": "playdate-simulator-configuration",
1414
},
1515
{
16-
"path": "debugger-configuration"
17-
}
18-
]
16+
"path": "debugger-configuration",
17+
},
18+
],
1919
}

package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,27 @@
4242
"prepare": "husky"
4343
},
4444
"dependencies": {
45-
"@vscode/vsce": "^2.15.0",
46-
"inversify": "^6.2.1",
45+
"inversify": "^7.10.4",
4746
"reflect-metadata": "^0.2.2"
4847
},
4948
"devDependencies": {
50-
"@types/glob": "^7.1.1",
5149
"@types/mocha": "^10.0.10",
52-
"@types/node": "20.x",
50+
"@types/node": "24.x",
5351
"@types/vscode": "^1.96.0",
5452
"@typescript-eslint/eslint-plugin": "^8.17.0",
5553
"@typescript-eslint/parser": "^8.17.0",
56-
"@vscode/test-cli": "^0.0.10",
54+
"@vscode/test-cli": "^0.0.12",
5755
"@vscode/test-electron": "^2.4.1",
56+
"@vscode/vsce": "^3.7.0",
5857
"c8": "^10.1.3",
59-
"esbuild": "^0.24.0",
58+
"esbuild": "^0.27.0",
6059
"eslint": "^9.16.0",
61-
"eslint-import-resolver-typescript": "^3.7.0",
60+
"eslint-import-resolver-typescript": "^4.4.4",
6261
"eslint-plugin-import": "^2.31.0",
63-
"glob": "^7.1.4",
62+
"glob": "^11.0.3",
6463
"husky": "^9.1.7",
65-
"lint-staged": "^15.3.0",
66-
"mocha": "^10.2.0",
64+
"lint-staged": "^16.2.6",
65+
"mocha": "^11.7.5",
6766
"npm-run-all": "^4.1.5",
6867
"ovsx": "^0.10.6",
6968
"prettier": "^3.4.2",

src/ExtensionModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export abstract class ExtensionModule {
9090
*/
9191
static activate(
9292
context: vscode.ExtensionContext,
93-
classes: ExtensionModuleType[]
93+
classes: ExtensionModuleType[],
9494
): Container | null {
9595
const loaded = ExtensionModule.load(...classes);
9696
if (!loaded) {

0 commit comments

Comments
 (0)