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

@ngrx/schematics

Package Overview
Dependencies
Maintainers
4
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/schematics - npm Package Compare versions

Comparing version 16.0.0-rc.0 to 16.0.0-rc.1

schematics-core/jest.config.js

2

package.json
{
"name": "@ngrx/schematics",
"version": "16.0.0-rc.0",
"version": "16.0.0-rc.1",
"description": "NgRx Schematics for Angular",

@@ -5,0 +5,0 @@ "repository": {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.platformVersion = void 0;
exports.platformVersion = '^16.0.0-rc.0';
exports.platformVersion = '^16.0.0-rc.1';
//# sourceMappingURL=libs-version.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isLib = exports.getProjectPath = exports.getProject = void 0;
exports.getProjectMainFile = exports.isLib = exports.getProjectPath = exports.getProject = void 0;
var config_1 = require("./config");
var schematics_1 = require("@angular-devkit/schematics");
function getProject(host, options) {

@@ -35,2 +36,14 @@ var workspace = (0, config_1.getWorkspace)(host);

exports.isLib = isLib;
function getProjectMainFile(host, options) {
if (isLib(host, options)) {
throw new schematics_1.SchematicsException("Invalid project type");
}
var project = getProject(host, options);
var projectOptions = project.architect['build'].options;
if (!(projectOptions === null || projectOptions === void 0 ? void 0 : projectOptions.main)) {
throw new schematics_1.SchematicsException("Could not find the main file");
}
return projectOptions.main;
}
exports.getProjectMainFile = getProjectMainFile;
//# sourceMappingURL=project.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