mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 12:13:57 +00:00
plugins
This commit is contained in:
parent
1cc955f997
commit
9139ff0f44
30
.github/workflows/build-npm.yaml
vendored
30
.github/workflows/build-npm.yaml
vendored
@ -89,3 +89,33 @@ jobs:
|
||||
working-directory: packages/dbgate
|
||||
run: |
|
||||
npm publish
|
||||
|
||||
- name: Publish dbgate-plugin-csv
|
||||
working-directory: plugins/dbgate-plugin-csv
|
||||
run: |
|
||||
npm publish
|
||||
|
||||
- name: Publish dbgate-plugin-excel
|
||||
working-directory: plugins/dbgate-plugin-excel
|
||||
run: |
|
||||
npm publish
|
||||
|
||||
- name: Publish dbgate-plugin-mssql
|
||||
working-directory: plugins/dbgate-plugin-mssql
|
||||
run: |
|
||||
npm publish
|
||||
|
||||
- name: Publish dbgate-plugin-mysql
|
||||
working-directory: plugins/dbgate-plugin-mysql
|
||||
run: |
|
||||
npm publish
|
||||
|
||||
- name: Publish dbgate-plugin-mongo
|
||||
working-directory: plugins/dbgate-plugin-mongo
|
||||
run: |
|
||||
npm publish
|
||||
|
||||
- name: Publish dbgate-plugin-postgres
|
||||
working-directory: plugins/dbgate-plugin-postgres
|
||||
run: |
|
||||
npm publish
|
||||
|
@ -48,6 +48,10 @@ function packagedPluginsDir() {
|
||||
if (platformInfo.isDocker) {
|
||||
return path.resolve(__dirname, 'plugins');
|
||||
}
|
||||
if (process.argv[2] == 'startNodeWeb') {
|
||||
// node_modules
|
||||
return path.resolve(__dirname, '../../..');
|
||||
}
|
||||
return path.resolve(__dirname, '../../plugins');
|
||||
}
|
||||
|
||||
|
@ -30,6 +30,7 @@ module.exports = {
|
||||
fs.writeFileSync('packages/api/src/currentVersion.js', text);
|
||||
|
||||
changePackageFile('app', json.version);
|
||||
|
||||
changePackageFile('packages/api', json.version);
|
||||
changePackageFile('packages/sqltree', json.version);
|
||||
changePackageFile('packages/types', json.version);
|
||||
@ -38,3 +39,10 @@ changePackageFile('packages/web', json.version);
|
||||
changePackageFile('packages/datalib', json.version);
|
||||
changePackageFile('packages/dbgate', json.version);
|
||||
changePackageFile('packages/filterparser', json.version);
|
||||
|
||||
changePackageFile('plugins/dbgate-plugin-csv', json.version);
|
||||
changePackageFile('plugins/dbgate-plugin-excel', json.version);
|
||||
changePackageFile('plugins/dbgate-plugin-mssql', json.version);
|
||||
changePackageFile('plugins/dbgate-plugin-mysql', json.version);
|
||||
changePackageFile('plugins/dbgate-plugin-mongo', json.version);
|
||||
changePackageFile('plugins/dbgate-plugin-postgres', json.version);
|
||||
|
Loading…
Reference in New Issue
Block a user