@movable/studio-framework-build-config 3.0.0-esmodules.1 → 3.0.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/studio-framework-build-config",
3
- "version": "3.0.0-esmodules.1",
3
+ "version": "3.0.0",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Movable Ink",
@@ -13,8 +13,8 @@
13
13
  "@babel/plugin-transform-runtime": "^7.13.15",
14
14
  "@babel/preset-env": "^7.20.2",
15
15
  "@babel/preset-react": "^7.14.5",
16
- "@movable/rollup-plugin-manifest-merger": "^2.43.0",
17
- "@movable/rollup-plugin-package-manifest-validator": "^3.0.0-esmodules.1",
16
+ "@movable/rollup-plugin-manifest-merger": "^3.0.0",
17
+ "@movable/rollup-plugin-package-manifest-validator": "^3.0.0",
18
18
  "@rollup/plugin-url": "^6.0.0",
19
19
  "esbuild": "^0.15.14",
20
20
  "glob": "^7.1.7",
@@ -45,5 +45,5 @@
45
45
  "volta": {
46
46
  "extends": "../../package.json"
47
47
  },
48
- "gitHead": "ea2420f0db42b95a3e1e877da7f2a0c6ac4b0240"
48
+ "gitHead": "2b832ab5a64597cffdc7f1225bbbdf53c6299994"
49
49
  }
package/src/apps/karma.js CHANGED
@@ -9,6 +9,7 @@ const isDocker = require('is-docker');
9
9
  const { manifestMerger } = require('@movable/rollup-plugin-manifest-merger');
10
10
  const babelrc = require('./babel');
11
11
 
12
+ const noSandbox = isDocker() || process.env.CI === 'true';
12
13
  const watchMode = process.env.KARMA_WATCH === 'true';
13
14
 
14
15
  module.exports = function karmaConfig(config) {
@@ -25,7 +26,7 @@ module.exports = function karmaConfig(config) {
25
26
  customLaunchers: {
26
27
  ChromeWithConfiguration: {
27
28
  base: 'ChromeHeadless',
28
- flags: isDocker() ? ['--no-sandbox'] : []
29
+ flags: noSandbox ? ['--no-sandbox'] : []
29
30
  }
30
31
  },
31
32