Skip to content

Commit

Permalink
repair 'yarn test'
Browse files Browse the repository at this point in the history
  • Loading branch information
judeallred committed Nov 21, 2023
1 parent 0d570dd commit 3db38d7
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 29 deletions.
15 changes: 14 additions & 1 deletion apps/sim-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@
"packages/utils"
],
"devDependencies": {
"@babel/core": "7.12.3",
"@babel/helper-environment-visitor": "^7.22.20",
"@babel/helper-string-parser": "^7.23.4",
"@babel/preset-env": "7.12.11",
"@babel/preset-react": "7.14.5",
"@babel/preset-typescript": "7.12.1",
"@jridgewell/gen-mapping": "^0.3.3",
"@types/classnames": "2.2.11",
"@types/dom-mediacapture-record": "1.0.7",
"@types/file-saver": "2.0.2",
Expand Down Expand Up @@ -93,11 +100,15 @@
"@types/uuid": "8.3.0",
"@typescript-eslint/eslint-plugin": "4.8.1",
"@typescript-eslint/parser": "4.15.2",
"babel-jest": "26.6.3",
"babel-loader": "8.2.1",
"babel-plugin-dynamic-import-node": "^2.3.3",
"caniuse-lite": "^1.0.30001563",
"cross-env": "7.0.2",
"eslint": "7.29.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-react-hooks": "4.2.0",
"fork-ts-checker-webpack-plugin": "6.0.3",
"husky": "^8.0.0",
"identity-obj-proxy": "3.0.0",
"jest": "26.6.3",
Expand All @@ -115,11 +126,13 @@
"ts-jest": "26.4.4",
"ts-node": "9.1.1",
"typescript": "4.1.3",
"webpack": "4.44.2",
"webpack-cli": "3.3.12",
"yarn-audit-fix": "^10.0.1",
"yarn-run-all": "3.1.1"
},
"resolutions": {
"@types/react": "16.9.56"
},
"dependencies": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ module.exports = {
["@babel/preset-env", { useBuiltIns: "usage", corejs: { version: "3.8" } }],
"@babel/preset-typescript",
],
plugins: [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-numeric-separator",
],
plugins: [],
};
9 changes: 2 additions & 7 deletions apps/sim-core/packages/core/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default defineConfig(({ mode }) => {
rollupOptions: {
input: {
main: "./src/index.html",
embed: "./src/embed.tsx"
embed: "./src/embed.tsx",
},
},
},
Expand All @@ -53,11 +53,6 @@ export default defineConfig(({ mode }) => {
plugins: () => [wasm(), topLevelAwait()],
format: "es",
},
plugins: [
wasm(),
topLevelAwait(),
react(),
monacoEditorPlugin({}),
],
plugins: [wasm(), topLevelAwait(), react(), monacoEditorPlugin({})],
};
});
3 changes: 1 addition & 2 deletions apps/sim-core/packages/engine-web/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ module.exports = {
["@babel/preset-env", { useBuiltIns: "usage", corejs: { version: 3 } }],
"@babel/preset-typescript",
],
plugins: [
],
plugins: [],
};
16 changes: 1 addition & 15 deletions apps/sim-core/packages/engine-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,5 @@
"main": "dist-node/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"devDependencies": {
"@babel/core": "7.12.3",
"@babel/helper-environment-visitor": "^7.22.20",
"@babel/helper-string-parser": "^7.23.4",
"@babel/preset-env": "7.12.11",
"@babel/preset-react": "7.14.5",
"@babel/preset-typescript": "7.12.1",
"@jridgewell/gen-mapping": "^0.3.3",
"babel-jest": "26.6.3",
"babel-loader": "8.2.1",
"babel-plugin-dynamic-import-node": "^2.3.3",
"fork-ts-checker-webpack-plugin": "6.0.3",
"webpack": "4.44.2",
"webpack-cli": "3.3.12"
}
"devDependencies": {}
}

0 comments on commit 3db38d7

Please sign in to comment.