Skip to content

Commit

Permalink
0.0.462
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansglazunov committed Sep 9, 2024
1 parent a509e93 commit 541be40
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM gitpod/workspace-full

# Install custom tools, runtimes, etc.
# For example "bastet", a command-line tetris clone:
# RUN brew install bastet
#
# More information: https://www.gitpod.io/docs/config-docker/
RUN bash -c 'VERSION="18" \
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
&& nvm use $VERSION && nvm alias default $VERSION'

RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
36 changes: 34 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
image:
file: .gitpod.Dockerfile

ports:
- port: 3007
onOpen: open-preview
visibility: public
- port: 4000
onOpen: open-browser
visibility: public
- port: 3006
onOpen: ignore
visibility: public
- port: 8080
onOpen: ignore
visibility: public

vscode:
extensions:
- ms-azuretools.vscode-docker
- graphql.vscode-graphql
- yzhang.markdown-all-in-one
- ms-vscode.vscode-typescript-tslint-plugin
- hediet.vscode-drawio
- ms-azuretools.vscode-docker

tasks:
- init: npm ci
command: echo "hello"
- init: |
./ensure-node-version.sh
. ~/.nvm/nvm.sh && nvm use
./prebuild.sh | tee gitpod-prebuild.log.txt
- command: |
./ensure-node-version.sh
. ~/.nvm/nvm.sh && nvm use
./wait-for-prebuild.sh && (npm run gitpod-start | tee gitpod-start.log.txt);
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib",
"workbench.colorCustomizations": {
"activityBar.background": "#1B2535",
"titleBar.activeBackground": "#1B2535",
"titleBar.activeForeground": "#ffffff",
"activityBar.inactiveForeground": "#BEE3F8", //icon inactive
}
}
4 changes: 3 additions & 1 deletion call.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ const optionDefinitions = [
{ name: 'run', alias: 'r', type: Boolean },
{ name: 'bash', type: String },

{ name: 'last', alias: 'l', type: Boolean }, // restore

{ name: 'generate', alias: 'g', type: Boolean },
{ name: 'deeplinks', type: String },
{ name: 'deepcase', type: String },
Expand Down Expand Up @@ -83,7 +85,7 @@ if (options.generate) {
"HASURA_GRAPHQL_DATABASE_URL": `postgres://postgres:${postgresKey}@deep-postgres:5432/postgres?sslmode=disable`,
'DEEP_HASURA_GRAPHQL_LOG_LEVEL': 'error',
"POSTGRES_MIGRATIONS_SOURCE": `postgres://postgres:${postgresKey}@deep-postgres:5432/postgres?sslmode=disable`,
"RESTORE_VOLUME_FROM_SNAPSHOT": "0",
"RESTORE_VOLUME_FROM_SNAPSHOT": options.last ? '1': '0',
"MANUAL_MIGRATIONS": "1",
"MINIO_ROOT_USER": minioAccess,
"MINIO_ROOT_PASSWORD": minioSecret,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deep-foundation/deeplinks",
"version": "0.0.461",
"version": "0.0.462",
"license": "Unlicense",
"type": "module",
"scripts": {
Expand Down

0 comments on commit 541be40

Please sign in to comment.