Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2021-10-06 01:26:16 +0300
committerGitHub <noreply@github.com>2021-10-06 01:26:16 +0300
commitf6ddf36e130fb6d87cebad351057643441c3d173 (patch)
treea081baf8152c56073e08dcc0167802e00e70d796 /tsconfig.json
parent8998ae37375d9dcec802abb06e3fd009f93496b3 (diff)
[Vue] migrate periods service to typescript & introduce frontend unit testing for vue & migrate periods.spec.js (#18092)
* initial periods service conversion * get period service migration to compile * getLastNRange was public static * fix an issue, switch angularjs tests to use chrome headless and hope it works * remove phantomjs requirement * get vue unit testing to work w/ jest (only option right now, the mocha plugin is not compatible w/ vue 3 and no one is working on making it compatible) * more test code * progress * more progress * more progress, single passing test * finish converting periods.spec.js and get test to pass * remove use of any in periods service and rebuilt corehome * add missing file headers * fix run-once.sh * debug travis build * remove debugging code & update submodule * update submodule * more travis debugging * install npm dependencies in "install-ubuntu.sh" * use latest node * try this again * typos * more debugging * more debugging * testing something * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * testing something else * revert travis.yml changes * update some expected screenshots * releasechecklisttest fix
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json13
1 files changed, 8 insertions, 5 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 6028a2d536..3b02e3aca1 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -12,9 +12,15 @@
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"baseUrl": ".",
+ "typeRoots": [
+ "./node_modules/@types",
+ "./plugins/CoreVue/types/index.d.ts"
+ ],
"types": [
"webpack-env",
- "angular"
+ "angular",
+ "jquery",
+ "jqueryui"
],
"paths": {
"@/*": [
@@ -29,12 +35,9 @@
]
},
"include": [
- "../../CoreVue/types/index.d.ts",
"src/**/*.ts",
"src/**/*.tsx",
- "src/**/*.vue",
- "tests/**/*.ts",
- "tests/**/*.tsx"
+ "src/**/*.vue"
],
"exclude": [
"node_modules"