Mikarific / InfiniteCraftHelper

A script that adds various useful features to Infinite Craft.
MIT License
49 stars 15 forks source link

Unable to build #5

Open sk-zk opened 6 months ago

sk-zk commented 6 months ago

What's the intended way to build this? I'm getting the following error:

$ bunx gorilla --input ./script/index.ts --output ./dist/InfiniteCraftHelper.user.js --config ./gorilla.json
GreaseMonkey script includes keys that GreaseMonkey does not support:  license
rollup-plugin-typescript: Argument for '--moduleResolution' option must be: 'node', 'classic', 'node16', 'nodenext'.
rollup-plugin-typescript: Unknown compiler option 'allowImportingTsExtensions'.
rollup-plugin-typescript: Unknown compiler option 'verbatimModuleSyntax'.
134 |   var parsed = typescript.convertCompilerOptionsFromJson( options, process.cwd() );
135 |
136 |   if ( parsed.errors.length ) {
137 |           parsed.errors.forEach( function (error) { return console.error( ("rollup-plugin-typescript: " + (error.messageText)) ); } );
138 |
139 |           throw new Error( "rollup-plugin-typescript: Couldn't process compiler options" );
              ^
error: rollup-plugin-typescript: Couldn't process compiler options
      at typescript (/home/[name]/InfiniteCraftHelper/node_modules/rollup-plugin-typescript/dist/rollup-plugin-typescript.cjs.js:139:9)
      at /home/[name]/InfiniteCraftHelper/node_modules/gorilla-build/dist/cli.js:219:15