From 6d3b5215667e3acdec723d9d3338d4ba0dbc6ad2 Mon Sep 17 00:00:00 2001 From: younglim Date: Wed, 8 Feb 2023 21:24:57 -0800 Subject: [PATCH] Push updated package-lock.json for fresh install and github actions package (#90) * Push updated package-lock.json for fresh install * Unhide .git for Windows portable package * Fix transitive dependency json5@2.2.3 --- .github/workflows/image.yml | 6 +++++- package-lock.json | 40 +++++++++++++++++++++++++++++++++++++ package.json | 3 ++- 3 files changed, 47 insertions(+), 2 deletions(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 46565757..e7741715 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -38,6 +38,10 @@ jobs: run: powershell.exe -NoProfile -ExecutionPolicy Bypass "& ${{github.workspace}}\hats_shell_ps.ps1" "cd ${{github.workspace}}\purple-hats;npm i fsevents@latest -f --save-optional" working-directory: ${{github.workspace}} + - name: Unhide .git folder (Windows) + shell: pwsh + run: attrib -s -h ${{github.workspace}}/purple-hats/.git + - name: Zip entire Purple Hats folder (Windows) shell: pwsh run: Compress-Archive -Path ${{github.workspace}}/* -DestinationPath purple-hats-portable-windows.zip @@ -63,7 +67,7 @@ jobs: uses: actions/checkout@v3 with: path: purple-hats - + - name: Install Node Modules for Mac0S run: | if [[ $(uname -m) == 'arm64' ]]; then diff --git a/package-lock.json b/package-lock.json index d7bd3143..3d35e65f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,7 @@ "inquirer": "^9.1.4", "jsdom": "^21.0.0", "mustache": "^4.2.0", + "playwright": "^1.27.1", "print-message": "^3.0.1", "puppeteer": "^19.5.2", "validator": "^13.7.0", @@ -6915,6 +6916,32 @@ "node": ">=8" } }, + "node_modules/playwright": { + "version": "1.27.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.27.1.tgz", + "integrity": "sha512-xXYZ7m36yTtC+oFgqH0eTgullGztKSRMb4yuwLPl8IYSmgBM88QiB+3IWb1mRIC9/NNwcgbG0RwtFlg+EAFQHQ==", + "hasInstallScript": true, + "dependencies": { + "playwright-core": "1.27.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/playwright-core": { + "version": "1.27.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.27.1.tgz", + "integrity": "sha512-9EmeXDncC2Pmp/z+teoVYlvmPWUC6ejSSYZUln7YaP89Z6lpAaiaAnqroUt/BoLo8tn7WYShcfaCh+xofZa44Q==", + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -13694,6 +13721,19 @@ } } }, + "playwright": { + "version": "1.27.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.27.1.tgz", + "integrity": "sha512-xXYZ7m36yTtC+oFgqH0eTgullGztKSRMb4yuwLPl8IYSmgBM88QiB+3IWb1mRIC9/NNwcgbG0RwtFlg+EAFQHQ==", + "requires": { + "playwright-core": "1.27.1" + } + }, + "playwright-core": { + "version": "1.27.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.27.1.tgz", + "integrity": "sha512-9EmeXDncC2Pmp/z+teoVYlvmPWUC6ejSSYZUln7YaP89Z6lpAaiaAnqroUt/BoLo8tn7WYShcfaCh+xofZa44Q==" + }, "prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", diff --git a/package.json b/package.json index 24622245..1d9520b4 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "prettier": "^2.8.2" }, "overrides": { - "node-fetch": "^3.3.0" + "node-fetch": "^3.3.0", + "json5": "^2.2.3" }, "scripts": { "test": "node --experimental-vm-modules ./node_modules/.bin/jest"