Skip to content

Commit

Permalink
Fix gateway deps
Browse files Browse the repository at this point in the history
  • Loading branch information
loicknuchel committed Jul 5, 2024
1 parent d6449a6 commit 12244b5
Show file tree
Hide file tree
Showing 24 changed files with 137 additions and 357 deletions.
4 changes: 2 additions & 2 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ Start with `pnpm install` to install dependencies and set up the CLI, then you h

## Publish

- update `package.json` version
- update `package.json` and `src/version.ts` version
- update lib versions (`pnpm -w run update` + manual)
- test with `pnpm run dry-publish` and check `azimutt-x.y.z.tgz` content
- launch `npm publish`
- launch `pnpm publish --no-git-checks`

View it on [npm](https://www.npmjs.com/package/azimutt).

Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azimutt",
"version": "0.1.15",
"version": "0.1.18",
"description": "Export database schema from relational or document databases. Import it to https://azimutt.app",
"keywords": [
"database",
Expand Down
4 changes: 1 addition & 3 deletions cli/src/version.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import process from "process";

export const version = process.env.npm_package_version || 'x.y.z'
export const version = '0.1.18' // FIXME: `process.env.npm_package_version` is not available :/
2 changes: 1 addition & 1 deletion frontend/src/Models/Organization.elm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ canAnalyse projectRef =

canSaveProject : Int -> Organization -> Bool
canSaveProject orgProjects organization =
organization.plan.projects |> Maybe.any (\p -> orgProjects < p)
organization.plan.projects |> Maybe.mapOrElse (\p -> orgProjects < p) True


encode : Organization -> Value
Expand Down
2 changes: 1 addition & 1 deletion gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The `workspace:^` can't be used there...
- update `package.json` version
- update lib versions (`pnpm -w run update` + manual)
- test with `pnpm run dry-publish` and check `azimutt-gateway-x.y.z.tgz` content
- launch `npm publish --access public`
- launch `pnpm publish --no-git-checks --access public`

View it on [npm](https://www.npmjs.com/package/@azimutt/gateway).

Expand Down
152 changes: 83 additions & 69 deletions gateway/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions gateway/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azimutt/gateway",
"version": "0.1.10",
"version": "0.1.11",
"description": "A Gateway to proxy database access for Azimutt frontend",
"keywords": [
"database",
Expand Down Expand Up @@ -42,7 +42,7 @@
"dependencies": {
"@azimutt/connector-bigquery": "^0.1.1",
"@azimutt/connector-couchbase": "^0.1.1",
"@azimutt/connector-mariadb": "^0.1.2",
"@azimutt/connector-mariadb": "^0.1.3",
"@azimutt/connector-mongodb": "^0.1.1",
"@azimutt/connector-mysql": "^0.1.2",
"@azimutt/connector-postgres": "^0.1.6",
Expand Down
2 changes: 1 addition & 1 deletion libs/connector-bigquery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ It's accessible through the [Desktop app](../../desktop) (soon), the [CLI](https
- update `package.json` version
- update lib versions (`pnpm -w run update` + manual)
- test with `pnpm run dry-publish` and check `azimutt-connector-bigquery-x.y.z.tgz` content
- launch `npm publish --access public`
- launch `pnpm publish --no-git-checks --access public`

View it on [npm](https://www.npmjs.com/package/@azimutt/connector-bigquery).

Expand Down
2 changes: 1 addition & 1 deletion libs/connector-couchbase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ It's accessible through the [Desktop app](../../desktop) (soon), the [CLI](https
- update `package.json` version
- update lib versions (`pnpm -w run update` + manual)
- test with `pnpm run dry-publish` and check `azimutt-connector-couchbase-x.y.z.tgz` content
- launch `npm publish --access public`
- launch `pnpm publish --no-git-checks --access public`

View it on [npm](https://www.npmjs.com/package/@azimutt/connector-couchbase).

Expand Down
2 changes: 1 addition & 1 deletion libs/connector-mariadb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ It's accessible through the [Desktop app](../../desktop) (soon), the [CLI](https
- update `package.json` version
- update lib versions (`pnpm -w run update` + manual)
- test with `pnpm run dry-publish` and check `azimutt-connector-mariadb-x.y.z.tgz` content
- launch `npm publish --access public`
- launch `pnpm publish --no-git-checks --access public`

View it on [npm](https://www.npmjs.com/package/@azimutt/connector-mariadb).

Expand Down
2 changes: 1 addition & 1 deletion libs/connector-mariadb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azimutt/connector-mariadb",
"version": "0.1.2",
"version": "0.1.3",
"description": "Connect to MariaDB, extract schema, run analysis and queries",
"keywords": [],
"homepage": "https://azimutt.app",
Expand Down
Loading

0 comments on commit 12244b5

Please sign in to comment.