@mands/nx-playwright
Advanced tools
Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "@mands/nx-playwright", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -34,3 +34,3 @@ "use strict"; | ||
if (!result.success) { | ||
throw new Error('Could not start dev server'); | ||
return Promise.reject(new Error('Could not start dev server')); | ||
} | ||
@@ -37,0 +37,0 @@ return opts.baseUrl || result.baseUrl; |
import { Tree } from '@nrwl/devkit'; | ||
import { InitGeneratorSchema } from './schema'; | ||
export declare const removePlaywrightDeps: (json: any) => any; | ||
export declare const removePlaywrightDeps: ({ dependencies, ...json }: { | ||
[x: string]: any; | ||
dependencies?: {}; | ||
}) => { | ||
dependencies: { | ||
'@mands/nx-playwright': any; | ||
}; | ||
}; | ||
export default function playwrightInitGenerator(host: Tree, options: InitGeneratorSchema): Promise<import("@nrwl/devkit").GeneratorCallback>; |
@@ -7,6 +7,5 @@ "use strict"; | ||
const run_tasks_in_serial_1 = require("@nrwl/workspace/src/utilities/run-tasks-in-serial"); | ||
const removePlaywrightDeps = (json) => { | ||
json.dependencies = json.dependencies || {}; | ||
delete json.dependencies['@mands/nx-playwright']; | ||
return json; | ||
const removePlaywrightDeps = (_a) => { | ||
var { dependencies = {} } = _a, json = tslib_1.__rest(_a, ["dependencies"]); | ||
return Object.assign(Object.assign({}, json), { dependencies: Object.assign(Object.assign({}, dependencies), { '@mands/nx-playwright': undefined }) }); | ||
}; | ||
@@ -13,0 +12,0 @@ exports.removePlaywrightDeps = removePlaywrightDeps; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
30210
552