Skip to content

Commit 541be40

Browse files
committed
0.0.462
1 parent a509e93 commit 541be40

File tree

5 files changed

+57
-5
lines changed

5 files changed

+57
-5
lines changed

.gitpod.Dockerfile

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM gitpod/workspace-full
2+
3+
# Install custom tools, runtimes, etc.
4+
# For example "bastet", a command-line tetris clone:
5+
# RUN brew install bastet
6+
#
7+
# More information: https://www.gitpod.io/docs/config-docker/
8+
RUN bash -c 'VERSION="18" \
9+
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
10+
&& nvm use $VERSION && nvm alias default $VERSION'
11+
12+
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix

.gitpod.yml

+34-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
ports:
5+
- port: 3007
6+
onOpen: open-preview
7+
visibility: public
8+
- port: 4000
9+
onOpen: open-browser
10+
visibility: public
11+
- port: 3006
12+
onOpen: ignore
13+
visibility: public
14+
- port: 8080
15+
onOpen: ignore
16+
visibility: public
17+
18+
vscode:
19+
extensions:
20+
- ms-azuretools.vscode-docker
21+
- graphql.vscode-graphql
22+
- yzhang.markdown-all-in-one
23+
- ms-vscode.vscode-typescript-tslint-plugin
24+
- hediet.vscode-drawio
25+
- ms-azuretools.vscode-docker
26+
127
tasks:
2-
- init: npm ci
3-
command: echo "hello"
28+
- init: |
29+
./ensure-node-version.sh
30+
. ~/.nvm/nvm.sh && nvm use
31+
./prebuild.sh | tee gitpod-prebuild.log.txt
32+
- command: |
33+
./ensure-node-version.sh
34+
. ~/.nvm/nvm.sh && nvm use
35+
./wait-for-prebuild.sh && (npm run gitpod-start | tee gitpod-start.log.txt);

.vscode/settings.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
{
2-
"typescript.tsdk": "node_modules/typescript/lib"
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"workbench.colorCustomizations": {
4+
"activityBar.background": "#1B2535",
5+
"titleBar.activeBackground": "#1B2535",
6+
"titleBar.activeForeground": "#ffffff",
7+
"activityBar.inactiveForeground": "#BEE3F8", //icon inactive
8+
}
39
}

call.mjs

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ const optionDefinitions = [
3434
{ name: 'run', alias: 'r', type: Boolean },
3535
{ name: 'bash', type: String },
3636

37+
{ name: 'last', alias: 'l', type: Boolean }, // restore
38+
3739
{ name: 'generate', alias: 'g', type: Boolean },
3840
{ name: 'deeplinks', type: String },
3941
{ name: 'deepcase', type: String },
@@ -83,7 +85,7 @@ if (options.generate) {
8385
"HASURA_GRAPHQL_DATABASE_URL": `postgres://postgres:${postgresKey}@deep-postgres:5432/postgres?sslmode=disable`,
8486
'DEEP_HASURA_GRAPHQL_LOG_LEVEL': 'error',
8587
"POSTGRES_MIGRATIONS_SOURCE": `postgres://postgres:${postgresKey}@deep-postgres:5432/postgres?sslmode=disable`,
86-
"RESTORE_VOLUME_FROM_SNAPSHOT": "0",
88+
"RESTORE_VOLUME_FROM_SNAPSHOT": options.last ? '1': '0',
8789
"MANUAL_MIGRATIONS": "1",
8890
"MINIO_ROOT_USER": minioAccess,
8991
"MINIO_ROOT_PASSWORD": minioSecret,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deep-foundation/deeplinks",
3-
"version": "0.0.461",
3+
"version": "0.0.462",
44
"license": "Unlicense",
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)