Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelovers committed Sep 23, 2020
1 parent 217f6de commit 40ae83d
Show file tree
Hide file tree
Showing 17 changed files with 146 additions and 147 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,26 +62,26 @@
"@types/fs-extra": "^9.0.1",
"@types/hash-sum": "^1.0.0",
"@types/inquirer": "^7.3.1",
"@types/jest": "^26.0.13",
"@types/jest": "^26.0.14",
"@types/json5": "^0.0.30",
"@types/lodash": "^4.14.161",
"@types/micromatch": "^4.0.1",
"@types/mocha": "^8.0.3",
"@types/node": "^14.6.4",
"@types/node": "^14.11.2",
"@types/npm-package-arg": "^6.1.0",
"@types/npm-packlist": "^1.1.1",
"@types/parse-git-config": "^3.0.0",
"@types/semver": "^7.3.3",
"@types/semver": "^7.3.4",
"@types/tar": "^4.0.3",
"@types/tmp": "^0.2.0",
"@types/update-notifier": "^4.1.1",
"@types/validate-npm-package-name": "^3.0.0",
"@types/yargs": "^15.0.5",
"@types/yargs": "^15.0.7",
"@types/yarnpkg__lockfile": "^1.1.3",
"chai": "^4.2.0",
"jest": "^26.4.2",
"mocha": "^8.1.3",
"ts-jest": "^26.3.0"
"ts-jest": "^26.4.0"
},
"peerDependencies": {
"lerna": "^3"
Expand Down
2 changes: 1 addition & 1 deletion packages/@yarn-tool/check-pkg-bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"pkg-dir": "^4.2.0",
"upath2": "^3.1.6",
"ws-pkg-list": "^1.0.48",
"yargs": "^15.4.1"
"yargs": "^16.0.3"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/@yarn-tool/ncu/lib/update/npmCheckUpdates.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IOptionsNpmCheckUpdates } from '../types';
import { IWrapDedupeCache } from '@yarn-tool/yarnlock/lib/types';
import { ITSRequireAtLeastOne } from 'ts-type/index';
export declare function npmCheckUpdates<C extends IWrapDedupeCache>(cache: Partial<C>, ncuOptions: ITSRequireAtLeastOne<IOptionsNpmCheckUpdates, 'json_old' | 'packageData'>): Promise<Pick<IOptionsNpmCheckUpdates, "cwd" | "silent" | "upgrade" | "minimal" | "dep" | "newest" | "packageManager" | "registry" | "greatest" | "semverLevel" | "removeRange" | "dedupe" | "versionTarget" | "json_new" | "json_changed" | "list_updated" | "loglevel" | "current" | "noSafe"> & import("ts-type").ITSRequiredPick<IOptionsNpmCheckUpdates, "json_old"> & import("ts-type").ITSPartialPick<IOptionsNpmCheckUpdates, "packageData">>;
export declare function npmCheckUpdates<C extends IWrapDedupeCache>(cache: Partial<C>, ncuOptions: ITSRequireAtLeastOne<IOptionsNpmCheckUpdates, 'json_old' | 'packageData'>): Promise<Pick<IOptionsNpmCheckUpdates, "silent" | "upgrade" | "cwd" | "minimal" | "dep" | "newest" | "packageManager" | "registry" | "greatest" | "semverLevel" | "removeRange" | "dedupe" | "versionTarget" | "json_new" | "json_changed" | "list_updated" | "loglevel" | "current" | "noSafe"> & import("ts-type").ITSRequiredPick<IOptionsNpmCheckUpdates, "json_old"> & import("ts-type").ITSPartialPick<IOptionsNpmCheckUpdates, "packageData">>;
4 changes: 2 additions & 2 deletions packages/@yarn-tool/ncu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@
"@yarn-tool/table": "^1.0.21",
"@yarn-tool/yarnlock": "^1.0.41",
"bluebird": "^3.7.2",
"npm-check-updates": "^8.1.0",
"npm-check-updates": "^9.0.2",
"npm-package-arg": "^8.0.1",
"package-json": "^6.5.0",
"semver": "^7.3.2",
"ts-type": "^1.2.34"
},
"peerDependencies": {
"yargs": "^15.4.1"
"yargs": "^16.0.3"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/@yarn-tool/node-modules-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"find-yarn-workspace-root2": "^1.2.23",
"fs-extra": "^9.0.1",
"upath2": "^3.1.6",
"yargs": "^15.4.1"
"yargs": "^16.0.3"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/@yarn-tool/run-script-lifecycle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"tsc:esm": "tsc -p tsconfig.esm.json"
},
"dependencies": {
"@npmcli/run-script": "^1.5.0",
"@npmcli/run-script": "^1.6.0",
"@ts-type/package-dts": "^1.0.45",
"@yarn-tool/script-lifecycle": "^1.0.2"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/static-file/file/npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
registry=https://registry.npmjs.org/
color=always
4 changes: 2 additions & 2 deletions packages/@yarn-tool/static-file/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare const _defaultCopyStaticFiles: readonly [readonly [".npmignore", "file/npmignore"], readonly [".gitignore", "file/gitignore"], readonly [".eslintignore", "file/eslintignore"], readonly [".nvmrc", "file/nvmrc"], readonly [".browserslistrc", "file/browserslistrc"], readonly ["tsconfig.json.tpl", "file/tsconfig.json.tpl", "tsconfig.json"], readonly ["tsconfig.esm.json.tpl", "file/tsconfig.esm.json.tpl", "tsconfig.esm.json"], readonly [".eslintrc.json.tpl", "file/eslintrc.json.tpl", ".eslintrc.json"], readonly ["README.md", "file/README.md"], readonly [".nycrc", "file/nycrc"], readonly [".mocharc.yml", "file/mocharc.yml"], readonly ["jest.config.js", "file/jest.config.js"], readonly [".nowignore", "file/nowignore"], readonly ["now.json.tpl", "file/now.json.tpl", "now.json"], readonly ["lerna.json.tpl", "file/lerna.json.tpl", "lerna.json"], readonly ["pnpm-workspace.yaml.tpl", "file/pnpm-workspace.yaml", "pnpm-workspace.yaml"]];
declare const _defaultCopyStaticFiles: readonly [readonly [".npmignore", "file/npmignore"], readonly [".gitignore", "file/gitignore"], readonly [".eslintignore", "file/eslintignore"], readonly [".nvmrc", "file/nvmrc"], readonly [".browserslistrc", "file/browserslistrc"], readonly ["tsconfig.json.tpl", "file/tsconfig.json.tpl", "tsconfig.json"], readonly ["tsconfig.esm.json.tpl", "file/tsconfig.esm.json.tpl", "tsconfig.esm.json"], readonly [".eslintrc.json.tpl", "file/eslintrc.json.tpl", ".eslintrc.json"], readonly ["README.md", "file/README.md"], readonly [".nycrc", "file/nycrc"], readonly [".mocharc.yml", "file/mocharc.yml"], readonly ["jest.config.js", "file/jest.config.js"], readonly [".nowignore", "file/nowignore"], readonly ["now.json.tpl", "file/now.json.tpl", "now.json"], readonly ["lerna.json.tpl", "file/lerna.json.tpl", "lerna.json"], readonly ["pnpm-workspace.yaml.tpl", "file/pnpm-workspace.yaml", "pnpm-workspace.yaml"], readonly [".npmrc.tpl", "file/npmrc", ".npmrc"]];
export declare type IStaticFilesID<T = typeof _defaultCopyStaticFiles> = T extends ({
[n: number]: [infer U, string, string?] | readonly [infer U, string, string?];
} | {
Expand Down Expand Up @@ -26,5 +26,5 @@ export declare function parseStaticMap<K extends string>(file_map: IStaticFilesM
export declare function parseStaticMap<K extends string>(file_map: IStaticFilesMapArray<K>): [K | IStaticFilesID, string, string?][];
export declare function parseStaticMap<K extends string>(file_map: IStaticFiles<K>): [K | IStaticFilesID, string, string?][];
export declare function getStaticFile<K extends string>(file_id: K, options?: Pick<ICopyStaticFilesOptions<string>, 'file_map'>): [K, string, string?];
export declare function copyStaticFiles<K extends string>(options: ICopyStaticFilesOptions<K>): [".npmignore" | ".gitignore" | ".eslintignore" | ".nvmrc" | ".browserslistrc" | "tsconfig.json.tpl" | "tsconfig.esm.json.tpl" | ".eslintrc.json.tpl" | "README.md" | ".nycrc" | ".mocharc.yml" | "jest.config.js" | ".nowignore" | "now.json.tpl" | "lerna.json.tpl" | "pnpm-workspace.yaml.tpl" | K, string, string?][];
export declare function copyStaticFiles<K extends string>(options: ICopyStaticFilesOptions<K>): [".npmignore" | ".gitignore" | ".eslintignore" | ".nvmrc" | ".browserslistrc" | "tsconfig.json.tpl" | "tsconfig.esm.json.tpl" | ".eslintrc.json.tpl" | "README.md" | ".nycrc" | ".mocharc.yml" | "jest.config.js" | ".nowignore" | "now.json.tpl" | "lerna.json.tpl" | "pnpm-workspace.yaml.tpl" | ".npmrc.tpl" | K, string, string?][];
export default copyStaticFiles;
1 change: 1 addition & 0 deletions packages/@yarn-tool/static-file/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/@yarn-tool/static-file/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const _defaultCopyStaticFiles = [

['pnpm-workspace.yaml.tpl', 'file/pnpm-workspace.yaml', 'pnpm-workspace.yaml'],

['.npmrc.tpl', 'file/npmrc', '.npmrc'],

] as const;

export type IStaticFilesID<T = typeof _defaultCopyStaticFiles> =
Expand Down
54 changes: 1 addition & 53 deletions packages/@yarn-tool/workspaces-project/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,59 +33,7 @@ export declare class WorkspacesProject {
get config(): ILernaJson;
get bump(): IReleaseType;
get changelogPreset(): IChangelogPreset;
get releaseConfig(): import("ts-type").ITSOverwrite<Pick<{
[k: string]: unknown;
allowBranch?: string[];
message?: string;
} & {
concurrency?: number;
bump?: IReleaseType;
allowBranch?: string[];
conventionalCommits?: boolean;
changelogPreset?: string;
exact?: boolean;
createRelease?: "gitlab" | "github";
noPrivate?: boolean;
}, string | number> & Pick<{
[k: string]: unknown;
allowBranch?: string[];
message?: string;
} | {
concurrency?: number;
bump?: IReleaseType;
allowBranch?: string[];
conventionalCommits?: boolean;
changelogPreset?: string;
exact?: boolean;
createRelease?: "gitlab" | "github";
noPrivate?: boolean;
}, "changelogPreset" | "concurrency" | "bump" | "conventionalCommits" | "allowBranch" | "noPrivate" | "exact" | "createRelease"> & Pick<{
[k: string]: unknown;
ignoreChanges?: string[];
message?: string;
} & {
concurrency?: number;
bump?: IReleaseType;
conventionalCommits?: boolean;
conventionalGraduate?: boolean;
distTag?: string;
npmClient?: string;
allowBranch?: string[];
noPrivate?: boolean;
}, string | number> & Pick<{
[k: string]: unknown;
ignoreChanges?: string[];
message?: string;
} | {
concurrency?: number;
bump?: IReleaseType;
conventionalCommits?: boolean;
conventionalGraduate?: boolean;
distTag?: string;
npmClient?: string;
allowBranch?: string[];
noPrivate?: boolean;
}, "concurrency" | "bump" | "conventionalCommits" | "conventionalGraduate" | "distTag" | "npmClient" | "allowBranch" | "noPrivate">, {
get releaseConfig(): import("ts-type").ITSOverwrite<Record<string, unknown>, {
changelogPreset: unknown;
conventionalGraduate: unknown;
bump: IReleaseType;
Expand Down
4 changes: 2 additions & 2 deletions packages/create-yarn-workspaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"fs-extra": "^9.0.1",
"path-is-same": "^1.0.5",
"pkg-dir": "^4.2.0",
"sort-package-json": "^1.44.0",
"sort-package-json": "^1.46.0",
"sort-package-json3": "^1.0.23",
"yargs": "^15.4.1"
"yargs": "^16.0.3"
},
"gitHead": "02f74c14e885366e9be773564ea43f7425f9d97a"
}
2 changes: 1 addition & 1 deletion packages/node-package-json-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"bind-decorator": "^1.0.11",
"fs-extra": "^9.0.1",
"pkg-up": "^3.1.0",
"sort-package-json": "^1.44.0",
"sort-package-json": "^1.46.0",
"sort-package-json3": "^1.0.23",
"ts-type": "^1.2.34"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/npm-init2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"upath2": "^3.1.6",
"validate-npm-package-name": "^3.0.0",
"workspaces-config": "^1.0.23",
"yargs": "^15.4.1"
"yargs": "^16.0.3"
},
"devDependencies": {
"@bluelovers/tsconfig": "^1.0.20",
Expand Down
2 changes: 1 addition & 1 deletion packages/sort-package-json3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"sort-package-json-scripts": "^1.1.5"
},
"peerDependencies": {
"sort-package-json": "^1.44.0"
"sort-package-json": "^1.46.0"
},
"gitHead": "445ff249d9e89ede8c67a41af7f967bdc9dd50aa"
}
2 changes: 1 addition & 1 deletion packages/sync-lockfile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@yarn-tool/find-root": "^1.0.36",
"fs-extra": "^9.0.1",
"ws-pkg-list": "^1.0.48",
"yargs": "^15.4.1"
"yargs": "^16.0.3"
},
"gitHead": "67f2bf3be478106378700eb513da557943b2f9f3"
}

0 comments on commit 40ae83d

Please sign in to comment.