Skip to content

Commit eff91de

Browse files
committed
20230721A
1 parent 445f89e commit eff91de

File tree

8 files changed

+60833
-60716
lines changed

8 files changed

+60833
-60716
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.2"
21+
- "v1.7.0-beta.3"
2222
- "v1.6.0"
2323
- "v1.5.0"
2424
- "v1.4.1"

bundler.js

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { existsSync as fsExistsSync } from "node:fs";
33
import { mkdir as fsMkdir, readdir as fsReaddir, readFile as fsReadFile, rm as fsRm, writeFile as fsWriteFile } from "node:fs/promises";
44
import { dirname as pathDirname, join as pathJoin } from "node:path";
55
import { fileURLToPath } from "node:url";
6-
import ncc from "@vercel/ncc";
76
const root = pathDirname(fileURLToPath(import.meta.url));
87
const packageFileName = "package.json";
98
const scriptEntryPointFileName = "main.js";
@@ -41,22 +40,9 @@ if (fsExistsSync(outputDirectoryPath)) {
4140

4241
/* Create bundle. */
4342
console.log(execSync(`"${pathJoin(root, "node_modules", ".bin", process.platform === "win32" ? "tsc.cmd" : "tsc")}" -p "${pathJoin(root, "tsconfig.json")}"`).toString("utf8"));
44-
let { code } = await ncc(inputFilePath, {
45-
assetBuilds: false,
46-
cache: false,
47-
debugLog: false,
48-
license: "",
49-
minify: false,
50-
quiet: false,
51-
sourceMap: false,
52-
sourceMapRegister: false,
53-
target: "es2020",
54-
v8cache: false,
55-
watch: false
56-
});
57-
await fsWriteFile(outputFilePath, code, { encoding: "utf8" });
5843
let packageMeta = JSON.parse(await fsReadFile(pathJoin(root, packageFileName), { encoding: "utf8" }));
5944
delete packageMeta.scripts;
6045
delete packageMeta.dependencies;
6146
delete packageMeta.devDependencies;
6247
await fsWriteFile(pathJoin(outputDirectoryPath, packageFileName), `${JSON.stringify(packageMeta, undefined, "\t")}\n`, { encoding: "utf8" });
48+
console.log(execSync(`"${pathJoin(root, "node_modules", ".bin", process.platform === "win32" ? "webpack.cmd" : "webpack")}"`).toString("utf8"));

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 = 'beta2'
277+
Prerelease = 'beta3'
278278

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

0 commit comments

Comments
 (0)