Skip to content

Commit 1fecd72

Browse files
authored
Update base packages and use @nevware/ts-utils (#95)
1 parent 90478d6 commit 1fecd72

16 files changed

Lines changed: 1741 additions & 1109 deletions

common/config/rush/npm-shrinkwrap.json

Lines changed: 1627 additions & 986 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/scripts/install-run-rush.js

Lines changed: 33 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/scripts/install-run.js

Lines changed: 26 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eslint-ts-plugin/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@
4141
"eslint-formatter-codeframe": "^7.32.1"
4242
},
4343
"devDependencies": {
44-
"@types/eslint": "^8.2.0",
45-
"@types/estree": "^0.0.50",
44+
"@types/eslint": "^8.4.2",
45+
"@types/estree": "^0.0.51",
4646
"@types/grunt": "^0.4.27",
47+
"@nevware21/ts-utils": "^0.1.0",
4748
"@nevware21/grunt-plugins-shared-utils": "0.3.0",
4849
"@nevware21/grunt-eslint-ts": "^0.2.1",
4950
"@nevware21/grunt-ts-plugin": "^0.4.2",
50-
"grunt": "^1.4.0",
51+
"grunt": "^1.5.3",
5152
"grunt-cli": "^1.4.3",
52-
"typescript": "^4.2.0",
53-
"typedoc": "^0.20.36",
54-
"rollup": "^2.60.1",
55-
"@rollup/plugin-commonjs": "^21.0.1",
56-
"@rollup/plugin-node-resolve": "^13.0.6",
53+
"typescript": "^4.7.2",
54+
"rollup": "^2.75.3",
55+
"@rollup/plugin-commonjs": "^22.0.0",
56+
"@rollup/plugin-node-resolve": "^13.3.0",
5757
"@rollup/plugin-json": "^4.1.0"
5858
},
5959
"peerDependencies": {

eslint-ts-plugin/src/ESLintRunner.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
* Licensed under the MIT license.
88
*/
99

10-
import { dumpObj, IGruntWrapper, isFunction, isUndefined, findModulePath, locateModulePath } from "@nevware21/grunt-plugins-shared-utils";
10+
import { dumpObj, isFunction, isUndefined } from "@nevware21/ts-utils";
11+
import { IGruntWrapper, findModulePath, locateModulePath } from "@nevware21/grunt-plugins-shared-utils";
1112
import { IESLintRunnerFileResponse, IESLintRunnerOptions, IESLintRunnerResponse } from "./interfaces/IESLintRunnerOptions";
1213
import { Linter, ESLint } from "eslint";
1314
import * as fs from "fs";

eslint-ts-plugin/src/eslint-ts-plugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
* Licensed under the MIT license.
88
*/
99

10-
import { getGruntMultiTaskOptions, resolveValue, dumpObj, deepMerge, getTsConfigDetails, isString, IGruntWrapperOptions, GruntWrapper } from "@nevware21/grunt-plugins-shared-utils";
10+
import { dumpObj, isString } from "@nevware21/ts-utils";
11+
import { getGruntMultiTaskOptions, resolveValue, deepMerge, getTsConfigDetails, IGruntWrapperOptions, GruntWrapper } from "@nevware21/grunt-plugins-shared-utils";
1112
import { ESLintRunner } from "./ESLintRunner";
1213
import { IEslintTsPluginTaskOptions } from "./interfaces/IEslintTsPluginOptions";
1314
import { Linter } from "eslint";

package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,21 @@
4949
"eslint-formatter-codeframe": "^7.32.1"
5050
},
5151
"devDependencies": {
52-
"@microsoft/rush": "^5.56.0",
52+
"@microsoft/rush": "^5.71.0",
53+
"@nevware21/ts-utils": "^0.1.0",
5354
"@nevware21/grunt-eslint-ts": "^0.2.1",
5455
"@nevware21/grunt-ts-plugin": "^0.4.2",
55-
"@rollup/plugin-commonjs": "^21.0.1",
56-
"@rollup/plugin-node-resolve": "^13.0.6",
57-
"@types/eslint": "^8.2.0",
56+
"@rollup/plugin-commonjs": "^22.0.0",
57+
"@rollup/plugin-node-resolve": "^13.3.0",
58+
"@types/eslint": "^8.4.2",
5859
"@types/estree": "^0.0.51",
59-
"@typescript-eslint/eslint-plugin": "^5.4.0",
60-
"@typescript-eslint/parser": "^5.4.0",
61-
"eslint": "^8.3.0",
62-
"eslint-plugin-security": "^1.4.0",
63-
"grunt": "^1.4.0",
60+
"@typescript-eslint/eslint-plugin": "^5.26.0",
61+
"@typescript-eslint/parser": "^5.26.0",
62+
"eslint": "^8.16.0",
63+
"eslint-plugin-security": "^1.5.0",
64+
"grunt": "^1.5.3",
6465
"grunt-cli": "^1.4.3",
65-
"rollup": "^2.60.1",
66-
"typescript": "^4.2.0"
66+
"rollup": "^2.75.3",
67+
"typescript": "^4.7.2"
6768
}
6869
}

rush.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
{
33
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/rush.schema.json",
44

5-
"npmVersion": "8.1.4",
6-
"rushVersion": "5.56.0",
5+
"npmVersion": "8.11.0",
6+
"rushVersion": "5.71.0",
77
"projectFolderMaxDepth": 4,
88
"projects": [
99
{

shared/package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,14 @@
4242
"node": ">= 0.8.0"
4343
},
4444
"devDependencies": {
45+
"@nevware21/ts-utils": "^0.1.0",
4546
"@types/grunt": "^0.4.27",
46-
"@types/eslint": "^8.2.0",
47-
"grunt": "^1.4.0",
47+
"@types/eslint": "^8.4.2",
48+
"grunt": "^1.5.3",
4849
"grunt-cli": "^1.4.3",
49-
"typescript": "^4.2.0",
50-
"rollup": "^2.60.1",
51-
"@rollup/plugin-commonjs": "^21.0.1",
52-
"@rollup/plugin-node-resolve": "^13.0.6"
50+
"typescript": "^4.7.2",
51+
"rollup": "^2.75.3",
52+
"@rollup/plugin-commonjs": "^22.0.0",
53+
"@rollup/plugin-node-resolve": "^13.3.0"
5354
}
5455
}

shared/src/fileHelpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* Licensed under the MIT license.
77
*/
88

9+
import { isUndefined } from "@nevware21/ts-utils";
910
import { getRandomHex } from "./random";
10-
import { isUndefined } from "./utils";
1111
import * as fs from "fs";
1212
import * as path from "path";
1313

0 commit comments

Comments
 (0)