change @local to @~local

This commit is contained in:
Rene Haas
2022-08-02 16:15:39 +02:00
parent f1948d91b3
commit ea76610bab
33 changed files with 99 additions and 96 deletions
@@ -2,7 +2,7 @@
const fs = require('fs');
const { execSync } = require('child_process');
const { join } = require('path');
const { coverageDirectory, tmpCoverageDirectory } = require('@local/config/playwright.coverage');
const { coverageDirectory, tmpCoverageDirectory } = require('@~local/config/playwright.coverage');
const mergeCoverage = async () => {
if (fs.existsSync(tmpCoverageDirectory)) {
+4 -4
View File
@@ -1,4 +1,4 @@
declare module '@local/playwright-tooling' {
export function playwrightRollup(): void;
export function expectSuccess(page: any): void;
}
declare module '@~local/playwright-tooling' {
export function playwrightRollup(): void;
export function expectSuccess(page: any): void;
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"private": true,
"name": "@local/playwright-tooling",
"name": "@~local/playwright-tooling",
"main": "./src/index.js",
"bin": {
"playwright-merge-coverage": "./bin/mergeCoverage.js"
@@ -1,7 +1,7 @@
const fs = require('fs');
const { basename, dirname, join } = require('path');
const v8toIstanbul = require('v8-to-istanbul');
const { tmpCoverageDirectory } = require('@local/config/playwright.coverage');
const { tmpCoverageDirectory } = require('@~local/config/playwright.coverage');
module.exports = async (coverageOutputDir, sourceDir, coverage, testfile) => {
// eslint-disable-next-line no-restricted-syntax
@@ -1,7 +1,7 @@
const { dirname } = require('path');
const { rollup, watch: rollupWatch } = require('rollup');
const { test } = require('@playwright/test');
const createPlaywrightRollupConfig = require('@local/rollup/playwright');
const createPlaywrightRollupConfig = require('@~local/rollup/playwright');
const collectCoverage = require('./collectCoverage');
const createRollupBundle = async (testDir, watch = false) => {