@ngrx/effects
Advanced tools
Comparing version 6.0.0-beta.3 to 6.0.0
/** | ||
* @license NgRx 6.0.0-beta.3 | ||
* @license NgRx v6.0.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license NgRx 6.0.0-beta.3 | ||
* @license NgRx v6.0.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license NgRx 6.0.0-beta.3 | ||
* @license NgRx v6.0.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license NgRx 6.0.0-beta.3 | ||
* @license NgRx v6.0.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license NgRx 6.0.0-beta.3 | ||
* @license NgRx v6.0.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license NgRx 6.0.0-beta.3 | ||
* @license NgRx v6.0.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license NgRx 6.0.0-beta.3 | ||
* @license NgRx v6.0.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license NgRx 6.0.0-beta.3 | ||
* @license NgRx v6.0.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -4,0 +4,0 @@ * License: MIT |
{ | ||
"name": "@ngrx/effects", | ||
"version": "6.0.0-beta.3", | ||
"version": "6.0.0", | ||
"description": "Side effect model for @ngrx/store", | ||
@@ -9,2 +9,10 @@ "repository": { | ||
}, | ||
"keywords": [ | ||
"RxJS", | ||
"Angular", | ||
"Redux", | ||
"NgRx", | ||
"Schematics", | ||
"Angular CLI" | ||
], | ||
"author": "NgRx", | ||
@@ -18,5 +26,6 @@ "license": "MIT", | ||
"@angular/core": "^6.0.0", | ||
"@ngrx/store": "6.0.0-beta.3", | ||
"@ngrx/store": "^6.0.0", | ||
"rxjs": "^5.6.0-forward-compat.0 || ^6.0.0" | ||
}, | ||
"schematics": "MODULE_SCHEMATICS_COLLECTION", | ||
"ng-update": { | ||
@@ -23,0 +32,0 @@ "packageGroup": [ |
@@ -5,3 +5,3 @@ /// <amd-module name="@ngrx/effects/schematics-core/index" /> | ||
export { Host, Change, NoopChange, InsertChange, RemoveChange, ReplaceChange } from './utility/change'; | ||
export { AppConfig, CliConfig, getAppFromConfig, getConfig, getWorkspace, getWorkspacePath } from './utility/config'; | ||
export { AppConfig, getWorkspace, getWorkspacePath } from './utility/config'; | ||
export { findModule, findModuleFromOptions, buildRelativePath, ModuleOptions } from './utility/find-module'; | ||
@@ -22,1 +22,4 @@ export { addReducerToState, addReducerToStateInferface, addReducerImportToNgModule, addReducerToActionReducerMap, omit } from './utility/ngrx-utils'; | ||
export { updatePackage } from './utility/update'; | ||
export { parseName } from './utility/parse-name'; | ||
export { addPackageToPackageJson } from './utility/package'; | ||
export { platformVersion } from './utility/libs-version'; |
@@ -7,3 +7,3 @@ (function (factory) { | ||
else if (typeof define === "function" && define.amd) { | ||
define("@ngrx/effects/schematics-core/index", ["require", "exports", "@ngrx/effects/schematics-core/utility/strings", "@ngrx/effects/schematics-core/utility/ast-utils", "@ngrx/effects/schematics-core/utility/change", "@ngrx/effects/schematics-core/utility/config", "@ngrx/effects/schematics-core/utility/find-module", "@ngrx/effects/schematics-core/utility/ngrx-utils", "@ngrx/effects/schematics-core/utility/project", "@ngrx/effects/schematics-core/utility/route-utils", "@ngrx/effects/schematics-core/utility/update"], factory); | ||
define("@ngrx/effects/schematics-core/index", ["require", "exports", "@ngrx/effects/schematics-core/utility/strings", "@ngrx/effects/schematics-core/utility/ast-utils", "@ngrx/effects/schematics-core/utility/change", "@ngrx/effects/schematics-core/utility/config", "@ngrx/effects/schematics-core/utility/find-module", "@ngrx/effects/schematics-core/utility/ngrx-utils", "@ngrx/effects/schematics-core/utility/project", "@ngrx/effects/schematics-core/utility/route-utils", "@ngrx/effects/schematics-core/utility/update", "@ngrx/effects/schematics-core/utility/parse-name", "@ngrx/effects/schematics-core/utility/package", "@ngrx/effects/schematics-core/utility/libs-version"], factory); | ||
} | ||
@@ -31,4 +31,2 @@ })(function (require, exports) { | ||
var config_1 = require("@ngrx/effects/schematics-core/utility/config"); | ||
exports.getAppFromConfig = config_1.getAppFromConfig; | ||
exports.getConfig = config_1.getConfig; | ||
exports.getWorkspace = config_1.getWorkspace; | ||
@@ -62,3 +60,9 @@ exports.getWorkspacePath = config_1.getWorkspacePath; | ||
exports.updatePackage = update_1.updatePackage; | ||
var parse_name_1 = require("@ngrx/effects/schematics-core/utility/parse-name"); | ||
exports.parseName = parse_name_1.parseName; | ||
var package_1 = require("@ngrx/effects/schematics-core/utility/package"); | ||
exports.addPackageToPackageJson = package_1.addPackageToPackageJson; | ||
var libs_version_1 = require("@ngrx/effects/schematics-core/utility/libs-version"); | ||
exports.platformVersion = libs_version_1.platformVersion; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL2VmZmVjdHMvc2NoZW1hdGljcy1jb3JlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0lBQUEseUVBUzJCO0lBRTNCLDZFQVc2QjtJQVYzQixnQ0FBQSxTQUFTLENBQ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BhY2thZ2VUb1BhY2thZ2VKc29uIH0gZnJvbSAnLi91dGlsaXR5L3BhY2thZ2UnO1xuXG5leHBvcnQgeyBwbGF0Zm9ybVZlcnNpb24gfSBmcm9tICcuL3V0aWxpdHkvbGlicy12ZXJzaW9uJztcbiJdfQ== |
@@ -120,318 +120,4 @@ /// <amd-module name="@ngrx/effects/schematics-core/utility/config" /> | ||
} | ||
export interface CliConfig { | ||
$schema?: string; | ||
/** | ||
* The global configuration of the project. | ||
*/ | ||
project?: { | ||
/** | ||
* The name of the project. | ||
*/ | ||
name?: string; | ||
/** | ||
* Whether or not this project was ejected. | ||
*/ | ||
ejected?: boolean; | ||
}; | ||
/** | ||
* Properties of the different applications in this project. | ||
*/ | ||
apps?: AppConfig[]; | ||
/** | ||
* Configuration for end-to-end tests. | ||
*/ | ||
e2e?: { | ||
protractor?: { | ||
/** | ||
* Path to the config file. | ||
*/ | ||
config?: string; | ||
}; | ||
}; | ||
/** | ||
* Properties to be passed to TSLint. | ||
*/ | ||
lint?: { | ||
/** | ||
* File glob(s) to lint. | ||
*/ | ||
files?: string | string[]; | ||
/** | ||
* Location of the tsconfig.json project file. | ||
* Will also use as files to lint if 'files' property not present. | ||
*/ | ||
project: string; | ||
/** | ||
* Location of the tslint.json configuration. | ||
*/ | ||
tslintConfig?: string; | ||
/** | ||
* File glob(s) to ignore. | ||
*/ | ||
exclude?: string | string[]; | ||
}[]; | ||
/** | ||
* Configuration for unit tests. | ||
*/ | ||
test?: { | ||
karma?: { | ||
/** | ||
* Path to the karma config file. | ||
*/ | ||
config?: string; | ||
}; | ||
codeCoverage?: { | ||
/** | ||
* Globs to exclude from code coverage. | ||
*/ | ||
exclude?: string[]; | ||
}; | ||
}; | ||
/** | ||
* Specify the default values for generating. | ||
*/ | ||
defaults?: { | ||
/** | ||
* The file extension to be used for style files. | ||
*/ | ||
styleExt?: string; | ||
/** | ||
* How often to check for file updates. | ||
*/ | ||
poll?: number; | ||
/** | ||
* Use lint to fix files after generation | ||
*/ | ||
lintFix?: boolean; | ||
/** | ||
* Options for generating a class. | ||
*/ | ||
class?: { | ||
/** | ||
* Specifies if a spec file is generated. | ||
*/ | ||
spec?: boolean; | ||
}; | ||
/** | ||
* Options for generating a component. | ||
*/ | ||
component?: { | ||
/** | ||
* Flag to indicate if a dir is created. | ||
*/ | ||
flat?: boolean; | ||
/** | ||
* Specifies if a spec file is generated. | ||
*/ | ||
spec?: boolean; | ||
/** | ||
* Specifies if the style will be in the ts file. | ||
*/ | ||
inlineStyle?: boolean; | ||
/** | ||
* Specifies if the template will be in the ts file. | ||
*/ | ||
inlineTemplate?: boolean; | ||
/** | ||
* Specifies the view encapsulation strategy. | ||
*/ | ||
viewEncapsulation?: 'Emulated' | 'Native' | 'None'; | ||
/** | ||
* Specifies the change detection strategy. | ||
*/ | ||
changeDetection?: 'Default' | 'OnPush'; | ||
}; | ||
/** | ||
* Options for generating a directive. | ||
*/ | ||
directive?: { | ||
/** | ||
* Flag to indicate if a dir is created. | ||
*/ | ||
flat?: boolean; | ||
/** | ||
* Specifies if a spec file is generated. | ||
*/ | ||
spec?: boolean; | ||
}; | ||
/** | ||
* Options for generating a guard. | ||
*/ | ||
guard?: { | ||
/** | ||
* Flag to indicate if a dir is created. | ||
*/ | ||
flat?: boolean; | ||
/** | ||
* Specifies if a spec file is generated. | ||
*/ | ||
spec?: boolean; | ||
}; | ||
/** | ||
* Options for generating an interface. | ||
*/ | ||
interface?: { | ||
/** | ||
* Prefix to apply to interface names. (i.e. I) | ||
*/ | ||
prefix?: string; | ||
}; | ||
/** | ||
* Options for generating a module. | ||
*/ | ||
module?: { | ||
/** | ||
* Flag to indicate if a dir is created. | ||
*/ | ||
flat?: boolean; | ||
/** | ||
* Specifies if a spec file is generated. | ||
*/ | ||
spec?: boolean; | ||
}; | ||
/** | ||
* Options for generating a pipe. | ||
*/ | ||
pipe?: { | ||
/** | ||
* Flag to indicate if a dir is created. | ||
*/ | ||
flat?: boolean; | ||
/** | ||
* Specifies if a spec file is generated. | ||
*/ | ||
spec?: boolean; | ||
}; | ||
/** | ||
* Options for generating a service. | ||
*/ | ||
service?: { | ||
/** | ||
* Flag to indicate if a dir is created. | ||
*/ | ||
flat?: boolean; | ||
/** | ||
* Specifies if a spec file is generated. | ||
*/ | ||
spec?: boolean; | ||
}; | ||
/** | ||
* Properties to be passed to the build command. | ||
*/ | ||
build?: { | ||
/** | ||
* Output sourcemaps. | ||
*/ | ||
sourcemaps?: boolean; | ||
/** | ||
* Base url for the application being built. | ||
*/ | ||
baseHref?: string; | ||
/** | ||
* The ssl key used by the server. | ||
*/ | ||
progress?: boolean; | ||
/** | ||
* Enable and define the file watching poll time period (milliseconds). | ||
*/ | ||
poll?: number; | ||
/** | ||
* Delete output path before build. | ||
*/ | ||
deleteOutputPath?: boolean; | ||
/** | ||
* Do not use the real path when resolving modules. | ||
*/ | ||
preserveSymlinks?: boolean; | ||
/** | ||
* Show circular dependency warnings on builds. | ||
*/ | ||
showCircularDependencies?: boolean; | ||
/** | ||
* Use a separate bundle containing code used across multiple bundles. | ||
*/ | ||
commonChunk?: boolean; | ||
/** | ||
* Use file name for lazy loaded chunks. | ||
*/ | ||
namedChunks?: boolean; | ||
}; | ||
/** | ||
* Properties to be passed to the serve command. | ||
*/ | ||
serve?: { | ||
/** | ||
* The port the application will be served on. | ||
*/ | ||
port?: number; | ||
/** | ||
* The host the application will be served on. | ||
*/ | ||
host?: string; | ||
/** | ||
* Enables ssl for the application. | ||
*/ | ||
ssl?: boolean; | ||
/** | ||
* The ssl key used by the server. | ||
*/ | ||
sslKey?: string; | ||
/** | ||
* The ssl certificate used by the server. | ||
*/ | ||
sslCert?: string; | ||
/** | ||
* Proxy configuration file. | ||
*/ | ||
proxyConfig?: string; | ||
}; | ||
/** | ||
* Properties about schematics. | ||
*/ | ||
schematics?: { | ||
/** | ||
* The schematics collection to use. | ||
*/ | ||
collection?: string; | ||
/** | ||
* The new app schematic. | ||
*/ | ||
newApp?: string; | ||
}; | ||
}; | ||
/** | ||
* Specify which package manager tool to use. | ||
*/ | ||
packageManager?: 'npm' | 'cnpm' | 'yarn' | 'default'; | ||
/** | ||
* Allow people to disable console warnings. | ||
*/ | ||
warnings?: { | ||
/** | ||
* Show a warning when the user enabled the --hmr option. | ||
*/ | ||
hmrWarning?: boolean; | ||
/** | ||
* Show a warning when the node version is incompatible. | ||
*/ | ||
nodeDeprecation?: boolean; | ||
/** | ||
* Show a warning when the user installed angular-cli. | ||
*/ | ||
packageDeprecation?: boolean; | ||
/** | ||
* Show a warning when the global version is newer than the local one. | ||
*/ | ||
versionMismatch?: boolean; | ||
/** | ||
* Show a warning when the TypeScript version is incompatible | ||
*/ | ||
typescriptMismatch?: boolean; | ||
}; | ||
} | ||
export declare type WorkspaceSchema = experimental.workspace.WorkspaceSchema; | ||
export declare function getWorkspacePath(host: Tree): string; | ||
export declare function getWorkspace(host: Tree): WorkspaceSchema; | ||
export declare const configPath = "/.angular-cli.json"; | ||
export declare function getConfig(host: Tree): CliConfig; | ||
export declare function getAppFromConfig(config: CliConfig, appIndexOrName: string): AppConfig | null; |
@@ -29,23 +29,3 @@ (function (factory) { | ||
exports.getWorkspace = getWorkspace; | ||
exports.configPath = '/.angular-cli.json'; | ||
function getConfig(host) { | ||
var configBuffer = host.read(exports.configPath); | ||
if (configBuffer === null) { | ||
throw new schematics_1.SchematicsException('Could not find .angular-cli.json'); | ||
} | ||
var config = JSON.parse(configBuffer.toString()); | ||
return config; | ||
} | ||
exports.getConfig = getConfig; | ||
function getAppFromConfig(config, appIndexOrName) { | ||
if (!config.apps) { | ||
return null; | ||
} | ||
if (parseInt(appIndexOrName) >= 0) { | ||
return config.apps[parseInt(appIndexOrName)]; | ||
} | ||
return config.apps.filter(function (app) { return app.name === appIndexOrName; })[0]; | ||
} | ||
exports.getAppFromConfig = getAppFromConfig; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6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pZmllcyBpZiBhIHNwZWMgZmlsZSBpcyBnZW5lcmF0ZWQuXG4gICAgICAgKi9cbiAgICAgIHNwZWM/OiBib29sZWFuO1xuICAgIH07XG4gICAgLyoqXG4gICAgICogT3B0aW9ucyBmb3IgZ2VuZXJhdGluZyBhIHNlcnZpY2UuXG4gICAgICovXG4gICAgc2VydmljZT86IHtcbiAgICAgIC8qKlxuICAgICAgICogRmxhZyB0byBpbmRpY2F0ZSBpZiBhIGRpciBpcyBjcmVhdGVkLlxuICAgICAgICovXG4gICAgICBmbGF0PzogYm9vbGVhbjtcbiAgICAgIC8qKlxuICAgICAgICogU3BlY2lmaWVzIGlmIGEgc3BlYyBmaWxlIGlzIGdlbmVyYXRlZC5cbiAgICAgICAqL1xuICAgICAgc3BlYz86IGJvb2xlYW47XG4gICAgfTtcbiAgICAvKipcbiAgICAgKiBQcm9wZXJ0aWVzIHRvIGJlIHBhc3NlZCB0byB0aGUgYnVpbGQgY29tbWFuZC5cbiAgICAgKi9cbiAgICBidWlsZD86IHtcbiAgICAgIC8qKlxuICAgICAgICogT3V0cHV0IHNvdXJjZW1hcHMuXG4gICAgICAgKi9cbiAgICAgIHNvdXJjZW1hcHM/OiBib29sZWFuO1xuICAgICAgLyoqXG4gICAgICAgKiBCYXNlIHVybCBmb3IgdGhlIGFwcGxpY2F0aW9uIGJlaW5nIGJ1aWx0LlxuICAgICAgICovXG4gICAgICBiYXNlSHJlZj86IHN0cmluZztcbiAgICAgIC8qKlxuICAgICAgICogVGhlIHNzbCBrZXkgdXNlZCBieSB0aGUgc2VydmVyLlxuICAgICAgICovXG4gICAgICBwcm9ncmVzcz86IGJvb2xlYW47XG4gICAgICAvKipcbiAgICAgICAqIEVuYWJsZSBhbmQgZGVmaW5lIHRoZSBmaWxlIHdhdGNoaW5nIHBvbGwgdGltZSBwZXJpb2QgKG1pbGxpc2Vjb25kcykuXG4gICAgICAgKi9cbiAgICAgIHBvbGw/OiBudW1iZXI7XG4gICAgICAvKipcbiAgICA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HN0cmluZztcbiAgICAgIC8qKlxuICAgICAgICogRW5hYmxlcyBzc2wgZm9yIHRoZSBhcHBsaWNhdGlvbi5cbiAgICAgICAqL1xuICAgICAgc3NsPzogYm9vbGVhbjtcbiAgICAgIC8qKlxuICAgICAgICogVGhlIHNzbCBrZXkgdXNlZCBieSB0aGUgc2VydmVyLlxuICAgICAgICovXG4gICAgICBzc2xLZXk/OiBzdHJpbmc7XG4gICAgICAvKipcbiAgICAgICAqIFRoZSBzc2wgY2VydGlmaWNhdGUgdXNlZCBieSB0aGUgc2VydmVyLlxuICAgICAgICovXG4gICAgICBzc2xDZXJ0Pzogc3RyaW5nO1xuICAgICAgLyoqXG4gICAgICAgKiBQcm94eSBjb25maWd1cmF0aW9uIGZpbGUuXG4gICAgICAgKi9cbiAgICAgIHByb3h5Q29uZmlnPzogc3RyaW5nO1xuICAgIH07XG4gICAgLyoqXG4gICAgICogUHJvcGVydGllcyBhYm91dCBzY2hlbWF0aWNzLlxuICAgICAqL1xuICAgIHNjaGVtYXRpY3M/OiB7XG4gICAgICAvKipcbiAgICAgICAqIFRoZSBzY2hlbWF0aWNzIGNvbGxlY3Rpb24gdG8gdXNlLlxuICAgICAgICovXG4gICAgICBjb2xsZWN0aW9uPzogc3RyaW5nO1xuICAgICAgLyoqXG4gICAgICAgKiBUaGUgbmV3IGFwcCBzY2hlbWF0aWMuXG4gICAgICAgKi9cbiAgICAgIG5ld0FwcD86IHN0cmluZztcbiAgICB9O1xuICB9O1xuICAvKipcbiAgICogU3BlY2lmeSB3aGljaCBwYWNrYWdlIG1hbmFnZXIgdG9vbCB0byB1c2UuXG4gICAqL1xuICBwYWNrYWdlTWFuYWdlcj86ICducG0nIHwgJ2NucG0nIHwgJ3lhcm4nIHwgJ2RlZmF1bHQnO1xuICAvKipcbiAgICogQWxsb3cgcGVvcGxlIHRvIGRpc2FibGUgY29uc29sZSB3YXJuaW5ncy5cbiAgICovXG4gIHdhcm5pbmdzPzoge1xuICAgIC8qKlxuICAg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mpzb24nXTtcbiAgY29uc3QgcGF0aCA9IHBvc3NpYmxlRmlsZXMuZmlsdGVyKHBhdGggPT4gaG9zdC5leGlzdHMocGF0aCkpWzBdO1xuXG4gIHJldHVybiBwYXRoO1xufVxuXG5leHBvcnQgZnVuY3Rpb24gZ2V0V29ya3NwYWNlKGhvc3Q6IFRyZWUpOiBXb3Jrc3BhY2VTY2hlbWEge1xuICBjb25zdCBwYXRoID0gZ2V0V29ya3NwYWNlUGF0aChob3N0KTtcbiAgY29uc3QgY29uZmlnQnVmZmVyID0gaG9zdC5yZWFkKHBhdGgpO1xuICBpZiAoY29uZmlnQnVmZmVyID09PSBudWxsKSB7XG4gICAgdGhyb3cgbmV3IFNjaGVtYXRpY3NFeGNlcHRpb24oYENvdWxkIG5vdCBmaW5kICgke3BhdGh9KWApO1xuICB9XG4gIGNvbnN0IGNvbmZpZyA9IGNvbmZpZ0J1ZmZlci50b1N0cmluZygpO1xuXG4gIHJldHVybiBKU09OLnBhcnNlKGNvbmZpZyk7XG59XG4iXX0= |
@@ -81,26 +81,34 @@ (function (factory) { | ||
function buildRelativePath(from, to) { | ||
from = core_1.normalize(from); | ||
to = core_1.normalize(to); | ||
// Convert to arrays. | ||
var fromParts = from.split('/'); | ||
var toParts = to.split('/'); | ||
// Remove file names (preserving destination) | ||
fromParts.pop(); | ||
var toFileName = toParts.pop(); | ||
var relativePath = core_1.relative(core_1.normalize(fromParts.join('/')), core_1.normalize(toParts.join('/'))); | ||
var pathPrefix = ''; | ||
// Set the path prefix for same dir or child dir, parent dir starts with `..` | ||
if (!relativePath) { | ||
pathPrefix = '.'; | ||
} | ||
else if (!relativePath.startsWith('.')) { | ||
pathPrefix = "./"; | ||
} | ||
if (pathPrefix && !pathPrefix.endsWith('/')) { | ||
pathPrefix += '/'; | ||
} | ||
return pathPrefix + (relativePath ? relativePath + '/' : '') + toFileName; | ||
var _a = parsePath(from), fromPath = _a.path, fromFileName = _a.filename, fromDirectory = _a.directory; | ||
var _b = parsePath(to), toPath = _b.path, toFileName = _b.filename, toDirectory = _b.directory; | ||
var relativePath = core_1.relative(fromDirectory, toDirectory); | ||
var fixedRelativePath = relativePath.startsWith('.') | ||
? relativePath | ||
: "./" + relativePath; | ||
return !toFileName || toFileName === 'index.ts' | ||
? fixedRelativePath | ||
: "" + (fixedRelativePath.endsWith('/') | ||
? fixedRelativePath | ||
: fixedRelativePath + '/') + convertToTypeScriptFileName(toFileName); | ||
} | ||
exports.buildRelativePath = buildRelativePath; | ||
function parsePath(path) { | ||
var pathNormalized = core_1.normalize(path); | ||
var filename = core_1.extname(pathNormalized) ? core_1.basename(pathNormalized) : ''; | ||
var directory = filename ? core_1.dirname(pathNormalized) : pathNormalized; | ||
return { | ||
path: pathNormalized, | ||
filename: filename, | ||
directory: directory, | ||
}; | ||
} | ||
/** | ||
* Strips the typescript extension and clears index filenames | ||
* foo.ts -> foo | ||
* index.ts -> empty | ||
*/ | ||
function convertToTypeScriptFileName(filename) { | ||
return filename ? filename.replace(/(\.ts)|(index\.ts)$/, '') : ''; | ||
} | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmluZC1tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL2VmZmVjdHMvc2NoZW1hdGljcy1jb3JlL3V0aWxpdHkvZmluZC1tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7SUFBQTs7Ozs7O09BTUc7SUFDSCw2Q0FBZ0Y7SUFXaEY7O09BRUc7SUFDSCwrQkFDRSxJQUFVLEVBQ1YsT0FBc0I7UUFFdEIsRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLGNBQWMsQ0FBQyxZQUFZLENBQUMsSUFBSSxPQUFPLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQztZQUMvRCxNQUFNLENBQUMsU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YWxpemVkKSA6ICcnO1xuICBjb25zdCBkaXJlY3RvcnkgPSBmaWxlbmFtZSA/IGRpcm5hbWUocGF0aE5vcm1hbGl6ZWQpIDogcGF0aE5vcm1hbGl6ZWQ7XG4gIHJldHVybiB7XG4gICAgcGF0aDogcGF0aE5vcm1hbGl6ZWQsXG4gICAgZmlsZW5hbWUsXG4gICAgZGlyZWN0b3J5LFxuICB9O1xufVxuLyoqXG4gKiBTdHJpcHMgdGhlIHR5cGVzY3JpcHQgZXh0ZW5zaW9uIGFuZCBjbGVhcnMgaW5kZXggZmlsZW5hbWVzXG4gKiBmb28udHMgLT4gZm9vXG4gKiBpbmRleC50cyAtPiBlbXB0eVxuICovXG5mdW5jdGlvbiBjb252ZXJ0VG9UeXBlU2NyaXB0RmlsZU5hbWUoZmlsZW5hbWU6IHN0cmluZyB8IHVuZGVmaW5lZCkge1xuICByZXR1cm4gZmlsZW5hbWUgPyBmaWxlbmFtZS5yZXBsYWNlKC8oXFwudHMpfChpbmRleFxcLnRzKSQvLCAnJykgOiAnJztcbn1cbiJdfQ== |
@@ -7,3 +7,3 @@ (function (factory) { | ||
else if (typeof define === "function" && define.amd) { | ||
define("@ngrx/effects/schematics-core/utility/update", ["require", "exports", "@angular-devkit/schematics", "@angular-devkit/schematics/tasks"], factory); | ||
define("@ngrx/effects/schematics-core/utility/update", ["require", "exports", "@angular-devkit/schematics"], factory); | ||
} | ||
@@ -14,3 +14,2 @@ })(function (require, exports) { | ||
var schematics_1 = require("@angular-devkit/schematics"); | ||
var tasks_1 = require("@angular-devkit/schematics/tasks"); | ||
function updatePackage(name) { | ||
@@ -20,3 +19,3 @@ return function (tree, context) { | ||
var buffer = tree.read(pkgPath); | ||
if (buffer == null) { | ||
if (buffer === null) { | ||
throw new schematics_1.SchematicsException('Could not read package.json'); | ||
@@ -35,8 +34,6 @@ } | ||
var suffix = match(firstChar, '^') || match(firstChar, '~'); | ||
// TODO: remove beta | ||
pkg[category][packageName] = suffix + "6.0.0-beta.3"; | ||
pkg[category][packageName] = suffix + "6.0.0"; | ||
} | ||
}); | ||
tree.overwrite(pkgPath, JSON.stringify(pkg, null, 2)); | ||
context.addTask(new tasks_1.NodePackageInstallTask()); | ||
return tree; | ||
@@ -50,2 +47,2 @@ }; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBkYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbW9kdWxlcy9lZmZlY3RzL3NjaGVtYXRpY3MtY29yZS91dGlsaXR5L3VwZGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztJQUFBLHlEQU1vQztJQUNwQywwREFBMEU7SUFFMUUsdUJBQThCLElBQVk7UUFDeEMsTUFBTSxDQUFDLFVBQUMsSUFBVSxFQUFFLE9BQXlCO1lBQzNDLElBQU0sT0FBTyxHQUFHLGVBQWUsQ0FBQztZQUNoQyxJQUFNLE1BQU0sR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1lBQ2xDLEVBQUUsQ0FBQyxDQUFDLE1BQU0sSUFBSSxJQUFJLENBQUMsQ0FBQyxDQUFDO2dCQUNuQixNQUFNLElBQUksZ0NBQW1CLENBQUMsNkJBQTZCLENBQUMsQ0FBQztZQUMvRCxDQUFDO1lBQ0QsSUFBTSxPQUFPLEdBQUcsTUFBTSxDQUFDLFFBQVEsRUFBRSxDQUFDO1lBQ2xDLElBQU0sR0FBRyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUM7WUFFaEMsRUFBRSxDQUFDLENBQUMsR0FBRyxLQUFLLElBQUksSUFBSSxPQUFPLEdBQUcsS0FBSyxRQUFRLElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUM7Z0JBQ2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gJ34nKTtcblxuICAgICAgICBwa2dbY2F0ZWdvcnldW3BhY2thZ2VOYW1lXSA9IGAke3N1ZmZpeH02LjAuMGA7XG4gICAgICB9XG4gICAgfSk7XG5cbiAgICB0cmVlLm92ZXJ3cml0ZShwa2dQYXRoLCBKU09OLnN0cmluZ2lmeShwa2csIG51bGwsIDIpKTtcblxuICAgIHJldHVybiB0cmVlO1xuICB9O1xufVxuXG5mdW5jdGlvbiBtYXRjaCh2YWx1ZTogc3RyaW5nLCB0ZXN0OiBzdHJpbmcpIHtcbiAgcmV0dXJuIHZhbHVlID09PSB0ZXN0ID8gdGVzdCA6ICcnO1xufVxuIl19 |
/** | ||
* @license NgRx 6.0.0-beta.3 | ||
* @license NgRx v6.0.0 | ||
* (c) 2015-2018 Brandon Roberts, Mike Ryan, Rob Wormald, Victor Savkin | ||
@@ -4,0 +4,0 @@ * License: MIT |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
615602
116
4595
1