@ngrx/store-devtools
Advanced tools
Comparing version 15.0.0-beta.0 to 15.0.0-beta.1
{ | ||
"name": "@ngrx/store-devtools", | ||
"version": "15.0.0-beta.0", | ||
"version": "15.0.0-beta.1", | ||
"description": "Developer tools for @ngrx/store", | ||
@@ -23,3 +23,3 @@ "repository": { | ||
"peerDependencies": { | ||
"@ngrx/store": "15.0.0-beta.0", | ||
"@ngrx/store": "15.0.0-beta.1", | ||
"rxjs": "^6.5.3 || ^7.5.0" | ||
@@ -26,0 +26,0 @@ }, |
"use strict"; | ||
exports.__esModule = true; | ||
exports.platformVersion = void 0; | ||
exports.platformVersion = '^15.0.0-beta.0'; | ||
exports.platformVersion = '^15.0.0-beta.1'; | ||
//# sourceMappingURL=libs-version.js.map |
@@ -34,3 +34,2 @@ "use strict"; | ||
var schematics_core_1 = require("../../schematics-core"); | ||
var core_1 = require("@angular-devkit/core"); | ||
function addImportToNgModule(options) { | ||
@@ -52,8 +51,6 @@ return function (host) { | ||
var source = ts.createSourceFile(modulePath, sourceText, ts.ScriptTarget.Latest, true); | ||
var _b = __read((0, schematics_core_1.addImportToModule)(source, modulePath, "StoreDevtoolsModule.instrument({ maxAge: ".concat(options.maxAge, ", logOnly: environment.production })"), modulePath), 1), instrumentNgModuleImport = _b[0]; | ||
var srcPath = (0, core_1.dirname)(options.path); | ||
var environmentsPath = (0, schematics_core_1.buildRelativePath)(modulePath, "/".concat(srcPath, "/environments/environment")); | ||
var _b = __read((0, schematics_core_1.addImportToModule)(source, modulePath, "StoreDevtoolsModule.instrument({ maxAge: ".concat(options.maxAge, ", logOnly: !isDevMode() })"), modulePath), 1), instrumentNgModuleImport = _b[0]; | ||
var changes = [ | ||
(0, schematics_core_1.insertImport)(source, modulePath, 'StoreDevtoolsModule', '@ngrx/store-devtools'), | ||
(0, schematics_core_1.insertImport)(source, modulePath, 'environment', environmentsPath), | ||
(0, schematics_core_1.insertImport)(source, modulePath, 'isDevMode', '@angular/core'), | ||
instrumentNgModuleImport, | ||
@@ -60,0 +57,0 @@ ]; |
@@ -17,3 +17,3 @@ import { EnvironmentProviders, InjectionToken } from '@angular/core'; | ||
* maxAge: 25, | ||
* logOnly: environment.production, | ||
* logOnly: !isDevMode(), | ||
* }), | ||
@@ -20,0 +20,0 @@ * ], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
628740
5519