Skip to content

Commit 3e79f4f

Browse files
authored
Merge pull request #127 from nestdotland/dev
0.3.8
2 parents a4f07a5 + c5bd1ab commit 3e79f4f

File tree

7 files changed

+25
-16
lines changed

7 files changed

+25
-16
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: denolib/setup-deno@v2
1818

1919
- name: Setup Drake
20-
run: deno run -A Drakefile.ts setup-github-actions
20+
run: deno run -A --unstable Drakefile.ts setup-github-actions
2121

2222
- name: Check formatting
2323
run: drake check-format
@@ -36,7 +36,7 @@ jobs:
3636
uses: denolib/setup-deno@v2
3737

3838
- name: Setup Drake
39-
run: deno run -A Drakefile.ts setup-github-actions
39+
run: deno run -A --unstable Drakefile.ts setup-github-actions
4040

4141
- name: Run linter
4242
run: drake lint

.github/workflows/ship.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: denolib/setup-deno@v2
2121

2222
- name: Setup Drake
23-
run: deno run -A Drakefile.ts setup-github-actions
23+
run: deno run -A --unstable Drakefile.ts setup-github-actions
2424

2525
- name: Get eggs version
2626
run: drake get-version

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: denolib/setup-deno@v2
3030

3131
- name: Setup Drake
32-
run: deno run -A Drakefile.ts setup-github-actions
32+
run: deno run -A --unstable Drakefile.ts setup-github-actions
3333

3434
- name: Run tests
3535
run: drake test
@@ -65,7 +65,7 @@ jobs:
6565
deno-version: nightly
6666

6767
- name: Setup Drake
68-
run: deno run -A Drakefile.ts setup-github-actions
68+
run: deno run -A --unstable Drakefile.ts setup-github-actions
6969

7070
- name: Run tests
7171
run: drake test

Drakefile.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { desc, run, sh, task } from "https://x.nest.land/drake@1.4.4/mod.ts";
22
import { version } from "./src/version.ts";
3+
import { join } from "./deps.ts";
34

45
const encoder = new TextEncoder();
56

@@ -69,10 +70,18 @@ task("get-version", [], async function () {
6970

7071
task("setup-github-actions", [], async function () {
7172
const process = Deno.run({
72-
cmd: ["deno", "install", "-A", "-n", "drake", "Drakefile.ts"],
73+
cmd: ["deno", "install", "-A", "--unstable", "-n", "drake", "Drakefile.ts"],
7374
});
7475
await process.status();
7576
process.close();
77+
// https://github.com/denoland/setup-deno/issues/5
78+
const home = Deno.env.get("HOME") ?? // for linux / mac
79+
Deno.env.get("USERPROFILE") ?? // for windows
80+
"/";
81+
const path = encoder.encode(join(home, ".deno", "bin"));
82+
const GITHUB_PATH = Deno.env.get("GITHUB_PATH");
83+
if (!GITHUB_PATH) throw new Error("Unable to get Github path");
84+
await Deno.writeFile(GITHUB_PATH, path, { append: true });
7685
});
7786

7887
desc("Development tools. Should ideally be run before each commit.");

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
**Note: You need to upgrade to Deno v1.6.0 or newer in order to use our CLI.**
5656

5757
```shell script
58-
deno install -Afq --unstable https://x.nest.land/eggs@0.3.6/eggs.ts
58+
deno install -Afq --unstable https://x.nest.land/eggs@0.3.8/eggs.ts
5959
```
6060

6161
For more information, see the [documentation](https://docs.nest.land/).

deps.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,22 @@ export {
4646
Command,
4747
CompletionsCommand,
4848
HelpCommand,
49-
} from "https://x.nest.land/cliffy@0.18.2/command/mod.ts";
49+
} from "https://x.nest.land/cliffy@0.19.1/command/mod.ts";
5050

51-
export { string as stringType } from "https://x.nest.land/cliffy@0.18.2/flags/types/string.ts";
51+
export { string as stringType } from "https://x.nest.land/cliffy@0.19.1/flags/types/string.ts";
5252

5353
export {
5454
Checkbox,
5555
Confirm,
5656
Input,
5757
List,
5858
Select,
59-
} from "https://x.nest.land/cliffy@0.18.2/prompt/mod.ts";
59+
} from "https://x.nest.land/cliffy@0.19.1/prompt/mod.ts";
6060

61-
export type { ITypeInfo } from "https://x.nest.land/cliffy@0.18.2/flags/types.ts";
61+
export type { ITypeInfo } from "https://x.nest.land/cliffy@0.19.1/flags/types.ts";
6262

6363
/**************** semver ****************/
64-
export * as semver from "https://deno.land/x/semver@v1.3.0/mod.ts";
64+
export * as semver from "https://deno.land/x/semver@v1.4.0/mod.ts";
6565

6666
/**************** base64 ****************/
6767
export * as base64 from "https://denopkg.com/chiefbiiko/base64@v0.2.0/mod.ts";
@@ -72,11 +72,11 @@ export {
7272
NestLand,
7373
parseURL,
7474
UpdateNotifier,
75-
} from "https://x.nest.land/hatcher@0.10.1/mod.ts";
75+
} from "https://x.nest.land/hatcher@0.10.2/mod.ts";
7676

77-
export { isVersionUnstable } from "https://x.nest.land/hatcher@0.10.1/lib/utilities/utils.ts";
77+
export { isVersionUnstable } from "https://x.nest.land/hatcher@0.10.2/lib/utilities/utils.ts";
7878

79-
export { install as installHatcher } from "https://x.nest.land/hatcher@0.10.1/lib/cli.ts";
79+
export { install as installHatcher } from "https://x.nest.land/hatcher@0.10.2/lib/cli.ts";
8080

8181
/**************** analyzer ****************/
8282
export type { DependencyTree } from "https://x.nest.land/analyzer@0.0.6/deno/tree.ts";

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = "0.3.7";
1+
export const version = "0.3.8";

0 commit comments

Comments
 (0)