Skip to content

Commit

Permalink
Maintenance (#184)
Browse files Browse the repository at this point in the history
* maintenance
  • Loading branch information
Bnaya committed Apr 27, 2024
1 parent e5afeeb commit 0096248
Show file tree
Hide file tree
Showing 11 changed files with 4,478 additions and 5,186 deletions.
4 changes: 2 additions & 2 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"/codesandbox-examples/sort-array-on-webworker-no-data-copy",
"/codesandbox-examples/comlink-demo-sort-array-on-webworker-no-data-copy"
],
"node": "14"
}
"node": "20"
}
19 changes: 5 additions & 14 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,14 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [16, 18, 20]
node: [18, 20, 22]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Cache node modules
uses: actions/cache@v2
with:
path: |
node_modules
.yarn/cache
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/*.yml') }}
restore-keys: |
${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
${{ runner.OS }}-build
- run: corepack enable

- name: yarn install
run: yarn --immutable
Expand All @@ -48,7 +39,7 @@ jobs:
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: "110%"
comment-always: ${{ matrix.node == 14 }}
comment-always: ${{ matrix.node == 30 }}
comment-on-alert: true
fail-on-alert: true
alert-comment-cc-users: "@bnaya"
19 changes: 5 additions & 14 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
uses: actions/checkout@4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Setup Node.js 18.x
uses: actions/setup-node@master
- name: Setup Node.js 20.x
uses: actions/setup-node@4
with:
node-version: 18.x
node-version: 2.x

- name: Cache node modules
uses: actions/cache@v2
with:
path: |
node_modules
.yarn/cache
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/*.yml') }}
restore-keys: |
${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
${{ runner.OS }}-build
- run: corepack enable

- name: yarn install
run: yarn --immutable
Expand Down
49 changes: 11 additions & 38 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,12 @@ jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Cache node modules
uses: actions/cache@v2
with:
path: |
node_modules
.yarn/cache
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/*.yml') }}
restore-keys: |
${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
${{ runner.OS }}-build
- run: corepack enable

- name: yarn install
run: yarn --immutable
Expand All @@ -34,23 +25,14 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
node: [16, 18, 20]
node: [18, 20, 22]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Cache node modules
uses: actions/cache@v2
with:
path: |
node_modules
.yarn/cache
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/*.yml') }}
restore-keys: |
${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
${{ runner.OS }}-build
- run: corepack enable

- name: yarn install
run: yarn --immutable
Expand All @@ -61,7 +43,7 @@ jobs:
shell: bash

- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v1.0.1
uses: coverallsapp/github-action@v2.2.3
# env:
# NODE_COVERALLS_DEBUG: 1
with:
Expand All @@ -71,21 +53,12 @@ jobs:
runs-on: ubuntu-20.04
needs: [lint, test]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Cache node modules
uses: actions/cache@v2
with:
path: |
node_modules
.yarn/cache
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/*.yml') }}
restore-keys: |
${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
${{ runner.OS }}-build
- run: corepack enable

- name: yarn install
run: yarn --immutable
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.3.0
lts/iron
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
140
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"debug.javascript.usePreviewAutoAttach": true,
"debug.javascript.usePreview": true
Expand Down
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

823 changes: 0 additions & 823 deletions .yarn/releases/yarn-3.3.1.cjs

This file was deleted.

8 changes: 2 additions & 6 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
compressionLevel: mixed

yarnPath: .yarn/releases/yarn-3.3.1.cjs
nodeLinker: node-modules
47 changes: 22 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,45 +45,45 @@
"benchmark": "node benchmarks/main-register-ts-node.js"
},
"devDependencies": {
"@babel/cli": "^7.22.5",
"@babel/core": "^7.22.5",
"@babel/node": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@changesets/cli": "^2.26.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/benchmark": "^2.1.2",
"@types/jest": "^29.5.2",
"@types/node": "^18.16.18",
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.4",
"@babel/node": "^7.23.9",
"@babel/preset-env": "^7.24.4",
"@babel/preset-typescript": "^7.24.1",
"@changesets/cli": "^2.27.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/benchmark": "^2.1.5",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"assemblyscript": "^0.27.5",
"babel-loader": "^9.1.2",
"benchmark": "^2.1.4",
"concurrently": "^7.6.0",
"core-js": "^3.31.0",
"core-js": "^3.37.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"expose-gc": "^1.0.0",
"gh-pages": "^5.0.0",
"html-webpack-plugin": "^5.5.3",
"html-webpack-plugin": "^5.6.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest": "^29.7.0",
"kind-of": "^6.0.3",
"prettier": "^2.8.8",
"prettier-eslint": "^15.0.1",
"rimraf": "^4.4.1",
"rollup": "^3.25.1",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^10.9.1",
"ts-node": "^10.9.2",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.3",
"typescript": "^5.1.3",
"webpack": "^5.87.0",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-dev-server": "^4.15.2",
"worker-loader": "^3.0.8"
},
"files": [
Expand All @@ -93,8 +93,5 @@
"COMMIT",
"LICENSE"
],
"packageManager": "yarn@3.3.1",
"volta": {
"node": "20.3.0"
}
"packageManager": "yarn@4.1.1"
}
Loading

0 comments on commit 0096248

Please sign in to comment.