Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IntelliJ and VSCode runners for Babel #5756

Merged
merged 6 commits into from Nov 23, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 5 additions & 15 deletions .vscode/launch.json
Expand Up @@ -29,16 +29,12 @@
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"cwd": "${workspaceRoot}/packages/firestore",
"args": [
"--require", "ts-node/register/type-check",
"--require", "babel-register.js",
"--require", "index.node.ts",
"--timeout", "5000",
"test/{,!(browser|integration)/**/}*.test.ts",
"--exit"
],
"env": {
"TS_NODE_CACHE": "NO",
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}"
},
"sourceMaps": true,
"protocol": "inspector"
},
Expand All @@ -49,17 +45,15 @@
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"cwd": "${workspaceRoot}/packages/firestore",
"args": [
"--require", "ts-node/register/type-check",
"--require", "babel-register.js",
"--require", "index.node.ts",
"--require", "test/util/node_persistence.ts",
"--timeout", "5000",
"test/{,!(browser|integration)/**/}*.test.ts",
"--exit"
],
"env": {
"USE_MOCK_PERSISTENCE": "YES",
"TS_NODE_CACHE": "NO",
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}"
"USE_MOCK_PERSISTENCE": "YES"
},
"sourceMaps": true,
"protocol": "inspector"
Expand All @@ -71,15 +65,13 @@
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"cwd": "${workspaceRoot}/packages/firestore",
"args": [
"--require", "ts-node/register/type-check",
"--require", "babel-register.jsk",
schmidt-sebastian marked this conversation as resolved.
Show resolved Hide resolved
"--require", "index.node.ts",
"--timeout", "5000",
"test/{,!(browser|unit)/**/}*.test.ts",
"--exit"
],
"env": {
"TS_NODE_CACHE": "NO",
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}",
"FIRESTORE_EMULATOR_PORT" : "8080",
"FIRESTORE_EMULATOR_PROJECT_ID" : "test-emulator"
},
Expand All @@ -93,7 +85,7 @@
"program": "${workspaceRoot}/node_modules/.bin/_mocha",
"cwd": "${workspaceRoot}/packages/firestore",
"args": [
"--require", "ts-node/register/type-check",
"--require", "babel-register.js",
"--require", "index.node.ts",
"--require", "test/util/node_persistence.ts",
"--timeout", "5000",
Expand All @@ -102,8 +94,6 @@
],
"env": {
"USE_MOCK_PERSISTENCE": "YES",
"TS_NODE_CACHE": "NO",
"TS_NODE_COMPILER_OPTIONS" : "{\"module\":\"commonjs\"}",
"FIRESTORE_EMULATOR_PORT" : "8080",
"FIRESTORE_EMULATOR_PROJECT_ID" : "test-emulator"
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions packages/firestore/.idea/runConfigurations/Unit_Tests.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/firestore/babel.config.json
Expand Up @@ -4,4 +4,4 @@
["@babel/preset-env", {"targets": {"node": "10"}, "modules": "cjs"}]
],
"plugins": ["babel-plugin-transform-import-meta"]
}
}