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

Commit fcabb81

Browse files
authored
Fix @onflow/flow-cadut imports in CLI (#149)
1 parent ffb3b72 commit fcabb81

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

.changeset/gold-cheetahs-attend.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@onflow/flow-js-testing": patch
3+
---
4+
5+
Fix flow-cadut imports that prevented CLI from working

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@onflow/config": "^1.0.3-alpha.0",
5252
"@onflow/fcl": "^1.1.1-alpha.1",
5353
"@onflow/fcl-config": "^0.0.1",
54-
"@onflow/flow-cadut": "^0.2.0-alpha.7",
54+
"@onflow/flow-cadut": "0.2.0-alpha.7",
5555
"@onflow/types": "^1.0.3-alpha.0",
5656
"elliptic": "^6.5.4",
5757
"esm": "^3.2.25",

src/cli/commands/init.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
import {execSync} from "child_process"
20-
import {writeFile} from "flow-cadut/generator"
20+
import {writeFile} from "@onflow/flow-cadut/generator"
2121

2222
import babelConfig from "../templates/babel-config"
2323
import jestConfig from "../templates/jest-config"

src/cli/commands/make.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

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

2222
const hashedTimestamp = () => {

0 commit comments

Comments
 (0)