Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Farm v2.0 dev #1835

Open
wants to merge 401 commits into
base: main
Choose a base branch
from
Open

feat: Farm v2.0 dev #1835

wants to merge 401 commits into from

Conversation

wre232114
Copy link
Member

Description:

BREAKING CHANGE:

Related issue (if exists):
#1589

ErKeLost and others added 3 commits November 9, 2024 10:18
* chore: redefine watch options

* chore: redefine watch options

* chore: test port restart
* feat: record1

* feat: support esm and cjs module system generate

* feat: module decl relation

* feat: module relation analyze order & improve polyfill & improve commonjs declaration

* feat: improve esm generate

* feat: imporve import/export generate

* fix: export order & namespace uniq

* refactor: import/export compress & fix MemberProp name failed

* chore: try support scope hoisting

* feat: bundle shareBundle support option & support group

* chore: stash code

* chore: support concatenate modules

* fix: BundleGroup metadata maybe from ModuleGraph

* fix: BundleGroup import relation & generate

* fix: ShareBundle hash module_id path

* fix: module reexport

* fix: test snapshot

* fix: namespace reexport

* fix: pass visit after swc upgrade

* fix: react refresh when concatenateModules enable

* feat: update snapshot

* chore: change config for unit test

* feat: disable concatenateModules with development mode

---------

Co-authored-by: shulandmimi <[email protected]>
shulandmimi and others added 5 commits November 21, 2024 09:39
* feat: improve module import compress

* fix: update test case & jsx for module concatenation example
chore: bootstrap sort rust plugins error
…r the idea config folder `.idea` (#1958)

chore: `plugin-tools` should be built before core builds & .gitignore add idea config folder
@ErKeLost ErKeLost requested review from ErKeLost and shulandmimi and removed request for ErKeLost November 22, 2024 10:11
ErKeLost and others added 9 commits November 22, 2024 22:18
* refactor: Using zod to reconstruct the js plugin parsing process

* chore: update js plugin hooks schema

* chore: update js plugin hooks schema

* chore: update js plugin schema

* chore: update code

* fix: zod type

* chore: update schema
* chore: optimize server options

* chore: update config

* chore: remove hmr channel type with vite

* chore: remove origin

* chore: remove unless code

* chore: update https type
* chore: update changes

* chore: sync changes

* refactor: partially migrated preview server

* refactor: partially middlewared preview

* chore: add docstring for `distDir`

* chore: update docstring

* refactor: add `cors` and `open` options

* refactor: remove `middlewareMode`

* fix: fix open types

* refactor: refactor preview options resolver

* feat: preview server

* chore: remove useless codes

* fix: fix server urls resolver

* refactor: implements strict/open/cors

* refactor: resolve https options first

* fix: cli config resolve

* fix: https options

* fix(types): logger type

* revert: public resource middleware

* fix: server middleware

* feat(fs): check dist dir

* chore(sirv): bump sirv to v3.0.0

* fix: set `isPreview` to `true`

* feat: add check for spa

* feat(middleware): add not found middleware

* feat(close): support terminate preview server

* chore: update annotation

* docs: add doc string

* fix(resolver): fix config resolver when preview config is not undefined

* fix(server): fix server term signal

* chore: lint config

* refactor(config): refactor configs

* refactor(config): refactor configs

* feat: optimize middlewares

* refactor: remove preview from this options

* refactor(config): refactor cli configs

* feat: support base middleware

* refactor: use `isDev` instead

* chore: refactor func

* feat(proxy): support proxy middleware

* fix(default): set default to undefined for proxy

* chore: mark http2 as types

* chore: remove useless optional

* chore: code lint

* feat: optimize outputs

---------

Co-authored-by: ADNY <[email protected]>
* chore(bootstrap): optimize bootstrap script

* chore(bootstrap): install for unknown linux
* chore: normalize cache

* chore: update code

* chore: update type
* refactor(v2): use faster hasher to optimize

* chore: add depends

* chore: code lint

* perf(compiler): optimize module cache

* chore: remove useless import

* perf: optimize module update

* perf: optimize hashmaps

* feat: refactor boundaries to `FxHashMap`

* perf: optimize compiler

* refactor: use faster hashmap to improve performance

* refactor: re-export rustc hash

* refactor: hash set

* refactor: hash

* refactor: hashmap

* refactor: use hashmap instead

* fix: fix unit test

* fix: ts types

* feat: refactor dashmap

* chore: remove useless dependency

* refactor: migrate to faster hashmap

* fix: fix code lint

---------

Co-authored-by: brightwu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment