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:

  1. brotliFiles: true
  2. cssTsFiles: true
  3. shortCssClasses: true
  4. jsPath: './js'

The previous defaults were:

  1. brotliFiles: false
  2. cssTsFiles: false
  3. shortCssClasses: false
  4. jsPath: './'

getPackageConfig Has Been Moved to the @lipemat/js-boilerplate-shared Package

  • Any uses of the helpers/package-config.ts exports must now use the @lipemat/js-boilerplate-shared package.
  • The package configuration may now only be retrieved by calling the getPackageConfig function exported by helpers/package-config.ts.

Jest 30+ Now Required

The package contains Jest 30, and your local package must as well.

  1. The jest.config.ts file must be located in the /jest directory.
  2. The test script has been removed from the package. Use jest directly.
  3. The old 'tests/setup.js' and 'test/setup.ts' will no longer automatically be loaded in setupFilesAfterEnv.
    1. Use jest/setup.ts instead

CSS Class Names Helper Removed

  • Any uses of the helpers/css-clasnames.ts exports must now use the @lipemat/js-boilerplate-shared package.