-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(testing): add legacy-playwright so plugin can be installed
- Loading branch information
1 parent
75eee72
commit 829454e
Showing
7 changed files
with
146 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"extends": ["../../.eslintrc.json"], | ||
"ignorePatterns": ["!**/*"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["./package.json", "./executors.json"], | ||
"parser": "jsonc-eslint-parser", | ||
"rules": { | ||
"@nx/nx-plugin-checks": "error" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600" alt="Nx - Smart, Fast and Extensible Build System"></p> | ||
|
||
{{links}} | ||
|
||
<hr> | ||
|
||
# Nx: Smart, Fast and Extensible Build System | ||
|
||
Nx is a next generation build system with first class monorepo support and powerful integrations. | ||
|
||
{{content}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"builders": { | ||
"playwright": { | ||
"implementation": "@nx/playwright/src/executors/playwright/compat", | ||
"schema": "@nx/playwright/src/executors/playwright/schema.json", | ||
"description": "Run Playwright tests." | ||
} | ||
}, | ||
"executors": { | ||
"playwright": { | ||
"implementation": "@nx/playwright/src/executors/playwright/playwright", | ||
"schema": "@nx/playwright/src/executors/playwright/schema.json", | ||
"description": "Run Playwright tests." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from '@nx/playwright'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "@nrwl/playwright", | ||
"version": "0.0.1", | ||
"type": "commonjs", | ||
"homepage": "https://nx.dev", | ||
"private": true, | ||
"description": "The Nx Plugin for Playwright contains executors and generators allowing your workspace to use the powerful Playwright integration testing capabilities.", | ||
"keywords": [ | ||
"Monorepo", | ||
"Angular", | ||
"React", | ||
"Web", | ||
"Node", | ||
"Nest", | ||
"Jest", | ||
"Playwright", | ||
"CLI" | ||
], | ||
"main": "./index", | ||
"typings": "./index.d.ts", | ||
"author": "Victor Savkin", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/nrwl/nx/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/nrwl/nx.git", | ||
"directory": "packages/playwright" | ||
}, | ||
"dependencies": { | ||
"@nx/playwright": "file:../../packages/playwright" | ||
}, | ||
"executors": "./executors.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "playwright-legacy", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"sourceRoot": "packages/playwright/src", | ||
"projectType": "library", | ||
"targets": { | ||
"build": { | ||
"command": "node ./scripts/copy-readme.js playwright-legacy" | ||
}, | ||
"build-base": { | ||
"executor": "@nx/js:tsc", | ||
"dependsOn": ["^build-base"], | ||
"options": { | ||
"main": "packages-legacy/playwright/index.ts", | ||
"tsConfig": "packages-legacy/playwright/tsconfig.json", | ||
"outputPath": "build/packages/playwright-legacy", | ||
"updateBuildableProjectDepsInPackageJson": false, | ||
"assets": [ | ||
{ | ||
"input": "packages-legacy/playwright", | ||
"glob": "**/*.json", | ||
"ignore": ["**/tsconfig*.json", "project.json"], | ||
"output": "/" | ||
}, | ||
{ | ||
"input": "packages-legacy/playwright", | ||
"glob": "**/*.d.ts", | ||
"output": "/" | ||
}, | ||
{ | ||
"input": "", | ||
"glob": "LICENSE", | ||
"output": "/" | ||
} | ||
] | ||
} | ||
}, | ||
"lint": {}, | ||
"test": {} | ||
}, | ||
"tags": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"module": "commonjs" | ||
}, | ||
"files": [], | ||
"include": [], | ||
"references": [ | ||
{ | ||
"path": "./tsconfig.lib.json" | ||
}, | ||
{ | ||
"path": "./tsconfig.spec.json" | ||
} | ||
] | ||
} |