Skip to content

Commit

Permalink
0.3.10 (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteelAlloy authored Nov 8, 2021
1 parent 31be8bf commit 09de42b
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 20 deletions.
6 changes: 4 additions & 2 deletions Drakefile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ task("lint", [], async function () {
desc("Links the nest.land API key.");
task("link", [], async function () {
await sh(
`deno run -A --unstable eggs.ts link ${Deno.env.get("NESTAPIKEY") ||
"null"} -Do`,
`deno run -A --unstable eggs.ts link ${
Deno.env.get("NESTAPIKEY") ||
"null"
} -Do`,
);
});

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
**Note: You need to upgrade to Deno v1.6.0 or newer in order to use our CLI.**

```shell script
deno install -Afq --unstable https://x.nest.land/[email protected].8/eggs.ts
deno install -Afq --unstable https://x.nest.land/[email protected].10/eggs.ts
```

For more information, see the [documentation](https://docs.nest.land/).
Expand Down
28 changes: 14 additions & 14 deletions deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,56 +9,56 @@ export {
join,
relative,
resolve,
} from "https://x.nest.land/std@0.107.0/path/mod.ts";
} from "https://x.nest.land/std@0.113.0/path/mod.ts";

export {
exists,
existsSync,
expandGlob,
expandGlobSync,
walkSync,
} from "https://x.nest.land/std@0.107.0/fs/mod.ts";
} from "https://x.nest.land/std@0.113.0/fs/mod.ts";

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

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

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

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

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

export {
assert,
assertEquals,
assertMatch,
} from "https://x.nest.land/std@0.107.0/testing/asserts.ts";
} from "https://x.nest.land/std@0.113.0/testing/asserts.ts";

export {
parse as parseYaml,
stringify as stringifyYaml,
} from "https://x.nest.land/std@0.107.0/encoding/yaml.ts";
} from "https://x.nest.land/std@0.113.0/encoding/yaml.ts";

/**************** cliffy ****************/
export {
Command,
CompletionsCommand,
HelpCommand,
} from "https://x.nest.land/cliffy@0.19.5/command/mod.ts";
} from "https://x.nest.land/cliffy@0.20.1/command/mod.ts";

export { string as stringType } from "https://x.nest.land/cliffy@0.19.5/flags/types/string.ts";
export { string as stringType } from "https://x.nest.land/cliffy@0.20.1/flags/types/string.ts";

export {
Checkbox,
Confirm,
Input,
List,
Select,
} from "https://x.nest.land/cliffy@0.19.5/prompt/mod.ts";
} from "https://x.nest.land/cliffy@0.20.1/prompt/mod.ts";

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

/**************** semver ****************/
export * as semver from "https://deno.land/x/[email protected]/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion src/commands/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function info(options: Options, file?: string) {
let importsResolved = 0;

const progress = () =>
wait.text = (`${importsResolved} / ${importsFound} imports`);
wait.text = `${importsResolved} / ${importsFound} imports`;
const onImportFound = (count: number) => {
importsFound = count;
progress();
Expand Down
4 changes: 3 additions & 1 deletion src/commands/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function gatherOptions(
options.description && (cfg.description = options.description);
options.entry && (cfg.entry = options.entry);
options.unstable !== undefined && (cfg.unstable = options.unstable);
options.unlisted !== undefined && (cfg.unstable = options.unlisted);
options.unlisted !== undefined && (cfg.unlisted = options.unlisted);
options.homepage &&
(cfg.homepage = urlType(
{ name: "homepage", value: options.homepage, label: "", type: "" },
Expand All @@ -129,6 +129,7 @@ function gatherOptions(
options.checkInstallation !== undefined &&
(cfg.checkInstallation = options.checkInstallation);
options.check !== undefined && (cfg.check = options.check);
options.yes !== undefined && (cfg.yes = options.yes);
return cfg;
} catch (err) {
log.error(err);
Expand Down Expand Up @@ -254,6 +255,7 @@ export async function publish(options: Options, name?: string) {
}

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

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "0.3.9";
export const version = "0.3.10";

0 comments on commit 09de42b

Please sign in to comment.