The constants.ts file has grown quite a bit, and can probably be broken up into separate files so specific values are easier to locate. These could be promoted from the modules directory to a constants folder. Some ideas might be:
There might be some leftover that don't obviously fit into a grouping, so I'm open to other grouping suggestions or even leaving a general constants.ts file for the misc. ones
The
constants.ts
file has grown quite a bit, and can probably be broken up into separate files so specific values are easier to locate. These could be promoted from themodules
directory to aconstants
folder. Some ideas might be:output-constants.ts
-[ERROR]
,[WARN]
,[and-cli]
,(alias)
path-constants.ts
:bin
,obj
,node_modules
,dist
file-constants.ts
:package.json
,and-cli.js
error-constants.ts
:ERROR_READING_CSPROJ_FILES
,ERROR_INVALID_VERSION_STRING
,UNKNOWN_COMMAND
There might be some leftover that don't obviously fit into a grouping, so I'm open to other grouping suggestions or even leaving a general
constants.ts
file for the misc. ones