From 339e4190943d313412faa45f75ffad96a0e0c589 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 1 Nov 2020 00:17:41 +0000 Subject: [PATCH 01/12] Update dependencies --- .github/workflows/bumper.yml | 2 +- .github/workflows/master.yml | 4 +- README.md | 54 ++++++++----------- deps.ts | 4 +- tests/integration/up-to-date-deps/deps.ts | 8 +-- .../up-to-date-deps/original_deps.ts | 8 +-- 6 files changed, 34 insertions(+), 46 deletions(-) diff --git a/.github/workflows/bumper.yml b/.github/workflows/bumper.yml index 500f7f3..4dabc88 100644 --- a/.github/workflows/bumper.yml +++ b/.github/workflows/bumper.yml @@ -7,7 +7,7 @@ jobs: update-dep: strategy: matrix: - deno: ["1.4.6"] + deno: ["1.5.1"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index e158866..6c28f56 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - deno: ["1.4.6"] + deno: ["1.5.1"] runs-on: ${{ matrix.os }} steps: @@ -32,7 +32,7 @@ jobs: linting: strategy: matrix: - deno: ["1.4.6"] + deno: ["1.5.1"] # Doesn't need to be checked in all OS runs-on: ubuntu-latest diff --git a/README.md b/README.md index 232fc86..84f938d 100644 --- a/README.md +++ b/README.md @@ -25,19 +25,13 @@ # Contents -* [Documentation](#documentation) * [Features](#features) * [Quick Start](#quick-start) * [Example](#example) * [How it Works](#how-it-works) -* [Mirrors](#mirrors) * [Contributing](#contributing) * [License](#license) -# Documentation - -[Full Documentation](https://drash.land/dmm/) - # Features * Zero dependencies @@ -58,18 +52,16 @@ There are two ways you can use this module: installing it though `deno`, or runn As dmm only needs to read and write to your `deps.ts`, as well as requiring network access using Deno's CDN and API, you can restrict the access this module has. *Install* -```sh -deno install --allow-net='cdn.deno.land,api.deno.land,x.nest.land' --allow-read='.' --allow-write='deps.ts' https://deno.land/x/dmm@v1.1.5/mod.ts ``` -```sh -dmm ... +$ deno install --allow-net='cdn.deno.land,api.deno.land' --allow-read='.' --allow-write='deps.ts' https://deno.land/x/dmm@v1.1.5/mod.ts +$ dmm ... ``` *Through the URL* If you are using this method, be sure to use the latest version of dmm in the command below -```sh -deno run --allow-net='cdn.deno.land,api.deno.land,x.nest.land' --allow-read='.' --allow-write='deps.ts' https://deno.land/x/dmm@v1.1.5/mod.ts ... +``` +$ deno run --allow-net='cdn.deno.land,api.deno.land' --allow-read='.' --allow-write='deps.ts' https://deno.land/x/dmm@v1.1.5/mod.ts ... ``` In the examples below, dmm is installed and we will be using it that way to make the commands easier to read. @@ -89,10 +81,10 @@ Information on fmt - Name: fmt - Description: Cannot retrieve descriptions for std modules - - deno.land Link: https://deno.land/std@0.74.0/fmt + - deno.land Link: https://deno.land/std@0.76.0/fmt - GitHub Repository: https://github.com/denoland/deno/tree/master/std/fmt - - Import Statement: import * as fmt from "https://deno.land/std@0.74.0/fmt"; - - Latest Version: 0.74.0 + - Import Statement: import * as fmt from "https://deno.land/std@0.76.0/fmt"; + - Latest Version: 0.76.0 ``` @@ -105,7 +97,7 @@ export { Drash } from "https://deno.land/x/drash@v1.0.0/mod.ts"; // out of date import * as fs from "https://deno.land/std@0.53.0/fs/mod.ts"; // out of date -import * as colors from "https://deno.land/std@0.74.0/fmt/colors.ts"; // up to date +import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; // up to date export { fs, colors } ``` @@ -120,7 +112,7 @@ Now we want to check if any of our dependencies need updating, but we don't want $ dmm check ... drash can be updated from v1.0.0 to v1.2.5 -fs can be updated from 0.53.0 to 0.74.0 +fs can be updated from 0.53.0 to 0.76.0 ... ``` @@ -132,7 +124,7 @@ Lets update our dependencies as some are out of date: $ dmm update ... drash was updated from v1.0.0 to v1.2.5 -fs was updated from 0.53.0 to 0.74.0 +fs was updated from 0.53.0 to 0.76.0 ... ``` @@ -141,9 +133,9 @@ Now lets check the `deps.ts` file, and you will notice the versions have been mo ```typescript export { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // was out of date -import * as fs from "https://deno.land/std@0.74.0/fs/mod.ts"; // was out of date +import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // was out of date -import * as colors from "https://deno.land/std@0.74.0/fmt/colors.ts"; +import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; export { fs, colors } ``` @@ -191,26 +183,26 @@ EXAMPLE USAGE: # How it Works -dmm will only read modules that reside on [deno.land](https://deno.land) or [nest.land](https://nest.land), whether they are 3rd party or `std` modules. As long as you are either importing then exporting a module, or only exporting a module, dmm will check that dependency. +dmm will only read modules that reside on [deno.land](https://deno.land), whether they are 3rd party or `std` modules. As long as you are either importing then exporting a module, or only exporting a module, dmm will check that dependency. * Your dependencies must be versioned. Not versioning your dependencies is bad practice and can lead to many problems in your project, which is why dmm will not support it. For example: ``` - import { red } from "https://x.nest.land/std@0.56.0/fmt/colors.ts"; + import { red } from "https://deno.land/std@0.56.0/fmt/colors.ts"; ^^^^^^^ ``` -* dmm only supports importing/exporting modules from [deno.land/x](https://deno.land/x), [deno.land/std](https://deno.land/std) and [x.nest.land](https://nest.land), 3rd party or `std`. For example: +* dmm only supports importing/exporting modules from Deno's registry: [deno.land](https://deno.land), 3rd party or `std`. For example: ``` - import { red } from "https://x.nest.land/std@0.56.0/fmt/colors.ts"; // supported + import { red } from "https://deno.land/std@0.56.0/fmt/colors.ts"; // supported import { something } from "https://deno.land/x/something@0v1.0.0/mod.ts"; // supported ``` -* dmm will read every `from "https://deno.land/..."` or `from "https://x.nest.land/..."` line in your `deps.ts` and using the name and version, will convert the dependencies into objects. +* dmm will read every `from "https://deno.land/..."` line in your `deps.ts` and using the name and version, will convert the dependencies into objects. * dmm will then retrieve the rest of the required information for later use for each module: - * Latest version - For std and 3rd party, this is pulled using `https://cdn.deno.land` or `https://x.deno.land/api` . - * GitHub URL - Fetched from `https://cdn.deno.land` or `https://x.deno.land/api` - * Description - For 3rd party modules, it is taken from `https://api.deno.land` or `https://x.deno.land/api`. There is currently no way to get descriptions for std modules. + * Latest version - For std and 3rd party, this is pulled using `https://cdn.deno.land`. + * GitHub URL - Retrieved through the GitHub API + * Description - For 3rd party modules, it is taken from `https://api.deno.land`. There is currently no way to get descriptions for std modules. * After this, dmm will run different actions based on the purpose: @@ -225,11 +217,7 @@ dmm will only read modules that reside on [deno.land](https://deno.land) or [nes * **info** Displays information about the given module using information collated at the start of the script - -## Mirrors - -* https://nest.land/package/dmm - + ## Contributing Contributors are welcomed! diff --git a/deps.ts b/deps.ts index 28e555f..d56770a 100644 --- a/deps.ts +++ b/deps.ts @@ -1,4 +1,4 @@ -import * as colours from "https://deno.land/std@0.74.0/fmt/colors.ts"; +import * as colours from "https://deno.land/std@0.76.0/fmt/colors.ts"; export { colours }; -export { assertEquals } from "https://deno.land/std@0.74.0/testing/asserts.ts"; +export { assertEquals } from "https://deno.land/std@0.76.0/testing/asserts.ts"; diff --git a/tests/integration/up-to-date-deps/deps.ts b/tests/integration/up-to-date-deps/deps.ts index 58b1b3a..ee96e92 100644 --- a/tests/integration/up-to-date-deps/deps.ts +++ b/tests/integration/up-to-date-deps/deps.ts @@ -1,13 +1,13 @@ import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // up to date -import * as fs from "https://deno.land/std@0.74.0/fs/mod.ts"; // up to date +import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // up to date -import * as colors from "https://deno.land/std@0.74.0/fmt/colors.ts"; //up to date +import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //up to date import * as Cliffy from "https://x.nest.land/cliffy@0.14.3/mod.ts"; //up to date -import * as log from "https://x.nest.land/std@0.74.0/log/mod.ts"; //up to date +import * as log from "https://x.nest.land/std@0.76.0/log/mod.ts"; //up to date -export { v4 } from "https://x.nest.land/std@0.74.0/uuid/mod.ts"; //up to date +export { v4 } from "https://x.nest.land/std@0.76.0/uuid/mod.ts"; //up to date export { Cliffy, colors, Drash, fs, log }; diff --git a/tests/integration/up-to-date-deps/original_deps.ts b/tests/integration/up-to-date-deps/original_deps.ts index 58b1b3a..ee96e92 100644 --- a/tests/integration/up-to-date-deps/original_deps.ts +++ b/tests/integration/up-to-date-deps/original_deps.ts @@ -1,13 +1,13 @@ import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // up to date -import * as fs from "https://deno.land/std@0.74.0/fs/mod.ts"; // up to date +import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // up to date -import * as colors from "https://deno.land/std@0.74.0/fmt/colors.ts"; //up to date +import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //up to date import * as Cliffy from "https://x.nest.land/cliffy@0.14.3/mod.ts"; //up to date -import * as log from "https://x.nest.land/std@0.74.0/log/mod.ts"; //up to date +import * as log from "https://x.nest.land/std@0.76.0/log/mod.ts"; //up to date -export { v4 } from "https://x.nest.land/std@0.74.0/uuid/mod.ts"; //up to date +export { v4 } from "https://x.nest.land/std@0.76.0/uuid/mod.ts"; //up to date export { Cliffy, colors, Drash, fs, log }; From a236db9ff83383ef0b06e9ffe8a89e76184b9b6e Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 18:58:40 -0500 Subject: [PATCH 02/12] fix table of contents --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f43c021..da334f7 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,13 @@ `dmm` (pronounced "dim") 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. -# Contents +# Table of Contents +* [Documentation](#documentation) * [Features](#features) * [Quick Start](#quick-start) * [How it Works](#how-it-works) +* [Mirrors](#mirrors) * [Contributing](#contributing) * [License](#license) From cd6ec817cca39fbfe4d061a724fbee523d2decb0 Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 19:13:42 -0500 Subject: [PATCH 03/12] bump versions --- tests/integration/up-to-date-deps/deps.ts | 2 +- tests/integration/up-to-date-deps/original_deps.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/up-to-date-deps/deps.ts b/tests/integration/up-to-date-deps/deps.ts index b2852ea..a1c7e8f 100644 --- a/tests/integration/up-to-date-deps/deps.ts +++ b/tests/integration/up-to-date-deps/deps.ts @@ -1,8 +1,8 @@ -export { v4 } from "https://x.nest.land/std@0.76.0/uuid/mod.ts"; //up to date import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //up to date import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //up to date import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // up to date import * as log from "https://x.nest.land/std@0.76.0/log/mod.ts"; //up to date import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // up to date +export { v4 } from "https://x.nest.land/std@0.76.0/uuid/mod.ts"; //up to date export { Cliffy, colors, Drash, fs, log }; diff --git a/tests/integration/up-to-date-deps/original_deps.ts b/tests/integration/up-to-date-deps/original_deps.ts index fc8d441..a1c7e8f 100644 --- a/tests/integration/up-to-date-deps/original_deps.ts +++ b/tests/integration/up-to-date-deps/original_deps.ts @@ -1,7 +1,8 @@ -export { v4 } from "https://x.nest.land/std@0.76.0/uuid/mod.ts"; //up to date import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //up to date import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //up to date import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // up to date import * as log from "https://x.nest.land/std@0.76.0/log/mod.ts"; //up to date import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // up to date + +export { v4 } from "https://x.nest.land/std@0.76.0/uuid/mod.ts"; //up to date export { Cliffy, colors, Drash, fs, log }; From baae03583fc6236f7a340f55690ead9c983d3a6c Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 19:13:55 -0500 Subject: [PATCH 04/12] fix formatting --- tests/integration/out-of-date-deps/deps.ts | 5 ----- tests/integration/out-of-date-deps/original_deps.ts | 5 ----- 2 files changed, 10 deletions(-) diff --git a/tests/integration/out-of-date-deps/deps.ts b/tests/integration/out-of-date-deps/deps.ts index 1539a61..1a973de 100644 --- a/tests/integration/out-of-date-deps/deps.ts +++ b/tests/integration/out-of-date-deps/deps.ts @@ -1,13 +1,8 @@ import { Drash } from "https://deno.land/x/drash@v1.0.0/mod.ts"; // out of date - import * as fs from "https://deno.land/std@0.53.0/fs/mod.ts"; // out of date - import * as colors from "https://deno.land/std@0.53.0/fmt/colors.ts"; //out of date - import * as Cliffy from "https://x.nest.land/cliffy@0.11.2/mod.ts"; //out of date - import * as log from "https://x.nest.land/std@0.53.0/log/mod.ts"; //out of date export { v4 } from "https://x.nest.land/std@0.61.0/uuid/mod.ts"; //out of date - export { Cliffy, colors, Drash, fs, log }; diff --git a/tests/integration/out-of-date-deps/original_deps.ts b/tests/integration/out-of-date-deps/original_deps.ts index 1539a61..1a973de 100644 --- a/tests/integration/out-of-date-deps/original_deps.ts +++ b/tests/integration/out-of-date-deps/original_deps.ts @@ -1,13 +1,8 @@ import { Drash } from "https://deno.land/x/drash@v1.0.0/mod.ts"; // out of date - import * as fs from "https://deno.land/std@0.53.0/fs/mod.ts"; // out of date - import * as colors from "https://deno.land/std@0.53.0/fmt/colors.ts"; //out of date - import * as Cliffy from "https://x.nest.land/cliffy@0.11.2/mod.ts"; //out of date - import * as log from "https://x.nest.land/std@0.53.0/log/mod.ts"; //out of date export { v4 } from "https://x.nest.land/std@0.61.0/uuid/mod.ts"; //out of date - export { Cliffy, colors, Drash, fs, log }; From 98df5ba9d91720650e31a8e56f6c6059327ce9ca Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 19:14:00 -0500 Subject: [PATCH 05/12] bump versions --- tests/integration/info_test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/info_test.ts b/tests/integration/info_test.ts index 40a98fc..8cad621 100644 --- a/tests/integration/info_test.ts +++ b/tests/integration/info_test.ts @@ -139,10 +139,10 @@ Deno.test({ - Name: fs - Description: Cannot retrieve descriptions for std modules - - deno.land Link: https://deno.land/std@0.75.0/fs + - deno.land Link: https://deno.land/std@0.76.0/fs - GitHub Repository: https://github.com/denoland/deno/tree/master/std/fs - - Import Statement: import * as fs from "https://deno.land/std@0.75.0/fs"; - - Latest Version: 0.75.0 + - Import Statement: import * as fs from "https://deno.land/std@0.76.0/fs"; + - Latest Version: 0.76.0 ${colours.blue("INFO")} Information on drash From 302ca070adff75a9de8834d6518e4ba7f7f3fef1 Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 19:15:52 -0500 Subject: [PATCH 06/12] deno fmt --- console/bumper_ci_service.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/console/bumper_ci_service.ts b/console/bumper_ci_service.ts index 029778d..7b72444 100644 --- a/console/bumper_ci_service.ts +++ b/console/bumper_ci_service.ts @@ -1,5 +1,8 @@ import { BumperService } from "https://raw.githubusercontent.com/drashland/services/master/ci/bumper_service.ts"; -import { denoVersionFiles, moduleVersionFiles } "./bumper_ci_service_files.ts"; +import { + denoVersionFiles, + moduleVersionFiles, +} from "./bumper_ci_service_files.ts"; const b = new BumperService("dmm", Deno.args); From 32715f17b9704ccf79cfe1c35ead1b3c73287055 Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 19:25:27 -0500 Subject: [PATCH 07/12] bump version --- .github/workflows/pre_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre_release.yml b/.github/workflows/pre_release.yml index d4cee53..9550818 100644 --- a/.github/workflows/pre_release.yml +++ b/.github/workflows/pre_release.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - deno: ["1.4.2"] + deno: ["1.5.1"] runs-on: ubuntu-latest From 3e236081ebdd645710b54cb1952196a7db7d6348 Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 20:21:24 -0500 Subject: [PATCH 08/12] use deno.land instead of x.nest.land in tests when checking std modules x.nest.land will at times not reflect the latest std version, so this would cause tests to fail --- tests/integration/out-of-date-deps/deps.ts | 4 ++-- tests/integration/out-of-date-deps/original_deps.ts | 4 ++-- tests/integration/up-to-date-deps/deps.ts | 12 ++++++------ tests/integration/up-to-date-deps/original_deps.ts | 12 ++++++------ 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/integration/out-of-date-deps/deps.ts b/tests/integration/out-of-date-deps/deps.ts index 1a973de..6b7581c 100644 --- a/tests/integration/out-of-date-deps/deps.ts +++ b/tests/integration/out-of-date-deps/deps.ts @@ -2,7 +2,7 @@ import { Drash } from "https://deno.land/x/drash@v1.0.0/mod.ts"; // out of date import * as fs from "https://deno.land/std@0.53.0/fs/mod.ts"; // out of date import * as colors from "https://deno.land/std@0.53.0/fmt/colors.ts"; //out of date import * as Cliffy from "https://x.nest.land/cliffy@0.11.2/mod.ts"; //out of date -import * as log from "https://x.nest.land/std@0.53.0/log/mod.ts"; //out of date +import * as log from "https://deno.land/std@0.53.0/log/mod.ts"; //out of date -export { v4 } from "https://x.nest.land/std@0.61.0/uuid/mod.ts"; //out of date +export { v4 } from "https://deno.land/std@0.61.0/uuid/mod.ts"; //out of date export { Cliffy, colors, Drash, fs, log }; diff --git a/tests/integration/out-of-date-deps/original_deps.ts b/tests/integration/out-of-date-deps/original_deps.ts index 1a973de..6b7581c 100644 --- a/tests/integration/out-of-date-deps/original_deps.ts +++ b/tests/integration/out-of-date-deps/original_deps.ts @@ -2,7 +2,7 @@ import { Drash } from "https://deno.land/x/drash@v1.0.0/mod.ts"; // out of date import * as fs from "https://deno.land/std@0.53.0/fs/mod.ts"; // out of date import * as colors from "https://deno.land/std@0.53.0/fmt/colors.ts"; //out of date import * as Cliffy from "https://x.nest.land/cliffy@0.11.2/mod.ts"; //out of date -import * as log from "https://x.nest.land/std@0.53.0/log/mod.ts"; //out of date +import * as log from "https://deno.land/std@0.53.0/log/mod.ts"; //out of date -export { v4 } from "https://x.nest.land/std@0.61.0/uuid/mod.ts"; //out of date +export { v4 } from "https://deno.land/std@0.61.0/uuid/mod.ts"; //out of date export { Cliffy, colors, Drash, fs, log }; diff --git a/tests/integration/up-to-date-deps/deps.ts b/tests/integration/up-to-date-deps/deps.ts index a1c7e8f..fd54576 100644 --- a/tests/integration/up-to-date-deps/deps.ts +++ b/tests/integration/up-to-date-deps/deps.ts @@ -1,8 +1,8 @@ -import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //up to date -import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //up to date -import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // up to date -import * as log from "https://x.nest.land/std@0.76.0/log/mod.ts"; //up to date -import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // up to date +import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // out of date +import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // out of date +import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //out of date +import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //out of date +import * as log from "https://deno.land/std@0.76.0/log/mod.ts"; //out of date -export { v4 } from "https://x.nest.land/std@0.76.0/uuid/mod.ts"; //up to date +export { v4 } from "https://deno.land/std@0.76.0/uuid/mod.ts"; //out of date export { Cliffy, colors, Drash, fs, log }; diff --git a/tests/integration/up-to-date-deps/original_deps.ts b/tests/integration/up-to-date-deps/original_deps.ts index a1c7e8f..fd54576 100644 --- a/tests/integration/up-to-date-deps/original_deps.ts +++ b/tests/integration/up-to-date-deps/original_deps.ts @@ -1,8 +1,8 @@ -import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //up to date -import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //up to date -import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // up to date -import * as log from "https://x.nest.land/std@0.76.0/log/mod.ts"; //up to date -import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // up to date +import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // out of date +import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // out of date +import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //out of date +import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //out of date +import * as log from "https://deno.land/std@0.76.0/log/mod.ts"; //out of date -export { v4 } from "https://x.nest.land/std@0.76.0/uuid/mod.ts"; //up to date +export { v4 } from "https://deno.land/std@0.76.0/uuid/mod.ts"; //out of date export { Cliffy, colors, Drash, fs, log }; From 5e15926d18235d5dbf74e4d48b1ab6e923aa20ff Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 20:23:41 -0500 Subject: [PATCH 09/12] uppercase It in How It Works --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index da334f7..4c80d7f 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ There are two ways you can use this module: help ``` -# How it Works +# How It Works dmm reads the `deps.ts` file at the current working directory -- checking versioned `import` and `export` statements and checking to see if they can be updated. If any dependency can be updated, it lets you know which ones can be updated; and if you want to update them, dmm will rewrite your `deps.ts` file so that your dependencies reflect their latest versions. From f93cfb6f5eae80f9de6f7578895d2eda604314e3 Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 20:25:48 -0500 Subject: [PATCH 10/12] add note about nest.land --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4c80d7f..a6e06cf 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,8 @@ There are two ways you can use this module: dmm reads the `deps.ts` file at the current working directory -- checking versioned `import` and `export` statements and checking to see if they can be updated. If any dependency can be updated, it lets you know which ones can be updated; and if you want to update them, dmm will rewrite your `deps.ts` file so that your dependencies reflect their latest versions. +_Note: nest.land may not reflect the latest Deno Standard Modules version immediately after Deno releases a new version. Please keep this in mind when importing your modules via nest.land._ + ## Mirrors * https://nest.land/package/dmm From 20f7bd2d46efa5194062a0108545404c437b9f74 Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 20:28:02 -0500 Subject: [PATCH 11/12] clean up huge git diffs in pr --- tests/integration/out-of-date-deps/deps.ts | 5 +++++ tests/integration/out-of-date-deps/original_deps.ts | 5 +++++ tests/integration/up-to-date-deps/deps.ts | 5 +++++ tests/integration/up-to-date-deps/original_deps.ts | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/tests/integration/out-of-date-deps/deps.ts b/tests/integration/out-of-date-deps/deps.ts index 6b7581c..9a1fec6 100644 --- a/tests/integration/out-of-date-deps/deps.ts +++ b/tests/integration/out-of-date-deps/deps.ts @@ -1,8 +1,13 @@ import { Drash } from "https://deno.land/x/drash@v1.0.0/mod.ts"; // out of date + import * as fs from "https://deno.land/std@0.53.0/fs/mod.ts"; // out of date + import * as colors from "https://deno.land/std@0.53.0/fmt/colors.ts"; //out of date + import * as Cliffy from "https://x.nest.land/cliffy@0.11.2/mod.ts"; //out of date + import * as log from "https://deno.land/std@0.53.0/log/mod.ts"; //out of date export { v4 } from "https://deno.land/std@0.61.0/uuid/mod.ts"; //out of date + export { Cliffy, colors, Drash, fs, log }; diff --git a/tests/integration/out-of-date-deps/original_deps.ts b/tests/integration/out-of-date-deps/original_deps.ts index 6b7581c..9a1fec6 100644 --- a/tests/integration/out-of-date-deps/original_deps.ts +++ b/tests/integration/out-of-date-deps/original_deps.ts @@ -1,8 +1,13 @@ import { Drash } from "https://deno.land/x/drash@v1.0.0/mod.ts"; // out of date + import * as fs from "https://deno.land/std@0.53.0/fs/mod.ts"; // out of date + import * as colors from "https://deno.land/std@0.53.0/fmt/colors.ts"; //out of date + import * as Cliffy from "https://x.nest.land/cliffy@0.11.2/mod.ts"; //out of date + import * as log from "https://deno.land/std@0.53.0/log/mod.ts"; //out of date export { v4 } from "https://deno.land/std@0.61.0/uuid/mod.ts"; //out of date + export { Cliffy, colors, Drash, fs, log }; diff --git a/tests/integration/up-to-date-deps/deps.ts b/tests/integration/up-to-date-deps/deps.ts index fd54576..304f24d 100644 --- a/tests/integration/up-to-date-deps/deps.ts +++ b/tests/integration/up-to-date-deps/deps.ts @@ -1,8 +1,13 @@ import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // out of date + import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // out of date + import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //out of date + import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //out of date + import * as log from "https://deno.land/std@0.76.0/log/mod.ts"; //out of date export { v4 } from "https://deno.land/std@0.76.0/uuid/mod.ts"; //out of date + export { Cliffy, colors, Drash, fs, log }; diff --git a/tests/integration/up-to-date-deps/original_deps.ts b/tests/integration/up-to-date-deps/original_deps.ts index fd54576..304f24d 100644 --- a/tests/integration/up-to-date-deps/original_deps.ts +++ b/tests/integration/up-to-date-deps/original_deps.ts @@ -1,8 +1,13 @@ import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // out of date + import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // out of date + import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //out of date + import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //out of date + import * as log from "https://deno.land/std@0.76.0/log/mod.ts"; //out of date export { v4 } from "https://deno.land/std@0.76.0/uuid/mod.ts"; //out of date + export { Cliffy, colors, Drash, fs, log }; From ba9a6ecc17ac10ee7ba7eea568236ffde778e75a Mon Sep 17 00:00:00 2001 From: Eric Crooks Date: Tue, 3 Nov 2020 20:29:12 -0500 Subject: [PATCH 12/12] fix comments --- tests/integration/up-to-date-deps/deps.ts | 12 ++++++------ tests/integration/up-to-date-deps/original_deps.ts | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/integration/up-to-date-deps/deps.ts b/tests/integration/up-to-date-deps/deps.ts index 304f24d..5651a8d 100644 --- a/tests/integration/up-to-date-deps/deps.ts +++ b/tests/integration/up-to-date-deps/deps.ts @@ -1,13 +1,13 @@ -import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // out of date +import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // up to date -import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // out of date +import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // up to date -import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //out of date +import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //up to date -import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //out of date +import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //up to date -import * as log from "https://deno.land/std@0.76.0/log/mod.ts"; //out of date +import * as log from "https://deno.land/std@0.76.0/log/mod.ts"; //up to date -export { v4 } from "https://deno.land/std@0.76.0/uuid/mod.ts"; //out of date +export { v4 } from "https://deno.land/std@0.76.0/uuid/mod.ts"; //up to date export { Cliffy, colors, Drash, fs, log }; diff --git a/tests/integration/up-to-date-deps/original_deps.ts b/tests/integration/up-to-date-deps/original_deps.ts index 304f24d..5651a8d 100644 --- a/tests/integration/up-to-date-deps/original_deps.ts +++ b/tests/integration/up-to-date-deps/original_deps.ts @@ -1,13 +1,13 @@ -import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // out of date +import { Drash } from "https://deno.land/x/drash@v1.2.5/mod.ts"; // up to date -import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // out of date +import * as fs from "https://deno.land/std@0.76.0/fs/mod.ts"; // up to date -import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //out of date +import * as colors from "https://deno.land/std@0.76.0/fmt/colors.ts"; //up to date -import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //out of date +import * as Cliffy from "https://x.nest.land/cliffy@0.15.0/mod.ts"; //up to date -import * as log from "https://deno.land/std@0.76.0/log/mod.ts"; //out of date +import * as log from "https://deno.land/std@0.76.0/log/mod.ts"; //up to date -export { v4 } from "https://deno.land/std@0.76.0/uuid/mod.ts"; //out of date +export { v4 } from "https://deno.land/std@0.76.0/uuid/mod.ts"; //up to date export { Cliffy, colors, Drash, fs, log };