All notable changes to this project will be documented in this file.
To upgrade simply reinstall the package:
npm install -g chic.js
or in your project directory:
npm install chic.js
- small refactor: removes
chic.js
as a dependency inpackage.json
file
- bug fix on destroy method for api endpoints
- adds npm funding link
- refactors version indication and removes version test
- adds catch all command
- adds donation support link
Adds sitemap generation command chic sitemap
Adds funcitonality to hide /routes
for production deployments by settings CHIC_DEBUG=OFF
in the .env
file.
- Adds
debug
mode command. Usage example:chic debug status
, which will show the currentCHIC_DEBUG
value set in the.env
file. IfON
routes table will be shown. IfOFF
routes table will not be shown.
Minor changes and bug fixes
- formating changes to README
- adds created model to
chic.json
file (experimental) - New
chic add
command adds ability to create a new Page or Component.
Minor changes to README
- updated descriptions of commands
Adds styled with
feature to easily add styling frameworks to your project on creation.
- adds error notice message to
renderedRouteTable
- adds
styled with <framework>
option tonew
command. Usage example:chic new my-app styled with bootstrap
- adds version check test to avoid publishing incorrect version numbers
Minor bug fixes
- removes
test.html
To upgrade simply reinstall the package:
npm install -g chic.js
or using npx:
npx chic new my-app
chic.js
now automatically added as a dependency so that it can be used inhooks.server.js
file without having to install it as a dependency in the project.
To upgrade simply reinstall the package:
npm install -g chic.js
- ui hook for
routes
endpoint RoutesTable
UI module. To useimport { RoutesTable } from 'chic.js/ui'
inhooks.server.js
file.
- Improved
routes
UI
To upgrade simply reinstall the package:
npm install -g chic.js
.npmignore
file added to prevent unnecessary files being published to npm- Updated website url in
package.json
- Comments in MVC files
- Adds more documentation
- Adds
routes
command to update routes endpoint
- Refactored templates
edit
controller functions renamed toupdate
- Removed unused functions
To upgrade simply reinstall the package:
npm install -g chic.js
- More test coverage
- More documentation
- Destroy resource button component added to editing forms
- CRUD operations added to API endpoints
- Refactored templates
edit
controller functions renamed toupdate
- Removed unused functions