Skip to content
Snippets Groups Projects
Commit 813ed83b authored by Leonardo Christino's avatar Leonardo Christino Committed by Alen Zubic
Browse files

feat(env): load env variables from machine

parent d219c7c6
No related branches found
No related tags found
1 merge request!47feat(env): load env variables from machine
......@@ -48,6 +48,7 @@ export class FacetingLayer extends CompositeLayer<LayerProps> {
id: 'edges',
data: this.state.edges,
pickable: true,
//@ts-ignore
extensions: [new BrushingExtension()],
brushingEnabled: this.props.brushing,
brushingRadius: 500000,
......
......@@ -26,6 +26,7 @@ export class NodeLinkLayer extends CompositeLayer<LayerProps> {
id: 'edges',
data: this.props.edges,
pickable: true,
//@ts-ignore
extensions: [new BrushingExtension()],
brushingEnabled: this.props.brushing,
brushingRadius: 500000,
......
......@@ -8,7 +8,9 @@
],
"scripts": {
"build": "turbo run build --no-daemon",
"preview": "turbo run preview --no-daemon",
"build-dev": "turbo run build-dev --no-daemon",
"build-env": "turbo run build-env --no-daemon",
"dev": "turbo run dev --no-daemon",
"sb": "turbo run sb --no-daemon",
"lint": "turbo run lint --no-daemon",
......@@ -20,6 +22,7 @@
"@commitlint/cli": "^17.5.0",
"@commitlint/config-angular": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@import-meta-env/cli": "^0.6.5",
"eslint-config-custom": "workspace:*",
"husky": "^8.0.0",
"prettier": "latest",
......
This diff is collapsed.
......@@ -2,6 +2,14 @@
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env*"],
"pipeline": {
"build-env": {
"dependsOn": ["^build-env"],
"outputs": ["dist/**"]
},
"preview": {
"dependsOn": ["^preview"],
"outputs": ["dist/**", ".next/**"]
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment