Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
03306d8
nevermind maybe?
nickesc Feb 28, 2026
38b7ff5
add typescript support refs #21
nickesc Feb 28, 2026
1ed83ec
update source files to typescript files
nickesc Feb 28, 2026
8c33da7
install prompts types
nickesc Feb 28, 2026
893782c
update configs with types
nickesc Feb 28, 2026
259cd6d
updated logger to use typescript
nickesc Feb 28, 2026
2fb07b5
add types as ts types
nickesc Feb 28, 2026
b01b82a
add explicit fields for config objects
nickesc Feb 28, 2026
aaf1b99
fix modpack info type
nickesc Feb 28, 2026
807dd38
support typescript in modpack info prompting
nickesc Mar 1, 2026
7f3e49c
add type support to getLicenseList
nickesc Mar 1, 2026
d6e20dd
add type support for getLicenseText
nickesc Mar 1, 2026
8aa85cd
update prettierrc
nickesc Mar 1, 2026
c3b92bb
update license text logic
nickesc Mar 1, 2026
75f3eb0
add modrinth response types and update type index
nickesc Mar 2, 2026
e3ae26c
add type support for modrinth interactions
nickesc Mar 2, 2026
2c27233
move github license responses to own file
nickesc Mar 2, 2026
8a61d0c
add FileEntry and ContentDirectory types
nickesc Mar 2, 2026
df46836
fix import
nickesc Mar 2, 2026
d7d79e4
add type support for directory scanning
nickesc Mar 2, 2026
8e18285
update options interfaces to have all optional fields
nickesc Mar 2, 2026
615632d
fix logger options object
nickesc Mar 2, 2026
dfc675c
fix prompt version default
nickesc Mar 2, 2026
6063004
add type support to generateLicense
nickesc Mar 2, 2026
0904fe4
rename/combine fileentry with contentdirectory to contentfile
nickesc Mar 2, 2026
627fd5b
fix lockfile dep types
nickesc Mar 2, 2026
3cc96ce
update dependencies file to use new type
nickesc Mar 2, 2026
209731a
add type support to readme generation
nickesc Mar 2, 2026
c652c6f
add type support to license generation
nickesc Mar 2, 2026
b3d3ddd
fix Lockfile dependency types
nickesc Mar 2, 2026
083d2a0
update readme generation dep category var name
nickesc Mar 2, 2026
b90228d
add void returns for generateGitignoreRules and generateReadmeFiles
nickesc Mar 2, 2026
f99eee9
update DEPENDENCY_CATEGORIES and MODPACK_INFO... constant types
nickesc Mar 2, 2026
18cc53c
add jsonfile type
nickesc Mar 2, 2026
8e6493f
add type support for jsonfile generation
nickesc Mar 2, 2026
9dfa067
retype counts to be tied to dep categories
nickesc Mar 2, 2026
845130d
rename LockfileDependencyCategory to DependencyCategory
nickesc Mar 2, 2026
cfaef00
add explicit MinecraftVersionType type and swap constant to only order
nickesc Mar 2, 2026
944c4a9
add type support to generateLockfile
nickesc Mar 2, 2026
b951a84
updated contentfile types
nickesc Mar 2, 2026
824379c
update type on generateCategoryReadme category field
nickesc Mar 2, 2026
9a97aeb
add type support to createLockfile
nickesc Mar 2, 2026
10ab25d
fix type issue where category was read as just a string
nickesc Mar 2, 2026
388af8a
add type support to writeLockfile and printLockfileSummary
nickesc Mar 2, 2026
87ee79a
add type support to generateModpackFiles
nickesc Mar 2, 2026
41436ba
update mergeModpackInfo function to support typing properly
nickesc Mar 2, 2026
cdcdebb
update jsonfile to extend modpackinfo
nickesc Mar 3, 2026
be2bf92
update type imports to index
nickesc Mar 3, 2026
86662bb
correct exit and error cli types
nickesc Mar 3, 2026
102487e
make dependencies optional in jsonfile
nickesc Mar 3, 2026
da0ede8
add all info fields constant
nickesc Mar 3, 2026
3d8d8e3
convert modpackinfo to jsonfile wherever possible
nickesc Mar 3, 2026
3595832
ignore build folder
nickesc Mar 3, 2026
23d1d46
update build in package.json
nickesc Mar 3, 2026
0ffc0ee
install tsx for dev runs
nickesc Mar 3, 2026
f4d9b17
add prepare script
nickesc Mar 3, 2026
571deab
update tests to use tsx instead of node
nickesc Mar 3, 2026
cadd42a
updated typedoc config to point to real tsconfig
nickesc Mar 3, 2026
db4252c
add path to options type oops
nickesc Mar 3, 2026
5305fdb
add type support for base command
nickesc Mar 3, 2026
da745ca
add type support for noninteractive init
nickesc Mar 3, 2026
705f632
add test for incomplete json
nickesc Mar 3, 2026
9a49f5e
update error to include all missing fields in json generation
nickesc Mar 3, 2026
dee46da
add tests for missing fields and options
nickesc Mar 3, 2026
6fd0411
add FileOptionPrompts type for optional file prompts
nickesc Mar 3, 2026
64b1fca
add requirements for field names in prompts with types
nickesc Mar 3, 2026
296bba2
add type support for interactive init
nickesc Mar 3, 2026
ed22008
add type support to run
nickesc Mar 3, 2026
331a75b
update eslint config
nickesc Mar 3, 2026
3221f2d
rename Options file to optionsObject
nickesc Mar 3, 2026
3f17b53
rename optiondObject file to options
nickesc Mar 3, 2026
c14c1ba
rename modpack_info file to user_prompts
nickesc Mar 3, 2026
4d518ac
rename LockfileDependencyEntry to LockfileDependency
nickesc Mar 3, 2026
c5e69a1
rename VersionResponseItem to ContentVersion
nickesc Mar 3, 2026
4849f85
rename DependencyResponseItem to ContentVersionDependency
nickesc Mar 3, 2026
eecc465
add type exports refs #21
nickesc Mar 3, 2026
92e0aa3
remove jsdoc types
nickesc Mar 3, 2026
c0ac4c1
update package lock
nickesc Mar 3, 2026
571814f
fixed and renamed fileoptionprompt to OptionalFileOption
nickesc Mar 6, 2026
f6848c1
add content file jsdocs
nickesc Mar 6, 2026
c6b0319
add github response jsdocs
nickesc Mar 6, 2026
83e037e
add jsonfile jsdoc
nickesc Mar 6, 2026
946c1ff
update jsonfile description
nickesc Mar 6, 2026
4e68462
update and add lockfile jsdocs
nickesc Mar 6, 2026
920bd33
update modpackinfo jsdoc
nickesc Mar 6, 2026
79bfaf7
updated options jsdocs
nickesc Mar 6, 2026
a492117
update directory scanning jsdocs
nickesc Mar 6, 2026
705352d
update generate license jsdocs
nickesc Mar 6, 2026
d1b9eff
update generate readme jsdoc
nickesc Mar 6, 2026
49bd275
add explicit return type from getLicenseList
nickesc Mar 6, 2026
381f855
update get license text jsdoc
nickesc Mar 6, 2026
8102d16
updated modrinth interaction jsdocs
nickesc Mar 6, 2026
cb2bea4
renamed defaults param to options
nickesc Mar 6, 2026
fb78108
update user prompts jsdocs
nickesc Mar 6, 2026
bf65b3b
update logger jsdocs
nickesc Mar 6, 2026
dbb44f8
rename ContentVersionDependency to VersionDependency
nickesc Mar 6, 2026
727c1d9
add modloaders to workspace dictionary
nickesc Mar 6, 2026
67205ae
add jsdocs for modrinth responses
nickesc Mar 6, 2026
fc563c9
added path property to Options type
nickesc Mar 6, 2026
3e39677
removed types from getLockfile jsdoc
nickesc Mar 6, 2026
bfb4be1
removed extra properties from lockfile type
nickesc Mar 6, 2026
43f4867
add docs deploy action
nickesc Mar 6, 2026
4e2a9c0
fixed string template missing $
nickesc Mar 8, 2026
4049a98
made Jsonfile type less strict -- reads from file, could be incomplete
nickesc Mar 8, 2026
d49289c
guard for missing license in optional file prompts
nickesc Mar 8, 2026
c7f09f4
guard for missing fields in generateLicense
nickesc Mar 8, 2026
2e77805
guard against missing id and set correct default if missing
nickesc Mar 8, 2026
a4a9828
replace slugify with @sindersorhus/slugify
nickesc Mar 8, 2026
0fa5e86
remove docs folder from committed files
nickesc Mar 8, 2026
cb01a4a
add docs to gitignore
nickesc Mar 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Deploy Docs

on:
push:
branches:
- "main"
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "github-pages"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Build docs
run: npm run docs

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@ modpack.lock
modpack.json

coverage/

build/

docs/
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"objectWrap": "preserve",
"bracketSameLine": false,
"singleAttributePerLine": false,
"parser": "babel",
"parser": "typescript",
"overrides": [
{
"files": [
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"cSpell.words": [
"logm",
"modloader",
"modloaders",
"modpack",
"modrinth"
]
Expand Down
1 change: 0 additions & 1 deletion docs/.nojekyll

This file was deleted.

1 change: 0 additions & 1 deletion docs/assets/hierarchy.js

This file was deleted.

64 changes: 0 additions & 64 deletions docs/assets/highlight.css

This file was deleted.

18 changes: 0 additions & 18 deletions docs/assets/icons.js

This file was deleted.

Loading