Choose the version you have before upgrading, and follow the guide to the bottom from there.
You should take care of any deprecation notices and fix any compilation errors. You must also update your environments to use Node 16 or greater
If you have any test files, you should run the command git mv test/*.spec.ts test/spec/
If you are using the logger file, you have some options:
- Refuse This Change - Restore the
src/logger.ts
file and deletesrc/log.ts
. You will also have to update any references and tests - Use the new logger without updating references - Rename
src/log.ts
tosrc.logger.ts
, and changeexport const log
toexport const logger
- Upgrade - If you would like to use the new logger, and update your application to use it, you will have to replace all references to
import { logger } from './logger';
toimport { log } from './log';
.