You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--configName The name of the config files which needs to be updated. Default: tsconfig.json
19
19
--rootConfigName The name of the root config file which needs to be updated. Default: tsconfig.json
20
+
--withoutRootConfig If you will not have a tsconfig in the root directory or don't want to update it. Default: false
20
21
--check Checks if updates would be necessary (without applying them)
21
22
--help Show help
22
23
--createTsConfig Create default TS configs for packages where the main entry in the package.json have a ts|tsx extension (Note: respects the --configName parameter)
23
24
--createPathMappings Create paths mappings under compilerOptions for a better IDE support. It respects the rootDir if no rootDir available it falls back to "src"
24
25
--cwd Set working directory. Default: /Users/john-doe/projects/my-project
25
26
--verbose Show verbose output. Default: false
26
27
--usecase Use a specific usecase configuration. Default: update-ts-references.yaml
27
-
28
+
--strict Expects always a tsconfig.json in the package directory. Default: false
28
29
```
29
30
30
31
or you add it as dev dependency and include it in the `postinstall` script in the package.json
@@ -97,6 +98,7 @@ Additional to that you can configure also the following options:
97
98
- configName (default: tsconfig.json)
98
99
- rootConfigName (default: tsconfig.json)
99
100
- createPathMappings (default: false)
101
+
- withoutRootConfig (default: false)
100
102
101
103
Example configuration see [here](./test-scenarios/ts-options-yaml/update-ts-references.yaml)
--configName The name of the config files which needs to be updated. Default: ${defaultOptions.configName}
24
26
--rootConfigName The name of the root config file which needs to be updated. Default: ${defaultOptions.configName}
27
+
--withoutRootConfig If you will not have a tsconfig in the root directory or don't want to update it. Default: ${defaultOptions.withoutRootConfig}
25
28
--check Checks if updates would be necessary (without applying them)
26
29
--help Show help
27
30
--createTsConfig Create default TS configs for packages where the main entry in the package.json have a ts|tsx extension (Note: respects the --configName parameter)
28
31
--createPathMappings Create paths mappings under compilerOptions for a better IDE support. It respects the rootDir if no rootDir available it falls back to "src"
29
32
--cwd Set working directory. Default: ${defaultOptions.cwd}
30
33
--verbose Show verbose output. Default: ${defaultOptions.verbose}
31
34
--usecase The use case for the script. Default: ${defaultOptions.usecase}
35
+
--strict Expects always a tsconfig.json in the package directory. Default: ${defaultOptions.strict}
0 commit comments