Shogun CLI tool
Documentation: https://docs.getshogun.com/shogun-frontend-guides/docs/local-development-environment
Changelog
Version 1.4.8
Bug Fixes
- Updated FeatureFlag client to use client token
Version 1.4.4
Bug Fixes
- Fixed authentication issue when running
shogun:pull
andclone
commands - Disabled automatic installation of linting packages
Version 1.4.2
New Features
- Added
shogun:update
command to update the version of theshogun
package to latest - Added
shogun:lint
command to check store source code for coding and syntax errors - Added a noticeable banner with the current store name to the
shogun
logger output
Bug Fixes
- Improved error handling in CLI for authentication errors
- Fixed issues that occur when authentication fails
- Enabled PWA features (web app manifest, service worker) in local development environment
Version 1.3.3
Bug Fixes
- Allow
src/generated-schema.json
file to be tracked by git - Fix logger to read env vars
Version 1.3.0
New features
- Added
shogun:sync-script
script which will sync section schemas fromschema.ts
.schema.js
orschema.json
files withgenerated-schema.json
- Added
shogun:version
to check current verison ofshogun
package - Added ability to pull a single page in shogun CLI
- Augmented create-section command to emit empty schema.json
- Prettified logs
- Improved sync logic between
src
and.shogun
folders to work for sites withregular
CSS - Implemented directives fetching via web socket (fixes error 500)
Bug Fixes
- Fixed env vars and cli arguments precedence
- Fixed create-section command to produce correct CSS import statement
- Fixed useStore hook in LDE
- Kill all child processes on exit
- Moved shogun dependencies into itself and set local version
Version 1.1.1
New features
- Moved dev dependencies pertaining to shogun out of store dev dependencies
Bug fixes
- Fixed sync error on
pull
command - Set
shogun
version to current version in package.json - Fixed bug when running
shogun:dev
in Windows Powershell
Version 1.1.0
New features
-
shogun pull
andshogun clone
are not fetching page state & compositions - Moved
pages
,directives
&config
to.shogun
folder