Skip to content

Commit

Permalink
Merge pull request #4 from freeshineit/develop
Browse files Browse the repository at this point in the history
ci: add node@22.x
  • Loading branch information
freeshineit committed Jun 1, 2024
2 parents 51e09d8 + acf2fe1 commit e62ab6f
Show file tree
Hide file tree
Showing 5 changed files with 796 additions and 722 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ module.exports = {
sourceType: 'module',
project: ['./tsconfig.json'],
},
rules: {},
rules: {
'@typescript-eslint/unbound-method': 'off',
},
};
2 changes: 1 addition & 1 deletion .github/workflows/cl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
node-version: [18.x, 20.x, 21.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,37 @@
"scripts": {
"dev": "webpack server --mode development --open",
"build": "rimraf dist && webpack --mode production",
"prepare": "husky",
"preinstall": "npx only-allow yarn",
"lint": "npx eslint .",
"fmt": "prettier --write \"**/*.{js,cjs,ts,tsx,scss,css}\""
},
"devDependencies": {
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@swc/core": "^1.4.5",
"@swc/helpers": "^0.5.6",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@swc/core": "^1.4.12",
"@swc/helpers": "^0.5.8",
"@types/node": "^20.11.25",
"@wasm-tool/wasm-pack-plugin": "^1.7.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.10.0",
"css-loader": "^7.0.0",
"eslint": "^8.57.0",
"eslint-config-xx": "^1.9.0",
"eslint-config-xx": "^1.10.0",
"husky": "^9.0.11",
"only-allow": "^1.2.1",
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0",
"rimraf": "^5.0.5",
"sass": "^1.71.1",
"sass": "^1.74.1",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"swc-loader": "^0.2.6",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"wasm-pack": "^0.12.1",
"webpack": "^5.90.3",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.2"
"webpack-dev-server": "^5.0.4"
},
"files": [
"dist"
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = (env, argv) => {
filename: 'index.js',
webassemblyModuleFilename: 'index.wasm',
},
devtool: isProd ? false : 'cheap-module-source-map',
module: {
rules: [
{
Expand Down
Loading

0 comments on commit e62ab6f

Please sign in to comment.