Skip to content

Commit 09de42b

Browse files
authored
0.3.10 (#135)
1 parent 31be8bf commit 09de42b

File tree

6 files changed

+24
-20
lines changed

6 files changed

+24
-20
lines changed

Drakefile.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ task("lint", [], async function () {
2727
desc("Links the nest.land API key.");
2828
task("link", [], async function () {
2929
await sh(
30-
`deno run -A --unstable eggs.ts link ${Deno.env.get("NESTAPIKEY") ||
31-
"null"} -Do`,
30+
`deno run -A --unstable eggs.ts link ${
31+
Deno.env.get("NESTAPIKEY") ||
32+
"null"
33+
} -Do`,
3234
);
3335
});
3436

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.8/eggs.ts
58+
deno install -Afq --unstable https://x.nest.land/eggs@0.3.10/eggs.ts
5959
```
6060

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

deps.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,56 +9,56 @@ export {
99
join,
1010
relative,
1111
resolve,
12-
} from "https://x.nest.land/std@0.107.0/path/mod.ts";
12+
} from "https://x.nest.land/std@0.113.0/path/mod.ts";
1313

1414
export {
1515
exists,
1616
existsSync,
1717
expandGlob,
1818
expandGlobSync,
1919
walkSync,
20-
} from "https://x.nest.land/std@0.107.0/fs/mod.ts";
20+
} from "https://x.nest.land/std@0.113.0/fs/mod.ts";
2121

22-
export * as log from "https://x.nest.land/std@0.107.0/log/mod.ts";
22+
export * as log from "https://x.nest.land/std@0.113.0/log/mod.ts";
2323

24-
export { LogRecord } from "https://x.nest.land/std@0.107.0/log/logger.ts";
24+
export { LogRecord } from "https://x.nest.land/std@0.113.0/log/logger.ts";
2525

26-
export type { LevelName } from "https://x.nest.land/std@0.107.0/log/levels.ts";
27-
export { LogLevels } from "https://x.nest.land/std@0.107.0/log/levels.ts";
26+
export type { LevelName } from "https://x.nest.land/std@0.113.0/log/levels.ts";
27+
export { LogLevels } from "https://x.nest.land/std@0.113.0/log/levels.ts";
2828

29-
export { BaseHandler } from "https://x.nest.land/std@0.107.0/log/handlers.ts";
29+
export { BaseHandler } from "https://x.nest.land/std@0.113.0/log/handlers.ts";
3030

31-
export * from "https://x.nest.land/std@0.107.0/fmt/colors.ts";
31+
export * from "https://x.nest.land/std@0.113.0/fmt/colors.ts";
3232

3333
export {
3434
assert,
3535
assertEquals,
3636
assertMatch,
37-
} from "https://x.nest.land/std@0.107.0/testing/asserts.ts";
37+
} from "https://x.nest.land/std@0.113.0/testing/asserts.ts";
3838

3939
export {
4040
parse as parseYaml,
4141
stringify as stringifyYaml,
42-
} from "https://x.nest.land/std@0.107.0/encoding/yaml.ts";
42+
} from "https://x.nest.land/std@0.113.0/encoding/yaml.ts";
4343

4444
/**************** cliffy ****************/
4545
export {
4646
Command,
4747
CompletionsCommand,
4848
HelpCommand,
49-
} from "https://x.nest.land/cliffy@0.19.5/command/mod.ts";
49+
} from "https://x.nest.land/cliffy@0.20.1/command/mod.ts";
5050

51-
export { string as stringType } from "https://x.nest.land/cliffy@0.19.5/flags/types/string.ts";
51+
export { string as stringType } from "https://x.nest.land/cliffy@0.20.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.19.5/prompt/mod.ts";
59+
} from "https://x.nest.land/cliffy@0.20.1/prompt/mod.ts";
6060

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

6363
/**************** semver ****************/
6464
export * as semver from "https://deno.land/x/semver@v1.4.0/mod.ts";

src/commands/info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function info(options: Options, file?: string) {
4444
let importsResolved = 0;
4545

4646
const progress = () =>
47-
wait.text = (`${importsResolved} / ${importsFound} imports`);
47+
wait.text = `${importsResolved} / ${importsFound} imports`;
4848
const onImportFound = (count: number) => {
4949
importsFound = count;
5050
progress();

src/commands/publish.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function gatherOptions(
116116
options.description && (cfg.description = options.description);
117117
options.entry && (cfg.entry = options.entry);
118118
options.unstable !== undefined && (cfg.unstable = options.unstable);
119-
options.unlisted !== undefined && (cfg.unstable = options.unlisted);
119+
options.unlisted !== undefined && (cfg.unlisted = options.unlisted);
120120
options.homepage &&
121121
(cfg.homepage = urlType(
122122
{ name: "homepage", value: options.homepage, label: "", type: "" },
@@ -129,6 +129,7 @@ function gatherOptions(
129129
options.checkInstallation !== undefined &&
130130
(cfg.checkInstallation = options.checkInstallation);
131131
options.check !== undefined && (cfg.check = options.check);
132+
options.yes !== undefined && (cfg.yes = options.yes);
132133
return cfg;
133134
} catch (err) {
134135
log.error(err);
@@ -254,6 +255,7 @@ export async function publish(options: Options, name?: string) {
254255
}
255256

256257
const [gatheredContext, contextIgnore] = await gatherContext();
258+
log.debug("Options:", options);
257259
const gatheredOptions = gatherOptions(options, name);
258260
if (!gatheredContext || !gatheredOptions) return;
259261

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.9";
1+
export const version = "0.3.10";

0 commit comments

Comments
 (0)