Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@angular-architects/ddd

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular-architects/ddd - npm Package Compare versions

Comparing version 2.0.0-rc.1 to 2.0.0-rc.2

src/generators/api/index.d.ts

5

collection.json

@@ -32,2 +32,7 @@ {

},
"api": {
"factory": "./src/generators/api/index",
"schema": "./src/generators/api/schema.json",
"description": "adds a API library to a domain or as a shared library"
},
"util": {

@@ -34,0 +39,0 @@ "factory": "./src/generators/util/index",

2

package.json
{
"name": "@angular-architects/ddd",
"version": "2.0.0-rc.1",
"version": "2.0.0-rc.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "author": "Manfred Steyer",

@@ -36,5 +36,7 @@ "use strict";

const libLibFolder = `${libFolderPath}/domain/src/lib`;
if (options.ngrx && !options.addApp) {
throw new Error(`The 'ngrx' option may only be used when the 'addApp' option is used.`);
}
// if (options.ngrx && !options.addApp) {
// throw new Error(
// `The 'ngrx' option may only be used when the 'addApp' option is used.`
// );
// }
yield (0, generators_1.libraryGenerator)(tree, {

@@ -83,7 +85,7 @@ name: 'domain',

addNgrxDependencies(tree);
yield (0, devkit_1.formatFiles)(tree);
return () => {
(0, devkit_1.installPackagesTask)(tree);
};
}
yield (0, devkit_1.formatFiles)(tree);
return () => {
(0, devkit_1.installPackagesTask)(tree);
};
});

@@ -90,0 +92,0 @@ }

@@ -76,3 +76,3 @@ "use strict";

const requiredAppModulePath = `apps/${appDirectoryAndName}/src/app/app.module.ts`;
if (!tree.exists(requiredAppModulePath)) {
if (!options.noApp && !tree.exists(requiredAppModulePath)) {
throw new Error(`Specified app ${options.app} does not exist: ${requiredAppModulePath} expected!`);

@@ -100,3 +100,3 @@ }

});
if (!options.lazy && tree.exists(appModulePath)) {
if (!options.noApp && !options.lazy && tree.exists(appModulePath)) {
(0, addToNgModule_1.addImportToNgModule)(tree, {

@@ -103,0 +103,0 @@ filePath: appModulePath,

@@ -28,2 +28,6 @@ /**

/**
* Don't connect this feature lib to an app
*/
noApp?: boolean;
/**
* app name

@@ -30,0 +34,0 @@ */

@@ -65,2 +65,7 @@ {

"description": "Add ngrx for the domain (entity required)"
},
"noApp": {
"type": "boolean",
"default": false,
"description": "Don't connect the feature lib to an app"
}

@@ -67,0 +72,0 @@ },

@@ -1,1 +0,1 @@

export declare const NGRX_VERSION = "10.1.2";
export declare const NGRX_VERSION = "13.0.2";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NGRX_VERSION = void 0;
exports.NGRX_VERSION = '10.1.2';
exports.NGRX_VERSION = '13.0.2';
//# sourceMappingURL=ngrx-version.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc