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 398 commits into
base: main
Choose a base branch
from
Open

feat: Farm v2.0 dev #1835

wants to merge 398 commits into from

Conversation

wre232114
Copy link
Member

Description:

BREAKING CHANGE:

Related issue (if exists):
#1589

ErKeLost and others added 6 commits November 7, 2024 15:01
* chore: export loadEnv api

* chore: export loadEnv api
* fix: server restart not display resolveUrls (#1911)

* fix: Should show resolveUrls at the end of the service readiness

---------

Co-authored-by: ADNY <[email protected]>
* chore: withdrawal build cjs scripts

* chore: update build cjs ci

* chore: update ci
* 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 6 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment