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

@nxkit/playwright

Package Overview
Dependencies
Maintainers
1
Versions
21
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.0.1 to 2.1.0

src/generators/preset/generator.d.ts

2

CHANGELOG.md

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

## [2.0.1](https://github.com/nxkit/nxkit/compare/2.0.0...2.0.1) (2023-01-07)
# [2.1.0](https://github.com/nxkit/nxkit/compare/2.0.1...2.1.0) (2023-02-06)
**Note:** Version bump only for package @nxkit/playwright

@@ -16,4 +16,9 @@ {

"aliases": ["proj"]
},
"preset": {
"factory": "./src/generators/preset/generator",
"schema": "./src/generators/preset/schema.json",
"description": "preset generator"
}
}
}
{
"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.0.1",
"version": "2.1.0",
"private": false,

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

"types": "./src/index.d.ts",
"gitHead": "7a8ff55824da6b78a4f5f1686b2064466e066168"
"gitHead": "f8228d562e52e1eee350024aa0e454375647546b"
}

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

maxFailures: options.maxFailures,
project: options.project,
project: options.pwProject,
quiet: options.quiet,

@@ -20,0 +20,0 @@ repeatEach: options.repeatEach,

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

}
const devServerTarget = (0, devkit_1.parseTargetString)(options.devServerTarget);
const devServerTarget = (0, devkit_1.parseTargetString)(options.devServerTarget, context.projectGraph);
try {

@@ -15,0 +15,0 @@ for (var _b = tslib_1.__asyncValues(yield (0, devkit_1.runExecutor)(devServerTarget, {}, context)), _c; _c = yield _b.next(), !_c.done;) {

@@ -18,3 +18,3 @@ export interface TestExecutorSchema {

maxFailures?: number;
project?: string;
pwProject?: string;
quiet?: boolean;

@@ -21,0 +21,0 @@ repeatEach?: number;

@@ -69,3 +69,3 @@ {

},
"project": {
"pwProject": {
"type": "string",

@@ -72,0 +72,0 @@ "description": "Only run tests from one of the specified projects. Defaults to running all projects defined in the configuration file."

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

const add_dependencies_1 = require("./lib/add-dependencies");
const add_workspace_files_1 = require("./lib/add-workspace-files");
const install_playwright_1 = require("./lib/install-playwright");

@@ -25,3 +24,2 @@ const update_gitignore_1 = require("./lib/update-gitignore");

}
(0, add_workspace_files_1.addWokspaceFiles)(tree, options);
(0, update_gitignore_1.updateGitIgnore)(tree);

@@ -28,0 +26,0 @@ if (!options.skipFormat) {

@@ -9,6 +9,10 @@ "use strict";

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

@@ -15,0 +19,0 @@ tsConfigPaths: [(0, devkit_1.joinPathFragments)(projectRoot, 'tsconfig.json')],

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

if (name) {
return name.endsWith('-e2e') ? name : `${name}-e2e`;
return name;
}

@@ -22,0 +22,0 @@ if (frontendProject) {

@@ -0,1 +1,3 @@

import { Linter } from '@nrwl/linter';
export interface ProjectGeneratorSchema {

@@ -7,2 +9,3 @@ name?: string;

directory?: string;
linter?: Linter;
skipFormat?: boolean;

@@ -9,0 +12,0 @@ }

@@ -32,5 +32,11 @@ {

"description": "A directory where the project is placed.",
"alias": "d",
"alias": "dir",
"x-completion-type": "directory"
},
"linter": {
"description": "The tool to use for running lint checks.",
"type": "string",
"enum": ["eslint", "none"],
"default": "eslint"
},
"skipFormat": {

@@ -37,0 +43,0 @@ "description": "Skip formatting files.",

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

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