mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
watch mode for plugins
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
"build:api": "yarn workspace dbgate-api build",
|
"build:api": "yarn workspace dbgate-api build",
|
||||||
"build:web:docker": "yarn workspace dbgate-web build",
|
"build:web:docker": "yarn workspace dbgate-web build",
|
||||||
"build:plugins:frontend": "workspaces-run --only=\"dbgate-plugin-*\" -- yarn build:frontend",
|
"build:plugins:frontend": "workspaces-run --only=\"dbgate-plugin-*\" -- yarn build:frontend",
|
||||||
|
"build:plugins:frontend:watch": "workspaces-run --parallel --only=\"dbgate-plugin-*\" -- yarn build:frontend:watch",
|
||||||
"build:app:local": "cd app && yarn build:local",
|
"build:app:local": "cd app && yarn build:local",
|
||||||
"start:app:local": "cd app && yarn start:local",
|
"start:app:local": "cd app && yarn start:local",
|
||||||
"setCurrentVersion": "node setCurrentVersion",
|
"setCurrentVersion": "node setCurrentVersion",
|
||||||
@@ -35,7 +36,7 @@
|
|||||||
"prepare:docker": "yarn build:web:docker && yarn build:api && yarn copy:docker:build",
|
"prepare:docker": "yarn build:web:docker && yarn build:api && yarn copy:docker:build",
|
||||||
"prepare": "yarn build:lib",
|
"prepare": "yarn build:lib",
|
||||||
"start": "concurrently --kill-others-on-fail \"yarn start:api\" \"yarn start:web\"",
|
"start": "concurrently --kill-others-on-fail \"yarn start:api\" \"yarn start:web\"",
|
||||||
"lib": "concurrently --kill-others-on-fail \"yarn start:sqltree\" \"yarn start:filterparser\" \"yarn start:datalib\" \"yarn start:tools\"",
|
"lib": "concurrently --kill-others-on-fail \"yarn start:sqltree\" \"yarn start:filterparser\" \"yarn start:datalib\" \"yarn start:tools\" \"yarn build:plugins:frontend:watch\"",
|
||||||
"ts:api": "yarn workspace dbgate-api ts",
|
"ts:api": "yarn workspace dbgate-api ts",
|
||||||
"ts:web": "yarn workspace dbgate-web ts",
|
"ts:web": "yarn workspace dbgate-web ts",
|
||||||
"ts": "yarn ts:api && yarn ts:web",
|
"ts": "yarn ts:api && yarn ts:web",
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:frontend": "webpack --config webpack-frontend.config",
|
"build:frontend": "webpack --config webpack-frontend.config",
|
||||||
|
"build:frontend:watch": "webpack --watch --config webpack-frontend.config",
|
||||||
"build:backend": "webpack --config webpack-backend.config.js",
|
"build:backend": "webpack --config webpack-backend.config.js",
|
||||||
"build": "yarn build:frontend && yarn build:backend",
|
"build": "yarn build:frontend && yarn build:backend",
|
||||||
"plugin": "yarn build && yarn pack && dbgate-plugin dbgate-plugin-csv",
|
"plugin": "yarn build && yarn pack && dbgate-plugin dbgate-plugin-csv",
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:frontend": "webpack --config webpack-frontend.config",
|
"build:frontend": "webpack --config webpack-frontend.config",
|
||||||
|
"build:frontend:watch": "webpack --watch --config webpack-frontend.config",
|
||||||
"build:backend": "webpack --config webpack-backend.config.js",
|
"build:backend": "webpack --config webpack-backend.config.js",
|
||||||
"build": "yarn build:frontend && yarn build:backend",
|
"build": "yarn build:frontend && yarn build:backend",
|
||||||
"plugin": "yarn build && dbgate-plugin dbgate-plugin-excel",
|
"plugin": "yarn build && dbgate-plugin dbgate-plugin-excel",
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:frontend": "webpack --config webpack-frontend.config",
|
"build:frontend": "webpack --config webpack-frontend.config",
|
||||||
|
"build:frontend:watch": "webpack --watch --config webpack-frontend.config",
|
||||||
"build:backend": "webpack --config webpack-backend.config.js",
|
"build:backend": "webpack --config webpack-backend.config.js",
|
||||||
"build": "yarn build:frontend && yarn build:backend",
|
"build": "yarn build:frontend && yarn build:backend",
|
||||||
"plugin": "yarn build && yarn pack && dbgate-plugin dbgate-plugin-mongo",
|
"plugin": "yarn build && yarn pack && dbgate-plugin dbgate-plugin-mongo",
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:frontend": "webpack --config webpack-frontend.config",
|
"build:frontend": "webpack --config webpack-frontend.config",
|
||||||
|
"build:frontend:watch": "webpack --watch --config webpack-frontend.config",
|
||||||
"build:backend": "webpack --config webpack-backend.config.js",
|
"build:backend": "webpack --config webpack-backend.config.js",
|
||||||
"build": "yarn build:frontend && yarn build:backend",
|
"build": "yarn build:frontend && yarn build:backend",
|
||||||
"prepublishOnly": "yarn build",
|
"prepublishOnly": "yarn build",
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:frontend": "webpack --config webpack-frontend.config",
|
"build:frontend": "webpack --config webpack-frontend.config",
|
||||||
|
"build:frontend:watch": "webpack --watch --config webpack-frontend.config",
|
||||||
"build:backend": "webpack --config webpack-backend.config.js",
|
"build:backend": "webpack --config webpack-backend.config.js",
|
||||||
"build": "yarn build:frontend && yarn build:backend",
|
"build": "yarn build:frontend && yarn build:backend",
|
||||||
"plugin": "yarn build && yarn pack && dbgate-plugin dbgate-plugin-mysql",
|
"plugin": "yarn build && yarn pack && dbgate-plugin dbgate-plugin-mysql",
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:frontend": "webpack --config webpack-frontend.config",
|
"build:frontend": "webpack --config webpack-frontend.config",
|
||||||
|
"build:frontend:watch": "webpack --watch --config webpack-frontend.config",
|
||||||
"build:backend": "webpack --config webpack-backend.config.js",
|
"build:backend": "webpack --config webpack-backend.config.js",
|
||||||
"build": "yarn build:frontend && yarn build:backend",
|
"build": "yarn build:frontend && yarn build:backend",
|
||||||
"plugin": "yarn build && yarn pack && dbgate-plugin dbgate-plugin-postgres",
|
"plugin": "yarn build && yarn pack && dbgate-plugin dbgate-plugin-postgres",
|
||||||
|
|||||||
Reference in New Issue
Block a user