Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mands/nx-playwright

Package Overview
Dependencies
Maintainers
5
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mands/nx-playwright - npm Package Compare versions

Comparing version 0.6.2 to 0.6.3

2

package.json
{
"name": "@mands/nx-playwright",
"version": "0.6.2",
"version": "0.6.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -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 versions_1 = require("../../versions");

@@ -18,7 +17,3 @@ const add_git_ignore_entry_1 = require("./lib/add-git-ignore-entry");

(0, devkit_1.updateJson)(host, 'package.json', exports.removePlaywrightDeps);
const installTask = (0, devkit_1.addDependenciesToPackageJson)(host, {}, {
'axe-playwright': options.includeAxe ? versions_1.playwrightAxeVersion : undefined,
'@playwright/test': versions_1.playwrightTestVersion,
playwright: versions_1.playwrightVersion,
});
const installTask = (0, devkit_1.addDependenciesToPackageJson)(host, {}, Object.assign({ '@playwright/test': versions_1.playwrightTestVersion, playwright: versions_1.playwrightVersion }, (options.includeAxe ? { 'axe-playwright': versions_1.playwrightAxeVersion } : {})));
if (!options.skipFormat) {

@@ -28,3 +23,3 @@ yield (0, devkit_1.formatFiles)(host);

(0, add_git_ignore_entry_1.addGitIgnoreEntry)(host);
return (0, run_tasks_in_serial_1.runTasksInSerial)(installTask);
return (0, devkit_1.runTasksInSerial)(installTask);
});

@@ -31,0 +26,0 @@ }

@@ -20,2 +20,3 @@ import { addDependenciesToPackageJson, formatFiles, Tree, updateJson } from '@nx/devkit';

jest.mock('@nx/devkit', () => ({
...jest.requireActual('@nx/devkit'),
addDependenciesToPackageJson: jest.fn(),

@@ -68,4 +69,4 @@ updateJson: jest.fn(),

{},
expect.objectContaining({
'axe-playwright': undefined,
expect.not.objectContaining({
'axe-playwright': expect.anything(),
}),

@@ -72,0 +73,0 @@ );

@@ -5,3 +5,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 fs_1 = require("fs");

@@ -68,3 +67,3 @@ const path = tslib_1.__importStar(require("path"));

}
return (0, run_tasks_in_serial_1.runTasksInSerial)(playwrightInitTask, lintTask);
return (0, devkit_1.runTasksInSerial)(playwrightInitTask, lintTask);
});

@@ -71,0 +70,0 @@ }

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

const linter_1 = require("@nx/linter");
const run_tasks_in_serial_1 = require("@nx/workspace/src/utilities/run-tasks-in-serial");
function addLinting(host, options) {

@@ -34,3 +33,3 @@ return tslib_1.__awaiter(this, void 0, void 0, function* () {

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

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