Skip to content

Commit 445f89e

Browse files
committed
Fix bundle
1 parent 1b870d1 commit 445f89e

File tree

8 files changed

+64764
-32
lines changed

8 files changed

+64764
-32
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ body:
1818
description: "What versions are affected? Versions must be listed as supported in the Security Policy (file: `SECURITY.md`)."
1919
multiple: true
2020
options:
21-
- "v1.7.0-beta.1"
21+
- "v1.7.0-beta.2"
2222
- "v1.6.0"
2323
- "v1.5.0"
2424
- "v1.4.1"

bundler.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import { dirname as pathDirname, join as pathJoin } from "node:path";
55
import { fileURLToPath } from "node:url";
66
import ncc from "@vercel/ncc";
77
const root = pathDirname(fileURLToPath(import.meta.url));
8-
const packageFileName = "package.json"
8+
const packageFileName = "package.json";
99
const scriptEntryPointFileName = "main.js";
1010
const inputDirectoryPath = pathJoin(root, "temp");
1111
const inputFilePath = pathJoin(inputDirectoryPath, scriptEntryPointFileName);
12-
const outputDirectoryPath = pathJoin(root, "hugoalh.GitHubActionsToolkit", "module", "nodejs-wrapper");
12+
const outputDirectoryPath = pathJoin(root, "hugoalh.GitHubActionsToolkit", "nodejs-wrapper");
1313
const outputFilePath = pathJoin(outputDirectoryPath, scriptEntryPointFileName);
1414
async function getDirectoryItem(directoryPath, relativeBasePath) {
1515
if (typeof relativeBasePath === "undefined") {
@@ -46,7 +46,7 @@ let { code } = await ncc(inputFilePath, {
4646
cache: false,
4747
debugLog: false,
4848
license: "",
49-
minify: true,
49+
minify: false,
5050
quiet: false,
5151
sourceMap: false,
5252
sourceMapRegister: false,

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
ReleaseNotes = '(Please visit https://github.com/hugoalh-studio/ghactions-toolkit-powershell/releases.)'
275275

276276
# Prerelease string of this module
277-
Prerelease = 'beta1'
277+
Prerelease = 'beta2'
278278

279279
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
280280
RequireLicenseAcceptance = $False

hugoalh.GitHubActionsToolkit/module/nodejs-wrapper.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Requires -PSEdition Core -Version 7.2
22
[SemVer]$NodeJsVersionMinimum = [SemVer]::Parse('14.15.0')
3-
[String]$WrapperRoot = Join-Path -Path $PSScriptRoot -ChildPath 'nodejs-wrapper'
3+
[String]$WrapperRoot = Join-Path -Path $PSScriptRoot -ChildPath '..\nodejs-wrapper'
44
[String]$WrapperPackageFilePath = Join-Path -Path $WrapperRoot -ChildPath 'package.json'
55
[String]$WrapperScriptFilePath = Join-Path -Path $WrapperRoot -ChildPath 'main.js'
66
[Boolean]$EnvironmentTested = $False

hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/main.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

hugoalh.GitHubActionsToolkit/nodejs-wrapper/main.js

Lines changed: 64756 additions & 0 deletions
Large diffs are not rendered by default.

hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/package.json renamed to hugoalh.GitHubActionsToolkit/nodejs-wrapper/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hugoalh/ghactions-toolkit-powershell-nodejs-wrapper",
3-
"version": "1.7.0-beta.1",
3+
"version": "1.7.0-beta.2",
44
"description": "A PowerShell module to provide a better and easier way for GitHub Actions to communicate with the runner machine, and the toolkit for developing GitHub Actions in PowerShell.",
55
"keywords": [
66
"gh-actions",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hugoalh/ghactions-toolkit-powershell-nodejs-wrapper",
3-
"version": "1.7.0-beta.1",
3+
"version": "1.7.0-beta.2",
44
"description": "A PowerShell module to provide a better and easier way for GitHub Actions to communicate with the runner machine, and the toolkit for developing GitHub Actions in PowerShell.",
55
"keywords": [
66
"gh-actions",

0 commit comments

Comments
 (0)