Socket
Socket
Sign inDemoInstall

@nxkit/playwright

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nxkit/playwright - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

2

CHANGELOG.md

@@ -6,4 +6,4 @@ # Change Log

## [2.1.1](https://github.com/nxkit/nxkit/compare/2.1.0...2.1.1) (2023-02-11)
## [2.1.2](https://github.com/nxkit/nxkit/compare/2.1.1...2.1.2) (2023-03-03)
**Note:** Version bump only for package @nxkit/playwright
{
"name": "@nxkit/playwright",
"description": "Nx Plugin containing executors and generators allowing your workspace to use the powerful Playwright end-to-end testing capabilities.",
"version": "2.1.1",
"version": "2.1.2",
"private": false,

@@ -36,3 +36,3 @@ "main": "./index.js",

"types": "./src/index.d.ts",
"gitHead": "0c741bc778911b23e11e51b5f83225cdb733cf00"
"gitHead": "de7e20865f679767c004b8e9672c5f211a17a1a7"
}

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

function startDevServer(options, context) {
var e_1, _a;
var _a, e_1, _b, _c;
return tslib_1.__awaiter(this, void 0, void 0, function* () {

@@ -15,8 +15,15 @@ if (!options.devServerTarget || options.skipServe) {

try {
for (var _b = tslib_1.__asyncValues(yield (0, devkit_1.runExecutor)(devServerTarget, {}, context)), _c; _c = yield _b.next(), !_c.done;) {
const output = _c.value;
if (!output.success) {
throw new Error(`Could not start dev server for ${devServerTarget.project} project`);
for (var _d = true, _e = tslib_1.__asyncValues(yield (0, devkit_1.runExecutor)(devServerTarget, {}, context)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const output = _c;
if (!output.success) {
throw new Error(`Could not start dev server for ${devServerTarget.project} project`);
}
return options.baseUrl || output.baseUrl;
}
return options.baseUrl || output.baseUrl;
finally {
_d = true;
}
}

@@ -27,3 +34,3 @@ }

try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
}

@@ -30,0 +37,0 @@ finally { if (e_1) throw e_1.error; }

@@ -7,2 +7,3 @@ "use strict";

const run_tasks_in_serial_1 = require("@nrwl/workspace/src/utilities/run-tasks-in-serial");
const js_1 = require("@nrwl/js");
const add_dependencies_1 = require("./lib/add-dependencies");

@@ -14,2 +15,5 @@ const install_playwright_1 = require("./lib/install-playwright");

const tasks = [];
yield (0, js_1.initGenerator)(tree, {
skipFormat: true,
});
if (!options.skipPackageJson) {

@@ -16,0 +20,0 @@ const installPackagesTask = (0, add_dependencies_1.addDependencies)(tree);

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

const devkit_1 = require("@nrwl/devkit");
const typescript_1 = require("@nrwl/workspace/src/utilities/typescript");
const js_1 = require("@nrwl/js");
const path = require("path");
function addProjectFiles(tree, options) {
const { projectRoot } = options;
const templateOptions = Object.assign(Object.assign(Object.assign({}, options), (0, devkit_1.names)(options.name)), { offsetFromRoot: (0, devkit_1.offsetFromRoot)(projectRoot), rootTsConfigPath: (0, typescript_1.getRelativePathToRootTsConfig)(tree, projectRoot), outputPath: (0, devkit_1.joinPathFragments)('dist', projectRoot), template: '' });
const templateOptions = Object.assign(Object.assign(Object.assign({}, options), (0, devkit_1.names)(options.name)), { offsetFromRoot: (0, devkit_1.offsetFromRoot)(projectRoot), rootTsConfigPath: (0, js_1.getRelativePathToRootTsConfig)(tree, projectRoot), outputPath: (0, devkit_1.joinPathFragments)('dist', projectRoot), template: '' });
(0, devkit_1.generateFiles)(tree, path.join(__dirname, '../files'), options.projectRoot, templateOptions);

@@ -12,0 +12,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

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