Commit Graph

284 Commits

Author SHA1 Message Date
dependabot[bot] 9cb3a3f56f
chore(deps): bump micromatch from 4.0.5 to 4.0.8 (#6982)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-06 10:36:29 +08:00
ClarkXia fbeaf932cb
chore: update versions (#6509) 2023-09-14 10:58:37 +08:00
luhc228 b8b1d5e41f
fix: source map url in prod files but the sourceMap files not published (#6511)
* fix: source map url in prod files

* chore: changeset
2023-09-06 10:09:59 +08:00
ClarkXia 542d86c75a
chore: update versions (#6250)
* chore: update versions

* Update CHANGELOG.md
2023-05-23 16:04:53 +08:00
ClarkXia 5266fedc7b
fix: import store source before swc compiler (#6248) 2023-05-17 15:06:17 +08:00
ClarkXia 68a95ab8c6
chore: update versions (#6147) 2023-05-16 16:06:21 +08:00
luhc228 1c3d3fec6c
feat: i18n plugin (#6149)
* feat: antd5 example with i18n

* feat: fusion example with i18n

* feat: init plugin-i18n

* feat: init i18n example

* chore: lock

* feat: add language selector

* feat: i18n route

* feat: getAllLocales and getDefaultLocale API

* fix: ssr render error

* feat: support auto redirect

* fix: redirect without url param

* feat: support add response handler

* chore: lock

* feat: support blockCookie option

* fix: route test

* fix: ssg error

* fix: i18n response

* feat: add server example

* chore: add basename

* chore: add headers

* feat: i18n docs

* fix: i18n plugin

* feat: enhance disable cookie

* docs: update disabledCookie documentation

* chore: update desc

* fix: param not defined

* fix: generate routes.ts

* fix: remove todo

* test: i18n

* test: i18n

* fix: lint warning

* fix: addDefineRoutesFunc to addRoutesDefinition

* chore: i18n plugin version

* chore: changelog

* feat: use modifyRenderData instead of runtimeOptions.raw

* chore: update changelog

* chore: rename param

* fix: comment

* feat: use createLogger instead of consola directly

* feat: change customRuntimeOptions type from string to object

* refactor: route id

* chore: remove unused console.log

* chore: add comment

* fix: win32 test fail

* chore: changelog
2023-04-24 10:18:53 +08:00
ClarkXia 4763bc7666
Refactor: router (#6123)
* chore: refactor unfinished

* feat: support create router

* refactor: render mode

* fix: code splitting false

* feat: add location for icestark

* chore: remove console

* test: examples

* fix: dataloader is undefined

* fix: test

* fix: test case

* fix: test case

* fix: types

* fix: test case

* fix: lock

* fix: update lock

* fix: hydration

* fix: router

* fix: router

* chore: log

* fix: hmr

* fix: test

* fix: test

* chore: optimize code

* Update singleRoute.test.tsx

* fix: types
2023-04-13 12:01:16 +08:00
github-actions[bot] e3ca513f56
chore: update versions (#5949)
* chore: update versions

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: ClarkXia <xiawenwu41@gmail.com>
2023-03-02 13:55:59 +08:00
ClarkXia 56fb406e8a
fix: import path of types and runtime (#5981)
* fix: import path of types and runtime

* chore: package.json

* chore: add changelog

* fix: typings

* fix: type declare
2023-02-28 15:08:10 +08:00
luhc228 8eee4f0dc9
fix: prebundle esm module error (#5935)
* fix: prebundle esm module error

* fix: test case error

* chore: changeset

* chore: release beta version

* chore: remove unused code and deps

* chore: update comment

* chore: remove debugger

* chore: changeset

* chore: release beta version
2023-02-20 10:22:46 +08:00
luhc228 db495382b2
feat: use changeset to publish and version (#5864)
* feat: add changesets config

* chore: remove version publish scripts

* chore: update ci workflow

* chore: update checkout branch step

* chore: lock

* fix: lost scripts

* fix: ts type error

* chore: remove scripts

* chore: update README

* chore: update lock

* chore: update dependency and script

* chore: remove version check

* chore: add publishConfig to package.json

* chore: update ci step

* chore: update release:beta script

* chore: add private field to examples

* chore: remove registry

* chore: update lock

* chore: update ci workflow

* chore: update workflow

* chore: update README

* chore: update changeset README

* chore: update cache key

* feat: update cache

* chore: update cache config
2023-02-13 14:48:34 +08:00
ClarkXia 68a7d2056c
chore: bump verison of plugin-store (#5868) 2023-02-07 10:13:23 +08:00
Albert f4638b002d
fix: improve the robustness of StoreProviderWrapper (#5770) 2023-01-10 14:00:32 +08:00
ClarkXia bbabb0ebd5
chore: tag version (#5760)
* chore: tag version

* chore: lock
2022-12-27 17:07:56 +08:00
ClarkXia 8b98d8a8cc
refactor: server bundle alias (#5736)
* fix: refactor server bundle alias

* chore: update lock

* fix: test case

* fix: test case

* chore: changelog

* fix: optimize code

* fix: compatible with win32

* fix: compatible with win32

* fix: compatible with win32

* fix: optimize code

Co-authored-by: ZeroLing <i@zeroling.com>
2022-12-27 10:58:18 +08:00
ZeroLing 31eb662648
chore: update repo and changelog (#5618)
* chore: add changelog and docs update

* docs: update docs repo

* Update CHANGELOG.md
2022-11-24 19:11:13 +08:00
luhc228 ee8963886b feat: modify store to storeConfig (#688) 2022-11-15 19:04:24 +08:00
ZeroLing d2c7e0696d chore: optimize (#676)
* chore: optimize with rax-compat docs

* refactor: add mock express types dependency

* refactor: change usage for definePageConfig

* chore: change docs

* docs: ICE to ice.js

* fix: templorary remove the type

* chore: handle with lint problems

* fix: lock file
2022-11-15 10:33:11 +08:00
luhc228 d9ff53302b fix: plugin-store will transform image (#639)
* fix: plugin-store will transform image

* feat: use regexp to filter module id
2022-11-15 10:33:10 +08:00
ClarkXia 7b1cb86299 refactor: type dependencies (#638)
* refactor: types dependencies

* chore: types

* fix: tsconfig

* chore: optimize code

* fix: conflict
2022-11-15 10:33:00 +08:00
luhc228 9208dae707 refactor: import app store (#596)
* fix: throw error when no app store

* fix: ts type

* refactor: import app store

* refactor: change extraContext to runtimeOptions

* feat: call render in plugin

* refactor: optimize code

* chore: remove log
2022-11-15 10:32:49 +08:00
luhc228 3f54369bff feat: store initialStates (#435)
* feat: store initialStates

* chore: update README

* chore: add file comment

* chore: rename type

* fix: peer dependencies

* fix: defineStoreConfig not found

* feat: support get the appData

* fix: test case

* fix: lock
2022-11-15 10:32:48 +08:00
luhc228 bcbf6b5804 feat: support runtime relative path (#537)
* feat: support runtime relative path

* chore: line break

* fix: not compatible with relative path

* feat: support absolute path

* docs: update plugin-dev

* docs: optimize config

* refactor: runtime staticRuntime and name

* fix: type

* chore: remove file path exists check
2022-11-15 10:32:43 +08:00
luhc228 e7424d4cb9 chore: change disableResetPageState to resetPageState (#505)
* chore: change disableResetPageState to resetPageState

* chore: add resetPageState
2022-11-15 10:31:14 +08:00
ClarkXia 11a58ed9ae fix: compatible with win32 system (#477)
* fix: compatible with win32

* fix: lint

* chore: optimize code

* fix: test case

* fix: build-scripts version

* chore: update version

* chore: update lock file

* feat: add test case of win

* fix: node matrix

* fix: format path

* fix: win32 compatible

* fix: format path
2022-11-15 10:27:42 +08:00
luhc228 c273035c2f fix: can not read store api from ice (#476) 2022-11-15 10:27:18 +08:00
luhc228 5acb8efcd6 feat: export createStore and createModel api from ice (#445) 2022-11-15 10:27:18 +08:00
luhc228 2ca66f5857 feat: store plugin (#431)
* feat: app store

* chore: store example

* chore: lock

* feat: init page store

* feat: update page store

* fix: disable reset page state

* feat: createModel

* test: with-store test

* fix: comment

* chore: lock
2022-11-15 10:23:01 +08:00
ClarkXia dae88cd271 fix: remove useless folder 2022-11-14 17:38:17 +08:00
luhc228 0f8b11f400 chore: temp 2022-11-14 17:37:37 +08:00
ClarkXia ac910ed2dc refactor: remove 2.x code 2022-11-14 17:17:45 +08:00
dependabot[bot] 2368a5b273
chore(deps): bump loader-utils from 2.0.2 to 2.0.3 (#5529)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 16:04:03 +08:00
luhc228 01e8390fb2
feat: createModel API (#5443)
* feat: createModel API

* chore: plugin-store version
2022-08-09 12:12:46 +08:00
ClarkXia 4f833cfe86
chore: version and changelog (#5133)
* chore: changelog

* fix: dts generation

* chore: update lock

* chore: version
2022-01-17 13:57:08 +08:00
Hengchang Lu 0aed0206b4
Fix: store alias error in swc (#5147)
* fix: store alias error in swc

* feat: originSourcePath is equal to aliasKey
2022-01-17 13:37:49 +08:00
Hengchang Lu 9e2e81a428
Fix: store not work in mpa(webpack mode) (#5144)
* fix: store not work in mpa

* feat: add mpa-webpack example

* chore: example name

* chore: update comment

* fix: use rootDir to replace process.cwd()

* chore: format
2022-01-17 10:56:13 +08:00
Hengchang Lu 61b767a944
fix: plugin-store use the incorrect alias (#5113)
* fix: get alias from userConfig object directly

* fix: can't get correct alias

* fix: layout nested store not work

* fix: mpa store

* chore: version

* chore: remove default alias value
2022-01-12 16:48:26 +08:00
ClarkXia 61a3e037ef
chore: update dependencies version (#4986) 2021-12-02 11:38:58 +08:00
ClarkXia 0d2ba65249
chore: version (#4927) 2021-11-18 15:06:31 +08:00
ClarkXia ba90e005c2
fix: redirect import from ice in mode vite (#4919) 2021-11-17 17:09:35 +08:00
狒狒神 810bc9df93
chore: remove swc precompile (#4895)
* chore: remove swc precompile

* chore: lint
2021-11-15 16:21:06 +08:00
luhc228 517ef86ab1 fix: enforce value, import declaration undefined 2021-11-10 22:17:21 +08:00
luhc228 0e2fb6d76f feat: support redirect other API in store 2021-11-10 20:15:39 +08:00
luhc228 5a6f9a1e8d fix: comment 2021-11-10 17:02:13 +08:00
luhc228 f8e3474315 chore: add annotation 2021-11-10 16:51:45 +08:00
luhc228 50948d0c9a fix: regexp 2021-11-10 16:43:26 +08:00
luhc228 857778e01a fix: store error in vite HMR 2021-11-10 16:37:26 +08:00
ClarkXia dcf5351145
chore: version (#4812)
* chore: version

* chore: version
2021-10-28 11:44:55 +08:00
Hengchang Lu 40ef97ff66
Fix: nested routes not render in vite (#4787)
* feat: fix: nested router not render in vite

* feat: optimize regexp

* chore: version and changelog
2021-10-26 11:10:51 +08:00