Version 11 Migration - lipemat/js-boilerplate GitHub Wiki
New Defaults For package.json Configuration
The following keys have new defaults and should be specified in the project's package.json before updating:
- brotliFiles: true
- cssTsFiles: true
- shortCssClasses: true
- jsPath: './js'
The previous defaults were:
- brotliFiles: false
- cssTsFiles: false
- shortCssClasses: false
- jsPath: './'
getPackageConfig Has Been Moved to the @lipemat/js-boilerplate-shared Package
- Any uses of the
helpers/package-config.tsexports must now use the@lipemat/js-boilerplate-sharedpackage. - The package configuration may now only be retrieved by calling the
getPackageConfigfunction exported byhelpers/package-config.ts.
Jest 30+ Now Required
The package contains Jest 30, and your local package must as well.
- The
jest.config.tsfile must be located in the/jestdirectory. - The
testscript has been removed from the package. Usejestdirectly. - The old 'tests/setup.js' and 'test/setup.ts' will no longer automatically be loaded in
setupFilesAfterEnv.- Use
jest/setup.tsinstead
- Use
CSS Class Names Helper Removed
- Any uses of the
helpers/css-clasnames.tsexports must now use the@lipemat/js-boilerplate-sharedpackage.