Skip to content

Commit

Permalink
change to typescript without webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-dulaimi committed Mar 21, 2022
1 parent 6025c01 commit da1b1cc
Show file tree
Hide file tree
Showing 14 changed files with 1,770 additions and 2,651 deletions.
1 change: 1 addition & 0 deletions .vscode/breakpoints/test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"location":"/home/omar/Desktop/sample.js","range":[{"line":3,"character":0},{"line":3,"character":0}],"enabled":true},{"location":"/home/omar/Desktop/sample.js","range":[{"line":4,"character":0},{"line":4,"character":0}],"enabled":true},{"location":"/home/omar/Desktop/sample.js","range":[{"line":5,"character":0},{"line":5,"character":0}],"enabled":true}]
8 changes: 5 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": ["dbaeumer.vscode-eslint", "amodio.tsl-problem-matcher"]
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
7 changes: 3 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/dist/**/*.js"
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
},
Expand All @@ -26,10 +26,9 @@
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js",
"${workspaceFolder}/dist/**/*.js"
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "tasks: watch-tests"
"preLaunchTask": "${defaultBuildTask}"
}
]
}
6 changes: 2 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false, // set this to true to hide the "out" folder with the compiled JS files
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
"out": false // set this to true to hide the "out" folder with the compiled JS files
},
"search.exclude": {
"out": true, // set this to false to include "out" folder in search results
"dist": true // set this to false to include "dist" folder in search results
"out": true // set this to false to include "out" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
Expand Down
29 changes: 3 additions & 26 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,15 @@
{
"type": "npm",
"script": "watch",
"problemMatcher": [
"$ts-webpack-watch",
"$tslint-webpack-watch"
],
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch-tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch-tests",
"dependsOn": [
"npm: watch",
"npm: watch-tests"
],
"problemMatcher": []
}
]
}
}
1 change: 0 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.vscode/**
.vscode-test/**
out/**
node_modules/**
src/**
.gitignore
Expand Down
Loading

0 comments on commit da1b1cc

Please sign in to comment.