From dab9cbb79f3a52e8a7b3046442b227defda951a4 Mon Sep 17 00:00:00 2001 From: "deep-foundation-sweepai[bot]" <144620334+deep-foundation-sweepai[bot]@users.noreply.github.com> Date: Fri, 29 Sep 2023 17:31:51 +0000 Subject: [PATCH 1/3] feat: Updated package.json --- package.json | 75 +--------------------------------------------------- 1 file changed, 1 insertion(+), 74 deletions(-) diff --git a/package.json b/package.json index 987fe124..e3b60d89 100644 --- a/package.json +++ b/package.json @@ -7,80 +7,7 @@ "url": "https://github.com/deep-foundation/dev/issues" }, "homepage": "https://github.com/deep-foundation/dev#readme", - "scripts": { - "parentScript": "cross-env GREET=\"QWE\" cross-env-shell \"echo Hello $GREET\"", - "childScript": "cross-env-shell \"echo Hello $GREET\"", - "gulp": "gulp", - "test": "(cd packages/deeplinks; npm run test)", - "codespaces-prepare": "npm run gitpod-prepare", - "gitpod-prepare": "npm run git-shh-to-https && sudo apt update && (yes | sudo apt install screen) && (yes | sudo apt install rsync) && (yes | sudo apt install net-tools) && screen -S docker -d -m sudo docker-up", - "packages": "(npx gulp packages:get) && (npx gulp packages:ci)", - "packages-ci": "(cd packages && for d in */; do (cd $d && npm ci); done)", - "deepcase": "(cd packages/deepcase-app && npm run dev -- -p 3007)", - "deepcase-build": "cd packages/deepcase-app && cross-env ASSET_PREFIX='.' npm run build && npm run export && npx rimraf electron/app && npx cap copy electron", - "deeplinks": "cd packages/deeplinks && npm run dev", - "local": "cross-env npm_config_yes=true NEXT_PUBLIC_ENGINES=1 NEXT_PUBLIC_HIDEPATH=1 JWT_SECRET=\"{\\\"type\\\":\\\"HS256\\\",\\\"key\\\":\\\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\\\"}\" MIGRATIONS_ID_TYPE_SQL=bigint MIGRATIONS_ID_TYPE_GQL=bigint MIGRATIONS_HASURA_PATH=localhost:8080 MIGRATIONS_HASURA_SSL=0 MIGRATIONS_HASURA_SECRET=myadminsecretkey DEEPLINKS_HASURA_SECRET=myadminsecretkey NEXT_PUBLIC_DEEPLINKS_SERVER=http://localhost:3007 NEXT_PUBLIC_GQL_PATH=localhost:3006/gql NEXT_PUBLIC_GQL_SSL=0 DEEPLINKS_HASURA_PATH=localhost:8080 DEEPLINKS_HASURA_SSL=0 MIGRATIONS_DEEPLINKS_APP_URL=http://host.docker.internal:3007 MIGRATIONS_DEEPLINKS_URL=http://host.docker.internal:3006 NEXT_PUBLIC_DEEPLINKS_URL=http://localhost:3006 DEEPLINKS_PUBLIC_URL=http://localhost:3006 DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006 DEEPLINKS_ROUTE_HANDLERS_HOST=host.docker.internal npm run local-core", - "local-core": "concurrently \"npm run deepcase\" \"npm run deeplinks\" \"npm run local-engine\" \"npm run sdk\" \"(cd packages/deepcase && npm run package:watch)\"", - "local-engine": "cd packages/hasura && npm run docker", - "electron-dev": "(cross-env npm_config_yes=true NEXT_PUBLIC_ENGINES=1 MIGRATIONS_ID_TYPE_SQL=bigint MIGRATIONS_ID_TYPE_GQL=bigint MIGRATIONS_HASURA_PATH=localhost:8080 MIGRATIONS_HASURA_SSL=0 MIGRATIONS_HASURA_SECRET=myadminsecretkey NEXT_PUBLIC_DEEPLINKS_SERVER=http://localhost:3007 NEXT_PUBLIC_GQL_PATH=localhost:3006/gql NEXT_PUBLIC_GQL_SSL=0 DEEPLINKS_HASURA_PATH=localhost:8080 DEEPLINKS_HASURA_SSL=0 MIGRATIONS_DEEPLINKS_APP_URL=http://host.docker.internal:3007 MIGRATIONS_DEEPLINKS_URL=http://host.docker.internal:3006 NEXT_PUBLIC_DEEPLINKS_URL=http://localhost:3006 DEEPLINKS_PUBLIC_URL=http://localhost:3006 npm run electron-dev-core)", - "electron-dev-core": "cd packages/deepcase-app && npx cap copy electron && npm run electron-dev", - "electron-build-mac": "APPLEIDPASS=$(security find-generic-password -w -a menzorg@gmail.com) APPLEID=menzorg@gmail.com CSC_NAME='ABRAKAR, OOO (8ZG6TUT4AY)' npm run electron-build-unix", - "electron-build-unix": "npm run apply-all && npm run electron-next-build-unix && npm run electron-build-pack", - "electron-build-windows": "npm run apply-all && npm run electron-next-build-windows && npm run electron-build-pack", - "electron-next-build-unix": "(cross-env MIGRATIONS_DIR=/tmp/.migrate && npm run electron-build-core)", - "electron-next-build-windows": "(cross-env MIGRATIONS_DIR=.migrate && npm run electron-build-core)", - "electron-build-core": "(cross-env npm_config_yes=true NEXT_PUBLIC_ENGINES=1 NEXT_PUBLIC_HIDEPATH=1 MIGRATIONS_ID_TYPE_SQL=bigint MIGRATIONS_ID_TYPE_GQL=bigint MIGRATIONS_HASURA_PATH=localhost:8080 MIGRATIONS_HASURA_SSL=0 MIGRATIONS_HASURA_SECRET=myadminsecretkey NEXT_PUBLIC_DEEPLINKS_SERVER=http://localhost:3007 NEXT_PUBLIC_GQL_PATH=localhost:3006/gql NEXT_PUBLIC_GQL_SSL=0 DEEPLINKS_HASURA_PATH=localhost:8080 DEEPLINKS_HASURA_SSL=0 MIGRATIONS_DEEPLINKS_APP_URL=http://host.docker.internal:3007 NEXT_PUBLIC_DEEPLINKS_URL=MIGRATIONS_DEEPLINKS_URL=http://host.docker.internal:3006 NEXT_PUBLIC_DEEPLINKS_URL=http://localhost:3006 DEEPLINKS_PUBLIC_URL=http://localhost:3006 npm run deepcase-build)", - "electron-build-pack": "cd packages/deepcase-app/electron && npm run electron:pack", - "electron-build-pack-demo": "cd packages/deepcase-app/electron && CSC_IDENTITY_AUTO_DISCOVERY=false npm run electron:pack-demo", - "codespaces-codespaces-name": "export CODESPACE_NAME=$(jq -r \".CODESPACE_NAME\" /workspaces/.codespaces/shared/environment-variables.json)", - "codespaces-variables": "npm run codespaces-codespaces-name", - "codespaces-init": "npm run codespaces-variables && npm run codespaces-prepare && npm ci && npm run packages && npm run apply-deeplinks && npm run apply-hasura", - "codespaces-start": "export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET=\"{\\\"type\\\":\\\"HS256\\\",\\\"key\\\":\\\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\\\"}\" export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=localhost:8080; export DEEPLINKS_HASURA_PATH=localhost:8080; export MIGRATIONS_HASURA_SSL=1; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export DEEPLINKS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=https://$(echo \"https://${CODESPACE_NAME}-3007.app.github.dev\" | awk -F[/:] '{print $4}'); export NEXT_PUBLIC_GQL_PATH=$(echo \"https://${CODESPACE_NAME}-3007.app.github.dev\" | awk -F[/:] '{print $4}')/api/gql; export NEXT_PUBLIC_GQL_SSL=1 DEEPLINKS_HASURA_PATH=localhost:8080; export MIGRATIONS_DEEPLINKS_APP_URL=$(echo \"https://${CODESPACE_NAME}-3007.app.github.dev\"); export MIGRATIONS_DEEPLINKS_URL=$(echo \"https://${CODESPACE_NAME}-3006.app.github.dev\"); export DEEPLINKS_PUBLIC_URL=$(echo \"https://${CODESPACE_NAME}-3006.app.github.dev\"); export NEXT_PUBLIC_DEEPLINKS_URL=$(echo \"https://${CODESPACE_NAME}-3006.app.github.dev\"); export DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006; export DEEPLINKS_ROUTE_HANDLERS_HOST=host.docker.internal; concurrently \"npm run deepcase\" \"npm run deeplinks\" \"npm run gitpod-engine\" \"npm run sdk\" \"sleep 120 && npm run codespaces-hasura-reattach\" \"(cd packages/deepcase && npm run package:watch)\"", - "gitpod-init": "npm run gitpod-prepare && npm ci && npm run packages && npm run apply-deeplinks && npm run apply-hasura", - "gitpod-start": "export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET=\"{\\\"type\\\":\\\"HS256\\\",\\\"key\\\":\\\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\\\"}\" export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export MIGRATIONS_HASURA_SSL=1; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export DEEPLINKS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=https://$(echo $(gp url 3007) | awk -F[/:] '{print $4}'); export NEXT_PUBLIC_GQL_PATH=$(echo $(gp url 3007) | awk -F[/:] '{print $4}')/api/gql; export NEXT_PUBLIC_GQL_SSL=1 DEEPLINKS_HASURA_PATH=localhost:8080; export DEEPLINKS_HASURA_SSL=0; export MIGRATIONS_DEEPLINKS_APP_URL=$(gp url 3007); export MIGRATIONS_DEEPLINKS_URL=$(gp url 3006); export DEEPLINKS_PUBLIC_URL=$(gp url 3006); export NEXT_PUBLIC_DEEPLINKS_URL=$(gp url 3006); export DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006; export DEEPLINKS_ROUTE_HANDLERS_HOST=host.docker.internal; concurrently \"npm run deepcase\" \"npm run deeplinks\" \"npm run gitpod-engine\" \"npm run sdk\" \"sleep 120 && npm run gitpod-hasura-reattach\" \"(cd packages/deepcase && npm run package:watch)\"", - "gitpod-engine": "cd packages/deeplinks && npm run start-engine-docker", - "gitpod-wakeup": "export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET=\"{\\\"type\\\":\\\"HS256\\\",\\\"key\\\":\\\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\\\"}\" export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export MIGRATIONS_HASURA_SSL=1; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export DEEPLINKS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=https://$(echo $(gp url 3007) | awk -F[/:] '{print $4}'); export NEXT_PUBLIC_GQL_PATH=$(echo $(gp url 3007) | awk -F[/:] '{print $4}')/api/gql; export NEXT_PUBLIC_GQL_SSL=1 DEEPLINKS_HASURA_PATH=localhost:8080; export DEEPLINKS_HASURA_SSL=0; export MIGRATIONS_DEEPLINKS_APP_URL=$(gp url 3007); export MIGRATIONS_DEEPLINKS_URL=$(gp url 3006); export DEEPLINKS_PUBLIC_URL=$(gp url 3006); export NEXT_PUBLIC_DEEPLINKS_URL=$(gp url 3006); export DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006; npm run apply-deeplinks && concurrently \"npm run deepcase\" \"npm run deeplinks\" \"(cd packages/deeplinks && npm run start-engine-docker)\" \"(cd packages/deepcase && npm run package:watch)\"", - "gitpod-migrate": "export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET=\"{\\\"type\\\":\\\"HS256\\\",\\\"key\\\":\\\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\\\"}\" export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export MIGRATIONS_HASURA_SSL=1; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export DEEPLINKS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=https://$(echo $(gp url 3007) | awk -F[/:] '{print $4}'); export NEXT_PUBLIC_GQL_PATH=$(echo $(gp url 3007) | awk -F[/:] '{print $4}')/api/gql; export NEXT_PUBLIC_GQL_SSL=1 DEEPLINKS_HASURA_PATH=localhost:8080; export DEEPLINKS_HASURA_SSL=0; export MIGRATIONS_DEEPLINKS_APP_URL=$(gp url 3007); export MIGRATIONS_DEEPLINKS_URL=$(gp url 3006); export DEEPLINKS_PUBLIC_URL=$(gp url 3006); export DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006; cd packages/deeplinks && npm run migrate", - "gitpod-unmigrate": "export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET=\"{\\\"type\\\":\\\"HS256\\\",\\\"key\\\":\\\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\\\"}\" export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export MIGRATIONS_HASURA_SSL=1; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export DEEPLINKS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=https://$(echo $(gp url 3007) | awk -F[/:] '{print $4}'); export NEXT_PUBLIC_GQL_PATH=$(echo $(gp url 3007) | awk -F[/:] '{print $4}')/api/gql; export NEXT_PUBLIC_GQL_SSL=1 DEEPLINKS_HASURA_PATH=localhost:8080; export DEEPLINKS_HASURA_SSL=0; export MIGRATIONS_DEEPLINKS_APP_URL=$(gp url 3007); export MIGRATIONS_DEEPLINKS_URL=$(gp url 3006); export DEEPLINKS_PUBLIC_URL=$(gp url 3006); export DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006; cd packages/deeplinks && npm run unmigrate", - "gitpod-remigrate": "npm run gitpod-unmigrate && npm run gitpod-migrate", - "gitpod-remigrate-s-h": "export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET=\"{\\\"type\\\":\\\"HS256\\\",\\\"key\\\":\\\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\\\"}\" export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export export MIGRATIONS_HASURA_SSL=1; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export DEEPLINKS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=https://$(echo $(gp url 3007) | awk -F[/:] '{print $4}'); export NEXT_PUBLIC_GQL_PATH=$(echo $(gp url 3007) | awk -F[/:] '{print $4}')/api/gql; export NEXT_PUBLIC_GQL_SSL=1 DEEPLINKS_HASURA_PATH=localhost:8080; export DEEPLINKS_HASURA_SSL=0; export MIGRATIONS_DEEPLINKS_APP_URL=$(gp url 3007); export MIGRATIONS_DEEPLINKS_URL=$(gp url 3006); export DEEPLINKS_PUBLIC_URL=$(gp url 3006); export DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006; cd packages/deeplinks && npm run remigrate-s-h", - "docker-clear": "(cd node_modules/@deep-foundation/hasura/local && docker-compose down -p deep; docker rm -f $(docker ps -a -q); docker volume rm $(docker volume ls -q))", - "local-migrate": "export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET=\"{\\\"type\\\":\\\"HS256\\\",\\\"key\\\":\\\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\\\"}\"; export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=localhost:8080; export MIGRATIONS_HASURA_SSL=0; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=http://localhost:3007; export NEXT_PUBLIC_GQL_PATH=localhost:3006/gql; export NEXT_PUBLIC_GQL_SSL=0 DEEPLINKS_HASURA_PATH=localhost:8080; export DEEPLINKS_HASURA_SSL=0; export MIGRATIONS_DEEPLINKS_APP_URL=http://host.docker.internal:3007 export MIGRATIONS_DEEPLINKS_URL=http://host.docker.internal:3006; cd packages/deeplinks && npm run migrate", - "local-unmigrate": "export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET=\"{\\\"type\\\":\\\"HS256\\\",\\\"key\\\":\\\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\\\"}\" export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=localhost:8080; export MIGRATIONS_HASURA_SSL=0; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=http://localhost:3007; export NEXT_PUBLIC_GQL_PATH=localhost:3006/gql; export NEXT_PUBLIC_GQL_SSL=0 DEEPLINKS_HASURA_PATH=localhost:8080; export DEEPLINKS_HASURA_SSL=0; export MIGRATIONS_DEEPLINKS_APP_URL=http://host.docker.internal:3007 export MIGRATIONS_DEEPLINKS_URL=http://host.docker.internal:3006; cd packages/deeplinks && npm run unmigrate", - "rm-migrates": "(rm -rf ./packages/deeplinks/.migrate)", - "git-shh-to-https": "git config --global url.\"https://\".insteadOf git:// && git config --global url.\"https://github.com/\".insteadOf ssh://git@github.com/", - "apply-deepcase": "(rm -rf ./packages/deepcase-app/app && cd packages/deepcase && npm ci && npm run package:build && cd ../../ && (npm run apply-deepcase-deepcase-app || true) && cd packages/deepcase && npm run package:unbuild)", - "apply-deepcase-deepcase-app": "rm -rf packages/deepcase-app/node_modules/@deep-foundation/deepcase/imports && rm -rf packages/deepcase-app/node_modules/@deep-foundation/deepcase/package.json && cp -r packages/deepcase/imports packages/deepcase-app/node_modules/@deep-foundation/deepcase/imports && cp packages/deepcase/package.json packages/deepcase-app/node_modules/@deep-foundation/deepcase/package.json && rm -rf packages/deepcase-app/node_modules/@deep-foundation/deepcase/node_modules", - "apply-deeplinks": "(rm -rf ./packages/deepcase-app/app && cd packages/deeplinks && npm ci && npm run package:build && cd ../../ && (npm run apply-deeplinks-sdk || true) && (npm run apply-deeplinks-deepcase || true) && (npm run apply-deeplinks-electron || true) && (npm run apply-deeplinks-dev || true) && cd packages/deeplinks && npm run package:unbuild)", - "apply-deeplinks-sdk": "rm -rf packages/sdk/node_modules/@deep-foundation/deeplinks/imports && rm -rf packages/sdk/node_modules/@deep-foundation/deeplinks/migrations && rm -rf packages/sdk/node_modules/@deep-foundation/deeplinks/local && rm -rf packages/sdk/node_modules/@deep-foundation/deeplinks/index.* && rm -rf packages/sdk/node_modules/@deep-foundation/deeplinks/package.json && cp -r packages/deeplinks/imports packages/sdk/node_modules/@deep-foundation/deeplinks/imports && cp -r packages/deeplinks/migrations packages/sdk/node_modules/@deep-foundation/deeplinks/migrations && cp -r packages/deeplinks/local packages/sdk/node_modules/@deep-foundation/deeplinks/local && cp packages/deeplinks/index.* packages/sdk/node_modules/@deep-foundation/deeplinks/ && cp packages/deeplinks/package.json packages/sdk/node_modules/@deep-foundation/deeplinks/package.json && rm -rf packages/sdk/node_modules/@deep-foundation/deeplinks/node_modules", - "apply-deeplinks-deepcase": "rm -rf packages/deepcase-app/node_modules/@deep-foundation/deeplinks/imports && rm -rf packages/deepcase-app/node_modules/@deep-foundation/deeplinks/migrations && rm -rf packages/deepcase-app/node_modules/@deep-foundation/deeplinks/local && rm -rf packages/deepcase-app/node_modules/@deep-foundation/deeplinks/index.* && rm -rf packages/deepcase-app/node_modules/@deep-foundation/deeplinks/package.json && cp -r packages/deeplinks/imports packages/deepcase-app/node_modules/@deep-foundation/deeplinks/imports && cp -r packages/deeplinks/migrations packages/deepcase-app/node_modules/@deep-foundation/deeplinks/migrations && cp -r packages/deeplinks/local packages/deepcase-app/node_modules/@deep-foundation/deeplinks/local && cp packages/deeplinks/index.* packages/deepcase-app/node_modules/@deep-foundation/deeplinks/ && cp packages/deeplinks/package.json packages/deepcase-app/node_modules/@deep-foundation/deeplinks/package.json && rm -rf packages/deepcase-app/node_modules/@deep-foundation/deeplinks/node_modules", - "apply-deeplinks-electron": "rm -rf packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/imports && rm -rf packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/migrations && rm -rf packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/local && rm -rf packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/index.* && rm -rf packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/package.json && rm -rf packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/node_modules && cp -r packages/deeplinks/imports packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/imports && cp -r packages/deeplinks/migrations packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/migrations && cp -r packages/deeplinks/local packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/local && cp packages/deeplinks/index.* packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/ && cp packages/deeplinks/package*.json packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks && rm -rf packages/deepcase-app/electron/node_modules/@deep-foundation/deeplinks/node_modules", - "apply-deeplinks-dev": "rm -rf node_modules/@deep-foundation/deeplinks/imports && rm -rf node_modules/@deep-foundation/deeplinks/migrations && rm -rf node_modules/@deep-foundation/deeplinks/local && rm -rf node_modules/@deep-foundation/deeplinks/index.* && rm -rf node_modules/@deep-foundation/deeplinks/package.json && cp -r packages/deeplinks/imports node_modules/@deep-foundation/deeplinks/imports && cp -r packages/deeplinks/migrations node_modules/@deep-foundation/deeplinks/migrations && cp -r packages/deeplinks/local node_modules/@deep-foundation/deeplinks/local && cp packages/deeplinks/index.* node_modules/@deep-foundation/deeplinks/ && cp packages/deeplinks/package.json node_modules/@deep-foundation/deeplinks/package.json && rm -rf node_modules/@deep-foundation/deeplinks/node_modules", - "rm-hasura": "rm -rf ./packages/deepcase-app/node_modules/@deep-foundation/hasura && rm -rf ./packages/deeplinks/node_modules/@deep-foundation/hasura && rm -rf ./packages/materialized-path/node_modules/@deep-foundation/hasura && rm -rf ./packages/deepcase-app/electron/node_modules/@deep-foundation/hasura", - "cp-hasura": "(cd ./packages/hasura && npm ci && npm run package:build && cd ../../) && rm -rf ./packages/hasura/node_modules && (cp -r ./packages/hasura/ ./packages/deepcase-app/electron/node_modules/@deep-foundation/hasura || true) && (cp -r ./packages/hasura/ ./packages/deepcase-app/node_modules/@deep-foundation/hasura || true) && (cp -r ./packages/hasura/ ./packages/deeplinks/node_modules/@deep-foundation/hasura || true) && (cp -r ./packages/hasura/ ./packages/materialized-path/node_modules/@deep-foundation/hasura || true) && (cd ./packages/hasura && npm ci && npm run package:unbuild && cd ../..)", - "apply-hasura": "npm run rm-hasura && npm run cp-hasura", - "rm-store": "rm -rf ./packages/deepcase-app/node_modules/@deep-foundation/store && rm -rf ./packages/deeplinks/node_modules/@deep-foundation/store && rm -rf ./packages/gh-pages/node_modules/@deep-foundation/store && rm -rf ./packages/js-docker-isolaton-provider/node_modules/@deep-foundation/store && rm -rf ./packages/sdk/node_modules/@deep-foundation/store && rm -rf ./packages/deepcase-app/electron/node_modules/@deep-foundation/store && rm -rf ./packages/sdk/electron/node_modules/@deep-foundation/store", - "cp-store": "(cd ./packages/store && npm ci && npm run package:build && cd ../../) && rm -rf ./packages/store/node_modules && (cp -r ./packages/store/ ./packages/deepcase-app/node_modules/@deep-foundation/store || true) && (cp -r ./packages/store/ ./packages/deepcase-app/electron/node_modules/@deep-foundation/store || true) && (cp -r ./packages/store/ ./packages/deeplinks/node_modules/@deep-foundation/store || true) && (cp -r ./packages/hasura/ ./packages/gh-pages/node_modules/@deep-foundation/store || true) && (cp -r ./packages/store/ ./packages/js-docker-isolation-provider/node_modules/@deep-foundation/store || true) && (cp -r ./packages/store/ ./packages/sdk/node_modules/@deep-foundation/store || true) && (cd ./packages/store && npm ci && npm run package:unbuild && cd ../..)", - "apply-store": "npm run rm-store && npm run cp-store", - "apply-all": "npm run apply-hasura && npm run apply-deeplinks && npm run apply-store && npm run apply-deepcase", - "aa": "npm run apply-all", - "ad": "npm run apply-deeplinks", - "ah": "npm run apply-hasura", - "as": "npm run apply-store", - "ebw": "npm run electron-build-windows", - "ebu": "npm run electron-build-unix", - "ebm": "npm run electron-build-mac", - "enu": "npm run electron-next-build-unix", - "enw": "npm run electron-next-build-windows", - "pull-ci-apply": "(cd packages/hasura; git pull; npm ci); (cd packages/deeplinks; git pull; npm ci); (cd packages/deepcase-app; git pull; npm ci); (cd packages/deepcase-app/electron; npm ci); git pull && npm run apply-deeplinks && npm run apply-hasura", - "sdk": "(cd packages/sdk; PORT=4000 npm run dev)", - "local-recreate": "npm run local-unmigrate; npm run docker-clear; npm run rm-migrates; npm run local-engine; npm run local-migrate;", - "gitpod-recreate": "npm run gitpod-unmigrate; npm run docker-clear; npm run rm-migrates; npm run gitpod-engine; npm run gitpod-migrate;", - "local-reinit": "npm run docker-clear; npm run rm-migrates; npm run local-engine;", - "gitpod-reinit": "npm run docker-clear; npm run rm-migrates; npm run gitpod-engine;", - "gitpod-hasura-reattach": "export REATTACH_HASURA_SECRET=myadminsecretkey; export REATTACH_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export REATTACH_HASURA_SSL=1; export REATTACH_DEEPLINKS_PATH=$(echo $(gp url 3006) | awk -F[/:] '{print $4}'); npx gulp gitpod:hasura:reattach", - "codespaces-hasura-reattach": "export REATTACH_HASURA_SECRET=myadminsecretkey; export REATTACH_HASURA_PATH=localhost:8080; export REATTACH_HASURA_SSL=0; export REATTACH_DEEPLINKS_PATH=host.docker.internal:3006; npx gulp gitpod:hasura:reattach" - }, + "sync": "(cd packages && for d in */; do (cd $d && git checkout main && git pull --no-rebase && git commit -m 'sync' && git push); done)" "repository": { "type": "git", "url": "git+https://github.com/deep-foundation/dev.git" From 0d021c18c02a11f81d274338e3decca210a02828 Mon Sep 17 00:00:00 2001 From: "deep-foundation-sweepai[bot]" <144620334+deep-foundation-sweepai[bot]@users.noreply.github.com> Date: Fri, 29 Sep 2023 18:13:21 +0000 Subject: [PATCH 2/3] feat: Updated package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e3b60d89..519252ac 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/deep-foundation/dev/issues" }, "homepage": "https://github.com/deep-foundation/dev#readme", - "sync": "(cd packages && for d in */; do (cd $d && git checkout main && git pull --no-rebase && git commit -m 'sync' && git push); done)" + "sync": "(cd packages && for d in */; do (cd $d && git checkout main && git pull --no-rebase && git commit -m 'sync' && git push); done)", "repository": { "type": "git", "url": "git+https://github.com/deep-foundation/dev.git" From 9090f5678e38c4817023daa35a4bfb57f90e5746 Mon Sep 17 00:00:00 2001 From: "deep-foundation-sweepai[bot]" <144620334+deep-foundation-sweepai[bot]@users.noreply.github.com> Date: Fri, 29 Sep 2023 18:17:29 +0000 Subject: [PATCH 3/3] feat: Updated package.json --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 519252ac..ad2bdc7d 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,9 @@ "url": "https://github.com/deep-foundation/dev/issues" }, "homepage": "https://github.com/deep-foundation/dev#readme", + "scripts": { + "build": "echo 'build script to be implemented'" + }, "sync": "(cd packages && for d in */; do (cd $d && git checkout main && git pull --no-rebase && git commit -m 'sync' && git push); done)", "repository": { "type": "git",