AJAX and form serialization toolkit for Spiral Framework.
Repository consists of 2 main components: Toolkit and Keeper
Toolkit is set of modules implementing a simple front-end framework, capable of serializing forms, showing loaders and datagrids
Keeper is set of scripts that demonstrate typical toolkit usage with Spiral Frameworks, including default styles based on bootstrap 4.
- node 11.15.0+ use recent LTS version
- yarn 1.17.0+ use recent stable version
Project is based on Lerna.
- Execute
npx lerna bootstrap
to install dependencies and link packages - Build toolkit package and dependencies
yarn build
When developing both in co-dependent packages use separate commands like so:
yarn build:core
to build core package.yarn build:form
to build form package.yarn build:lock
to build lock package.yarn build:toolkit
to build toolkit package.yarn build:datagrid
to build datagrid package.yarn build:keeper
to build keeper package.
Alternatively execute yarn build
from package folder.
npx lerna run lint
to lint every package. Note this command is expected to be successfully completed before pushing data to repository.
Project is a mono-repository with following packages:
packages/core
- core of the toolkitpackages/form
- form module for the toolkitpackages/lock
- lock module for the toolkitpackages/core
- main toolkit package
In separate branch do following:
lerna publish
- bump version in lerna and in root package.json manually
yarn gitrelease
On windows execute git config core.autocrlf false
to disable automatic line ending conversion.
MIT License (MIT). Please see LICENSE
for more information. Maintained by Spiral Scout.