use workflow to manage licence/readme files
/ release (push) Failing after 2m44s

This commit is contained in:
2025-12-22 04:22:28 -08:00
parent ef7350cdd9
commit 2db4a7cae5
5 changed files with 59 additions and 57 deletions
-54
View File
@@ -1,54 +0,0 @@
# Packwiz Extras
This is a small helper program/library to implement some missing features from
[packwiz](https://github.com/packwiz/packwiz).
The CLI is licenced under GPLv3 or later.
The library is licenced under LGPLv3 or later.
## CLI Usage
```
Usage: packwiz-extras [options] [command]
extra utilities for packwiz
Options:
--pack-file <string> The modpack file to use (default: "pack.toml")
-h, --help display help for command
Commands:
curseforge|cf [options] manage curseforge files
modrinth|mr [options] manage modrinth files
help [command] display help for command
```
curseforge commands:
```
Usage: packwiz-extras curseforge|cf [options] [command]
manage curseforge files
Options:
--api-key <string> Your curseforge api key. This is required by curseforge to access their API. Can also be provided via environment variable or .env file
as CF_API_KEY
-h, --help display help for command
Commands:
detect detect and replace files availible on curseforge
urls cache curseforge download urls to speed up packwiz-installer
help [command] display help for command
```
modrinth commands:
```
Usage: packwiz-extras modrinth|mr [options] [command]
manage modrinth files
Options:
--api-key <string> Your modrinth api key, optional.
-h, --help display help for command
Commands:
detect detect and replace files availible on modrinth
merge detect curseforge metafiles which are also availible on modrinth and merge their metadata
help [command] display help for command
```
+2
View File
@@ -24,6 +24,8 @@ jobs:
- run: npm config set -- '//gitea.sugoidogo.com/api/packages/sugoidogo/npm/:_authToken' "$PACKAGES_KEY" - run: npm config set -- '//gitea.sugoidogo.com/api/packages/sugoidogo/npm/:_authToken' "$PACKAGES_KEY"
env: env:
PACKAGES_KEY: ${{ secrets.PACKAGES_KEY }} PACKAGES_KEY: ${{ secrets.PACKAGES_KEY }}
- run: mv npm-readme.md readme.md
- run: mv src/lib/licence.md licence.md
- run: npm publish - run: npm publish
- run: npm run docs - run: npm run docs
- run: npx wrangler deploy - run: npx wrangler deploy
+53 -2
View File
@@ -1,3 +1,54 @@
Extra functions for managing Packwiz modpacks in JS/TS # Packwiz Extras
Documentation is availible at https://packwiz.sugoidogo.com This is a small helper program/library to implement some missing features from
[packwiz](https://github.com/packwiz/packwiz).
The CLI is licenced under GPLv3 or later.
The library is licenced under LGPLv3 or later.
## CLI Usage
```
Usage: packwiz-extras [options] [command]
extra utilities for packwiz
Options:
--pack-file <string> The modpack file to use (default: "pack.toml")
-h, --help display help for command
Commands:
curseforge|cf [options] manage curseforge files
modrinth|mr [options] manage modrinth files
help [command] display help for command
```
curseforge commands:
```
Usage: packwiz-extras curseforge|cf [options] [command]
manage curseforge files
Options:
--api-key <string> Your curseforge api key. This is required by curseforge to access their API. Can also be provided via environment variable or .env file
as CF_API_KEY
-h, --help display help for command
Commands:
detect detect and replace files availible on curseforge
urls cache curseforge download urls to speed up packwiz-installer
help [command] display help for command
```
modrinth commands:
```
Usage: packwiz-extras modrinth|mr [options] [command]
manage modrinth files
Options:
--api-key <string> Your modrinth api key, optional.
-h, --help display help for command
Commands:
detect detect and replace files availible on modrinth
merge detect curseforge metafiles which are also availible on modrinth and merge their metadata
help [command] display help for command
```
+3
View File
@@ -0,0 +1,3 @@
Extra functions for managing Packwiz modpacks in JS/TS
Documentation is availible at https://packwiz.sugoidogo.com
+1 -1
View File
@@ -20,7 +20,7 @@
"types": "./dist/packwiz.d.ts", "types": "./dist/packwiz.d.ts",
"files": [ "files": [
"dist", "dist",
"src" "src/lib"
], ],
"scripts": { "scripts": {
"test": "node scripts/test.ts", "test": "node scripts/test.ts",