From 8e26918975093592bf2191821dcbe0ca0598be8d Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Sun, 7 Feb 2021 17:48:46 +0100 Subject: [PATCH] fixes --- packages/dbgate/.npmrc | 1 + {app => packages/dbgate}/README.md | 0 packages/dbgate/package.json | 8 ++++++-- packages/web/package.json | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 packages/dbgate/.npmrc rename {app => packages/dbgate}/README.md (100%) diff --git a/packages/dbgate/.npmrc b/packages/dbgate/.npmrc new file mode 100644 index 00000000..ae643592 --- /dev/null +++ b/packages/dbgate/.npmrc @@ -0,0 +1 @@ +//registry.npmjs.org/:_authToken=${NPM_TOKEN} diff --git a/app/README.md b/packages/dbgate/README.md similarity index 100% rename from app/README.md rename to packages/dbgate/README.md diff --git a/packages/dbgate/package.json b/packages/dbgate/package.json index baabee14..04150ca4 100644 --- a/packages/dbgate/package.json +++ b/packages/dbgate/package.json @@ -1,6 +1,6 @@ { "name": "dbgate", - "version": "1.0.7", + "version": "3.9.6-alpha.7", "homepage": "https://dbgate.org/", "repository": { "type": "git", @@ -16,5 +16,9 @@ "sql", "dbgate", "web" - ] + ], + "dependencies": { + "dbgate-api": "3.9.6-alpha.7", + "dbgate-web": "3.9.6-alpha.7" + } } diff --git a/packages/web/package.json b/packages/web/package.json index 0fb2e1d9..072a23bf 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -45,6 +45,7 @@ "build:docker": "cross-env CI=false REACT_APP_API_URL=ORIGIN react-scripts build", "build:app": "cross-env PUBLIC_URL=. CI=false react-scripts build", "build": "cross-env CI=false REACT_APP_API_URL=ORIGIN react-scripts build", + "prepublishOnly": "yarn build", "test": "react-scripts test", "eject": "react-scripts eject", "ts": "tsc"