@nx/nest 16.10.0-beta.2 → 17.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generators.json +0 -12
- package/index.d.ts +0 -2
- package/index.js +1 -4
- package/migrations.json +0 -35
- package/package.json +6 -8
- package/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.d.ts +0 -7
- package/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.js +0 -123
- package/src/generators/convert-tslint-to-eslint/schema.json +0 -45
- package/src/migrations/update-13-2-0/update-to-nest-8.d.ts +0 -2
- package/src/migrations/update-13-2-0/update-to-nest-8.js +0 -70
package/generators.json
CHANGED
|
@@ -10,12 +10,6 @@
|
|
|
10
10
|
"x-type": "application",
|
|
11
11
|
"description": "Create a NestJS application."
|
|
12
12
|
},
|
|
13
|
-
"convert-tslint-to-eslint": {
|
|
14
|
-
"factory": "./src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint#conversionSchematic",
|
|
15
|
-
"schema": "./src/generators/convert-tslint-to-eslint/schema.json",
|
|
16
|
-
"description": "Convert a project from TSLint to ESLint.",
|
|
17
|
-
"x-deprecated": "This generator is deprecated and will be removed in a future version of Nx. Migrate to ESLint."
|
|
18
|
-
},
|
|
19
13
|
"init": {
|
|
20
14
|
"factory": "./src/generators/init/init#initSchematic",
|
|
21
15
|
"schema": "./src/generators/init/schema.json",
|
|
@@ -114,12 +108,6 @@
|
|
|
114
108
|
"x-type": "application",
|
|
115
109
|
"description": "Create a NestJS application."
|
|
116
110
|
},
|
|
117
|
-
"convert-tslint-to-eslint": {
|
|
118
|
-
"factory": "./src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint#conversionGenerator",
|
|
119
|
-
"schema": "./src/generators/convert-tslint-to-eslint/schema.json",
|
|
120
|
-
"description": "Convert a project from TSLint to ESLint.",
|
|
121
|
-
"x-deprecated": "This generator is deprecated and will be removed in a future version of Nx. Migrate to ESLint."
|
|
122
|
-
},
|
|
123
111
|
"init": {
|
|
124
112
|
"factory": "./src/generators/init/init",
|
|
125
113
|
"schema": "./src/generators/init/schema.json",
|
package/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export { applicationGenerator } from './src/generators/application/application';
|
|
2
2
|
export { classGenerator } from './src/generators/class/class';
|
|
3
3
|
export { controllerGenerator } from './src/generators/controller/controller';
|
|
4
|
-
/** @deprecated This generator will be removed in v17 */
|
|
5
|
-
export { conversionGenerator } from './src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint';
|
|
6
4
|
export { decoratorGenerator } from './src/generators/decorator/decorator';
|
|
7
5
|
export { filterGenerator } from './src/generators/filter/filter';
|
|
8
6
|
export { gatewayGenerator } from './src/generators/gateway/gateway';
|
package/index.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.serviceGenerator = exports.resourceGenerator = exports.resolverGenerator = exports.providerGenerator = exports.pipeGenerator = exports.moduleGenerator = exports.middlewareGenerator = exports.libraryGenerator = exports.interfaceGenerator = exports.interceptorGenerator = exports.initGenerator = exports.guardGenerator = exports.gatewayGenerator = exports.filterGenerator = exports.decoratorGenerator = exports.
|
|
3
|
+
exports.serviceGenerator = exports.resourceGenerator = exports.resolverGenerator = exports.providerGenerator = exports.pipeGenerator = exports.moduleGenerator = exports.middlewareGenerator = exports.libraryGenerator = exports.interfaceGenerator = exports.interceptorGenerator = exports.initGenerator = exports.guardGenerator = exports.gatewayGenerator = exports.filterGenerator = exports.decoratorGenerator = exports.controllerGenerator = exports.classGenerator = exports.applicationGenerator = void 0;
|
|
4
4
|
var application_1 = require("./src/generators/application/application");
|
|
5
5
|
Object.defineProperty(exports, "applicationGenerator", { enumerable: true, get: function () { return application_1.applicationGenerator; } });
|
|
6
6
|
var class_1 = require("./src/generators/class/class");
|
|
7
7
|
Object.defineProperty(exports, "classGenerator", { enumerable: true, get: function () { return class_1.classGenerator; } });
|
|
8
8
|
var controller_1 = require("./src/generators/controller/controller");
|
|
9
9
|
Object.defineProperty(exports, "controllerGenerator", { enumerable: true, get: function () { return controller_1.controllerGenerator; } });
|
|
10
|
-
/** @deprecated This generator will be removed in v17 */
|
|
11
|
-
var convert_tslint_to_eslint_1 = require("./src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint");
|
|
12
|
-
Object.defineProperty(exports, "conversionGenerator", { enumerable: true, get: function () { return convert_tslint_to_eslint_1.conversionGenerator; } });
|
|
13
10
|
var decorator_1 = require("./src/generators/decorator/decorator");
|
|
14
11
|
Object.defineProperty(exports, "decoratorGenerator", { enumerable: true, get: function () { return decorator_1.decoratorGenerator; } });
|
|
15
12
|
var filter_1 = require("./src/generators/filter/filter");
|
package/migrations.json
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generators": {
|
|
3
|
-
"update-to-nest-8": {
|
|
4
|
-
"cli": "nx",
|
|
5
|
-
"version": "13.2.0-beta.0",
|
|
6
|
-
"description": "Update Nest.js libraries",
|
|
7
|
-
"factory": "./src/migrations/update-13-2-0/update-to-nest-8"
|
|
8
|
-
},
|
|
9
3
|
"update-16-0-0-add-nx-packages": {
|
|
10
4
|
"cli": "nx",
|
|
11
5
|
"version": "16.0.0-beta.1",
|
|
@@ -20,35 +14,6 @@
|
|
|
20
14
|
}
|
|
21
15
|
},
|
|
22
16
|
"packageJsonUpdates": {
|
|
23
|
-
"14.5.0": {
|
|
24
|
-
"version": "14.5.0-beta.1",
|
|
25
|
-
"packages": {
|
|
26
|
-
"@nestjs/common": {
|
|
27
|
-
"version": "^9.0.0",
|
|
28
|
-
"alwaysAddToPackageJson": false
|
|
29
|
-
},
|
|
30
|
-
"@nestjs/core": {
|
|
31
|
-
"version": "^9.0.0",
|
|
32
|
-
"alwaysAddToPackageJson": false
|
|
33
|
-
},
|
|
34
|
-
"@nestjs/platform-express": {
|
|
35
|
-
"version": "^9.0.0",
|
|
36
|
-
"alwaysAddToPackageJson": false
|
|
37
|
-
},
|
|
38
|
-
"@nestjs/schematics": {
|
|
39
|
-
"version": "^9.0.0",
|
|
40
|
-
"alwaysAddToPackageJson": false
|
|
41
|
-
},
|
|
42
|
-
"@nestjs/swagger": {
|
|
43
|
-
"version": "^6.0.0",
|
|
44
|
-
"alwaysAddToPackageJson": false
|
|
45
|
-
},
|
|
46
|
-
"@nestjs/testing": {
|
|
47
|
-
"version": "^9.0.0",
|
|
48
|
-
"alwaysAddToPackageJson": false
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
17
|
"16.1.0": {
|
|
53
18
|
"version": "16.1.0-beta.0",
|
|
54
19
|
"packages": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/nest",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Nest contains executors and generators for allowing your workspace to create powerful Nest best in class APIs.",
|
|
6
6
|
"repository": {
|
|
@@ -31,15 +31,13 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@nestjs/schematics": "^9.1.0",
|
|
34
|
-
"
|
|
35
|
-
"@nx/
|
|
36
|
-
"@nx/
|
|
37
|
-
"@nx/
|
|
38
|
-
"@nx/node": "16.10.0-beta.2",
|
|
34
|
+
"@nx/devkit": "17.0.0-beta.1",
|
|
35
|
+
"@nx/js": "17.0.0-beta.1",
|
|
36
|
+
"@nx/linter": "17.0.0-beta.1",
|
|
37
|
+
"@nx/node": "17.0.0-beta.1",
|
|
39
38
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
40
|
-
"semver": "7.5.3",
|
|
41
39
|
"tslib": "^2.3.0",
|
|
42
|
-
"@nrwl/nest": "
|
|
40
|
+
"@nrwl/nest": "17.0.0-beta.1"
|
|
43
41
|
},
|
|
44
42
|
"publishConfig": {
|
|
45
43
|
"access": "public"
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Tree } from '@nx/devkit';
|
|
2
|
-
import { ConvertTSLintToESLintSchema } from '@nx/linter';
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated This generator will be removed in v17
|
|
5
|
-
*/
|
|
6
|
-
export declare function conversionGenerator(host: Tree, options: ConvertTSLintToESLintSchema): Promise<() => Promise<void>>;
|
|
7
|
-
export declare const conversionSchematic: (generatorOptions: ConvertTSLintToESLintSchema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.conversionSchematic = exports.conversionGenerator = void 0;
|
|
4
|
-
const devkit_1 = require("@nx/devkit");
|
|
5
|
-
const linter_1 = require("@nx/linter");
|
|
6
|
-
const application_1 = require("@nx/node/src/generators/application/application");
|
|
7
|
-
const library_1 = require("@nx/js/src/generators/library/library");
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated This generator will be removed in v17
|
|
10
|
-
*/
|
|
11
|
-
async function conversionGenerator(host, options) {
|
|
12
|
-
/**
|
|
13
|
-
* The ProjectConverter instance encapsulates all the standard operations we need
|
|
14
|
-
* to perform in order to convert a project from TSLint to ESLint, as well as some
|
|
15
|
-
* extensibility points for adjusting the behavior on a per package basis.
|
|
16
|
-
*
|
|
17
|
-
* E.g. @nx/angular projects might need to make different changes to the final
|
|
18
|
-
* ESLint config when compared with @nx/nest projects.
|
|
19
|
-
*
|
|
20
|
-
* See the ProjectConverter implementation for a full breakdown of what it does.
|
|
21
|
-
*/
|
|
22
|
-
const projectConverter = new linter_1.ProjectConverter({
|
|
23
|
-
host,
|
|
24
|
-
projectName: options.project,
|
|
25
|
-
ignoreExistingTslintConfig: options.ignoreExistingTslintConfig,
|
|
26
|
-
eslintInitializer: async ({ projectName, projectConfig }) => {
|
|
27
|
-
/**
|
|
28
|
-
* Using .js is not an option with NestJS, so we always set it to false when
|
|
29
|
-
* delegating to the external (more generic) generators below.
|
|
30
|
-
*/
|
|
31
|
-
const js = false;
|
|
32
|
-
/**
|
|
33
|
-
* We set the parserOptions.project config just in case the converted config uses
|
|
34
|
-
* rules which require type-checking. Later in the conversion we check if it actually
|
|
35
|
-
* does and remove the config again if it doesn't, so that it is most efficient.
|
|
36
|
-
*/
|
|
37
|
-
const setParserOptionsProject = true;
|
|
38
|
-
if (projectConfig.projectType === 'application') {
|
|
39
|
-
await (0, application_1.addLintingToApplication)(host, {
|
|
40
|
-
linter: 'eslint',
|
|
41
|
-
name: projectName,
|
|
42
|
-
appProjectRoot: projectConfig.root,
|
|
43
|
-
js,
|
|
44
|
-
setParserOptionsProject,
|
|
45
|
-
parsedTags: [],
|
|
46
|
-
skipFormat: options.skipFormat,
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
if (projectConfig.projectType === 'library') {
|
|
50
|
-
await (0, library_1.addLint)(host, {
|
|
51
|
-
linter: 'eslint',
|
|
52
|
-
name: projectName,
|
|
53
|
-
projectRoot: projectConfig.root,
|
|
54
|
-
js,
|
|
55
|
-
setParserOptionsProject,
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
});
|
|
60
|
-
/**
|
|
61
|
-
* If root eslint configuration already exists it will not be recreated
|
|
62
|
-
* but we also don't want to re-run the tslint config conversion
|
|
63
|
-
* as it was likely already done
|
|
64
|
-
*/
|
|
65
|
-
const rootEslintConfigExists = host.exists('.eslintrc.json');
|
|
66
|
-
/**
|
|
67
|
-
* Create the standard (which is applicable to the current package) ESLint setup
|
|
68
|
-
* for converting the project.
|
|
69
|
-
*/
|
|
70
|
-
const eslintInitInstallTask = await projectConverter.initESLint();
|
|
71
|
-
/**
|
|
72
|
-
* Convert the root tslint.json and apply the converted rules to the root .eslintrc.json.
|
|
73
|
-
*/
|
|
74
|
-
const rootConfigInstallTask = await projectConverter.convertRootTSLintConfig((json) => removeCodelyzerRelatedRules(json), rootEslintConfigExists);
|
|
75
|
-
/**
|
|
76
|
-
* Convert the project's tslint.json to an equivalent ESLint config.
|
|
77
|
-
*/
|
|
78
|
-
const projectConfigInstallTask = await projectConverter.convertProjectConfig((json) => json);
|
|
79
|
-
/**
|
|
80
|
-
* Clean up the original TSLint configuration for the project.
|
|
81
|
-
*/
|
|
82
|
-
projectConverter.removeProjectTSLintFile();
|
|
83
|
-
// Only project shouldn't be added as a default
|
|
84
|
-
const { project, ...defaults } = options;
|
|
85
|
-
/**
|
|
86
|
-
* Store user preferences for the collection
|
|
87
|
-
*/
|
|
88
|
-
projectConverter.setDefaults('@nx/nest', defaults);
|
|
89
|
-
/**
|
|
90
|
-
* Based on user preference and remaining usage, remove TSLint from the workspace entirely.
|
|
91
|
-
*/
|
|
92
|
-
let uninstallTSLintTask = () => Promise.resolve(undefined);
|
|
93
|
-
if (options.removeTSLintIfNoMoreTSLintTargets &&
|
|
94
|
-
!projectConverter.isTSLintUsedInWorkspace()) {
|
|
95
|
-
uninstallTSLintTask = projectConverter.removeTSLintFromWorkspace();
|
|
96
|
-
}
|
|
97
|
-
if (!options.skipFormat) {
|
|
98
|
-
await (0, devkit_1.formatFiles)(host);
|
|
99
|
-
}
|
|
100
|
-
return async () => {
|
|
101
|
-
await eslintInitInstallTask();
|
|
102
|
-
await rootConfigInstallTask();
|
|
103
|
-
await projectConfigInstallTask();
|
|
104
|
-
await uninstallTSLintTask();
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
exports.conversionGenerator = conversionGenerator;
|
|
108
|
-
exports.conversionSchematic = (0, devkit_1.convertNxGenerator)(conversionGenerator);
|
|
109
|
-
/**
|
|
110
|
-
* Remove any @angular-eslint rules that were applied as a result of converting prior codelyzer
|
|
111
|
-
* rules, because they are only relevant for Angular projects.
|
|
112
|
-
*/
|
|
113
|
-
function removeCodelyzerRelatedRules(json) {
|
|
114
|
-
for (const ruleName of Object.keys(json.rules)) {
|
|
115
|
-
if (ruleName.startsWith('@angular-eslint')) {
|
|
116
|
-
delete json.rules[ruleName];
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
if (json.plugins) {
|
|
120
|
-
json.plugins = json.plugins.filter((plugin) => !plugin.startsWith('@angular-eslint'));
|
|
121
|
-
}
|
|
122
|
-
return json;
|
|
123
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "nest-convert-tslint-to-eslint",
|
|
4
|
-
"cli": "nx",
|
|
5
|
-
"title": "Convert a NestJS project from TSLint to ESLint",
|
|
6
|
-
"x-deprecated": "This generator is deprecated and will be removed in a future version of Nx. Migrate to ESLint.",
|
|
7
|
-
"description": "Convert a NestJS project from TSLint to ESLint. \n_NOTE: Does not work in `--dry-run` mode_.",
|
|
8
|
-
"examples": [
|
|
9
|
-
{
|
|
10
|
-
"command": "nx g convert-tslint-to-eslint myapp",
|
|
11
|
-
"description": "Convert the NestJS project `myapp` from TSLint to ESLint"
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"type": "object",
|
|
15
|
-
"properties": {
|
|
16
|
-
"project": {
|
|
17
|
-
"description": "The name of the NestJS project to convert.",
|
|
18
|
-
"type": "string",
|
|
19
|
-
"$default": {
|
|
20
|
-
"$source": "argv",
|
|
21
|
-
"index": 0
|
|
22
|
-
},
|
|
23
|
-
"x-prompt": "Which NestJS project would you like to convert from TSLint to ESLint?"
|
|
24
|
-
},
|
|
25
|
-
"ignoreExistingTslintConfig": {
|
|
26
|
-
"description": "If true we will not use existing TSLint config as a reference, we will just reset the project with the latest recommended ESLint config.",
|
|
27
|
-
"type": "boolean",
|
|
28
|
-
"default": false,
|
|
29
|
-
"x-prompt": "Would you like to ignore the existing TSLint config? Recommended if the TSLint config has not been altered much as it makes the new ESLint config cleaner."
|
|
30
|
-
},
|
|
31
|
-
"removeTSLintIfNoMoreTSLintTargets": {
|
|
32
|
-
"description": "If this conversion leaves no more TSLint usage in the workspace, it will remove TSLint and related dependencies and configuration.",
|
|
33
|
-
"type": "boolean",
|
|
34
|
-
"default": true,
|
|
35
|
-
"x-prompt": "Would you like to remove TSLint and its related config if there are no TSLint projects remaining after this conversion?"
|
|
36
|
-
},
|
|
37
|
-
"skipFormat": {
|
|
38
|
-
"type": "boolean",
|
|
39
|
-
"description": "Skip formatting files.",
|
|
40
|
-
"default": false,
|
|
41
|
-
"x-priority": "internal"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"required": ["project"]
|
|
45
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const devkit_1 = require("@nx/devkit");
|
|
4
|
-
const semver_1 = require("@nx/devkit/src/utils/semver");
|
|
5
|
-
const semver_2 = require("semver");
|
|
6
|
-
const object_sort_1 = require("nx/src/utils/object-sort");
|
|
7
|
-
const nestJsSchematicsVersion = '^9.0.0';
|
|
8
|
-
const nestJsVersion8 = '^8.0.0';
|
|
9
|
-
const rxjsVersion7 = '^7.0.0';
|
|
10
|
-
async function update(tree) {
|
|
11
|
-
const shouldUpdate = await isUpdatable(tree);
|
|
12
|
-
if (!shouldUpdate) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
updateVersion(tree);
|
|
16
|
-
await (0, devkit_1.formatFiles)(tree);
|
|
17
|
-
return () => {
|
|
18
|
-
devkit_1.logger.info('Please make sure to run npm install or yarn install to get the latest packages added by this migration');
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
exports.default = update;
|
|
22
|
-
async function isUpdatable(tree) {
|
|
23
|
-
const json = (0, devkit_1.readJson)(tree, 'package.json');
|
|
24
|
-
if (json.dependencies['@angular/core']) {
|
|
25
|
-
const rxjs = (0, semver_1.checkAndCleanWithSemver)('rxjs', json.dependencies['rxjs']);
|
|
26
|
-
if ((0, semver_2.satisfies)(rxjs, rxjsVersion7)) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
const { Confirm } = require('enquirer');
|
|
30
|
-
const prompt = new Confirm({
|
|
31
|
-
name: 'question',
|
|
32
|
-
message: 'Do you want to update to RxJS 7 + Nest 8?',
|
|
33
|
-
initial: true,
|
|
34
|
-
});
|
|
35
|
-
return await prompt.run();
|
|
36
|
-
}
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
function updateVersion(tree) {
|
|
40
|
-
(0, devkit_1.updateJson)(tree, 'package.json', (json) => {
|
|
41
|
-
json.dependencies = json.dependencies || {};
|
|
42
|
-
json.devDependencies = json.devDependencies || {};
|
|
43
|
-
const rxjs = (0, semver_1.checkAndCleanWithSemver)('rxjs', json.dependencies['rxjs']);
|
|
44
|
-
json.dependencies = {
|
|
45
|
-
...json.dependencies,
|
|
46
|
-
'@nestjs/common': nestJsVersion8,
|
|
47
|
-
'@nestjs/core': nestJsVersion8,
|
|
48
|
-
rxjs: (0, semver_2.satisfies)(rxjs, rxjsVersion7)
|
|
49
|
-
? json.dependencies['rxjs']
|
|
50
|
-
: rxjsVersion7,
|
|
51
|
-
};
|
|
52
|
-
if (json.dependencies['@nestjs/platform-express']) {
|
|
53
|
-
json.dependencies['@nestjs/platform-express'] = nestJsVersion8;
|
|
54
|
-
}
|
|
55
|
-
if (json.dependencies['@nestjs/platform-fastify']) {
|
|
56
|
-
json.dependencies['@nestjs/platform-fastify'] = nestJsVersion8;
|
|
57
|
-
}
|
|
58
|
-
json.devDependencies = {
|
|
59
|
-
...json.devDependencies,
|
|
60
|
-
'@nestjs/schematics': nestJsSchematicsVersion,
|
|
61
|
-
'@nestjs/testing': nestJsVersion8,
|
|
62
|
-
};
|
|
63
|
-
if (json.devDependencies['jasmine-marbles']) {
|
|
64
|
-
json.devDependencies['jasmine-marbles'] = '~0.9.1';
|
|
65
|
-
}
|
|
66
|
-
json.dependencies = (0, object_sort_1.sortObjectByKeys)(json.dependencies);
|
|
67
|
-
json.devDependencies = (0, object_sort_1.sortObjectByKeys)(json.devDependencies);
|
|
68
|
-
return json;
|
|
69
|
-
});
|
|
70
|
-
}
|