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 3.0.2 to 4.0.0

2

CHANGELOG.md

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

## [3.0.2](https://github.com/nxkit/nxkit/compare/3.0.1...3.0.2) (2023-06-06)
# [4.0.0](https://github.com/nxkit/nxkit/compare/3.0.2...4.0.0) (2023-12-07)
**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": "3.0.2",
"version": "4.0.0",
"private": false,
"main": "./index.js",
"main": "./src/index.js",
"generators": "./generators.json",

@@ -38,4 +38,4 @@ "executors": "./executors.json",

},
"types": "./src/index.d.ts",
"gitHead": "d8cdf25e17b284fd9e6faa356a0ca4a00b222bd2"
"type": "commonjs",
"gitHead": "60ded30b78cf8d077a570eead9e65663e15b6687"
}

@@ -14,15 +14,10 @@ "use strict";

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

@@ -29,0 +24,0 @@ }

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

const devkit_1 = require("@nx/devkit");
const run_tasks_in_serial_1 = require("@nx/workspace/src/utilities/run-tasks-in-serial");
const js_1 = require("@nx/js");

@@ -32,3 +31,3 @@ const add_dependencies_1 = require("./lib/add-dependencies");

}
return (0, run_tasks_in_serial_1.runTasksInSerial)(...tasks);
return (0, devkit_1.runTasksInSerial)(...tasks);
});

@@ -35,0 +34,0 @@ }

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

const devkit_1 = require("@nx/devkit");
const run_tasks_in_serial_1 = require("@nx/workspace/src/utilities/run-tasks-in-serial");
const generator_1 = require("../project/generator");

@@ -17,3 +16,3 @@ function normalizeOptions(tree, options) {

const projectTask = yield (0, generator_1.default)(tree, normalizedOptions);
return (0, run_tasks_in_serial_1.runTasksInSerial)(projectTask);
return (0, devkit_1.runTasksInSerial)(projectTask);
});

@@ -20,0 +19,0 @@ }

@@ -1,2 +0,2 @@

import { Linter } from '@nx/linter';
import { Linter } from '@nx/eslint';
export interface PresetGeneratorSchema {

@@ -3,0 +3,0 @@ name: string;

@@ -6,11 +6,11 @@ "use strict";

const devkit_1 = require("@nx/devkit");
const linter_1 = require("@nx/linter");
const eslint_1 = require("@nx/eslint");
function addLinter(tree, normalizedOptions) {
return tslib_1.__awaiter(this, void 0, void 0, function* () {
const { projectName, projectRoot, linter } = normalizedOptions;
if (!linter || linter === linter_1.Linter.None) {
if (!linter || linter === eslint_1.Linter.None) {
// eslint-disable-next-line @typescript-eslint/no-empty-function
return () => { };
}
const installTask = yield (0, linter_1.lintProjectGenerator)(tree, {
const installTask = yield (0, eslint_1.lintProjectGenerator)(tree, {
project: projectName,

@@ -17,0 +17,0 @@ linter,

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

return {
executor: '@nx/linter:eslint',
executor: '@nx/eslint:eslint',
outputs: ['{options.outputFile}'],

@@ -45,0 +45,0 @@ options: {

@@ -1,2 +0,2 @@

import { Linter } from '@nx/linter';
import { Linter } from '@nx/eslint';

@@ -3,0 +3,0 @@ export interface ProjectGeneratorSchema {

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

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