Skip to content

Commit 6e002f0

Browse files
committed
release: v0.1.7
1 parent 419418c commit 6e002f0

File tree

8 files changed

+7
-19
lines changed

8 files changed

+7
-19
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ v0.1.3 - Revamp `log<T>(data: T)` with new as-console version
1515
v0.1.4 - Fix a few bugs with the cli
1616
v0.1.5 - Add skeleton cli and custom config
1717
v0.1.6 - Fix: args should be prefixed with a space
18+
v0.1.7 - Fix: remove warning about wasi-shim not being included when it is included

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
| _ || __| ___|_ _|| __|| __||_ _|
44
| ||__ ||___| | | | __||__ | | |
55
|__|__||_____| |_| |_____||_____| |_|
6-
v0.1.6
6+
v0.1.7
77
</pre>
88
</h5>
99

assembly/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export function run(options: RunOptions = new RunOptions()): void {
230230
),
231231
);
232232
console.log(
233-
rainbow.dimMk("\n------------------- v0.1.6 -------------------\n"),
233+
rainbow.dimMk("\n------------------- v0.1.7 -------------------\n"),
234234
);
235235
// @ts-ignore
236236
if (isDefined(COVERAGE_USE)) {

bin/build.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ export async function build(args) {
3535
const pkg = JSON.parse(readFileSync("./package.json").toString());
3636
let buildCommands = [];
3737
if (config.buildOptions.wasi) {
38-
if (!existsSync("./node_modules/@assemblyscript/wasi-shim/asconfig.json")) {
39-
console.log(
40-
chalk.bgRed(" ERROR ") +
41-
chalk.dim(":") +
42-
" " +
43-
"could not find @assemblyscript/wasi-shim! Add it to your dependencies to run with WASI!",
44-
);
45-
process.exit(1);
46-
}
4738
if (
4839
(pkg.dependencies &&
4940
!Object.keys(pkg.dependencies).includes("@assemblyscript/wasi-shim")) ||
@@ -56,15 +47,11 @@ export async function build(args) {
5647
"@assemblyscript/wasi-shim",
5748
))
5849
) {
59-
if (
60-
existsSync("./node_modules/@assemblyscript/wasi-shim/asconfig.json")
61-
) {
6250
console.log(
6351
chalk.bold.bgMagentaBright(" WARN ") +
6452
chalk.dim(": @assemblyscript/wasi-shim") +
6553
" is not included in project dependencies!",
6654
);
67-
}
6855
}
6956
}
7057
let packageManagerCommand = "npx";

bin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const _args = process.argv.slice(2);
77
const flags = [];
88
const args = [];
99
const COMMANDS = ["run", "build", "test", "init"];
10-
const version = "0.1.6";
10+
const version = "0.1.7";
1111
for (const arg of _args) {
1212
if (arg.startsWith("-")) flags.push(arg);
1313
else args.push(arg);

cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const args: string[] = [];
1111

1212
const COMMANDS: string[] = ["run", "build", "test", "init"];
1313

14-
const version = "0.1.6";
14+
const version = "0.1.7";
1515

1616
for (const arg of _args) {
1717
if (arg.startsWith("-")) flags.push(arg);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "as-test",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"description": "Testing framework for AssemblyScript. Compatible with WASI or Bindings ",
55
"types": "assembly/index.ts",
66
"author": "Jairus Tanaka",

transform/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@as-test/transform",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"description": "Testing framework for AssemblyScript. Compatible with WASI or Bindings ",
55
"main": "./lib/index.js",
66
"author": "Jairus Tanaka",

0 commit comments

Comments
 (0)