diff --git a/bin/dev.sh b/bin/dev.sh index 9379c6d4a4..f33b334fc9 100755 --- a/bin/dev.sh +++ b/bin/dev.sh @@ -11,4 +11,4 @@ cd "$ROOT" yarn # stripe login (if API key is expired) -npx concurrently --kill-others "yarn start:app" "yarn start:api:dev" "yarn start:redirect" "yarn start:stripe:listen" --names app,api,redirect,stripe +npx concurrently --kill-others "yarn start:app" "yarn start:api:dev" "yarn start:redirect" "yarn start:sandbox" "yarn start:stripe:listen" --names app,api,redirect,sandbox,stripe diff --git a/package.json b/package.json index d5bdbb6e7b..02ab151aec 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,7 @@ "start:api:prod": "yarn --cwd packages/altair-db prisma migrate deploy && yarn --cwd packages/altair-db prisma db seed && yarn --cwd packages/altair-api start:prod", "start:app": "nx start @altairgraphql/app", "start:redirect": "nx dev @altairgraphql/login-redirect", + "start:sandbox": "nx dev @altairgraphql/iframe-sandbox", "start:electron": "nx dev altair", "start:stripe:listen": "stripe listen --forward-to http://localhost:3000/stripe-webhook", "test": "nx run-many --target=test --all", diff --git a/packages/altair-app/angular.json b/packages/altair-app/angular.json index 30288647b6..fe1c7d80e7 100644 --- a/packages/altair-app/angular.json +++ b/packages/altair-app/angular.json @@ -18,9 +18,7 @@ "tsConfig": "src/tsconfig.app.json", "polyfills": "src/polyfills.ts", "assets": ["src/assets", "src/favicon.ico"], - "styles": [ - "src/styles.scss" - ], + "styles": ["src/styles.scss"], "stylePreprocessorOptions": { "includePaths": ["node_modules"] }, diff --git a/packages/altair-app/package.json b/packages/altair-app/package.json index e4e6fc01be..f2941bc9f1 100644 --- a/packages/altair-app/package.json +++ b/packages/altair-app/package.json @@ -2,7 +2,7 @@ "name": "@altairgraphql/app", "description": "Contains the altair app", "version": "7.2.1", - "author": "Samuel Imolorhe (https://sirmuel.design/)", + "author": "Samuel Imolorhe (https://altairgraphql.dev/)", "dependencies": { "@altairgraphql/api-utils": "^7.2.1", "@altairgraphql/db": "^7.2.1", @@ -176,11 +176,12 @@ "scripts": { "analyze": "ng build --stats-json && npx webpack-bundle-analyzer dist/stats.json", "analyze:prod": "ng build --aot --stats-json && npx webpack-bundle-analyzer dist/stats.json", - "build": "node --max_old_space_size=8000 ../../node_modules/@angular/cli/bin/ng build --aot --stats-json && yarn sentry:sourcemaps:inject", + "ng:build": "node --max_old_space_size=8000 ../../node_modules/@angular/cli/bin/ng build --aot --stats-json --output-hashing=none", + "build": "yarn ng:build && yarn sentry:sourcemaps:inject", "lint": "ng lint", "new:component": "ng g component modules/altair/components/", "ng": "ng", - "prepare": "node --max_old_space_size=8000 ../../node_modules/@angular/cli/bin/ng build --output-hashing=none --aot --stats-json && yarn sentry:sourcemaps:inject", + "prepare": "yarn build", "start": "ng serve", "sentry:sourcemaps:inject": "sentry-cli sourcemaps inject --org altair-graphql --project electron ./dist", "test": "jest && ng lint", diff --git a/packages/altair-app/src/app/modules/altair/containers/altair/altair.component.html b/packages/altair-app/src/app/modules/altair/containers/altair/altair.component.html index af0cfcbd0b..f9d3b0ff47 100644 --- a/packages/altair-app/src/app/modules/altair/containers/altair/altair.component.html +++ b/packages/altair-app/src/app/modules/altair/containers/altair/altair.component.html @@ -459,7 +459,7 @@ Do you find this app useful? Would you mind supporting its development?