chore: update sdk, readme and build scripts
@@ -35,14 +35,15 @@ echo Build static content
|
||||
|
||||
cd ..\webapp
|
||||
|
||||
call yarn run bootstrap
|
||||
call yarn run build
|
||||
call yarn
|
||||
call lerna bootstrap
|
||||
call lerna run build --stream --scope=@cloudbeaver/product-default
|
||||
|
||||
cd ..\deploy
|
||||
|
||||
echo Copy static content
|
||||
|
||||
xcopy /E /Q ..\webapp\packages\cloudbeaver\dist cloudbeaver\web >NUL
|
||||
xcopy /E /Q ..\webapp\packages\product-default\lib cloudbeaver\web >NUL
|
||||
|
||||
echo Cloudbeaver is ready. Run run-server.bat in cloudbeaver folder to start the server.
|
||||
|
||||
|
||||
@@ -35,13 +35,14 @@ echo "Build static content"
|
||||
|
||||
cd ../webapp
|
||||
|
||||
yarn run bootstrap
|
||||
yarn run build
|
||||
yarn
|
||||
lerna run bootstrap
|
||||
lerna run build --stream --scope=@cloudbeaver/product-default
|
||||
|
||||
cd ../deploy
|
||||
|
||||
echo "Copy static content"
|
||||
|
||||
cp -rp ../webapp/packages/cloudbeaver/dist/* cloudbeaver/web
|
||||
cp -rp ../webapp/packages/product-default/lib/* cloudbeaver/web
|
||||
|
||||
echo "Cloudbeaver is ready. Run run-server.bat in cloudbeaver folder to start the server."
|
||||
|
||||
@@ -41,12 +41,11 @@ module.exports = (env, argv) => merge(commonConfig(env, argv), {
|
||||
concatenateModules: true,
|
||||
},
|
||||
plugins: [
|
||||
// new CopyWebpackPlugin({
|
||||
// patterns: [
|
||||
// { from: './public', to: '', force: true },
|
||||
// ...deps
|
||||
// ].filter(Boolean)
|
||||
// }),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{ from: './public', to: '', force: true },
|
||||
].filter(Boolean)
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
version: JSON.stringify(package.buildVersion),
|
||||
}),
|
||||
|
||||
@@ -35,12 +35,11 @@ module.exports = (env, argv) => merge(commonConfig(env, argv), {
|
||||
},
|
||||
devtool: 'cheap-module-eval-source-map',
|
||||
plugins: [
|
||||
// new CopyWebpackPlugin({
|
||||
// patterns: [
|
||||
// { from: './public', to: '', force: true },
|
||||
// ...deps
|
||||
// ].filter(Boolean)
|
||||
// }),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
{ from: './public', to: '', force: true },
|
||||
].filter(Boolean)
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
dbeaverPlugins: JSON.stringify(packageJson.dbeaverPlugins),
|
||||
version: JSON.stringify(packageJson.buildVersion),
|
||||
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 913 B After Width: | Height: | Size: 913 B |
|
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 778 B After Width: | Height: | Size: 778 B |
|
Before Width: | Height: | Size: 211 B After Width: | Height: | Size: 211 B |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 588 B After Width: | Height: | Size: 588 B |
|
Before Width: | Height: | Size: 748 B After Width: | Height: | Size: 748 B |
|
Before Width: | Height: | Size: 515 B After Width: | Height: | Size: 515 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 588 B After Width: | Height: | Size: 588 B |
|
Before Width: | Height: | Size: 582 B After Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 635 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
@@ -2,18 +2,23 @@
|
||||
|
||||
1. install ```yarn``` globaly
|
||||
2. execute ```yarn``` in this folder
|
||||
3. execute ```yarn run bootstrap```
|
||||
3. execute ```yarn run build```
|
||||
4. open ```packages/dbeaver/dist/index.html``` or run ```npx serve packages/dbeaver/dist```
|
||||
3. execute ```lerna bootstrap```
|
||||
4. open ```packages/product-default/lib/index.html``` or run ```npx serve packages/product-default/lib```
|
||||
|
||||
## Build
|
||||
|
||||
```
|
||||
lerna run build --stream --scope=@cloudbeaver/product-default
|
||||
```
|
||||
|
||||
## Dev
|
||||
|
||||
```
|
||||
lerna run dev --scope @dbeaver/dbeaver
|
||||
lerna run dev --stream --scope=@cloudbeaver/product-default
|
||||
```
|
||||
|
||||
## Build GQL SDK
|
||||
```sh
|
||||
lerna run gql:gen --scope @dbeaver/core
|
||||
lerna run gql:gen --stream
|
||||
```
|
||||
|
||||
|
||||