@nestjs/schematics
Advanced tools
Comparing version 8.0.4 to 8.0.5
@@ -14,3 +14,3 @@ "use strict"; | ||
options = transform(options); | ||
return schematics_1.mergeWith(generate(options, path)); | ||
return (0, schematics_1.mergeWith)(generate(options, path)); | ||
} | ||
@@ -38,5 +38,5 @@ exports.main = main; | ||
function resolvePackageName(path) { | ||
const { name } = path_1.parse(path); | ||
const { name } = (0, path_1.parse)(path); | ||
if (name === '.') { | ||
return path_1.basename(process.cwd()); | ||
return (0, path_1.basename)(process.cwd()); | ||
} | ||
@@ -46,6 +46,6 @@ return name; | ||
function generate(options, path) { | ||
return schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(path), | ||
return (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(path), | ||
]); | ||
} |
@@ -25,11 +25,11 @@ { | ||
"@nestjs/testing": "^8.0.0", | ||
"@babel/core": "7.15.8", | ||
"@babel/node": "7.15.8", | ||
"@babel/plugin-proposal-decorators": "7.15.8", | ||
"@babel/plugin-transform-runtime": "7.15.8", | ||
"@babel/preset-env": "7.15.8", | ||
"@babel/register": "7.15.3", | ||
"@babel/runtime": "7.15.4", | ||
"jest": "27.2.5", | ||
"nodemon": "2.0.13", | ||
"@babel/core": "7.16.0", | ||
"@babel/node": "7.16.0", | ||
"@babel/plugin-proposal-decorators": "7.16.0", | ||
"@babel/plugin-transform-runtime": "7.16.0", | ||
"@babel/preset-env": "7.16.0", | ||
"@babel/register": "7.16.0", | ||
"@babel/runtime": "7.16.3", | ||
"jest": "27.3.1", | ||
"nodemon": "2.0.15", | ||
"prettier": "2.4.1", | ||
@@ -36,0 +36,0 @@ "supertest": "6.1.6" |
@@ -36,3 +36,3 @@ { | ||
"@types/express": "^4.17.13", | ||
"@types/jest": "^27.0.1", | ||
"@types/jest": "27.0.2", | ||
"@types/node": "^16.0.0", | ||
@@ -39,0 +39,0 @@ "@types/supertest": "^2.0.11", |
@@ -11,3 +11,3 @@ "use strict"; | ||
options = transform(options); | ||
return schematics_1.chain([source_root_helpers_1.mergeSourceRoot(options), schematics_1.mergeWith(generate(options))]); | ||
return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]); | ||
} | ||
@@ -33,11 +33,11 @@ exports.main = main; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)(path => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
} |
@@ -14,8 +14,8 @@ "use strict"; | ||
return (tree, context) => { | ||
return schematics_1.branchAndMerge(schematics_1.chain([ | ||
return (0, schematics_1.branchAndMerge)((0, schematics_1.chain)([ | ||
createAngularApplication(options), | ||
source_root_helpers_1.mergeSourceRoot(options), | ||
(0, source_root_helpers_1.mergeSourceRoot)(options), | ||
addDeclarationToModule(options), | ||
addGlobalPrefix(), | ||
schematics_1.mergeWith(generate(options)), | ||
(0, schematics_1.mergeWith)(generate(options)), | ||
]))(tree, context); | ||
@@ -33,9 +33,9 @@ }; | ||
target.name = core_1.strings.dasherize(location.name); | ||
target.path = path_1.join(core_1.strings.dasherize(location.path), target.name); | ||
target.path = (0, path_1.join)(core_1.strings.dasherize(location.path), target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url('./files'), [ | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)('./files'), [ | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
@@ -45,5 +45,5 @@ } | ||
if (!options.initApp) { | ||
return schematics_1.noop(); | ||
return (0, schematics_1.noop)(); | ||
} | ||
return schematics_1.externalSchematic('@schematics/angular', 'ng-new', { | ||
return (0, schematics_1.externalSchematic)('@schematics/angular', 'ng-new', { | ||
name: options.directory, | ||
@@ -50,0 +50,0 @@ version: '8.0.0', |
@@ -8,3 +8,3 @@ "use strict"; | ||
function main(options) { | ||
return schematics_1.mergeWith(generate(transform(options))); | ||
return (0, schematics_1.mergeWith)(generate(transform(options))); | ||
} | ||
@@ -21,6 +21,6 @@ exports.main = main; | ||
function generate(options) { | ||
return schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.project), | ||
return (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.project), | ||
]); | ||
} |
@@ -16,5 +16,5 @@ "use strict"; | ||
return (tree, context) => { | ||
return schematics_1.branchAndMerge(schematics_1.chain([ | ||
source_root_helpers_1.mergeSourceRoot(options), | ||
schematics_1.mergeWith(generate(options)), | ||
return (0, schematics_1.branchAndMerge)((0, schematics_1.chain)([ | ||
(0, source_root_helpers_1.mergeSourceRoot)(options), | ||
(0, schematics_1.mergeWith)(generate(options)), | ||
addDeclarationToModule(options), | ||
@@ -36,10 +36,10 @@ ]))(tree, context); | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)(path => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
@@ -46,0 +46,0 @@ } |
@@ -10,3 +10,3 @@ "use strict"; | ||
options = transform(options); | ||
return schematics_1.chain([source_root_helpers_1.mergeSourceRoot(options), schematics_1.mergeWith(generate(options))]); | ||
return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]); | ||
} | ||
@@ -25,10 +25,10 @@ exports.main = main; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
options = transform(options); | ||
return schematics_1.chain([source_root_helpers_1.mergeSourceRoot(options), schematics_1.mergeWith(generate(options))]); | ||
return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]); | ||
} | ||
@@ -25,11 +25,11 @@ exports.main = main; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)(path => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
} |
@@ -13,6 +13,6 @@ "use strict"; | ||
return (tree, context) => { | ||
return schematics_1.branchAndMerge(schematics_1.chain([ | ||
source_root_helpers_1.mergeSourceRoot(options), | ||
return (0, schematics_1.branchAndMerge)((0, schematics_1.chain)([ | ||
(0, source_root_helpers_1.mergeSourceRoot)(options), | ||
addDeclarationToModule(options), | ||
schematics_1.mergeWith(generate(options)), | ||
(0, schematics_1.mergeWith)(generate(options)), | ||
]))(tree, context); | ||
@@ -35,10 +35,10 @@ }; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)(path => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
@@ -45,0 +45,0 @@ } |
@@ -10,3 +10,3 @@ "use strict"; | ||
options = transform(options); | ||
return schematics_1.chain([source_root_helpers_1.mergeSourceRoot(options), schematics_1.mergeWith(generate(options))]); | ||
return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]); | ||
} | ||
@@ -25,11 +25,11 @@ exports.main = main; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter((path) => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)((path) => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
options = transform(options); | ||
return schematics_1.chain([source_root_helpers_1.mergeSourceRoot(options), schematics_1.mergeWith(generate(options))]); | ||
return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]); | ||
} | ||
@@ -25,11 +25,11 @@ exports.main = main; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)(path => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
options = transform(options); | ||
return schematics_1.chain([source_root_helpers_1.mergeSourceRoot(options), schematics_1.mergeWith(generate(options))]); | ||
return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]); | ||
} | ||
@@ -24,10 +24,10 @@ exports.main = main; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url('./files'), [ | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)('./files'), [ | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
} |
@@ -6,6 +6,7 @@ "use strict"; | ||
const schematics_1 = require("@angular-devkit/schematics"); | ||
const jsonc_parser_1 = require("jsonc-parser"); | ||
const defaults_1 = require("../defaults"); | ||
function main(options) { | ||
options = transform(options); | ||
return schematics_1.chain([ | ||
return (0, schematics_1.chain)([ | ||
addLibraryToCliOptions(options.path, options.name), | ||
@@ -15,3 +16,3 @@ updatePackageJson(options), | ||
updateTsConfig(options.name, options.prefix, options.path), | ||
schematics_1.branchAndMerge(schematics_1.mergeWith(generate(options))), | ||
(0, schematics_1.branchAndMerge)((0, schematics_1.mergeWith)(generate(options))), | ||
]); | ||
@@ -30,4 +31,4 @@ } | ||
target.path !== undefined | ||
? core_1.join(core_1.normalize(defaultSourceRoot), target.path) | ||
: core_1.normalize(defaultSourceRoot); | ||
? (0, core_1.join)((0, core_1.normalize)(defaultSourceRoot), target.path) | ||
: (0, core_1.normalize)(defaultSourceRoot); | ||
target.prefix = target.prefix || '@app'; | ||
@@ -41,3 +42,3 @@ return target; | ||
} | ||
const distRoot = core_1.join(options.path, options.name, 'src'); | ||
const distRoot = (0, core_1.join)(options.path, options.name, 'src'); | ||
const packageKey = options.prefix | ||
@@ -72,4 +73,4 @@ ? options.prefix + '/' + options.name | ||
const packageKeyRegex = '^' + packageKey + '(|/.*)$'; | ||
const packageRoot = core_1.join('<rootDir>', distRoot); | ||
jestOptions.moduleNameMapper[packageKeyRegex] = core_1.join(packageRoot, '$1'); | ||
const packageRoot = (0, core_1.join)('<rootDir>', distRoot); | ||
jestOptions.moduleNameMapper[packageKeyRegex] = (0, core_1.join)(packageRoot, '$1'); | ||
} | ||
@@ -92,7 +93,7 @@ function updateNpmScripts(scripts, options) { | ||
return (host) => { | ||
const pathToFile = core_1.join('test', 'jest-e2e.json'); | ||
const pathToFile = (0, core_1.join)('test', 'jest-e2e.json'); | ||
if (!host.exists(pathToFile)) { | ||
return host; | ||
} | ||
const distRoot = core_1.join(options.path, options.name, 'src'); | ||
const distRoot = (0, core_1.join)(options.path, options.name, 'src'); | ||
const packageKey = options.prefix | ||
@@ -116,3 +117,3 @@ ? options.prefix + '/' + options.name | ||
const sourceText = source.toString('utf-8'); | ||
const json = core_1.parseJson(sourceText); | ||
const json = (0, jsonc_parser_1.parse)(sourceText); | ||
callback(json); | ||
@@ -128,3 +129,3 @@ host.overwrite(path, JSON.stringify(json, null, 2)); | ||
} | ||
const distRoot = core_1.join(root, packageName, 'src'); | ||
const distRoot = (0, core_1.join)(root, packageName, 'src'); | ||
const packageKey = packagePrefix | ||
@@ -156,3 +157,3 @@ ? packagePrefix + '/' + packageName | ||
function addLibraryToCliOptions(projectRoot, projectName) { | ||
const rootPath = core_1.join(projectRoot, projectName); | ||
const rootPath = (0, core_1.join)(projectRoot, projectName); | ||
const project = { | ||
@@ -162,5 +163,5 @@ type: defaults_1.PROJECT_TYPE.LIBRARY, | ||
entryFile: 'index', | ||
sourceRoot: core_1.join(rootPath, 'src'), | ||
sourceRoot: (0, core_1.join)(rootPath, 'src'), | ||
compilerOptions: { | ||
tsConfigPath: core_1.join(rootPath, 'tsconfig.lib.json'), | ||
tsConfigPath: (0, core_1.join)(rootPath, 'tsconfig.lib.json'), | ||
}, | ||
@@ -193,7 +194,7 @@ }; | ||
function generate(options) { | ||
const path = core_1.join(options.path, options.name); | ||
return schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(path), | ||
const path = (0, core_1.join)(options.path, options.name); | ||
return (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(path), | ||
]); | ||
} |
@@ -10,3 +10,3 @@ "use strict"; | ||
options = transform(options); | ||
return schematics_1.chain([source_root_helpers_1.mergeSourceRoot(options), schematics_1.mergeWith(generate(options))]); | ||
return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]); | ||
} | ||
@@ -25,11 +25,11 @@ exports.main = main; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)(path => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
} |
@@ -13,6 +13,6 @@ "use strict"; | ||
return (tree, context) => { | ||
return schematics_1.branchAndMerge(schematics_1.chain([ | ||
source_root_helpers_1.mergeSourceRoot(options), | ||
return (0, schematics_1.branchAndMerge)((0, schematics_1.chain)([ | ||
(0, source_root_helpers_1.mergeSourceRoot)(options), | ||
addDeclarationToModule(options), | ||
schematics_1.mergeWith(generate(options)), | ||
(0, schematics_1.mergeWith)(generate(options)), | ||
]))(tree, context); | ||
@@ -32,9 +32,9 @@ }; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
@@ -41,0 +41,0 @@ } |
@@ -10,3 +10,3 @@ "use strict"; | ||
options = transform(options); | ||
return schematics_1.chain([source_root_helpers_1.mergeSourceRoot(options), schematics_1.mergeWith(generate(options))]); | ||
return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]); | ||
} | ||
@@ -25,11 +25,11 @@ exports.main = main; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)(path => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
} |
@@ -13,6 +13,6 @@ "use strict"; | ||
return (tree, context) => { | ||
return schematics_1.branchAndMerge(schematics_1.chain([ | ||
source_root_helpers_1.mergeSourceRoot(options), | ||
return (0, schematics_1.branchAndMerge)((0, schematics_1.chain)([ | ||
(0, source_root_helpers_1.mergeSourceRoot)(options), | ||
addDeclarationToModule(options), | ||
schematics_1.mergeWith(generate(options)), | ||
(0, schematics_1.mergeWith)(generate(options)), | ||
]))(tree, context); | ||
@@ -40,10 +40,10 @@ }; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter((path) => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)((path) => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
@@ -50,0 +50,0 @@ } |
@@ -13,6 +13,6 @@ "use strict"; | ||
return (tree, context) => { | ||
return schematics_1.branchAndMerge(schematics_1.chain([ | ||
source_root_helpers_1.mergeSourceRoot(options), | ||
return (0, schematics_1.branchAndMerge)((0, schematics_1.chain)([ | ||
(0, source_root_helpers_1.mergeSourceRoot)(options), | ||
addDeclarationToModule(options), | ||
schematics_1.mergeWith(generate(options)), | ||
(0, schematics_1.mergeWith)(generate(options)), | ||
]))(tree, context); | ||
@@ -35,10 +35,10 @@ }; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)(path => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
@@ -45,0 +45,0 @@ } |
@@ -16,7 +16,7 @@ "use strict"; | ||
return (tree, context) => { | ||
return schematics_1.branchAndMerge(schematics_1.chain([ | ||
return (0, schematics_1.branchAndMerge)((0, schematics_1.chain)([ | ||
addMappedTypesDependencyIfApplies(options), | ||
source_root_helpers_1.mergeSourceRoot(options), | ||
(0, source_root_helpers_1.mergeSourceRoot)(options), | ||
addDeclarationToModule(options), | ||
schematics_1.mergeWith(generate(options)), | ||
(0, schematics_1.mergeWith)(generate(options)), | ||
]))(tree, context); | ||
@@ -42,3 +42,3 @@ }; | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
target.isSwaggerInstalled = (_a = options.isSwaggerInstalled) !== null && _a !== void 0 ? _a : false; | ||
@@ -48,4 +48,4 @@ return target; | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
schematics_1.filter((path) => { | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
(0, schematics_1.filter)((path) => { | ||
if (path.endsWith('.dto.ts')) { | ||
@@ -81,8 +81,8 @@ return (options.type !== 'graphql-code-first' && | ||
}), | ||
options.spec ? schematics_1.noop() : schematics_1.filter((path) => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign(Object.assign({}, core_1.strings), options), { lowercased: (name) => { | ||
const classifiedName = strings_1.classify(name); | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)((path) => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign(Object.assign({}, core_1.strings), options), { lowercased: (name) => { | ||
const classifiedName = (0, strings_1.classify)(name); | ||
return (classifiedName.charAt(0).toLowerCase() + classifiedName.slice(1)); | ||
}, singular: (name) => pluralize.singular(name), ent: (name) => name + '.entity' })), | ||
schematics_1.move(options.path), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
@@ -115,3 +115,3 @@ } | ||
if (options.type === 'rest') { | ||
const nodeDependencyRef = dependencies_utils_1.getPackageJsonDependency(host, '@nestjs/swagger'); | ||
const nodeDependencyRef = (0, dependencies_utils_1.getPackageJsonDependency)(host, '@nestjs/swagger'); | ||
if (nodeDependencyRef) { | ||
@@ -122,5 +122,5 @@ options.isSwaggerInstalled = true; | ||
} | ||
const nodeDependencyRef = dependencies_utils_1.getPackageJsonDependency(host, '@nestjs/mapped-types'); | ||
const nodeDependencyRef = (0, dependencies_utils_1.getPackageJsonDependency)(host, '@nestjs/mapped-types'); | ||
if (!nodeDependencyRef) { | ||
dependencies_utils_1.addPackageJsonDependency(host, { | ||
(0, dependencies_utils_1.addPackageJsonDependency)(host, { | ||
type: dependencies_utils_1.NodeDependencyType.Default, | ||
@@ -127,0 +127,0 @@ name: '@nestjs/mapped-types', |
@@ -14,6 +14,6 @@ "use strict"; | ||
return (tree, context) => { | ||
return schematics_1.branchAndMerge(schematics_1.chain([ | ||
source_root_helpers_1.mergeSourceRoot(options), | ||
return (0, schematics_1.branchAndMerge)((0, schematics_1.chain)([ | ||
(0, source_root_helpers_1.mergeSourceRoot)(options), | ||
addDeclarationToModule(options), | ||
schematics_1.mergeWith(generate(options)), | ||
(0, schematics_1.mergeWith)(generate(options)), | ||
]))(tree, context); | ||
@@ -27,3 +27,3 @@ }; | ||
target.type = 'service'; | ||
if (util_1.isNullOrUndefined(target.name)) { | ||
if ((0, util_1.isNullOrUndefined)(target.name)) { | ||
throw new schematics_1.SchematicsException('Option (name) is required.'); | ||
@@ -37,10 +37,10 @@ } | ||
? target.path | ||
: core_1.join(target.path, target.name); | ||
: (0, core_1.join)(target.path, target.name); | ||
return target; | ||
} | ||
function generate(options) { | ||
return (context) => schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
options.spec ? schematics_1.noop() : schematics_1.filter(path => !path.endsWith('.spec.ts')), | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(options.path), | ||
return (context) => (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
options.spec ? (0, schematics_1.noop)() : (0, schematics_1.filter)(path => !path.endsWith('.spec.ts')), | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(options.path), | ||
])(context); | ||
@@ -47,0 +47,0 @@ } |
@@ -6,2 +6,3 @@ "use strict"; | ||
const schematics_1 = require("@angular-devkit/schematics"); | ||
const jsonc_parser_1 = require("jsonc-parser"); | ||
const fse = require("fs-extra"); | ||
@@ -12,13 +13,13 @@ const defaults_1 = require("../defaults"); | ||
options = transform(options); | ||
return schematics_1.chain([ | ||
return (0, schematics_1.chain)([ | ||
updateTsConfig(), | ||
updatePackageJson(options, appName), | ||
(tree, context) => isMonorepo(tree) | ||
? schematics_1.noop()(tree, context) | ||
: schematics_1.chain([ | ||
schematics_1.branchAndMerge(schematics_1.mergeWith(generateWorkspace(options, appName))), | ||
? (0, schematics_1.noop)()(tree, context) | ||
: (0, schematics_1.chain)([ | ||
(0, schematics_1.branchAndMerge)((0, schematics_1.mergeWith)(generateWorkspace(options, appName))), | ||
moveDefaultAppToApps(options.path, appName, options.sourceRoot), | ||
])(tree, context), | ||
addAppsToCliOptions(options.path, options.name, appName), | ||
schematics_1.branchAndMerge(schematics_1.mergeWith(generate(options))), | ||
(0, schematics_1.branchAndMerge)((0, schematics_1.mergeWith)(generate(options))), | ||
]); | ||
@@ -54,4 +55,4 @@ } | ||
target.path !== undefined | ||
? core_1.join(core_1.normalize(defaultSourceRoot), target.path) | ||
: core_1.normalize(defaultSourceRoot); | ||
? (0, core_1.join)((0, core_1.normalize)(defaultSourceRoot), target.path) | ||
: (0, core_1.normalize)(defaultSourceRoot); | ||
return target; | ||
@@ -71,3 +72,3 @@ } | ||
const sourceText = source.toString('utf-8'); | ||
const optionsObj = core_1.parseJson(sourceText); | ||
const optionsObj = (0, jsonc_parser_1.parse)(sourceText); | ||
return !!optionsObj.monorepo; | ||
@@ -79,3 +80,3 @@ } | ||
const sourceText = source.toString('utf-8'); | ||
const json = core_1.parseJson(sourceText); | ||
const json = (0, jsonc_parser_1.parse)(sourceText); | ||
callback(json); | ||
@@ -127,3 +128,3 @@ host.overwrite(path, JSON.stringify(json, null, 2)); | ||
const defaultTestDir = 'test'; | ||
const newTestDir = core_1.join(options.path, defaultAppName, defaultTestDir); | ||
const newTestDir = (0, core_1.join)(options.path, defaultAppName, defaultTestDir); | ||
scripts[defaultTestScriptName] = scripts[defaultTestScriptName].replace(defaultTestDir, newTestDir); | ||
@@ -166,7 +167,7 @@ } | ||
if (fse.existsSync(sourceRoot)) { | ||
fse.moveSync(sourceRoot, core_1.join(projectRoot, appName, sourceRoot)); | ||
fse.moveSync(sourceRoot, (0, core_1.join)(projectRoot, appName, sourceRoot)); | ||
} | ||
const testDir = 'test'; | ||
if (fse.existsSync(testDir)) { | ||
fse.moveSync(testDir, core_1.join(projectRoot, appName, testDir)); | ||
fse.moveSync(testDir, (0, core_1.join)(projectRoot, appName, testDir)); | ||
} | ||
@@ -181,3 +182,3 @@ } | ||
function addAppsToCliOptions(projectRoot, projectName, appName) { | ||
const rootPath = core_1.join(projectRoot, projectName); | ||
const rootPath = (0, core_1.join)(projectRoot, projectName); | ||
const project = { | ||
@@ -187,5 +188,5 @@ type: defaults_1.PROJECT_TYPE.APPLICATION, | ||
entryFile: 'main', | ||
sourceRoot: core_1.join(rootPath, defaults_1.DEFAULT_PATH_NAME), | ||
sourceRoot: (0, core_1.join)(rootPath, defaults_1.DEFAULT_PATH_NAME), | ||
compilerOptions: { | ||
tsConfigPath: core_1.join(rootPath, 'tsconfig.app.json'), | ||
tsConfigPath: (0, core_1.join)(rootPath, 'tsconfig.app.json'), | ||
}, | ||
@@ -216,7 +217,7 @@ }; | ||
} | ||
const rootFilePath = core_1.join(projectRoot, appName); | ||
const tsConfigPath = core_1.join(rootFilePath, 'tsconfig.app.json'); | ||
const rootFilePath = (0, core_1.join)(projectRoot, appName); | ||
const tsConfigPath = (0, core_1.join)(rootFilePath, 'tsconfig.app.json'); | ||
optionsFile.monorepo = true; | ||
optionsFile.root = rootFilePath; | ||
optionsFile.sourceRoot = core_1.join(projectRoot, appName, optionsFile.sourceRoot || defaults_1.DEFAULT_PATH_NAME); | ||
optionsFile.sourceRoot = (0, core_1.join)(projectRoot, appName, optionsFile.sourceRoot || defaults_1.DEFAULT_PATH_NAME); | ||
if (!optionsFile.compilerOptions) { | ||
@@ -234,3 +235,3 @@ optionsFile.compilerOptions = {}; | ||
entryFile: optionsFile.entryFile || 'main', | ||
sourceRoot: core_1.join(rootFilePath, defaults_1.DEFAULT_PATH_NAME), | ||
sourceRoot: (0, core_1.join)(rootFilePath, defaults_1.DEFAULT_PATH_NAME), | ||
compilerOptions: { | ||
@@ -242,14 +243,14 @@ tsConfigPath, | ||
function generateWorkspace(options, appName) { | ||
const path = core_1.join(options.path, appName); | ||
return schematics_1.apply(schematics_1.url(core_1.join('./workspace', options.language)), [ | ||
schematics_1.template(Object.assign(Object.assign(Object.assign({}, core_1.strings), options), { name: appName })), | ||
schematics_1.move(path), | ||
const path = (0, core_1.join)(options.path, appName); | ||
return (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./workspace', options.language)), [ | ||
(0, schematics_1.template)(Object.assign(Object.assign(Object.assign({}, core_1.strings), options), { name: appName })), | ||
(0, schematics_1.move)(path), | ||
]); | ||
} | ||
function generate(options) { | ||
const path = core_1.join(options.path, options.name); | ||
return schematics_1.apply(schematics_1.url(core_1.join('./files', options.language)), [ | ||
schematics_1.template(Object.assign(Object.assign({}, core_1.strings), options)), | ||
schematics_1.move(path), | ||
const path = (0, core_1.join)(options.path, options.name); | ||
return (0, schematics_1.apply)((0, schematics_1.url)((0, core_1.join)('./files', options.language)), [ | ||
(0, schematics_1.template)(Object.assign(Object.assign({}, core_1.strings), options)), | ||
(0, schematics_1.move)(path), | ||
]); | ||
} |
@@ -22,3 +22,3 @@ "use strict"; | ||
const errors = []; | ||
this._jsonAst = jsonc_parser_1.parseTree(this.content, errors, { | ||
this._jsonAst = (0, jsonc_parser_1.parseTree)(this.content, errors, { | ||
allowTrailingComma: true, | ||
@@ -28,3 +28,3 @@ }); | ||
const { error, offset } = errors[0]; | ||
throw new Error(`Failed to parse "${this.path}" as JSON AST Object. ${jsonc_parser_1.printParseErrorCode(error)} at location: ${offset}.`); | ||
throw new Error(`Failed to parse "${this.path}" as JSON AST Object. ${(0, jsonc_parser_1.printParseErrorCode)(error)} at location: ${offset}.`); | ||
} | ||
@@ -39,6 +39,6 @@ return this._jsonAst; | ||
if (jsonPath.length === 0) { | ||
return jsonc_parser_1.getNodeValue(jsonAstNode); | ||
return (0, jsonc_parser_1.getNodeValue)(jsonAstNode); | ||
} | ||
const node = jsonc_parser_1.findNodeAtLocation(jsonAstNode, jsonPath); | ||
return node === undefined ? undefined : jsonc_parser_1.getNodeValue(node); | ||
const node = (0, jsonc_parser_1.findNodeAtLocation)(jsonAstNode, jsonPath); | ||
return node === undefined ? undefined : (0, jsonc_parser_1.getNodeValue)(node); | ||
} | ||
@@ -54,3 +54,3 @@ modify(jsonPath, value, insertInOrder) { | ||
} | ||
const edits = jsonc_parser_1.modify(this.content, jsonPath, value, { | ||
const edits = (0, jsonc_parser_1.modify)(this.content, jsonPath, value, { | ||
getInsertionIndex, | ||
@@ -62,3 +62,3 @@ formattingOptions: { | ||
}); | ||
this.content = jsonc_parser_1.applyEdits(this.content, edits); | ||
this.content = (0, jsonc_parser_1.applyEdits)(this.content, edits); | ||
this.host.overwrite(this.path, this.content); | ||
@@ -65,0 +65,0 @@ this._jsonAst = undefined; |
@@ -10,3 +10,3 @@ "use strict"; | ||
insert(metadata, symbol, staticOptions) { | ||
const source = typescript_1.createSourceFile('filename.ts', this.content, typescript_1.ScriptTarget.ES2017); | ||
const source = (0, typescript_1.createSourceFile)('filename.ts', this.content, typescript_1.ScriptTarget.ES2017); | ||
const decoratorNodes = this.getDecoratorMetadata(source, '@Module'); | ||
@@ -13,0 +13,0 @@ const node = decoratorNodes[0]; |
@@ -31,6 +31,6 @@ "use strict"; | ||
if (options.type !== undefined) { | ||
importModulePath = core_1.normalize(`/${options.path}/${options.name}.${options.type}`); | ||
importModulePath = (0, core_1.normalize)(`/${options.path}/${options.name}.${options.type}`); | ||
} | ||
else { | ||
importModulePath = core_1.normalize(`/${options.path}/${options.name}`); | ||
importModulePath = (0, core_1.normalize)(`/${options.path}/${options.name}`); | ||
} | ||
@@ -37,0 +37,0 @@ return this.solver.relative(options.module, importModulePath); |
@@ -24,6 +24,6 @@ "use strict"; | ||
else if (options.type !== undefined) { | ||
target.symbol = strings_1.classify(options.name).concat(strings_1.capitalize(options.type)); | ||
target.symbol = (0, strings_1.classify)(options.name).concat((0, strings_1.capitalize)(options.type)); | ||
} | ||
else { | ||
target.symbol = strings_1.classify(options.name); | ||
target.symbol = (0, strings_1.classify)(options.name); | ||
} | ||
@@ -30,0 +30,0 @@ return target; |
@@ -20,3 +20,3 @@ "use strict"; | ||
return moduleFilename !== undefined | ||
? core_1.join(directory.path, moduleFilename.valueOf()) | ||
? (0, core_1.join)(directory.path, moduleFilename.valueOf()) | ||
: this.findIn(directory.parent); | ||
@@ -23,0 +23,0 @@ } |
@@ -7,4 +7,4 @@ "use strict"; | ||
parse(options) { | ||
const nameWithoutPath = core_1.basename(options.name); | ||
const namePath = core_1.dirname((options.path === undefined ? '' : options.path) | ||
const nameWithoutPath = (0, core_1.basename)(options.name); | ||
const namePath = (0, core_1.dirname)((options.path === undefined ? '' : options.path) | ||
.concat('/') | ||
@@ -14,3 +14,3 @@ .concat(options.name)); | ||
name: nameWithoutPath, | ||
path: core_1.normalize('/'.concat(namePath)), | ||
path: (0, core_1.normalize)('/'.concat(namePath)), | ||
}; | ||
@@ -17,0 +17,0 @@ } |
@@ -8,8 +8,8 @@ "use strict"; | ||
const placeholder = '/placeholder'; | ||
const relativeDir = core_1.relative(core_1.dirname((placeholder + from)), core_1.dirname((placeholder + to))); | ||
const relativeDir = (0, core_1.relative)((0, core_1.dirname)((placeholder + from)), (0, core_1.dirname)((placeholder + to))); | ||
return (relativeDir.startsWith('.') | ||
? relativeDir | ||
: './' + relativeDir).concat(relativeDir.length === 0 ? core_1.basename(to) : '/' + core_1.basename(to)); | ||
: './' + relativeDir).concat(relativeDir.length === 0 ? (0, core_1.basename)(to) : '/' + (0, core_1.basename)(to)); | ||
} | ||
} | ||
exports.PathSolver = PathSolver; |
@@ -20,4 +20,4 @@ "use strict"; | ||
options.path !== undefined | ||
? core_1.join(core_1.normalize(defaultSourceRoot), options.path) | ||
: core_1.normalize(defaultSourceRoot); | ||
? (0, core_1.join)((0, core_1.normalize)(defaultSourceRoot), options.path) | ||
: (0, core_1.normalize)(defaultSourceRoot); | ||
return host; | ||
@@ -24,0 +24,0 @@ }; |
{ | ||
"name": "@nestjs/schematics", | ||
"version": "8.0.4", | ||
"version": "8.0.5", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@schematics)", | ||
@@ -43,4 +43,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@angular-devkit/core": "12.2.10", | ||
"@angular-devkit/schematics": "12.2.10", | ||
"@angular-devkit/core": "13.0.2", | ||
"@angular-devkit/schematics": "13.0.2", | ||
"fs-extra": "10.0.0", | ||
@@ -51,22 +51,22 @@ "jsonc-parser": "3.0.0", | ||
"devDependencies": { | ||
"@commitlint/cli": "13.2.1", | ||
"@commitlint/config-angular": "13.2.0", | ||
"@commitlint/cli": "14.1.0", | ||
"@commitlint/config-angular": "14.1.0", | ||
"@types/fs-extra": "9.0.13", | ||
"@types/jest": "27.0.2", | ||
"@types/node": "16.0.0", | ||
"@typescript-eslint/eslint-plugin": "5.0.0", | ||
"@typescript-eslint/parser": "5.0.0", | ||
"@types/node": "16.11.7", | ||
"@typescript-eslint/eslint-plugin": "5.4.0", | ||
"@typescript-eslint/parser": "5.4.0", | ||
"cpx": "1.5.0", | ||
"eslint": "8.0.1", | ||
"eslint": "8.2.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-plugin-import": "2.25.2", | ||
"eslint-plugin-import": "2.25.3", | ||
"gulp": "4.0.2", | ||
"gulp-clean": "0.4.0", | ||
"husky": "7.0.2", | ||
"jest": "27.2.5", | ||
"husky": "7.0.4", | ||
"jest": "27.3.1", | ||
"nyc": "15.1.0", | ||
"release-it": "14.11.6", | ||
"release-it": "14.11.7", | ||
"ts-jest": "27.0.7", | ||
"ts-node": "10.3.0", | ||
"typescript": "4.3.5" | ||
"ts-node": "10.4.0", | ||
"typescript": "4.4.4" | ||
}, | ||
@@ -73,0 +73,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
175007
4323
+ Added@angular-devkit/core@13.0.2(transitive)
+ Added@angular-devkit/schematics@13.0.2(transitive)
+ Addedajv@8.6.3(transitive)
+ Addedajv-formats@2.1.1(transitive)
- Removed@angular-devkit/core@12.2.10(transitive)
- Removed@angular-devkit/schematics@12.2.10(transitive)
- Removedajv@8.6.2(transitive)
- Removedajv-formats@2.1.0(transitive)
Updated@angular-devkit/core@13.0.2