Skip to content

Releases: cher-ami/chersite

Chersite v4 is out ⭐️

20 Mar 12:44
Compare
Choose a tag to compare
  • Update front dependencies - move to vite 5.0 - #171
  • Change default dev port to default vite 5.0 default port: 5173 #173
  • Replace less by sass 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

02 Nov 14:57
Compare
Choose a tag to compare
  • 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/mfs@0.1.1
  • Add config in tsconfig include
  • Add prerender in tsconfig include

v3.0.0

06 Jun 15:05
Compare
Choose a tag to compare

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

08 Feb 17:15
Compare
Choose a tag to compare

#109 Multiple changes

config / dependencies

  • update viteChersiteCustomLogger
  • add chalk color manager dependency, remove internal palette.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 in src/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

19 Jan 15:04
Compare
Choose a tag to compare

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

15 Dec 17:12
Compare
Choose a tag to compare

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

25 Jul 14:05
Compare
Choose a tag to compare

Fixes

Metadata :

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

17 May 09:28
Compare
Choose a tag to compare

fix #64

  • Move to @cher-ami/router 3.0.0-beta.1
  • bump dependencies

Capture d’écran 2022-05-17 à 11 26 25

v0.3.0

12 Apr 08:35
Compare
Choose a tag to compare

#62 Update dependencies

  • Move to react 18
  • update index.tsx : remove initApp class

v0.2.0

01 Mar 14:57
Compare
Choose a tag to compare

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 is false