Skip to content

Commit

Permalink
Add a version check on apps - Done (#39)
Browse files Browse the repository at this point in the history
* Add a version check on apps

* Add a version check on apps

* remove unnecessary nodeslice.ts component
  • Loading branch information
TedZy829 authored Sep 21, 2023
1 parent 135bdee commit a6c9bce
Show file tree
Hide file tree
Showing 6 changed files with 2,309 additions and 31,524 deletions.
6 changes: 6 additions & 0 deletions config/apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export type CommonAppProperties = {
markdownDocsUrl?: string;
settings?: AppSettings[];
requiresRunningNode: boolean;
stableNodeVersion: string;
};

export type BinaryAppProperties = CommonAppProperties & {
Expand Down Expand Up @@ -67,6 +68,7 @@ const APPS_CONFIG: { apps: (BinaryAppProperties | DockerAppProperties)[] } = {
'./frontend/starkcet-frontend',
],
requiresRunningNode: true,
stableNodeVersion: 'v0.1.0.experimental.6',
},
{
id: '4a4ffc33-d60e-49db-9f55-0c43815dcf86',
Expand All @@ -90,6 +92,7 @@ const APPS_CONFIG: { apps: (BinaryAppProperties | DockerAppProperties)[] } = {
'RPC_API_HOST=http://localhost:9944 SECRET_KEY_BASE=JyULoT5cLBifW+XNEuCTVoAb+SaFgQt9j227RN0cKpR3wTsrApGd1HNcgeopemyl DATABASE_URL=ecto://postgres:postgres@localhost:5432/starknet_explorer_dev PHX_HOST=localhost PORT=8080 ./explorer/starknet_explorer/bin/starknet_explorer start',
],
requiresRunningNode: true,
stableNodeVersion: 'v0.1.0.experimental.6',
},
{
id: '20328678-1cec-4e84-a2ea-0b83cd84bece',
Expand All @@ -111,6 +114,7 @@ const APPS_CONFIG: { apps: (BinaryAppProperties | DockerAppProperties)[] } = {
'sozo migrate --manifest-path ./chess/deploy_files/Scarb.toml',
],
requiresRunningNode: true,
stableNodeVersion: 'v0.1.0.experimental.6',
},
{
id: '6430cd1b-097d-46be-a44d-aa7631433910',
Expand Down Expand Up @@ -146,6 +150,7 @@ const APPS_CONFIG: { apps: (BinaryAppProperties | DockerAppProperties)[] } = {
'https://raw.githubusercontent.com/keep-starknet-strange/madara/main/README.md',
bind: false,
requiresRunningNode: true,
stableNodeVersion: 'v0.1.0.experimental.6',
},
{
id: '5d4c83c6-40bc-4437-a31e-f51635f1d01e',
Expand Down Expand Up @@ -220,6 +225,7 @@ const APPS_CONFIG: { apps: (BinaryAppProperties | DockerAppProperties)[] } = {
],
bind: true,
requiresRunningNode: true,
stableNodeVersion: 'v0.1.0.experimental.6',
},
],
};
Expand Down
Loading

0 comments on commit a6c9bce

Please sign in to comment.