Skip to content

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotpirxie committed Aug 11, 2023
1 parent 1572242 commit cff4602
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dependency-time-machine",
"version": "1.0.1",
"version": "1.0.2",
"description": "Tool to automatically update dependencies one-by-one in the time order",
"main": "./bin/index.js",
"repository": "https://github.com/pilotpirxie/dependency-time-machine.git",
Expand Down
12 changes: 5 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
#!/usr/bin/env node
import fs from "fs";
import path from "path";
import { Dependency } from "./types/dependency";
import httpDependencyResolver from "./util/httpDependencyResolver";
import { compareVersions, isValidVersion } from "./util/semver";
import { program } from "@commander-js/extra-typings";
import child_process from "child_process";
import { program } from "@commander-js/extra-typings";

type LocalDependencies = {
[key: string]: string;
};
import { Dependency } from "./types/Dependency";
import { LocalDependencies } from "./types/LocalDependencies";
import httpDependencyResolver from "./util/httpDependencyResolver";
import { compareVersions, isValidVersion } from "./util/semver";

function getExcludedDependencies({
exclude,
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions src/types/LocalDependencies.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export type LocalDependencies = {
[key: string]: string;
};
File renamed without changes.
4 changes: 2 additions & 2 deletions src/util/httpDependencyResolver.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Dependency } from "../types/dependency";
import { RegistryData } from "../types/registry";
import { Dependency } from "../types/Dependency";
import { RegistryData } from "../types/RegistryData";
import axios from "axios";

export default async function httpDependencyResolver(
Expand Down

0 comments on commit cff4602

Please sign in to comment.