Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Update saplings to use local saplingjs
Browse files Browse the repository at this point in the history
Signed-off-by: Amelia Bradley <[email protected]>
  • Loading branch information
Amelia Bradley committed Jul 29, 2022
1 parent 5bc4349 commit 61f4053
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ RUN apk add --no-cache python g++ git make \
COPY ui/saplings /saplings
COPY ui/sapling-dev-server /sapling-dev-server
COPY ui/protos /protos
COPY ui/saplingjs /saplingjs

WORKDIR /saplingjs
RUN npm install \
&& npm run build

ARG PUBLIC_URL_PARTIAL
ENV PUBLIC_URL $PUBLIC_URL_PARTIAL
Expand Down
2 changes: 1 addition & 1 deletion ui/saplings/circuits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"react-dropdown": "^1.7.0",
"react-router-dom": "^5.1.2",
"react-toast-notifications": "^2.4.0",
"splinter-saplingjs": "github:cargill/splinter-saplingjs#main",
"splinter-saplingjs": "file:../../saplingjs",
"transact-sdk": "^0.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion ui/saplings/product/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"react-router-dom": "^5.1.2",
"react-table": "^7.6.3",
"react-toast-notifications": "^2.4.0",
"splinter-saplingjs": "github:cargill/splinter-saplingjs#main",
"splinter-saplingjs": "file:../../saplingjs",
"transact-sdk": "^0.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion ui/saplings/profile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"react": "^16.12.0",
"react-dom": "^16.12.0",
"sjcl": "^1.0.8",
"splinter-saplingjs": "github:cargill/splinter-saplingjs#main",
"splinter-saplingjs": "file:../../saplingjs",
"transact-sdk": "^0.1.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion ui/saplings/register-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"axios": "^0.21.1",
"history": "^4.10.1",
"js-sha256": "^0.9.0",
"splinter-saplingjs": "github:cargill/splinter-saplingjs#main"
"splinter-saplingjs": "file:../../saplingjs"
},
"scripts": {
"test": "jest",
Expand Down

0 comments on commit 61f4053

Please sign in to comment.