Skip to content

Commit

Permalink
Update dependencies and apply coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
henryruhs committed Apr 29, 2023
1 parent fcbd26d commit fa8b579
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 11 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,26 @@
},
"dependencies":
{
"commander": "10.0.0",
"semver": "7.3.8"
"commander": "10.0.1",
"semver": "7.5.0"
},
"devDependencies":
{
"@isnotdefined/eslint-config": "8.1.0",
"@types/chai": "4.3.4",
"@isnotdefined/eslint-config": "9.5.0",
"@types/chai": "4.3.5",
"@types/mocha": "10.0.1",
"@types/node": "18.11.18",
"@types/node": "18.16.3",
"@types/semver": "7.3.13",
"chai": "4.3.7",
"eslint": "8.32.0",
"eslint": "8.39.0",
"mocha": "10.2.0",
"rollup": "3.10.0",
"rollup": "3.21.1",
"rollup-plugin-add-shebang": "0.3.1",
"rollup-plugin-copy": "3.4.0",
"rollup-plugin-delete": "2.0.0",
"rollup-plugin-ts": "3.1.1",
"rollup-plugin-ts": "3.2.0",
"ts-node": "10.9.1",
"typescript": "4.9.4"
"typescript": "5.0.4"
},
"scripts":
{
Expand Down
2 changes: 2 additions & 0 deletions src/core.class.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { ChildProcess, spawn } from 'child_process';

import { program, Option as CommanderOption } from 'commander';

import { Helper } from './helper.class.js';
import { Option } from './option.class.js';
import { Packager } from './packager.class.js';
Expand Down
1 change: 1 addition & 0 deletions src/option.class.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { PathLike } from 'fs';

import { Helper } from './helper.class.js';
import { Options } from './option.interface.js';

Expand Down
2 changes: 2 additions & 0 deletions src/packager.class.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { promisify } from 'util';
import { PathLike, readFile, writeFile } from 'fs';
import PATH from 'path';

import semver, { SemVer } from 'semver';

import { Option } from './option.class.js';
import { Dependencies, Package } from './packager.interface';
import { Options } from './option.interface';
Expand Down
1 change: 1 addition & 0 deletions src/spinner.class.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { EOL } from 'os';

import { Option } from './option.class.js';
import { Cursor, Symbol } from './spinner.enum.js';

Expand Down
1 change: 1 addition & 0 deletions src/statistic.class.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { existsSync, readdirSync, PathLike } from 'fs';
import PATH from 'path';

import { Option } from './option.class.js';

export class Statistic
Expand Down
3 changes: 2 additions & 1 deletion tests/cli.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import fs from 'fs';
import { expect } from 'chai';
import { exec } from 'child_process';

import { expect } from 'chai';

describe('cli', () =>
{
describe('run main command', () =>
Expand Down
1 change: 1 addition & 0 deletions tests/core.class.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { expect } from 'chai';

import { Core, Helper, Option, Packager, Spinner, Statistic } from '../src';

describe('core', () =>
Expand Down
1 change: 1 addition & 0 deletions tests/option.class.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { expect } from 'chai';

import { Option, Helper } from '../src';

describe('option', () =>
Expand Down
2 changes: 2 additions & 0 deletions tests/packager.class.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { mkdir, rmdir, unlink } from 'fs';

import { expect } from 'chai';

import { Helper, Option, Packager } from '../src';
import { Package } from '../src/packager.interface';
import { Range } from '../src/option.type';
Expand Down
4 changes: 3 additions & 1 deletion tests/statistics.class.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { expect } from 'chai';
import { mkdir, rmdir, PathLike } from 'fs';

import { expect } from 'chai';

import { Helper, Option, Statistic } from '../src';

describe('statistic', () =>
Expand Down

0 comments on commit fa8b579

Please sign in to comment.