Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #7903

Merged
merged 3 commits into from
Jun 29, 2024
Merged

Release #7903

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .deploy/webapp/entrypoint.compose.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
#!/bin/sh
#!/bin/bash
set -ex

# This Entrypoint used inside Docker Compose only

export WAIT_HOSTS=$API_HOST:$API_PORT

# Use envsubst to create the actual replacements_values.sed file with values from env vars
envsubst < replacements.sed > replacements_values.sed

# In production we should replace some values in generated JS code
sed -i -f replacements.sed *.js
sed -i -f replacements_values.sed *.js

# We need to copy nginx.conf to correct place
envsubst '${API_HOST} ${API_PORT}' < /etc/nginx/conf.d/compose.conf.template > /etc/nginx/nginx.conf
Expand Down
7 changes: 5 additions & 2 deletions .deploy/webapp/entrypoint.prod.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#!/bin/sh
#!/bin/bash
set -ex

# This Entrypoint used when we run Docker container outside of Docker Compose (e.g. in k8s)

# Use envsubst to create the actual replacements_values.sed file with values from env vars
envsubst < replacements.sed > replacements_values.sed

# In production we should replace some values in generated JS code
sed -i -f replacements.sed *.js
sed -i -f replacements_values.sed *.js

# We may not need to use that env vars now in nginx.config, but we may want later.
# Also we just need to copy nginx.conf to correct place anyway...
Expand Down
2 changes: 1 addition & 1 deletion apps/gauzy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
"@types/jest": "^29.4.4",
"@types/leaflet": "^1.8.0",
"@types/moment-duration-format": "^2.2.3",
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"@types/underscore": "^1.11.4",
"@types/underscore.string": "^0.0.38",
"@types/uuid": "^8.3.4",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@
"@semantic-release/npm": "^11.0.0",
"@types/jest": "^29.4.4",
"@types/jsdom": "^21.1.6",
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"@types/webpack": "^5.28.5",
"@types/yargs": "^15.0.9",
"ajv-formats": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"@types/passport": "^1.0.9",
"@types/passport-facebook": "^2.1.10",
"@types/passport-github2": "^1.2.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/common-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"slugify": "^1.6.5"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"@types/moment-duration-format": "^2.2.3",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"slugify": "^1.6.5"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@gauzy/common": "^0.1.0",
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"compile": "tsc -p tsconfig.build.json"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
"@types/jest": "^29.4.4",
"@types/multer": "^1.4.11",
"@types/multer-s3": "^3.0.3",
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"@types/node-fetch": "^2.5.12",
"@types/nodemailer": "^6.4.0",
"@types/passport": "^1.0.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
},
"devDependencies": {
"@nestjs/testing": "^10.3.7",
"@types/node": "^17.0.33"
"@types/node": "^20.14.9"
}
}
2 changes: 1 addition & 1 deletion packages/desktop-libs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"undici": "^6.10.2"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"electron": "28.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/desktop-ui-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"keywords": [],
"devDependencies": {
"@types/moment-duration-format": "^2.2.3",
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"electron": "28.1.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop-window/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"electron-store": "^8.1.0"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"electron": "28.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"underscore": "^1.13.3"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"typeorm": "^0.3.20"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/integration-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"form-data": "^3.0.0"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/integration-github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"underscore": "^1.13.3"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/integration-hubstaff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@gauzy/contracts": "^0.1.0"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/integration-jira/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"keywords": [],
"dependencies": {},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/integration-upwork/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"@types/multer": "^1.4.11",
"@types/fs-extra": "5.0.2",
"@types/uuid": "^3.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/integration-wakatime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"devDependencies": {
"@nestjs/testing": "^10.3.7",
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/jitsu-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"typeorm": "^0.3.20"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/job-proposal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"typeorm": "^0.3.20"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/job-search-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@types/node": "^17.0.33"
"@types/node": "^20.14.9"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/job-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"typeorm": "^0.3.20"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/knowledge-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"typeorm": "^0.3.20"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/product-reviews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"apollo-server-core": "^3.10.1"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/sentry-tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"rxjs": "^7.4.0"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2",
"typescript": "5.1.6"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"tslib": "^2.6.2"
},
"devDependencies": {
"@types/node": "^17.0.33",
"@types/node": "^20.14.9",
"rimraf": "^3.0.2"
},
"repository": {
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11974,7 +11974,7 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.18.63.tgz#1788fa8da838dbb5f9ea994b834278205db6ca2b"
integrity sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==

"@types/node@^17.0.33", "@types/node@^17.0.36":
"@types/node@^17.0.36":
version "17.0.45"
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.45.tgz#2c0fafd78705e7a18b7906b5201a522719dc5190"
integrity sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==
Expand All @@ -11986,6 +11986,13 @@
dependencies:
undici-types "~5.26.4"

"@types/node@^20.14.9":
version "20.14.9"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.9.tgz#12e8e765ab27f8c421a1820c99f5f313a933b420"
integrity sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==
dependencies:
undici-types "~5.26.4"

"@types/nodemailer@*", "@types/nodemailer@^6.4.0":
version "6.4.14"
resolved "https://registry.yarnpkg.com/@types/nodemailer/-/nodemailer-6.4.14.tgz#5c81a5e856db7f8ede80013e6dbad7c5fb2283e2"
Expand Down
Loading