Skip to content

Commit

Permalink
fix JS sample test + always how compiler output + bump ver to 0.0.25 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vgao1996 authored Feb 3, 2025
1 parent 860d27a commit 0f12393
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
4 changes: 2 additions & 2 deletions workspace/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 workspace/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aptos-labs/workspace",
"version": "0.0.24",
"version": "0.0.25",
"license": "Apache-2.0",
"bin": {
"aptos-workspace": "./dist/internal/cli.js",
Expand Down
8 changes: 2 additions & 6 deletions workspace/sample-project/js/tests/my-first-test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { expect } from "chai";
import {
publishMovePackage,
getTestSigners,
workspace,
} from "@aptos-labs/workspace";
const { expect } = require("chai");
const { publishMovePackage, getTestSigners, workspace } = require("@aptos-labs/workspace");

let packageObjectAddress;

Expand Down
2 changes: 1 addition & 1 deletion workspace/src/tasks/publishMovePackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const publishMovePackageTask = async (args: {
`--private-key=${publisher.privateKey}`,
`--url=${workspace.config.fullnode}`,
],
showStdout: configVerbose ?? false,
showStdout: true // configVerbose ?? false,
});
return response.objectAddress;
};
2 changes: 1 addition & 1 deletion workspace/src/tasks/publishMoveScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const publishCompiledMoveScriptTask = async (args: {
`--private-key=${publisher.privateKey}`,
`--url=${workspace.config.fullnode}`,
],
showStdout: configVerbose ?? false,
showStdout: true // configVerbose ?? false,
});
return response.output;
};

0 comments on commit 0f12393

Please sign in to comment.