diff --git a/CHANGELOG.md b/CHANGELOG.md index 13815de75..90cca475c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## [1.0.45-pre.0](https://github.com/shuvijs/shuvi/compare/v1.0.44...v1.0.45-pre.0) (2023-12-19) + + +### Features + +* add basename hook ([6928d9e](https://github.com/shuvijs/shuvi/commit/6928d9e50d3e8ea4d8e20bcd563fda015f1de6c4)) +* **router:** add basename ([43be8bd](https://github.com/shuvijs/shuvi/commit/43be8bde82798f0175bcd6f2e4e1477f51d1aeed)) + + + ## [1.0.44](https://github.com/shuvijs/shuvi/compare/v1.0.43...v1.0.44) (2023-12-12) diff --git a/package.json b/package.json index dcbfe82d0..90483d0b1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shuvi", "private": true, - "version": "1.0.44", + "version": "1.0.45-pre.0", "workspaces": [ "packages/*" ], diff --git a/packages/compiler/package.json b/packages/compiler/package.json index e71778ce2..4add3a224 100644 --- a/packages/compiler/package.json +++ b/packages/compiler/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/compiler", - "version": "1.0.44", + "version": "1.0.45-pre.0", "main": "./lib/index.js", "types": "./lib/index.d.ts", "files": [ diff --git a/packages/create-shuvi/package.json b/packages/create-shuvi/package.json index 0e987e0b4..70f53e5f3 100644 --- a/packages/create-shuvi/package.json +++ b/packages/create-shuvi/package.json @@ -1,6 +1,6 @@ { "name": "create-shuvi", - "version": "1.0.44", + "version": "1.0.45-pre.0", "keywords": [ "react", "shuvi", diff --git a/packages/error-overlay/package.json b/packages/error-overlay/package.json index 3dfb8138b..11318093e 100644 --- a/packages/error-overlay/package.json +++ b/packages/error-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/error-overlay", - "version": "1.0.44", + "version": "1.0.45-pre.0", "main": "umd/index.js", "types": "lib/index.d.ts", "files": [ @@ -23,8 +23,8 @@ }, "dependencies": { "@babel/code-frame": "7.14.5", - "@shuvi/shared": "1.0.44", - "@shuvi/toolpack": "1.0.44", + "@shuvi/shared": "1.0.45-pre.0", + "@shuvi/toolpack": "1.0.45-pre.0", "anser": "1.4.9", "data-uri-to-buffer": "3.0.1", "html-entities": "2.3.2", diff --git a/packages/eslint-config-shuvi/package.json b/packages/eslint-config-shuvi/package.json index c2522408b..9059d14a8 100644 --- a/packages/eslint-config-shuvi/package.json +++ b/packages/eslint-config-shuvi/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-shuvi", - "version": "1.0.44", + "version": "1.0.45-pre.0", "description": "ESLint configuration used by Shuvi.", "main": "index.js", "license": "MIT", @@ -12,8 +12,8 @@ "scripts": {}, "dependencies": { "@babel/eslint-parser": "7.18.2", - "@shuvi/toolpack": "1.0.44", - "@shuvi/eslint-plugin-shuvi": "1.0.44", + "@shuvi/toolpack": "1.0.45-pre.0", + "@shuvi/eslint-plugin-shuvi": "1.0.45-pre.0", "@rushstack/eslint-patch": "^1.1.3", "@typescript-eslint/parser": "^5.42.0", "eslint-import-resolver-node": "^0.3.6", diff --git a/packages/eslint-plugin-shuvi/package.json b/packages/eslint-plugin-shuvi/package.json index 3956c3d09..819fb7e09 100644 --- a/packages/eslint-plugin-shuvi/package.json +++ b/packages/eslint-plugin-shuvi/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/eslint-plugin-shuvi", - "version": "1.0.44", + "version": "1.0.45-pre.0", "description": "ESLint plugin for Shuvi.", "main": "lib/index.js", "license": "MIT", @@ -18,8 +18,8 @@ "build": "tsc -p tsconfig.json" }, "dependencies": { - "@shuvi/router": "1.0.44", - "@shuvi/platform-shared": "1.0.44" + "@shuvi/router": "1.0.45-pre.0", + "@shuvi/platform-shared": "1.0.45-pre.0" }, "devDependencies": { "@types/eslint": "7.28.0", diff --git a/packages/hook/package.json b/packages/hook/package.json index b7c00b0d6..b704d627c 100644 --- a/packages/hook/package.json +++ b/packages/hook/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/hook", - "version": "1.0.44", + "version": "1.0.45-pre.0", "license": "MIT", "main": "lib/index.js", "module": "esm/index.js", diff --git a/packages/platform-shared/package.json b/packages/platform-shared/package.json index d4d3fcc0e..89f0ac12b 100644 --- a/packages/platform-shared/package.json +++ b/packages/platform-shared/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/platform-shared", - "version": "1.0.44", + "version": "1.0.45-pre.0", "repository": { "type": "git", "url": "git+https://github.com/shuvijs/shuvi.git", @@ -83,16 +83,16 @@ "node": ">= 16.0.0" }, "dependencies": { - "@shuvi/hook": "1.0.44", + "@shuvi/hook": "1.0.45-pre.0", "doura": "0.0.13", - "@shuvi/router": "1.0.44", - "@shuvi/runtime": "1.0.44", - "@shuvi/shared": "1.0.44", - "@shuvi/toolpack": "1.0.44", - "@shuvi/utils": "1.0.44" + "@shuvi/router": "1.0.45-pre.0", + "@shuvi/runtime": "1.0.45-pre.0", + "@shuvi/shared": "1.0.45-pre.0", + "@shuvi/toolpack": "1.0.45-pre.0", + "@shuvi/utils": "1.0.45-pre.0" }, "peerDependencies": { - "@shuvi/service": "1.0.44" + "@shuvi/service": "1.0.45-pre.0" }, "devDependencies": { "@shuvi/service": "workspace:*", diff --git a/packages/platform-web/package.json b/packages/platform-web/package.json index 039d61611..bb89640f8 100644 --- a/packages/platform-web/package.json +++ b/packages/platform-web/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/platform-web", - "version": "1.0.44", + "version": "1.0.45-pre.0", "repository": { "type": "git", "url": "git+https://github.com/shuvijs/shuvi.git", @@ -72,15 +72,15 @@ }, "dependencies": { "@next/react-refresh-utils": "12.1.6", - "@shuvi/error-overlay": "1.0.44", - "@shuvi/hook": "1.0.44", - "@shuvi/platform-shared": "1.0.44", - "@shuvi/router": "1.0.44", - "@shuvi/router-react": "1.0.44", - "@shuvi/runtime": "1.0.44", - "@shuvi/shared": "1.0.44", - "@shuvi/toolpack": "1.0.44", - "@shuvi/utils": "1.0.44", + "@shuvi/error-overlay": "1.0.45-pre.0", + "@shuvi/hook": "1.0.45-pre.0", + "@shuvi/platform-shared": "1.0.45-pre.0", + "@shuvi/router": "1.0.45-pre.0", + "@shuvi/router-react": "1.0.45-pre.0", + "@shuvi/runtime": "1.0.45-pre.0", + "@shuvi/shared": "1.0.45-pre.0", + "@shuvi/toolpack": "1.0.45-pre.0", + "@shuvi/utils": "1.0.45-pre.0", "content-type": "1.0.4", "core-js": "3.6.5", "doura": "0.0.13", @@ -98,7 +98,7 @@ "whatwg-fetch": "3.0.0" }, "peerDependencies": { - "@shuvi/service": "1.0.44" + "@shuvi/service": "1.0.45-pre.0" }, "devDependencies": { "@shuvi/service": "workspace:*", diff --git a/packages/reporters/package.json b/packages/reporters/package.json index d00f21bd1..1a793b0b7 100644 --- a/packages/reporters/package.json +++ b/packages/reporters/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/reporters", - "version": "1.0.44", + "version": "1.0.45-pre.0", "author": "liximomo", "license": "MIT", "main": "lib/index.js", @@ -13,8 +13,8 @@ "build": "tsc -p tsconfig.build.json -m commonjs" }, "dependencies": { - "@shuvi/shared": "1.0.44", - "@shuvi/utils": "1.0.44", + "@shuvi/shared": "1.0.45-pre.0", + "@shuvi/utils": "1.0.45-pre.0", "conf": "5.0.0", "is-docker": "2.0.0", "is-wsl": "2.2.0", diff --git a/packages/router-react/package.json b/packages/router-react/package.json index 2eca7d930..7e8df3ebf 100644 --- a/packages/router-react/package.json +++ b/packages/router-react/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/router-react", - "version": "1.0.44", + "version": "1.0.45-pre.0", "repository": { "type": "git", "url": "git+https://github.com/shuvijs/shuvi.git", @@ -28,9 +28,9 @@ "node": ">= 16.0.0" }, "dependencies": { - "@shuvi/router": "1.0.44", - "@shuvi/platform-shared": "1.0.44", - "@shuvi/utils": "1.0.44", + "@shuvi/router": "1.0.45-pre.0", + "@shuvi/platform-shared": "1.0.45-pre.0", + "@shuvi/utils": "1.0.45-pre.0", "prop-types": "^15.8.1", "use-sync-external-store": "1.2.0" }, diff --git a/packages/router/package.json b/packages/router/package.json index 93947eca0..53e62f906 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/router", - "version": "1.0.44", + "version": "1.0.45-pre.0", "repository": { "type": "git", "url": "git+https://github.com/shuvijs/shuvi.git", @@ -28,7 +28,7 @@ "node": ">= 16.0.0" }, "dependencies": { - "@shuvi/utils": "1.0.44", + "@shuvi/utils": "1.0.45-pre.0", "query-string": "6.13.8" } } diff --git a/packages/runtime/package.json b/packages/runtime/package.json index f5e1def7a..321ad5c31 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/runtime", - "version": "1.0.44", + "version": "1.0.45-pre.0", "repository": { "type": "git", "url": "git+https://github.com/shuvijs/shuvi.git", @@ -26,7 +26,7 @@ "build:cjs": "tsc -p tsconfig.build.json -m commonjs --outDir lib" }, "dependencies": { - "@shuvi/hook": "1.0.44" + "@shuvi/hook": "1.0.45-pre.0" }, "engines": { "node": ">= 16.0.0" diff --git a/packages/service/package.json b/packages/service/package.json index 523d21fe1..79a1ea28c 100644 --- a/packages/service/package.json +++ b/packages/service/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/service", - "version": "1.0.44", + "version": "1.0.45-pre.0", "repository": { "type": "git", "url": "git+https://github.com/shuvijs/shuvi.git", @@ -29,14 +29,14 @@ "@babel/generator": "7.14.5", "@babel/parser": "7.14.7", "@babel/traverse": "7.14.7", - "@shuvi/hook": "1.0.44", - "@shuvi/router": "1.0.44", - "@shuvi/runtime": "1.0.44", - "@shuvi/shared": "1.0.44", - "@shuvi/toolpack": "1.0.44", - "@shuvi/utils": "1.0.44", - "@shuvi/error-overlay": "1.0.44", - "@shuvi/reporters": "1.0.44", + "@shuvi/hook": "1.0.45-pre.0", + "@shuvi/router": "1.0.45-pre.0", + "@shuvi/runtime": "1.0.45-pre.0", + "@shuvi/shared": "1.0.45-pre.0", + "@shuvi/toolpack": "1.0.45-pre.0", + "@shuvi/utils": "1.0.45-pre.0", + "@shuvi/error-overlay": "1.0.45-pre.0", + "@shuvi/reporters": "1.0.45-pre.0", "commander": "5.1.0", "comment-json": "4.2.2", "cross-spawn": "7.0.3", diff --git a/packages/shared/package.json b/packages/shared/package.json index 4556120dc..75ba36603 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/shared", - "version": "1.0.44", + "version": "1.0.45-pre.0", "repository": { "type": "git", "url": "git+https://github.com/shuvijs/shuvi.git", @@ -37,6 +37,6 @@ "node": ">= 16.0.0" }, "dependencies": { - "@shuvi/hook": "1.0.44" + "@shuvi/hook": "1.0.45-pre.0" } } diff --git a/packages/shuvi/package.json b/packages/shuvi/package.json index 04c456737..306e6186e 100644 --- a/packages/shuvi/package.json +++ b/packages/shuvi/package.json @@ -1,6 +1,6 @@ { "name": "shuvi", - "version": "1.0.44", + "version": "1.0.45-pre.0", "description": "Full Stack Web development framework.", "repository": { "type": "git", @@ -30,13 +30,13 @@ "find-up": "4.1.0", "semver": "7.3.2", "cli-select": "1.1.2", - "@shuvi/platform-shared": "1.0.44", - "@shuvi/platform-web": "1.0.44", - "@shuvi/service": "1.0.44", - "@shuvi/shared": "1.0.44", - "@shuvi/toolpack": "1.0.44", - "@shuvi/utils": "1.0.44", - "@shuvi/reporters": "1.0.44", + "@shuvi/platform-shared": "1.0.45-pre.0", + "@shuvi/platform-web": "1.0.45-pre.0", + "@shuvi/service": "1.0.45-pre.0", + "@shuvi/shared": "1.0.45-pre.0", + "@shuvi/toolpack": "1.0.45-pre.0", + "@shuvi/utils": "1.0.45-pre.0", + "@shuvi/reporters": "1.0.45-pre.0", "cli-highlight": "^2.1.9", "commander": "10.0.0", "cross-spawn": "7.0.3", diff --git a/packages/toolpack/package.json b/packages/toolpack/package.json index 28a8ce22b..acd769b49 100644 --- a/packages/toolpack/package.json +++ b/packages/toolpack/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/toolpack", - "version": "1.0.44", + "version": "1.0.45-pre.0", "repository": { "type": "git", "url": "git+https://github.com/shuvijs/shuvi.git", @@ -20,7 +20,7 @@ "node": ">= 16.0.0" }, "dependencies": { - "@shuvi/compiler": "1.0.44", + "@shuvi/compiler": "1.0.45-pre.0", "@babel/core": "7.12.10", "@babel/plugin-proposal-class-properties": "7.12.1", "@babel/plugin-proposal-nullish-coalescing-operator": "7.10.1", @@ -35,8 +35,8 @@ "@babel/preset-typescript": "7.12.7", "@babel/runtime": "7.12.5", "lightningcss": "1.19.0", - "@shuvi/shared": "1.0.44", - "@shuvi/utils": "1.0.44", + "@shuvi/shared": "1.0.45-pre.0", + "@shuvi/utils": "1.0.45-pre.0", "babel-loader": "8.2.2", "babel-plugin-syntax-jsx": "6.18.0", "babel-plugin-transform-define": "2.0.0", diff --git a/packages/utils/package.json b/packages/utils/package.json index cb8b11e81..dc100b790 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@shuvi/utils", - "version": "1.0.44", + "version": "1.0.45-pre.0", "repository": { "type": "git", "url": "git+https://github.com/shuvijs/shuvi.git", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a3c48eb59..d8cfd5111 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -239,10 +239,10 @@ importers: specifier: 7.14.5 version: 7.14.5 '@shuvi/shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../shared '@shuvi/toolpack': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../toolpack anser: specifier: 1.4.9 @@ -315,10 +315,10 @@ importers: specifier: ^1.1.3 version: 1.2.0 '@shuvi/eslint-plugin-shuvi': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../eslint-plugin-shuvi '@shuvi/toolpack': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../toolpack '@typescript-eslint/parser': specifier: ^5.42.0 @@ -351,10 +351,10 @@ importers: packages/eslint-plugin-shuvi: dependencies: '@shuvi/platform-shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../platform-shared '@shuvi/router': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../router devDependencies: '@types/eslint': @@ -369,22 +369,22 @@ importers: packages/platform-shared: dependencies: '@shuvi/hook': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../hook '@shuvi/router': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../router '@shuvi/runtime': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../runtime '@shuvi/shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../shared '@shuvi/toolpack': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../toolpack '@shuvi/utils': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../utils doura: specifier: 0.0.13 @@ -403,31 +403,31 @@ importers: specifier: 12.1.6 version: 12.1.6(react-refresh@0.12.0) '@shuvi/error-overlay': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../error-overlay '@shuvi/hook': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../hook '@shuvi/platform-shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../platform-shared '@shuvi/router': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../router '@shuvi/router-react': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../router-react '@shuvi/runtime': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../runtime '@shuvi/shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../shared '@shuvi/toolpack': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../toolpack '@shuvi/utils': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../utils content-type: specifier: 1.0.4 @@ -506,10 +506,10 @@ importers: packages/reporters: dependencies: '@shuvi/shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../shared '@shuvi/utils': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../utils async-retry: specifier: 1.3.3 @@ -540,7 +540,7 @@ importers: packages/router: dependencies: '@shuvi/utils': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../utils query-string: specifier: 6.13.8 @@ -549,13 +549,13 @@ importers: packages/router-react: dependencies: '@shuvi/platform-shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../platform-shared '@shuvi/router': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../router '@shuvi/utils': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../utils prop-types: specifier: ^15.8.1 @@ -589,7 +589,7 @@ importers: packages/runtime: dependencies: '@shuvi/hook': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../hook packages/service: @@ -607,28 +607,28 @@ importers: specifier: 7.14.7 version: 7.14.7 '@shuvi/error-overlay': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../error-overlay '@shuvi/hook': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../hook '@shuvi/reporters': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../reporters '@shuvi/router': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../router '@shuvi/runtime': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../runtime '@shuvi/shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../shared '@shuvi/toolpack': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../toolpack '@shuvi/utils': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../utils commander: specifier: 5.1.0 @@ -707,31 +707,31 @@ importers: packages/shared: dependencies: '@shuvi/hook': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../hook packages/shuvi: dependencies: '@shuvi/platform-shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../platform-shared '@shuvi/platform-web': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../platform-web '@shuvi/reporters': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../reporters '@shuvi/service': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../service '@shuvi/shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../shared '@shuvi/toolpack': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../toolpack '@shuvi/utils': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../utils cli-highlight: specifier: ^2.1.9 @@ -807,13 +807,13 @@ importers: specifier: 7.12.5 version: 7.12.5 '@shuvi/compiler': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../compiler '@shuvi/shared': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../shared '@shuvi/utils': - specifier: 1.0.44 + specifier: 1.0.45-pre.0 version: link:../utils '@swc/helpers': specifier: 0.4.3