Foxpage SDK for JavaScript in the browser and Node.js
Foxpage SDK JS
Foxpage SDK for JavaScript in the browser and Node.js.
✨ Project
<Project Root>
├── .storybook // storybook config
├── docs // docs
└── packages
│ ├─foxpage-app-server // site application
│ ├─foxpage-browser-loader // load source in browser
│ ├─foxpage-core // foxpage sdk core: for parse DSL
│ ├─foxpage-engine-react // react render
│ ├─foxpage-entry-react // react csr entry
│ ├─foxpage-js-sdk // browser sdk
│ ├─foxpage-manager // resource manager
│ ├─foxpage-middleware-koa // koa middleware for foxpage node sdk
│ ├─foxpage-node-sdk // nodejs sdk
│ ├─foxpage-plugin // foxpage plugin core
│ ├─foxpage-plugin-* // foxpage sys plugin
│ ├─foxpage-shared // common utils
│ ├─foxpage-transformer // DSL transformer
│ └─foxpage-types // common types
└── jest.config.js // jest common config
? Environment Support
⌨️ Development
clone locally:
$ git clone git@git.dev.sh.ctripcorp.com:fox-open/foxpage-sdk-js.git
$ cd foxpage-sdk-js
$ yarn boot
? Commit
commit used [angular standard](https://github.com/angular/angular/blob/master/CONTRIBUTING.md。
commit config: commitlint.config.js
。 see: github
commit lint by husky。
npm:
npm run commit
// or
npx git-cz
? publish & Release
npm run boot
and succeed before publish.lerna publish --ignore-scripts --no-push
to publish public packagesnpm run release -- --release-as patch
ornpm run release -- --release-as minor
generate new version: standard-version.