24ea83f0ff
* create-nocobase-app template from [develop] * change create-nocobase-app package.json config * feat: load configuration from directory * feat: configuration repository toObject * feat: create application from configuration dir * feat: application factory with plugins options * export type * feat: read application config & application with plugins options * feat: release command * fix: database release * chore: workflow package.json * feat: nocobase cli package * feat: console command * chore: load application in command * fix: load packages from process.cwd * feat: cli load env file * feat: create-nocobase-app * fix: gitignore create-nocobase-app lib * fix: sqlite path * feat: create plugin * chore: plugin files template * chore: move cli into application * chore: create-nocobase-app * fix: create plugin * chore: app-client && app-server * chore: package.json * feat: create-nocobase-app download template from npm * chore: create-nocobase-app template * fix: config of plugin-users * fix: yarn.lock * fix: database build error * fix: yarn.lock * fix: resourcer config * chore: cross-env * chore: app-client dependents * fix: env * chore: v0.6.0-alpha.1 * chore: verdaccio * chore(versions): 😊 publish v0.6.0 * chore(versions): 😊 publish v0.6.1-alpha.0 * chore(versions): 😊 publish v0.6.2-alpha.0 * chore(versions): 😊 publish v0.6.2-alpha.1 * chore: 0.6.2-alpha.2 * feat: workspaces * chore(versions): 😊 publish v0.6.2-alpha.3 * chore(versions): 😊 publish v0.6.2-alpha.4 * chore: create-nocobase-app * chore: create-nocobase-app lib * fix: update tsconfig.jest.json * chore: .env * chore(versions): 😊 publish v0.6.2-alpha.5 * chore(versions): 😊 publish v0.6.2-alpha.6 * feat: improve code * chore(versions): 😊 publish v0.6.2-alpha.7 * fix: cleanup * chore(versions): 😊 publish v0.6.2-alpha.8 * chore: tsconfig for app server package * fix: move files * fix: move files Co-authored-by: chenos <chenlinxh@gmail.com>
93 lines
2.9 KiB
JSON
93 lines
2.9 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/app/*",
|
|
"packages/core/*",
|
|
"packages/plugins/*"
|
|
],
|
|
"scripts": {
|
|
"start": "concurrently \"npm run start-server\" \"npm run start-client\"",
|
|
"start-pm2": "yarn pm2-runtime start packages/app/server/lib/index.js",
|
|
"start-docs": "dumi dev",
|
|
"bootstrap": "lerna bootstrap",
|
|
"clean": "rimraf -rf packages/{app,core,plugins}/*/{lib,esm,dist} && lerna clean",
|
|
"nocobase": "cross-env DOTENV_CONFIG_PATH=.env ts-node-dev -r dotenv/config -r tsconfig-paths/register ./packages/app/server/src/index.ts",
|
|
"start-client": "cd packages/app/client && npm run start",
|
|
"start-server": "npm run nocobase start",
|
|
"build": "lerna run build",
|
|
"build-docs": "dumi build",
|
|
"test": "node ./jest.cli.js -i",
|
|
"lint": "eslint .",
|
|
"version:alpha": "lerna version prerelease --preid alpha --force-publish=* --no-git-tag-version -m \"chore(versions): publish packages %s\"",
|
|
"release:force": "lerna publish from-package --yes",
|
|
"release": "lerna publish"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0"
|
|
},
|
|
"config": {
|
|
"ghooks": {
|
|
"commit-msg": "commitlint --edit"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^16.1.0",
|
|
"@commitlint/config-conventional": "^16.0.0",
|
|
"@commitlint/prompt-cli": "^16.1.0",
|
|
"@testing-library/react": "^12.1.2",
|
|
"@types/jest": "^26.0.0",
|
|
"@types/koa": "^2.13.4",
|
|
"@types/koa-bodyparser": "^4.3.4",
|
|
"@types/lodash": "^4.14.177",
|
|
"@types/node": "^12.6.8",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.9.1",
|
|
"@typescript-eslint/parser": "^4.8.2",
|
|
"antd": "^4.18.9",
|
|
"classnames": "^2.3.1",
|
|
"concurrently": "^7.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^10.0.0",
|
|
"dumi": "^1.1.33",
|
|
"eslint": "^7.14.0",
|
|
"eslint-config-prettier": "^7.0.0",
|
|
"eslint-plugin-import": "^2.13.0",
|
|
"eslint-plugin-markdown": "^2.0.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-promise": "^4.0.0",
|
|
"eslint-plugin-react": "^7.14.2",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"eslint-plugin-vue": "^7.0.1",
|
|
"ghooks": "^2.0.4",
|
|
"glob": "^7.1.3",
|
|
"jest": "^26.0.0",
|
|
"jest-codemods": "^0.19.1",
|
|
"jest-dom": "^3.1.2",
|
|
"jest-localstorage-mock": "^2.3.0",
|
|
"jest-styled-components": "6.3.3",
|
|
"jest-watch-lerna-packages": "^1.1.0",
|
|
"koa": "^2.13.4",
|
|
"koa-bodyparser": "^4.3.0",
|
|
"lerna": "^4.0.0",
|
|
"pm2": "^5.2.0",
|
|
"prettier": "^2.2.1",
|
|
"pretty-format": "^24.0.0",
|
|
"pretty-quick": "^3.1.0",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"rimraf": "^3.0.0",
|
|
"sqlite3": "^5.0.2",
|
|
"supertest": "^6.1.6",
|
|
"ts-jest": "^26.0.0",
|
|
"ts-loader": "^7.0.4",
|
|
"ts-node": "^9.1.1",
|
|
"ts-node-dev": "^1.1.8",
|
|
"tsconfig-paths": "^3.12.0",
|
|
"typescript": "^4.1.5"
|
|
}
|
|
}
|