Releases: cher-ami/chersite
Releases · cher-ami/chersite
Chersite v4 is out ⭐️
- Update front dependencies - move to vite 5.0 - #171
- Change default dev port to default vite 5.0 default port:
5173
#173 - Replace
less
bysass
preprocessor 😭 #169 - Remove DOM component from scaffolder #175
- Update root package dependencies - update husky/prettier + prettify all the repo #176
- Upgrade node version to node 20.11 lts #177
- Create SSR production server #178
- Build spa - rework build struct #179
- Fix sass import & use strategy #181
v3.1.0
- Bump depenencies (#161)
- Update CLI (#159)
- Add hook interception observer and update lazy image (#154)
- migrate @wbe dependencies to @cher-ami dep (#158)
- Add cookies banner as component (#148)
- Scaffold ask to create template (#152)
- Update PageRestController.php.template (#157)
- Update .gitignore
- Fix convertRemToPx function (#156)
- Fix pages wp scaffold path (#151)
- Create base button (#144)
- Updated @cher-ami/utils to v1.4.0 (#145)
- Add isLandscapeScreen hook (#143)
- Add ScrollLocker (#140)
- Remove deprecated jsx element (#141)
- Migrate to node 18 (#142)
- Add lazy Image component (#138)
- Add convert rem to px (#139)
- Add useWindowSize hook (#137)
- change-default-globaldata-struct (#136)
- Add css --grid-column & --ease variables
- create useMinWidth hook
- Improve useMatchMedia
- fix-is-route-index-prerender-util (#132)
- Update package.json (#130)
- scaffold-wp: post-type rewrite true by default (#131)
- Update manage transition promise (#128)
- Create root CLI (#129)
- Add local ssl (#124)
- Add update versions script (#126)
- Update dist/front/ to dist/ (#127)
- Update @wbe/[email protected]
- Add config in tsconfig include
- Add prerender in tsconfig include
v3.0.0
Feature
- new structure #118
This repo is not a monorepo, it provides standalone apps.
Each app has his own package.json
and node_modules
folder, we build them separately.
apps
└- back ⬅ BO app (api, admin, whatever.)
└- front ⬅ cher-ami frontend starter
See the new documentation
v2.2.0
#109 Multiple changes
config / dependencies
- update
viteChersiteCustomLogger
- add
chalk
color manager dependency, remove internalpalette.js
- add
history
has dependency
ssr / ssg
- create a manifest Parser in order to inject the builded scripts in the jsx document.
- src/server/index-server.tsx replace now the root
index.html
. All the root application, where is append the DOM is now inside this file.
src
- move
src/index-server.tsx
insrc/server/index-server.tsx
with associated helpers - remove
data/data-types
- create src/libs folder with commons and must-used tools (beeper, preloadService, hooks etc...)
- rename
src/mixins/mixins.less
to src/mixins/helpers.less - all variables are now in src/variables
v2.1.0
Features
#106 Replace index.html by jsx document
- index.html is no longer used for the static HTML generation. The root HTML is now defined by src/index-server.tsx. The index.html still used for the SPA build.
- React suspense is now supported since de server react DOM is rendered by
renderToPipeableStream
v2.0.0
chersite node version
❌ remove PHP whitch is replaced by node as server language
⚡️ React SSR SSG SPA generation with vite 4 + cher-ami router v3 beta
🐳 Docker ready
v0.5.0
Fixes
Metadata :
- Update metadata VITE_API_URL request in PHP framework
- Update default metadata imageUrl Link in PHP framework
- Update Simple SPA tuto to add 'Update html redirect' (#70)
Features
- Replace
{{LOCAL_IP}}
.env string by local ip address automatically (#65) - Switch to REM, add css var for font-size & colors (#69) ⚡️
- Add a default index.html file in dist/ folder (#71)
- Infra: Add docker-compose configuration (#72) ⚡️
- Replace @zouloux/files by local hight level fs functions (#66)
- Update node task and config to module (#66)
- Update all dependencies, move to vite 3 (#66)
v0.4.0
v0.3.0
v0.2.0
Some improvements on this MR > Update config #59
Improvement
- New dev-server log plugin
The problem is, vite logs display URLs of where files are served:
> Local: http://localhost:3000/chersite/dist/front/www/static/
> Network: http://192.168.1.39:3000/chersite/dist/front/www/static/
But our development environnement is:
> local: http://localhost/chersite/dist/front/www/
> network: http://192.168.1.39/chersite/dist/front/www/
The plugin logs the two last URL for developers.
-DEV_SERVER_OPEN
env variable
Will open your browser when dev-server is launch. Default is true.
- Add protocol config
Default is http
.
-
update npm dependencies
-
update scaffold-wp #58
Fix
- Do not run htaccess plugin if
BUILD_HTACCESS
isfalse