@openedx/frontend-base 1.0.0-alpha.7 → 1.0.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,6 +78,7 @@ module.exports = tseslint.config(eslint.configs.recommended, ...tseslint.configs
78
78
  caughtErrors: 'none',
79
79
  }],
80
80
  '@typescript-eslint/no-empty-function': 'off',
81
+ '@typescript-eslint/prefer-nullish-coalescing': 'off',
81
82
  '@stylistic/semi': ['error', 'always', { omitLastInOneLineBlock: true, omitLastInOneLineClassBody: true }],
82
83
  '@stylistic/quotes': ['error', 'single', {
83
84
  avoidEscape: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openedx/frontend-base",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.9",
4
4
  "description": "Build tools, setup and config for frontend apps",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -7,6 +7,7 @@ module.exports = {
7
7
  '\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir/__mocks__/file.js',
8
8
  '\\.(css|scss)$': require.resolve('identity-obj-proxy'),
9
9
  'site.config': '<rootDir>/site.config.test.tsx',
10
+ '^@src/(.*)$': '<rootDir>/src/$1',
10
11
  },
11
12
  testEnvironment: 'jsdom',
12
13
  testEnvironmentOptions: {
@@ -7,6 +7,7 @@ module.exports = {
7
7
  '\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/__mocks__/file.js',
8
8
  '\\.(css|scss)$': require.resolve('identity-obj-proxy'),
9
9
  'site.config': '<rootDir>/site.config.test.tsx',
10
+ '^@src/(.*)$': '<rootDir>/src/$1',
10
11
  },
11
12
  testEnvironment: 'jsdom',
12
13
  testEnvironmentOptions: {
@@ -78,6 +78,7 @@ module.exports = tseslint.config(eslint.configs.recommended, ...tseslint.configs
78
78
  caughtErrors: 'none',
79
79
  }],
80
80
  '@typescript-eslint/no-empty-function': 'off',
81
+ '@typescript-eslint/prefer-nullish-coalescing': 'off',
81
82
  '@stylistic/semi': ['error', 'always', { omitLastInOneLineBlock: true, omitLastInOneLineClassBody: true }],
82
83
  '@stylistic/quotes': ['error', 'single', {
83
84
  avoidEscape: true,