@malloydata/malloy-explorer 0.0.275-dev250512182350 → 0.0.277-dev250515002611

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.
@@ -23,4 +23,4 @@ jobs:
23
23
  run: |
24
24
  npm run build
25
25
  npm run lint
26
- # npm run test
26
+ npm run test
@@ -7,15 +7,11 @@
7
7
  *
8
8
  */
9
9
 
10
- import * as process from 'process';
11
- import * as path from 'path';
12
- import {fileURLToPath} from 'url';
13
-
14
- const __filename = fileURLToPath(import.meta.url);
15
- const __dirname = path.dirname(__filename);
16
-
17
- export default {
18
- presets: [['@babel/preset-react', {runtime: 'automatic'}]],
10
+ module.exports = {
11
+ presets: [
12
+ ['@babel/preset-typescript'],
13
+ ['@babel/preset-react', {runtime: 'automatic'}],
14
+ ],
19
15
  plugins: [
20
16
  ['@babel/plugin-syntax-typescript', {isTSX: true}],
21
17
  [
@@ -33,4 +29,21 @@ export default {
33
29
  },
34
30
  ],
35
31
  ],
32
+ env: {
33
+ test: {
34
+ presets: ['@babel/preset-env'],
35
+ plugins: [
36
+ [
37
+ '@stylexjs/babel-plugin',
38
+ {
39
+ runtimeInjection: false,
40
+ unstable_moduleResolution: {
41
+ type: 'commonJS',
42
+ rootDir: __dirname,
43
+ },
44
+ },
45
+ ],
46
+ ],
47
+ },
48
+ },
36
49
  };