Skip to content

Commit

Permalink
Merge pull request #55 from homer0/next
Browse files Browse the repository at this point in the history
Drop Node 16 support & update dependencies
  • Loading branch information
homer0 authored Oct 6, 2023
2 parents 4a9ba80 + 2be28d0 commit 710d8f0
Show file tree
Hide file tree
Showing 7 changed files with 3,129 additions and 15,701 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: echo "::set-output name=NVMRC::$(cat .nvmrc)"
id: nvm
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- name: Node.js
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version-file: '.nvmrc'
- name: Install dependencies
env:
HUSKY: 0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '16', '18' ]
node: [ '18', '20' ]
name: Run jest and ESLint (Node ${{ matrix.node }})
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm ci
Expand Down
39 changes: 22 additions & 17 deletions .jsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,44 @@ const packageJson = require('./package.json');
module.exports = {
source: {
include: ['./src'],
includePattern: '.js$'
includePattern: '.js$',
},
plugins: [
'docdash/nativeTypesPlugin',
'jsdoc-ts-utils',
'plugins/markdown',
],
plugins: ['docdash/nativeTypesPlugin', 'jsdoc-ts-utils', 'plugins/markdown'],
templates: {
cleverLinks: true,
default: {
includeDate: false
}
includeDate: false,
},
},
opts: {
recurse: true,
destination: './docs',
readme: 'README.md',
template: 'node_modules/docdash'
template: 'node_modules/docdash',
},
docdash: {
title: packageJson.name,
meta: {
title: `${packageJson.name} docs`,
},
sectionOrder: [
'Classes',
],
sectionOrder: ['Classes'],
collapse: true,
menu: {
'GitHub': {
href: `https://github.com/${packageJson.repository}`,
target: '_blank',
refLinks: [
{
title: 'View the package on Yarn',
url: `https://yarnpkg.com/package/${packageJson.name}`,
type: 'yarn',
},
},
{
title: 'Go to the GitHub repository',
url: `https://github.com/${packageJson.repository}`,
type: 'github',
},
{
title: 'View the package on NPM',
url: `https://www.npmjs.com/package/${packageJson.name}`,
type: 'npm',
},
],
},
};
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ docs
tests
utils
yarn-error.log
npm-debug.log
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Parserror

[![GitHub Workflow Status (main)](https://img.shields.io/github/actions/workflow/status/homer0/parserror/test.yml?branch=main&style=flat-square)](https://github.com/homer0/parserror/actions?query=workflow%3ATest)
[![Coveralls github](https://img.shields.io/coveralls/github/homer0/parserror.svg?style=flat-square)](https://coveralls.io/github/homer0/parserror?branch=main)
[![GitHub Workflow Status (main)](https://img.shields.io/github/actions/workflow/status/homer0/parserror/test.yml?branch=main&style=flat-square)](https://github.com/homer0/parserror/actions/workflows/test.yml?query=branch%3Amain)
[![Coveralls GitHub](https://img.shields.io/coveralls/github/homer0/parserror.svg?style=flat-square)](https://coveralls.io/github/homer0/parserror?branch=main)

Parse errors and generate more human messages

Expand Down
Loading

0 comments on commit 710d8f0

Please sign in to comment.