Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #457

Merged
merged 7 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
*/lib/*
*/dist/*
.DS_Store
_sass
_site
coverage
dist/*
node_modules
package-lock.json
packages/*/dist/*

.env
.env.*
!.env.example
3 changes: 3 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"plugin:mocha/recommended"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
},
"env": {
"browser": true,
"node": true,
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: Node.js CI

on:
push:
branches: [ main ]
branches: [main]

pull_request:
branches: [ main ]
branches: [main]

jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -21,9 +21,9 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- name: "Setup tests"
- name: 'Setup tests'
run: bash test/setup.sh
- name: "Run basic tests"
- name: 'Run basic tests'
run: bash test/run.sh

integration:
Expand All @@ -36,14 +36,14 @@ jobs:
node-version: 'lts/*'
cache: 'npm'
- run: npm install
- name: "Setup dist"
- name: 'Setup dist'
run: bash test/setup.sh --dist
- name: "Run complete test suite"
- name: 'Run complete test suite'
run: bash test/run.sh --dist
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
15 changes: 15 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"printWidth": 120,
"singleQuote": true,
"tabWidth": 4,
"useTabs": true,
"overrides": [
{
"files": ["*.json", "*.yml"],
"options": {
"tabWidth": 2,
"useTabs": false
}
}
]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![npm version](https://badge.fury.io/js/linkifyjs.svg)](https://www.npmjs.com/package/linkifyjs)
[![CI](https://github.com/Hypercontext/linkifyjs/actions/workflows/ci.yml/badge.svg)](https://github.com/Hypercontext/linkifyjs/actions/workflows/ci.yml)
[![BrowserStack Status](https://automate.browserstack.com/badge.svg?badge_key=MzZ5d0h5czFJc1hydmVEbElLdnQyQzZVbjZSMlFvTXZ6ZGI0NGwyMUNNdz0tLWxUZ2FjVFB4d0JJK2NaZ1dvTFBoQ2c9PQ==--a4eae4c0338710174c2b122aee02e8a2af3fc8f9)](https://automate.browserstack.com/public-build/MzZ5d0h5czFJc1hydmVEbElLdnQyQzZVbjZSMlFvTXZ6ZGI0NGwyMUNNdz0tLWxUZ2FjVFB4d0JJK2NaZ1dvTFBoQ2c9PQ==--a4eae4c0338710174c2b122aee02e8a2af3fc8f9)
[![BrowserStack Status](https://automate.browserstack.com/badge.svg?badge_key=alN1cUFSYVI3Yitudjh6NkJuNURhVy9sRHQ0RXE2L0t2RWpDY3lHM3Rtbz0tLVZScU8rRHAyMWRoYjVVY000elJybHc9PQ==--35ad6d7d5981f5bc0efdb7b6ba78972d8174e7e5)](https://automate.browserstack.com/public-build/alN1cUFSYVI3Yitudjh6NkJuNURhVy9sRHQ0RXE2L0t2RWpDY3lHM3Rtbz0tLVZScU8rRHAyMWRoYjVVY000elJybHc9PQ==--35ad6d7d5981f5bc0efdb7b6ba78972d8174e7e5)
[![Coverage Status](https://coveralls.io/repos/github/Hypercontext/linkifyjs/badge.svg?branch=main)](https://coveralls.io/github/Hypercontext/linkifyjs?branch=main)

Linkify is a JavaScript plugin. Use Linkify to find links in plain-text and
Expand Down
13 changes: 5 additions & 8 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,15 @@ module.exports = (api) => {
loose: true,
targets: {
node: '10',
browsers: [
'defaults',
'maintained node versions'
]
}
}
]
browsers: ['defaults', 'maintained node versions'],
},
},
],
];

return {
presets,
sourceType: 'module',
babelrcRoots: ['.', 'packages/*']
babelrcRoots: ['.', 'packages/*'],
};
};
Loading
Loading