Skip to content

Commit

Permalink
docs(examples): fix supply-chain-frontend run-time-error-cjs angular …
Browse files Browse the repository at this point in the history
…build

Webpack does not play nice with the `run-time-error-cjs` package's exports.
I replaced it with the vanilla `run-time-error` because the front-end
package is fine with it (does not have ESM/CJS issues like other packages)

[skip ci]

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Dec 7, 2023
1 parent 8f91f9d commit eee25d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/cactus-example-supply-chain-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@ionic-native/status-bar": "5.36.0",
"@ionic/angular": "7.3.3",
"net-browserify": "0.2.4",
"run-time-error-cjs": "1.4.0",
"run-time-error": "1.4.0",
"rxjs": "7.8.1",
"tls-browserify": "0.2.2",
"tslib": "2.6.2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { v4 as uuidv4 } from "uuid";
import { RuntimeError } from "run-time-error-cjs";
import { RuntimeError } from "run-time-error";

import { Component, Inject, Input, OnInit } from "@angular/core";
import {
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7157,7 +7157,7 @@ __metadata:
net-browserify: 0.2.4
os-browserify: 0.3.0
path-browserify: 1.0.1
run-time-error-cjs: 1.4.0
run-time-error: 1.4.0
rxjs: 7.8.1
tls-browserify: 0.2.2
tslib: 2.6.2
Expand Down Expand Up @@ -7872,7 +7872,7 @@ __metadata:
"@hyperledger/cactus-test-tooling": 2.0.0-alpha.2
"@types/body-parser": 1.19.4
"@types/express": 4.17.19
axios: 1.5.1
axios: 1.6.0
body-parser: 1.20.2
express: 4.18.2
joi: 17.9.1
Expand Down

0 comments on commit eee25d3

Please sign in to comment.