Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 4 additions & 3 deletions DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<summary><h3 style="display: inline-block">Tooling requirements</h3></summary>

The basic use requirements:
* [NodeJS version 18+](https://nodejs.org/)
* [NodeJS version 20+](https://nodejs.org/)
* NPM
> There appear to be dependency mapping issues with `Yarn` v1.x.x lock files, `Typescript` and `webpack`, and specific dependencies
> using ES modules. If you do decide to use [Yarn](https://yarnpkg.com) use the latest version.
Expand Down Expand Up @@ -282,7 +282,7 @@ $ weldable -h
| -s, --stats | Stats output level for NodeJS API | string | errors-only, errors-warnings, minimal, none, normal, verbose, detailed, summary | normal |
| --standalone | Standalone webpack configuration. Output weldable webpack config functions and update package.json so you can do whatever you want. | boolean | | |
| --statsFile | Output JSON webpack bundle stats for use with "webpack-bundle-analyzer". Use the default or enter a relative path and filename | string | | ./stats.json |
| --tsconfig | Generate a base tsconfig from one of the available NPM @tsconfig/[base]. An existing tsconfig.json will override this option, see "tsconfig-opt". This option can be run without running webpack. | string | create-react-app, node18, node20, react-native, recommended, strictest | |
| --tsconfig | Generate a base tsconfig from one of the available NPM @tsconfig/[base]. An existing tsconfig.json will override this option, see "tsconfig-opt". This option can be run without running webpack. | string | create-react-app, node20, node22, node24, react-native, recommended, strictest | |
| --tsconfig-opt | Regenerate or merge a tsconfig. Useful if a tsconfig already exists. Requires the use of "tsconfig" option | string | merge, regen | regen |
| -x, --extend | Extend, or override, the default configs with your own relative path webpack configs using webpack merge. Configuration can be a callback that returns a webpack config object, available dotenv parameters are returned as the callback parameter. | string \| Array\<string\> | | |
| -h, --help | | boolean | | |
Expand Down Expand Up @@ -381,8 +381,9 @@ const aPackage = packages.[PACKAGE_NAME];
| @babel/preset-env | babelPresetEnv, babelPresetEnvResolve |
| @babel/preset-react | babelPresetReact, babelPresetReactResolve |
| @tsconfig/create-react-app | N/A |
| @tsconfig/node18 | N/A |
| @tsconfig/node20 | N/A |
| @tsconfig/node22 | N/A |
| @tsconfig/node24 | N/A |
| @tsconfig/react-native | N/A |
| @tsconfig/recommended | N/A |
| @tsconfig/strictest | N/A |
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ For in-depth use of `weldable` see our [DOCS](./DOCS.md).
[boolean] [default: false]
--statsFile Output JSON webpack bundle stats. Use the default, or a relative project path and filename [./stats.json] [string]
--tsconfig Generate a base tsconfig from NPM @tsconfig/[base]. An existing tsconfig.json will override this option, see tsconfig-opt. This option can
be run without running webpack. [string] [choices: "", "create-react-app", "node18", "node20", "react-native", "recommended", "strictest"]
be run without running webpack.
[string] [choices: "", "create-react-app", "node20", "node22", "node24", "react-native", "recommended", "strictest"]
--tsconfig-opt Regenerate or merge a tsconfig [string] [choices: "merge", "regen"]
-x, --extend Extend, or override, the default configs with your own relative path webpack configs using webpack merge. [array]
-h, --help Show help [boolean]
Expand Down
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const {
describe:
'Generate a base tsconfig from NPM @tsconfig/[base]. An existing tsconfig.json will override this option, see tsconfig-opt. This option can be run without running webpack.',
type: 'string',
choices: ['', 'create-react-app', 'node18', 'node20', 'react-native', 'recommended', 'strictest']
choices: ['', 'create-react-app', 'node20', 'node22', 'node24', 'react-native', 'recommended', 'strictest']
})
.option('tsconfig-opt', {
describe: 'Regenerate or merge a tsconfig',
Expand Down
27 changes: 17 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@
"@babel/preset-env": "7.29.2",
"@babel/preset-react": "7.28.5",
"@tsconfig/create-react-app": "2.0.8",
"@tsconfig/node18": "18.2.4",
"@tsconfig/node20": "20.1.6",
"@tsconfig/node20": "20.1.9",
"@tsconfig/node22": "22.0.5",
"@tsconfig/node24": "24.0.4",
"@tsconfig/react-native": "3.0.7",
"@tsconfig/recommended": "1.0.11",
"@tsconfig/strictest": "2.0.6",
Expand Down
Loading