Commit Graph

20 Commits

Author SHA1 Message Date
ClarkXia b8e974393f
feat: support routes config (#5968)
* feat: support routes config

* fix: compatible with win32

* feat: add test case

* fix: optimize code

* fix: compatible with path

* Update routes.ts

* Update routes.ts
2023-02-28 10:00:43 +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
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
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
ClarkXia ad531405a8 test: improve test case (#497)
* test: improve test case

* test: compat win32

* test: test case

* test: add test case

* test: add test case

* test: test case for rax-compat

* test: test case for routes

* fix: types error

* fix: to strict equal

* chore: remove unused props

* fix: types

* test: test case for run client app

* chore: remove empty router

* test: test case of run server app

* chore: remove log

* chore: do not remove file by test case

* fix: remove document dependency when run client app

* chore: lint

* chore: remove config

* fix: lint

* chore: lint warning

* fix: test case

* chore: update unplugin
2022-11-15 10:30:52 +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 5b651061ae feat: package watch (#267)
* feat: package watch

* feat: watch

* chore: remove package watch

* feat: watch and build

* fix: build

* chore: remove prebundle from build

* chore: rename
2022-11-14 19:23:02 +08:00
ZeroLing b0ba0b8548 chore: monorepo 2022-11-14 19:20:46 +08:00
ZeroLing b727c4ded6 chore: move to @ice/runtime/jsx-runtime 2022-11-14 19:20:46 +08:00
ZeroLing 36d75defc2 chore: update pnpm lock 2022-11-14 19:20:46 +08:00
luhc228 66ba831e0f feat: support FaaS (#174)
* feat: faas middleware

* refactor: ssr middleware

* feat: 404

* chore: middlewares order

* feat: 404

* refactor: optimize

* chore: middleware name

* chore: dependencies

* fix: 404 error

* feat: add midway support

* feat: update deps version

* chore: remove faas plugin and example

* chore: lock

* fix: cannot analyse default 404 page

* chore: remove comment

* fix: start error

* chore: remove ssr middleware

* chore: 404 componentName

* chore: remove Dashboard page

* fix: default route id

Co-authored-by: Lxxyx <Lxxyxzj@gmail.com>
2022-11-14 19:20:26 +08:00
ClarkXia c7e5f44561 feat: analyze route exports (#208)
* feat: analyze route

* feat: analyze route exports

* fix: merge error
2022-11-14 19:17:27 +08:00
水澜 e0297618b1 refactor: route wrapper (#135)
* refactor: wrapper

* feat: support wrapper layout

* chore: demo for auth

* fix: typo

* fix: typo

* fix: typo

* fix: typo

* fix: typo

* feat: generate layout info when build

* refactor: wrapper for layout

* test: update snapshot for layout

* fix: typo
2022-11-14 19:16:51 +08:00
ClarkXia 7305be723a feat: pre bundle for dependencies (#138)
* feat: rename folder

* feat: bundle scripts

* feat: ncc

* fix: pre bundle

* chore: optimize code

* chore: terser options

* fix: test case

* fix: package fail to pack

* feat: tsChecker and eslint

* chore: ts type

* fix: pack scripts

* fix: same webpack instance (#146)

* fix: same instance of webpack

* fix: same instance of webpack
2022-11-14 19:16:51 +08:00
luhc228 54163342ef Feat: define routes and ignore route files (#69)
* feat: support define routes

* fix: test

* fix: test

* chore: undefined type

* fix: conflict

* chore: remove pages str from route id

* fix: watch route change

* fix: warn

* fix: test

* fix: test

* chore: example

* chore: add route-gen example

* feat: add integration test

* chore: test

* chore: update config file

* chore: remove pnpm cache

* chore: test

* chore: remove test:ci from ci workflow

* chore: update build-scripts version

* chore: build fixture

* chore: remove devServer test

* chore: buildFixture

* feat: add vitest

* chore: add ts-ignore

* chore: node ci version

* chore: comment bundle analyzer

* chore: add test timeout

* fix: lint

* chore: remove threads

* chore: set maxThreads and minThreads

* chore: add maxConcurrency

* chore: remove coverage

* chore: threads

* chore: set threads to false

* fix: conflict

* fix: comment
2022-11-14 19:15:57 +08:00
luhc228 e8407ed19a Feat: support css modules in ssr (#43)
* feat: support css module in ssr

* chore: lock

* chore: type

* fix: transform esbuild-style-plugin in jest env

* fix: test fail

* chore: transformIgnorePatterns

* chore: ci test step

* chore: -max-old-space-size

* chore: transformIgnorePatterns

* chore: transformIgnorePatterns

* chore: transformIgnorePatterns

* feat: esbuild-css-plugin

* refactor: esbuild plugins

* chore: esbuild plugin dir

* fix: build error

* fix: lint

* fix: conflict

* chore: add desc

* chore: add comment

* chore: set extract to false

* chore: add more desc
2022-11-14 19:15:46 +08:00
luhc228 ab9c50913b test: use vitest instead of jest (#75)
* test: use vitest

* chore: update test script in ci.yml

* chore: remove coverage

* chore: remove max-old-space-size

* chore: not use threads

* chore: add maxThreads

* chore: set maxThreads to 2

* chore: set to node 16

* chore: set threads to false

* chore: add coverage

* chore: max-old-space-size
2022-11-14 19:15:00 +08:00
luhc228 d11f461d6b refactor: global layout (#40) 2022-11-14 19:14:39 +08:00
ClarkXia 748adfb2c4 refactor: create @ice/app for framework (#67)
* fix: package name

* refactor: main package for ice

* fix: test case

* test: test case

* test: run context without built-in plugin

* test: add console level

* test: test case

* fix: remove built-in plugin

* test: use json file

* Revert "test: use json file"

This reverts commit be309d7df5a00fcc14fdc54fe2a63c9bce54221c.

* fix: update build-scripts

* fix: optimize code

* fix: exports field

* chore: use consola instead of console

* fix: optimize code
2022-11-14 19:14:32 +08:00
大果 2b11d0578e feat: router (#28)
* feat: generate route manifest

* chore: lock

* feat: support generate nested route manifest

* chore: type

* chore: rename test to tests

* chore: remove caseSensitive

* chore: support generate routes

* fix: lint

* fix: lint

* feat: add componentName

* feat: support generate route

* feat: not add Router when only has one page

* fix: merge confict

* refactor: service route generate

* chore: update route-manifest readme

* test: add more route test cases

* chore: remove comment

* test: add invalid routes test case

* chore: update invalid char judge logic

* fix: comment

* fix: lint error

* chore: lock

Co-authored-by: luhc228 <luhengchang228@gmail.com>
2022-11-14 18:49:43 +08:00