Skip to content

Commit

Permalink
Merge pull request #24 from hildjj/update-deps
Browse files Browse the repository at this point in the history
Update all dependencies, and fix lint issues
  • Loading branch information
hildjj authored Jan 24, 2024
2 parents 682021e + 8daa8f4 commit ca76ab8
Show file tree
Hide file tree
Showing 18 changed files with 838 additions and 586 deletions.
41 changes: 2 additions & 39 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,56 +3,19 @@
module.exports = {
root: true,
extends: [
'@cto.af/eslint-config/typescript',
'@cto.af/eslint-config/modules',
'@cto.af/eslint-config/typescript',
'@cto.af/eslint-config/jsdoc',
'plugin:markdown/recommended',
],
ignorePatterns: [
'node_modules/',
'docs/',
'lib/',
],
parserOptions: {
ecmaVersion: '2022',
project: 'tsconfig.json',
},
rules: {
'jsdoc/no-undefined-types': 'off', // Switch to typedoc
'jsdoc/require-param-type': 'off', // Not needed in TS
'jsdoc/require-returns-type': 'off', // Not needed in TS
project: true,
},
overrides: [
{
files: ['*.ts'],
rules: {
'lines-around-comment': 'off',
'@typescript-eslint/lines-around-comment': ['error', {
allowBlockStart: true,
allowClassStart: true,
allowEnumStart: true,
allowInterfaceStart: true,
allowModuleStart: true,
allowTypeStart: true,
}],
'@typescript-eslint/lines-between-class-members': ['error', 'always', {
exceptAfterSingleLine: true,
}],
'object-curly-spacing': 'off',
'@typescript-eslint/object-curly-spacing': ['error', 'never'],
'@typescript-eslint/no-unused-vars': [
'error', {
args: 'none',
argsIgnorePattern: '^_',
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^(_|ignore)',
varsIgnorePattern: '^_',
},
],
'jsdoc/require-yields': 'off',
'no-use-before-define': 'off',
},
},
{
files: ['**/*.md/*.js'],
rules: {
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}
- name: Install pnpm
run: corepack enable
- name: Use Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x]
platform: [ubuntu-20.04]
node-version: [18.x, 20.x, 21.x]
platform: [ubuntu-latest]

runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Install pnpm
run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ coverage/
docs/
lib/
node_modules/
examples/pnpm-lock.yaml
3 changes: 3 additions & 0 deletions .ncurc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dep": ["prod", "dev", "packageManager"]
}
8 changes: 4 additions & 4 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
.eslintrc.cjs
.github/
.gitmodules
.vscode/
coverage/
deno.jsonc
deno.lock
docs/
examples/
pnpm-lock.yaml
src/
test-vectors/
test/
tsconfig.json
tsup.config.js
typedoc.config.cjs
examples/
.vscode/
web/
deno.lock
deno.jsonc
18 changes: 18 additions & 0 deletions examples/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@
"name": "Joe Hildebrand",
"email": "[email protected]"
},
"packageManager": "pnpm@8.6.10",
"packageManager": "pnpm@8.14.3",
"devDependencies": {
"@cto.af/eslint-config": "3.0.1",
"@typescript-eslint/eslint-plugin": "6.5.0",
"@typescript-eslint/parser": "6.5.0",
"c8": "8.0.1",
"eslint": "8.48.0",
"eslint-plugin-jsdoc": "46.5.1",
"@cto.af/eslint-config": "3.1.0",
"@typescript-eslint/eslint-plugin": "6.19.1",
"@typescript-eslint/parser": "6.19.1",
"c8": "9.1.0",
"eslint": "8.56.0",
"eslint-plugin-jsdoc": "48.0.2",
"eslint-plugin-markdown": "3.0.1",
"rimraf": "^5.0.1",
"tsup": "7.2.0",
"typedoc": "0.25.0"
"rimraf": "^5.0.5",
"tsup": "8.0.1",
"typedoc": "0.25.7"
},
"license": "MIT",
"engines": {
Expand Down
Loading

0 comments on commit ca76ab8

Please sign in to comment.