Merge branch 'feature/tenant' into 'master'
Feature/tenant See merge request !50
Showing
app/model/tenantAuth.ts
0 → 100644
commitlint.config.js
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
| ... | @@ -3,14 +3,16 @@ | ... | @@ -3,14 +3,16 @@ |
| "version": "1.0.0", | "version": "1.0.0", | ||
| "description": "低代码平台", | "description": "低代码平台", | ||
| "scripts": { | "scripts": { | ||
| "start": "cross-env NODE_ENV=production APOLLO_CLUSTER=RC egg-scripts start --port 9050 --workers 1", | "start": "cross-env NODE_ENV=production APOLLO_CLUSTER=3C egg-scripts start --port 9050 --workers 1", | ||
| "start:pre": "cross-env NODE_ENV=production APOLLO_CLUSTER=3PRE egg-scripts start --port 9050 --workers 1", | |||
| "test": "cross-env NODE_ENV=production EGG_SERVER_ENV=sit DEBUG=apollo APOLLO_CLUSTER=k8s NAMESPACE=qa2 egg-scripts start --port 80 --workers 1", | "test": "cross-env NODE_ENV=production EGG_SERVER_ENV=sit DEBUG=apollo APOLLO_CLUSTER=k8s NAMESPACE=qa2 egg-scripts start --port 80 --workers 1", | ||
| "stop": "egg-scripts stop", | "stop": "egg-scripts stop", | ||
| "backend": "nohup egg-scripts start --port 7001 --workers 4", | "backend": "nohup egg-scripts start --port 7001 --workers 4", | ||
| "dev": "egg-bin dev -r egg-ts-helper/register --port 7002", | "dev": "egg-bin dev -r egg-ts-helper/register --port 7002", | ||
| "debug": "egg-bin debug -r egg-ts-helper/register", | "debug": "egg-bin debug -r egg-ts-helper/register", | ||
| "apollo": "node bin/apollo.js", | "apollo": "node bin/apollo.js", | ||
| "build": "easy build --devtool", | "build": "cross-env NODE_ENV=production APOLLO_CLUSTER=3C npm run apollo && cross-env COS_ENV=production easy build --devtool", | ||
| "build:pre": "cross-env NODE_ENV=production APOLLO_CLUSTER=3PRE npm run apollo && cross-env COS_ENV=production easy build --devtool", | |||
| "tsc": "ets && tsc -p tsconfig.json", | "tsc": "ets && tsc -p tsconfig.json", | ||
| "clean": "ets clean", | "clean": "ets clean", | ||
| "kill": "easy kill", | "kill": "easy kill", | ||
| ... | @@ -27,7 +29,7 @@ | ... | @@ -27,7 +29,7 @@ |
| "@hubcarl/json-typescript-mapper": "^2.0.0", | "@hubcarl/json-typescript-mapper": "^2.0.0", | ||
| "@qg/apollo-nodejs": "^2.1.2", | "@qg/apollo-nodejs": "^2.1.2", | ||
| "@qg/cherry-ui": "2.23.10", | "@qg/cherry-ui": "2.23.10", | ||
| "@qg/citrus-ui": "0.3.16-bata2", | "@qg/citrus-ui": "0.3.22", | ||
| "@riophae/vue-treeselect": "^0.4.0", | "@riophae/vue-treeselect": "^0.4.0", | ||
| "@types/lodash": "^4.14.117", | "@types/lodash": "^4.14.117", | ||
| "@types/node": "^10.12.0", | "@types/node": "^10.12.0", | ||
| ... | @@ -79,7 +81,12 @@ | ... | @@ -79,7 +81,12 @@ |
| "vuex-router-sync": "^5.0.0", | "vuex-router-sync": "^5.0.0", | ||
| "webpack-sentry-plugin": "^2.0.3" | "webpack-sentry-plugin": "^2.0.3" | ||
| }, | }, | ||
| "devDependencies": {}, | "devDependencies": { | ||
| "husky": "^4.2.5", | |||
| "lint-staged": "^10.2.11", | |||
| "@commitlint/cli": "^13.2.1", | |||
| "@commitlint/config-angular": "^13.2.0" | |||
| }, | |||
| "egg": { | "egg": { | ||
| "typescript": true | "typescript": true | ||
| }, | }, | ||
| ... | @@ -100,5 +107,17 @@ | ... | @@ -100,5 +107,17 @@ |
| "commitizen": { | "commitizen": { | ||
| "path": "./node_modules/cz-conventional-changelog" | "path": "./node_modules/cz-conventional-changelog" | ||
| } | } | ||
| }, | |||
| "lint-staged": { | |||
| "src/**/*.{js,vue}": [ | |||
| "tslint --fix --project . -c tslint.json 'app/web/**/*{.ts}'", | |||
| "git add" | |||
| ] | |||
| }, | |||
| "husky": { | |||
| "hooks": { | |||
| "pre-commit": "lint-staged", | |||
| "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS" | |||
| } | |||
| } | } | ||
| } | } |
start-pre.sh
0 → 100755
start.sh
0 → 100755
stop.sh
0 → 100755
Please register or sign in to comment