diff --git a/packages/parser/package.json b/packages/parser/package.json index fcafc4e..ff87d3b 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -1,7 +1,7 @@ { "name": "@packwizjs/parser", - "module": "src/parser.ts", - "version": "1.0.3", + "module": "src/index.ts", + "version": "1.0.4", "type": "module", "description": "A simple library for parsing Packwiz TOML files", "author": { @@ -33,7 +33,7 @@ }, "exports": { ".": { - "import": "./src/parser.ts" + "import": "./src/index.ts" } } } diff --git a/packages/parser/src/index.ts b/packages/parser/src/index.ts new file mode 100644 index 0000000..5fe1463 --- /dev/null +++ b/packages/parser/src/index.ts @@ -0,0 +1,17 @@ +export { Resource } from "./resource"; +export { + parsePackwiz, + Packwiz, + type PackwizIndex, + type PackwizVersions, + type Metafile, + IndexFileEntry, +} from "./parser"; +export { + UrlProvider, + ModrinthProvider, + GitHubProvider, + CurseForgeProvider, +} from "./provider"; +export { Side, isValidSide } from "./enums/side"; +export { HashFormat, isValidHashFormat } from "./enums/hash-format";