Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING: Remove check and info subcommands #117

Merged
merged 4 commits into from
Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2

- name: Install Deno
uses: denolib/setup-deno@master
uses: denoland/setup-deno@v1

- name: Integration
run: |
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,14 @@

---

`dmm` is a Deno module manager. It can update your `deps.ts` file, check if any
of your dependencies are out of date, and give you information about any module
in the Deno world. Managing your dependencies hasn't been easier.
`dmm` is a simple CLI tool to bump your dependencies from your `deps.ts` to
their latest versions.

### Features

- Zero 3rd party dependencies
- Easy and simple to use
- Checks dependencies for newer versions
- Will update your dependencies for you
- Gives information on modules
- Accounts for 3rd party and Deno Standard modules
- Installation is optional
- No variants of `node_modules` and `package.json`
Expand Down
4 changes: 0 additions & 4 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { Line } from "./deps.ts";
import { version } from "./src/commands/version.ts";
import { UpdateSubcommand } from "./src/commands/update.ts";
import { InfoSubcommand } from "./src/commands/info.ts";
import { CheckSubcommand } from "./src/commands/check.ts";

const c = new Line({
command: "dmm",
Expand All @@ -11,8 +9,6 @@ const c = new Line({
version: `v${version}`,
subcommands: [
UpdateSubcommand,
InfoSubcommand,
CheckSubcommand,
],
});

Expand Down
55 changes: 0 additions & 55 deletions src/commands/check.ts

This file was deleted.

59 changes: 0 additions & 59 deletions src/commands/info.ts

This file was deleted.

4 changes: 0 additions & 4 deletions tests/data/expected_help_message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,5 @@ SUBCOMMANDS

update
Update all dependencies in the \`deps.ts\` file in your CWD, or specify certain modules to update or a location to a dependency file.
info
Get information about any number of given dependencies.
check
Check if the given dependencies you hold are outdated. Will check all if modules are omitted. Ex: dmm info; dmm info drash fs

`;
Loading