Skip to content

Commit

Permalink
completed space saving up dates to fullstack
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher-Stevers committed Apr 18, 2023
1 parent 429c5dd commit ff8bffb
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ yarn.lock
notes.txt
test/
tmp/
node_modules/

secret.yml
github.txt
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:18-alpine
WORKDIR /app
RUN apk add git
RUN apk add git bash

COPY . .
RUN echo "Installing dependencies"
Expand Down
3 changes: 3 additions & 0 deletions commitpush.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
git add .
git commit -m"updated to share node modules via docker"
git push origin "$(git branch --show-current)":docker-shared-modules
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ services:
- modules_vol:/app/node_modules
- /app/.next
- ./OpenQ-Frontend:/app
- ./OpenQ-Contracts/artifacts:/app/artifacts
github-oauth-server:
container_name: github-oauth-server
depends_on:
Expand Down Expand Up @@ -288,7 +287,7 @@ services:
ports:
- "3007:3007"
volumes:
- modules_vol:/app/node_modules
- /app/node_modules
- /app/tmp
- ./OpenQ-Email-Server:/app
env_file:
Expand Down
36 changes: 36 additions & 0 deletions ignore.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/bin/bash

declare -a repos=(
"OpenQ-CoinAPI"
"OpenQ-Oracle"
"OpenQ-Frontend"
"OpenQ-Contracts"
"OpenQ-Github-OAuth-Server"
"OpenQ-Graph"
"OpenQ-Kubeconfig"
"OpenQ-Bot"
"OpenQ-API"
"OpenQ-Architecture"
"OpenQ-OZ-Claim-Autotask"
"OpenQ-Bounty-Actions-Autotask"
"OpenQ-Event-Listener"
"OpenQ-Token-Price-Cron-Job"
"Superfluid-Subgraph"
"OpenQ-Synpress"
"OpenQ-Notification-Autotask"
"OpenQ-User-Registration"
"OpenQ-Email-Server"
"OpenQ-Helm"
"OpenQ-Github-Proxy"
"OpenQ-Document-Manager"
)

echo 'CAREFUL THIS SCRIPT STASHES ALL REPOS'

for repo in "${repos[@]}"
do
cd "$repo"
git config core.fileMode false
echo "Ignored $repo"
cd ..
done
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"OpenQ-CoinAPI",
"OpenQ-Oracle",
"OpenQ-Frontend",
"OpenQ-Contracts",
"OpenQ-Github-OAuth-Server",
"OpenQ-Helm",
"OpenQ-JSON-RPC-Node",
Expand All @@ -25,9 +24,9 @@
"OpenQ-Token-Price-Cron-Job",
"Superfluid-Subgraph",
"OpenQ-User-Registration",
"OpenQ-Email-Server",
"OpenQ-Document-Manager",
"OpenQ-Notification-Autotask",
"OpenQ-Synpress"
"OpenQ-Synpress",
"OpenQ-Contracts"
]
}
40 changes: 40 additions & 0 deletions yarn-error.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Arguments:
/usr/local/share/nvm/versions/node/v18.15.0/bin/node /usr/share/yarn/bin/yarn.js

PATH:
/usr/local/rvm/gems/ruby-3.1.4/bin:/usr/local/rvm/gems/ruby-3.1.4@global/bin:/usr/local/rvm/rubies/ruby-3.1.4/bin:/vscode/bin/linux-x64/704ed70d4fd1c6bd6342c436f1ede30d1cff4710/bin/remote-cli:/home/codespace/.local/bin:/home/codespace/.dotnet:/home/codespace/nvm/current/bin:/home/codespace/.php/current/bin:/home/codespace/.python/current/bin:/home/codespace/java/current/bin:/home/codespace/.ruby/current/bin:/home/codespace/.local/bin:/usr/local/oryx:/usr/local/go/bin:/go/bin:/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:/usr/local/sdkman/candidates/ant/current/bin:/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:/usr/local/share/rbenv/bin:/opt/conda/bin:/usr/local/php/current/bin:/usr/local/python/current/bin:/usr/local/py-utils/bin:/usr/local/nvs:/usr/local/share/nvm/versions/node/v18.15.0/bin:/usr/local/hugo/bin:/usr/local/dotnet/current:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/codespace/.dotnet/tools:/usr/local/rvm/bin

Yarn version:
1.22.19

Node version:
18.15.0

Platform:
linux x64

Trace:
SyntaxError: /workspaces/OpenQ-Fullstack/package.json: Unexpected token ] in JSON at position 139
at JSON.parse (<anonymous>)
at /usr/share/yarn/lib/cli.js:1629:59
at Generator.next (<anonymous>)
at step (/usr/share/yarn/lib/cli.js:310:30)
at /usr/share/yarn/lib/cli.js:321:13

npm manifest:
{
"name": "module-manager",
"private": true,
"scripts": {
"start": "nodemon index.js"
},
"workspaces": [
"OpenQ-Event-Listener",
]
}

yarn manifest:
No manifest

Lockfile:
No lockfile

0 comments on commit ff8bffb

Please sign in to comment.