mazey 5.6.0 → 5.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Mazey v5.6.0 https://github.com/chengchuu/mazey
2
+ * Mazey v5.6.1 https://github.com/chengchuu/mazey
3
3
  * (c) 2018-2026 Cheng
4
4
  * Released under the MIT License.
5
5
  */
package/lib/index.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Mazey v5.6.0 https://github.com/chengchuu/mazey
2
+ * Mazey v5.6.1 https://github.com/chengchuu/mazey
3
3
  * (c) 2018-2026 Cheng
4
4
  * Released under the MIT License.
5
5
  */
package/lib/mazey.min.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Mazey v5.6.0 https://github.com/chengchuu/mazey
2
+ * Mazey v5.6.1 https://github.com/chengchuu/mazey
3
3
  * (c) 2018-2026 Cheng
4
4
  * Released under the MIT License.
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mazey",
3
- "version": "5.6.0",
3
+ "version": "5.6.1",
4
4
  "description": "A functional library for daily frontend work.",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.esm.js",
@@ -27,10 +27,10 @@
27
27
  "test": "jest",
28
28
  "test:debug": "npm run build:debug && npm run test",
29
29
  "test:coverage": "npm run build:debug && npx jest --coverage",
30
- "typecheck": "tsc --noEmit && tsc --noEmit --project ./scripts/tsconfig.webpack.json",
30
+ "typecheck": "tsc --noEmit && tsc --noEmit --project ./scripts/tsconfig.webpack.json && tsc --noEmit --project ./scripts/tsconfig.test.json",
31
31
  "lint": "eslint --ext 'js,ts,tsx,mjs' ./src ./test ./scripts ./types ./examples ./site ./project.config.js",
32
32
  "lint:fix": "npm run lint -- --fix",
33
- "format:check": "prettier --check ./.eslintrc ./.github/workflows/pages.yml ./.github/workflows/publish-npm.yml ./examples/index.html ./examples/index.ts ./package.json ./project.config.js ./scripts/build-pages.js ./scripts/preview-pages.js ./scripts/project-config-utils.js ./scripts/validate-pwa.js ./scripts/validate-seo.js ./scripts/webpack.config.dev.js ./site ./test/playground.test.js ./test/pwa.test.js ./test/service-worker.test.js ./test/site.test.js ./test/theme.test.js",
33
+ "format:check": "prettier --check ./.eslintrc ./.babelrc ./.github/workflows/pages.yml ./.github/workflows/publish-npm.yml ./examples ./package.json ./project.config.js ./scripts/build-pages.js ./scripts/preview-pages.js ./scripts/project-config-utils.js ./scripts/tsconfig.test.json ./scripts/tsconfig.webpack.json ./scripts/validate-pwa.js ./scripts/validate-seo.js ./scripts/webpack.config.dev.js ./site ./test/playground ./test/pwa.test.js ./test/service-worker.test.js ./test/site.test.js ./test/theme.test.js",
34
34
  "docs": "typedoc --out ./docs/api --readme ./README.md --excludeProtected --excludePrivate --excludeInternal --hideGenerator && npm run build:site && node scripts/build-pages.js && npm run seo:validate && npm run pwa:validate",
35
35
  "seo:validate": "node scripts/validate-seo.js",
36
36
  "pwa:validate": "node scripts/validate-pwa.js",
@@ -87,6 +87,7 @@
87
87
  "@babel/plugin-transform-object-rest-spread": "^7.22.15",
88
88
  "@babel/plugin-transform-runtime": "^7.23.2",
89
89
  "@babel/preset-env": "^7.23.2",
90
+ "@babel/preset-react": "^7.28.5",
90
91
  "@babel/preset-typescript": "^7.23.2",
91
92
  "@babel/runtime": "^7.23.2",
92
93
  "@babel/runtime-corejs3": "^7.23.2",
@@ -94,6 +95,13 @@
94
95
  "@rollup/plugin-commonjs": "^25.0.7",
95
96
  "@rollup/plugin-node-resolve": "^16.0.3",
96
97
  "@rollup/plugin-terser": "^0.4.4",
98
+ "@testing-library/dom": "^10.4.1",
99
+ "@testing-library/jest-dom": "^7.0.0",
100
+ "@testing-library/react": "^16.3.2",
101
+ "@testing-library/user-event": "^14.6.1",
102
+ "@types/jest": "^29.5.14",
103
+ "@types/react": "^19.2.17",
104
+ "@types/react-dom": "^19.2.3",
97
105
  "@typescript-eslint/eslint-plugin": "^6.12.0",
98
106
  "@typescript-eslint/parser": "^6.12.0",
99
107
  "bootstrap": "5.3.8",
@@ -106,14 +114,18 @@
106
114
  "eslint-plugin-import": "^2.29.0",
107
115
  "eslint-plugin-node": "^11.1.0",
108
116
  "eslint-plugin-promise": "^6.1.1",
117
+ "eslint-plugin-react-hooks": "^7.1.1",
109
118
  "eslint-plugin-standard": "^4.1.0",
110
119
  "execa": "^5.1.1",
111
120
  "html-webpack-plugin": "^5.5.3",
112
121
  "jest": "^29.7.0",
113
122
  "jest-environment-jsdom": "^29.7.0",
114
123
  "markdown-toc": "^1.2.0",
124
+ "mazey": "^5.6.0",
115
125
  "mini-css-extract-plugin": "^2.9.2",
116
126
  "prettier": "^2.8.8",
127
+ "react": "19.2.8",
128
+ "react-dom": "19.2.8",
117
129
  "rollup": "^3.29.4",
118
130
  "rollup-plugin-cleaner": "^1.0.0",
119
131
  "rollup-plugin-copy": "^3.4.0",