Skip to content

Commit 44d05d9

Browse files
committed
maintenance: full rewrite for oclif 4 (and typescript 5)
1 parent 4730975 commit 44d05d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3956
-2629
lines changed

.eslintrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

.eslintrc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": [
3+
"plugin:@typescript-eslint/recommended",
4+
"oclif", "oclif-typescript",
5+
"prettier",
6+
"plugin:prettier/recommended"
7+
],
8+
"rules": {
9+
"camelcase": "off"
10+
}
11+
}

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- ubuntu-latest
1717
- macos-latest
1818
- windows-latest
19-
node_version: [ '14', '16', '18' ]
19+
node_version: [ '18', '20', '23' ]
2020
architecture: [ 'x64' ]
2121
# an extra windows-x86 run:
2222
# include:

.gitignore

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
*-debug.log
22
*-error.log
33
/.nyc_output
4+
**/.DS_Store
5+
/.idea
46
/dist
5-
/lib
6-
*oclif.manifest.json
77
/tmp
8-
/yarn.lock
9-
node_modules
8+
/node_modules
9+
oclif.manifest.json
10+
11+
12+
13+
yarn.lock
14+
pnpm-lock.yaml
15+

.mocharc.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

.mocharc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"require": [
3+
"ts-node/register",
4+
"./test/helpers/init.ts"
5+
],
6+
"watch-extensions": [
7+
"ts"
8+
],
9+
"recursive": true,
10+
"reporter": "spec",
11+
"timeout": 60000,
12+
"node-option": [
13+
"loader=ts-node/esm",
14+
"experimental-specifier-resolution=node",
15+
"no-warnings=ExperimentalWarning"
16+
]
17+
}

.prettierrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"@oclif/prettier-config"

.vscode/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "attach",
7+
"name": "Attach",
8+
"port": 9229,
9+
"skipFiles": ["<node_internals>/**"]
10+
},
11+
{
12+
"type": "node",
13+
"request": "launch",
14+
"name": "Execute Command",
15+
"skipFiles": ["<node_internals>/**"],
16+
"runtimeExecutable": "node",
17+
"runtimeArgs": ["--loader", "ts-node/esm", "--no-warnings=ExperimentalWarning"],
18+
"program": "${workspaceFolder}/bin/dev.js",
19+
"args": ["hello", "world"]
20+
}
21+
]
22+
}

bin/dev.cmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
3+
node --loader ts-node/esm --no-warnings=ExperimentalWarning "%~dp0\dev" %*

0 commit comments

Comments
 (0)