first try
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
node_modules
|
||||
build
|
||||
|
||||
9
build.config.ts
Normal file
9
build.config.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { defineBuildConfig } from "unbuild";
|
||||
|
||||
export default defineBuildConfig({
|
||||
entries: ["./src/index"],
|
||||
outDir: "build",
|
||||
rollup: {
|
||||
inlineDependencies: true,
|
||||
},
|
||||
});
|
||||
1395
dist/index.js → dist/index.mjs
vendored
1395
dist/index.js → dist/index.mjs
vendored
File diff suppressed because it is too large
Load Diff
12
package.json
12
package.json
@ -2,8 +2,13 @@
|
||||
"name": "setup-age-sops",
|
||||
"description": "Setup AGE and SOPS in Gitea Actions",
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"prepackage": "npm run build",
|
||||
"package": "ncc build src/index.ts -o dist"
|
||||
"package": "ncc build build/index.mjs -o dist",
|
||||
"format": "biome format --write .",
|
||||
"lint": "biome check --apply-unsafe .",
|
||||
"check": "biome check . --apply-unsafe",
|
||||
"postinstall": "lefthook install"
|
||||
},
|
||||
"keywords": [
|
||||
"age",
|
||||
@ -21,13 +26,16 @@
|
||||
"ts-dedent": "^2.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.0.5",
|
||||
"@hedger/prettier-config": "^1.2.0",
|
||||
"@octokit/auth-action": "^6.0.1",
|
||||
"@octokit/request-error": "^7.0.0",
|
||||
"@octokit/rest": "^22.0.0",
|
||||
"@octokit/types": "^14.1.0",
|
||||
"@types/node": "^18.19.31",
|
||||
"@vercel/ncc": "^0.38.3"
|
||||
"@vercel/ncc": "^0.38.3",
|
||||
"lefthook": "^1.11.14",
|
||||
"unbuild": "^3.5.0"
|
||||
},
|
||||
"packageManager": "pnpm@8.3.1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user