richie-education 3.5.2-dev19 → 3.5.2-dev21

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.
Files changed (2) hide show
  1. package/babel.config.js +2 -1
  2. package/package.json +2 -2
package/babel.config.js CHANGED
@@ -10,7 +10,8 @@ module.exports = {
10
10
  ],
11
11
  overrides: [
12
12
  {
13
- exclude: /node_modules/,
13
+ // Keep compiling richie-education's own messages even when it's used as a dependency (its code then lives under node_modules).
14
+ exclude: /node_modules(?!\/richie-education)/,
14
15
  plugins: [
15
16
  [
16
17
  'formatjs',
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "richie-education",
3
- "version": "3.5.2-dev19",
3
+ "version": "3.5.2-dev21",
4
4
  "description": "A CMS to build learning portals for Open Education",
5
5
  "main": "sandbox/manage.py",
6
6
  "scripts": {
7
7
  "build-ts": "tsc --noEmit && webpack",
8
- "build-ts-production": "tsc --noEmit && webpack --mode=production",
8
+ "build-ts-production": "tsc --noEmit && NODE_ENV=production webpack --mode=production",
9
9
  "extract-translations": "formatjs extract './**/*.ts*' --ignore ./node_modules --ignore './**/*.d.ts' --out-file './i18n/frontend.json' --id-interpolation-pattern '[sha512:contenthash:base64:6]' --format crowdin",
10
10
  "compile-translations": "./i18n/compile-translations.js",
11
11
  "lint": "eslint . 'js/**/*.ts?(x)'",