Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
Fix @onflow/flow-cadut imports in CLI (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink authored Jul 20, 2022
1 parent ffb3b72 commit fcabb81
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-cheetahs-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/flow-js-testing": patch
---

Fix flow-cadut imports that prevented CLI from working
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@onflow/config": "^1.0.3-alpha.0",
"@onflow/fcl": "^1.1.1-alpha.1",
"@onflow/fcl-config": "^0.0.1",
"@onflow/flow-cadut": "^0.2.0-alpha.7",
"@onflow/flow-cadut": "0.2.0-alpha.7",
"@onflow/types": "^1.0.3-alpha.0",
"elliptic": "^6.5.4",
"esm": "^3.2.25",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import {execSync} from "child_process"
import {writeFile} from "flow-cadut/generator"
import {writeFile} from "@onflow/flow-cadut/generator"

import babelConfig from "../templates/babel-config"
import jestConfig from "../templates/jest-config"
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

import {writeFile} from "flow-cadut/generator"
import {writeFile} from "@onflow/flow-cadut/generator"
import testTemplate from "../templates/test"

const hashedTimestamp = () => {
Expand Down

0 comments on commit fcabb81

Please sign in to comment.