Skip to content

Commit

Permalink
docs: bump version to 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Mar 20, 2022
1 parent d97535e commit 4570b37
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

```typescript
#!/usr/bin/env dzx
/// <reference path="https://deno.land/x/dzx@0.3.0/types.d.ts" />
/// <reference path="https://deno.land/x/dzx@0.3.1/types.d.ts" />

$.verbose = true;
$.shell = "/usr/local/bin/zsh";
Expand Down Expand Up @@ -78,7 +78,7 @@ await fs.ensureDir("./tmp");
## Install

```
deno install --allow-all --unstable -f https://deno.land/x/dzx@0.3.0/dzx.ts
deno install --allow-all --unstable -f https://deno.land/x/dzx@0.3.1/dzx.ts
```

> `--unstable` is required for the `bundle` command which uses `Deno.emit`, for
Expand All @@ -97,15 +97,15 @@ reference to the top of the file,

```
#!/usr/bin/env dzx
/// <reference path="https://deno.land/x/dzx@0.3.0/types.d.ts" />
/// <reference path="https://deno.land/x/dzx@0.3.1/types.d.ts" />
```

or you can import all symbol directly from the `dzx/mod.ts` module instead of
using globals.

```ts
#!/usr/bin/env dzx
import { $, cd, fs, io, log, path } from "https://deno.land/x/dzx@0.3.0/mod.ts";
import { $, cd, fs, io, log, path } from "https://deno.land/x/dzx@0.3.1/mod.ts";
```

After making your script executable,
Expand All @@ -126,8 +126,8 @@ You can use `dzx` without installation by using next shebang. This also allows
you to explicitly set the permissions for your script.

```typescript
#!/usr/bin/env deno run --allow-run --allow-read --allow-env https://deno.land/x/dzx@0.3.0/dzx.ts
/// <reference path="https://deno.land/x/dzx@0.3.0/types.d.ts" />
#!/usr/bin/env deno run --allow-run --allow-read --allow-env https://deno.land/x/dzx@0.3.1/dzx.ts
/// <reference path="https://deno.land/x/dzx@0.3.1/types.d.ts" />

console.log(`Hello ${$.blue.bold("world")}!`);
```
Expand All @@ -143,7 +143,7 @@ the `dzx` cli.

```typescript
#!/usr/bin/env dzx --worker --allow-read
/// <reference path="https://deno.land/x/dzx@0.3.0/types.d.ts" />
/// <reference path="https://deno.land/x/dzx@0.3.1/types.d.ts" />

console.log(`Hello from ${$.blue.bold("worker")}!`);
```
Expand Down Expand Up @@ -352,7 +352,7 @@ notes.

```
Usage: dzx [script] [args...]
Version: 0.3.0
Version: 0.3.1

Description:

Expand Down
2 changes: 1 addition & 1 deletion examples/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ something like this:
```
#!/usr/bin/env dzx
/// <reference path="https://deno.land/x/dzx@0.2.4/types.d.ts" />
/// <reference path="https://deno.land/x/dzx@0.3.1/types.d.ts" />
// deno-lint-ignore-file
$.verbose = true;
Expand Down
2 changes: 1 addition & 1 deletion version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = "0.2.4";
export const VERSION = "0.3.1";

0 comments on commit 4570b37

Please sign in to comment.