Skip to content
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
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
deploy:
runs-on: ubuntu-latest
container:
image: node:16
image: node:18
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set-up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
cache: 'yarn'
registry-url: 'https://registry.npmjs.org'
- name: Publish
Expand All @@ -27,7 +27,7 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build Changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v3
uses: mikepenz/release-changelog-builder-action@v4
with:
configurationJson: |
{
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,23 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: node:16
image: node:18
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
cache: 'yarn'
- name: Install
run: yarn install --frozen-lockfile --ignore-scripts --prefer-offline
- name: Test TypeScript
run: yarn test:ts
- name: Linting files
run: yarn lint
run: yarn test:lint
- name: Make coverage
run: yarn test --coverage
run: yarn test:unit --coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand Down
38 changes: 20 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@
"build": "yarn clean && rollup --config rollup.config.js --bundleConfigAsCjs && yarn finish",
"demo": "webpack serve --open --config webpack.demo.config.js",
"docs": "webpack --config webpack.demo.publish.js --mode production",
"lint": "eslint src/**/* tests/*.ts demo/**/*.js --ext .ts,.js",
"test": "jest --verbose",
"test:ts": "tsc --noEmit",
"test:lint": "eslint src/**/* tests/*.ts demo/**/*.js --ext .ts,.js",
"test:unit": "jest --verbose",
"test:all": "yarn test:ts && yarn test:lint && yarn test:unit",
"prepare": "npm run build",
"prepublishOnly": "npm run lint && npm run test",
"prepublishOnly": "npm run test:all",
"version": "git add .",
"postversion": "git push && git push --tags"
},
Expand All @@ -71,37 +73,37 @@
"jsdom": "^18.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/node": "^20.4.10",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.8.1",
"eslint": "^8.47.0",
"eslint": "^8.55.0",
"google-code-prettify": "^1.0.5",
"html-webpack-plugin": "^5.5.3",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"html-webpack-plugin": "^5.5.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.7.6",
"node-sass": "^9.0.0",
"rimraf": "^5.0.1",
"rollup": "^3.28.0",
"rimraf": "^5.0.5",
"rollup": "^4.7.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^3.4.4",
"rollup-plugin-ts": "^3.4.5",
"sass-loader": "^13.3.2",
"style-loader": "^3.3.3",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.4",
"typescript": "^5.1.6",
"webpack": "^5.88.2",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
},
"engines": {
"node": ">=12.22.0"
},
"dependencies": {
"jsdom": "^22.1.0"
"jsdom": "^23.0.1"
}
}
2 changes: 1 addition & 1 deletion scripts/clean.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh

RIMRAF="./node_modules/rimraf/dist/cjs/src/bin.js"
RIMRAF="./node_modules/rimraf/dist/esm/bin.mjs"

$RIMRAF dist/
$RIMRAF esm/
Expand Down
Loading