Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit 99281de

Browse files
committed
chore: Drop source-map-support dep and replace with Node built-in option --enable-source-maps
1 parent 45c1f49 commit 99281de

File tree

4 files changed

+28
-29
lines changed

4 files changed

+28
-29
lines changed

.vscode/launch.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"type": "node",
9-
"request": "launch",
10-
"name": "Tests",
11-
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
12-
"preLaunchTask": "npm: build",
13-
"args": [
14-
"--require",
15-
"source-map-support/register",
16-
"--timeout",
17-
"999999",
18-
"--colors",
19-
"${workspaceFolder}/build/test/"
20-
],
21-
"console": "internalConsole",
22-
"internalConsoleOptions": "neverOpen",
23-
"protocol": "inspector"
24-
}
25-
]
26-
}
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Tests",
11+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
12+
"preLaunchTask": "npm: build",
13+
"args": [
14+
"--require",
15+
"--enable-source-maps",
16+
"--timeout",
17+
"999999",
18+
"--colors",
19+
"${workspaceFolder}/build/test/"
20+
],
21+
"console": "internalConsole",
22+
"internalConsoleOptions": "neverOpen",
23+
"protocol": "inspector"
24+
}
25+
]
26+
}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"mocha": "^9.2.0",
3737
"prettier": "^2.5.1",
3838
"rimraf": "^3.0.2",
39-
"source-map-support": "^0.5.21",
4039
"typescript": "^4.5.5"
4140
},
4241
"repository": {

packages/debounce-watch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"url": "git+https://github.com/bscotch/tools.git"
4343
},
4444
"scripts": {
45-
"test": "mocha --inspect --require source-map-support/register --bail ./app/test/"
45+
"test": "mocha --enable-source-maps --bail ./app/test/"
4646
},
4747
"type": "commonjs",
4848
"version": "0.5.0"

packages/utility/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"url": "git+ssh://[email protected]/bscotch/tools.git"
3636
},
3737
"scripts": {
38-
"test": "mocha --inspect --node-option=enable-source-maps=true --bail app/test"
38+
"test": "mocha --enable-source-maps --bail app/test"
3939
},
4040
"version": "3.1.0"
4141
}

0 commit comments

Comments
 (0)