Skip to content

Commit

Permalink
fix versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pysarenko-bohdan committed Jun 17, 2024
1 parent adfc033 commit 8456207
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 14 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ CI part will take place from github actions. and not from codefresh pipeline onc
### CD
CD part will take place from codefresh pipeline and will only publish specific packages that were defined in the codefresh.yml

### how to add another new package in case we need
### how to add another new package in case we need(ordered)
1. make change in the package.json of the specific required new package and rename the original name. take a look on how we did it for cubejs-bigquery-driver
2. add another step in the codefresh.yml so that the new package will be pushed to our npm

### What packages are we publishing atm
1. [server-core](https://github.com/codefresh-io/cube.js/blob/master/packages/cubejs-server-core/package.json), [@codefresh-io/cubejs-backend-server-core](https://www.npmjs.com/package/@codefresh-io/cubejs-backend-server-core)
1. [cubejs-backend-shared](https://github.com/codefresh-io/cube.js/tree/master/packages/cubejs-backend-shared), [@codefresh-io/cubejs-backend-shared](https://www.npmjs.com/package/@codefresh-io/cubejs-backend-shared)
2. [cbuejs-bigquery-driver](https://github.com/codefresh-io/cube.js/tree/master/packages/cubejs-bigquery-driver), [@codefresh-io/cubejs-backend-bigquery-driver](https://www.npmjs.com/package/@codefresh-io/cubejs-backend-bigquery-driver)
3. [cubejs-postgres-driver](https://github.com/codefresh-io/cube.js/tree/master/packages/cubejs-postgres-driver), [@codefresh-io/cubejs-backend-postgres-driver
](https://www.npmjs.com/package/@codefresh-io/cubejs-backend-postgres-driver)
4. [cubejs-backend-query-orchestrator](https://github.com/codefresh-io/cube.js/tree/master/packages/cubejs-query-orchestrator), [@codefresh-io/cubejs-backend-query-orchestrator](https://www.npmjs.com/package/@codefresh-io/cubejs-backend-query-orchestrator)
5. [server-core](https://github.com/codefresh-io/cube.js/blob/master/packages/cubejs-server-core/package.json), [@codefresh-io/cubejs-backend-server-core](https://www.npmjs.com/package/@codefresh-io/cubejs-backend-server-core)

### How to use packages
1. We need to keep real names of packages when using the published packages, so since we are publishing with different name, other places in cube js code aren't aware of this name and this causing issues on runtime.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cf-cubejs",
"version": "0.1.1",
"version": "0.1.2",
"description": "",
"workspaces": {
"packages": [
Expand All @@ -16,7 +16,7 @@
"scripts": {
"build": "rollup -c",
"watch": "rollup -c -w",
"watch-local": "CUBEJS_API_URL=http://localhost:6020/cubejs-api/v1 rollup -c -w",
"watch-local": "CUBEJS_API_URL=http://localhost:6020/cubejs-api/v1 rollup -c -w",
"lint:npm": "yarn npmPkgJsonLint packages/*/package.json rust/package.json",
"lint": "yarn lint:npm && yarn lerna run lint",
"lint:fix": "lerna run lint:fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-backend-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codefresh-io/cubejs-backend-shared",
"version": "0.35.43",
"version": "0.35.43-rc.bp",
"description": "Shared code for Cube.js backend packages",
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-bigquery-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@codefresh-io/cubejs-backend-bigquery-driver",
"description": "Cube.js BigQuery database driver",
"author": "Cube Dev, Inc.",
"version": "0.35.47",
"version": "0.35.47-rc.bp",
"repository": {
"type": "git",
"url": "https://github.com/cube-js/cube.git",
Expand Down Expand Up @@ -30,7 +30,7 @@
"dependencies": {
"@cubejs-backend/base-driver": "^0.35.43",
"@cubejs-backend/dotenv": "^9.0.2",
"@cubejs-backend/shared": "^0.35.43",
"@cubejs-backend/shared": "npm:@codefresh-io/cubejs-backend-shared@0.35.43-rc.bp",
"@google-cloud/bigquery": "^7.7.0",
"@google-cloud/storage": "^7.11.1",
"ramda": "^0.27.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-postgres-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@codefresh-io/cubejs-backend-postgres-driver",
"description": "Cube.js Postgres database driver",
"author": "Cube Dev, Inc.",
"version": "0.35.47",
"version": "0.35.47-rc.bp",
"repository": {
"type": "git",
"url": "https://github.com/cube-js/cube.git",
Expand All @@ -28,7 +28,7 @@
},
"dependencies": {
"@cubejs-backend/base-driver": "^0.35.43",
"@cubejs-backend/shared": "^0.35.43",
"@cubejs-backend/shared": "npm:@codefresh-io/cubejs-backend-shared@0.35.43-rc.bp",
"@types/pg": "^8.6.0",
"@types/pg-query-stream": "^1.0.3",
"moment": "^2.24.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-query-orchestrator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@codefresh-io/cubejs-backend-query-orchestrator",
"description": "Cube.js Query Orchestrator and Cache",
"author": "Cube Dev, Inc.",
"version": "0.35.46",
"version": "0.35.46-rc.bp",
"repository": {
"type": "git",
"url": "https://github.com/cube-js/cube.git",
Expand Down Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"@cubejs-backend/base-driver": "^0.35.43",
"@cubejs-backend/cubestore-driver": "^0.35.46",
"@cubejs-backend/shared": "npm:@codefresh-io/[email protected]",
"@cubejs-backend/shared": "npm:@codefresh-io/[email protected]-rc.bp",
"csv-write-stream": "^2.0.0",
"es5-ext": "0.10.53",
"generic-pool": "^3.7.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/cubejs-server-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@codefresh-io/cubejs-backend-server-core",
"description": "Cube.js base component to wire all backend components together",
"author": "Cube Dev, Inc.",
"version": "0.35.47",
"version": "0.35.47-rc.bp",
"repository": {
"type": "git",
"url": "https://github.com/cube-js/cube.git",
Expand Down Expand Up @@ -33,9 +33,9 @@
"@cubejs-backend/cloud": "^0.35.43",
"@cubejs-backend/dotenv": "^9.0.2",
"@cubejs-backend/native": "^0.35.47",
"@cubejs-backend/query-orchestrator": "npm:@codefresh-io/[email protected]",
"@cubejs-backend/query-orchestrator": "npm:@codefresh-io/[email protected]-rc.bp",
"@cubejs-backend/schema-compiler": "^0.35.47",
"@cubejs-backend/shared": "^0.35.43",
"@cubejs-backend/shared": "npm:@codefresh-io/cubejs-backend-shared@0.35.43-rc.bp",
"@cubejs-backend/templates": "^0.35.43",
"codesandbox-import-utils": "^2.1.12",
"cross-spawn": "^7.0.1",
Expand Down

0 comments on commit 8456207

Please sign in to comment.