[BUGFIX] Remove broken types defintion 08/50408/6
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 28 Oct 2016 09:07:33 +0000 (11:07 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 28 Oct 2016 11:00:56 +0000 (13:00 +0200)
The type defintions of d3.js are broken and removed until we need it and
it is fixed by the authors.
Also the path mapping changed to work setup indepenent.

Resolves: #78480
Related: #78430
Releases: master
Change-Id: I0fad812538cb1e028b8267963f4fd04dec7b4d5a
Reviewed-on: https://review.typo3.org/50408
Reviewed-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Tested-by: Stefan Bürk <stefan.buerk@impactmedia.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Build/package.json
Build/tsconfig.json

index b797502..30e6dca 100644 (file)
@@ -10,7 +10,6 @@
   "devDependencies": {
     "@types/jasmine": "^2.5.35",
     "@types/bootstrap": "*",
-    "@types/d3": "*",
     "@types/jquery": "*",
     "@types/jqueryui": "*",
     "@types/nprogress": "*",
index b6d9f01..fc881d3 100644 (file)
         "baseUrl": ".",
         "paths": {
             "TYPO3/CMS/About/*": [
-                "../../typo3/sysext/about/Resources/Public/JavaScript/"
+                "../typo3/sysext/about/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Backend/*": [
-                "../../typo3/sysext/backend/Resources/Public/JavaScript/"
+                "../typo3/sysext/backend/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Belog/*": [
-                "../../typo3/sysext/belog/Resources/Public/JavaScript/"
+                "../typo3/sysext/belog/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Beuser/*": [
-                "../../typo3/sysext/beuser/Resources/Public/JavaScript/"
+                "../typo3/sysext/beuser/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Compatibility7/*": [
-                "../../typo3/sysext/compatibility7/Resources/Public/JavaScript/"
+                "../typo3/sysext/compatibility7/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/ContextHelp/*": [
-                "../../typo3/sysext/context_help/Resources/Public/JavaScript/"
+                "../typo3/sysext/context_help/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Core/*": [
-                "../../typo3/sysext/core/Resources/Public/JavaScript/"
+                "../typo3/sysext/core/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Cshmanuel/*": [
-                "../../typo3/sysext/cshmanuel/Resources/Public/JavaScript/"
+                "../typo3/sysext/cshmanuel/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/CssStyledContent/*": [
-                "../../typo3/sysext/css_styled_content/Resources/Public/JavaScript/"
+                "../typo3/sysext/css_styled_content/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Documentation/*": [
-                "../../typo3/sysext/documentation/Resources/Public/JavaScript/"
+                "../typo3/sysext/documentation/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Extbase/*": [
-                "../../typo3/sysext/extbase/Resources/Public/JavaScript/"
+                "../typo3/sysext/extbase/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Extensionmanager/*": [
-                "../../typo3/sysext/extensionmanager/Resources/Public/JavaScript/"
+                "../typo3/sysext/extensionmanager/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Feedit/*": [
-                "../../typo3/sysext/feedit/Resources/Public/JavaScript/"
+                "../typo3/sysext/feedit/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Felogin/*": [
-                "../../typo3/sysext/felogin/Resources/Public/JavaScript/"
+                "../typo3/sysext/felogin/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Filelist/*": [
-                "../../typo3/sysext/filelist/Resources/Public/JavaScript/"
+                "../typo3/sysext/filelist/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Filemetadata/*": [
-                "../../typo3/sysext/filemetadata/Resources/Public/JavaScript/"
+                "../typo3/sysext/filemetadata/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Fluid/*": [
-                "../../typo3/sysext/fluid/Resources/Public/JavaScript/"
+                "../typo3/sysext/fluid/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/FluidStyledContent/*": [
-                "../../typo3/sysext/fluid_styled_content/Resources/Public/JavaScript/"
+                "../typo3/sysext/fluid_styled_content/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Form/*": [
-                "../../typo3/sysext/form/Resources/Public/JavaScript/"
+                "../typo3/sysext/form/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Frontend/*": [
-                "../../typo3/sysext/frontend/Resources/Public/JavaScript/"
+                "../typo3/sysext/frontend/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Func/*": [
-                "../../typo3/sysext/func/Resources/Public/JavaScript/"
+                "../typo3/sysext/func/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Impexp/*": [
-                "../../typo3/sysext/impexp/Resources/Public/JavaScript/"
+                "../typo3/sysext/impexp/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/IndexedSearch/*": [
-                "../../typo3/sysext/indexed_search/Resources/Public/JavaScript/"
+                "../typo3/sysext/indexed_search/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Info/*": [
-                "../../typo3/sysext/info/Resources/Public/JavaScript/"
+                "../typo3/sysext/info/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/InfoPagetsconfig/*": [
-                "../../typo3/sysext/info_pagetsconfig/Resources/Public/JavaScript/"
+                "../typo3/sysext/info_pagetsconfig/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Install/*": [
-                "../../typo3/sysext/install/Resources/Public/JavaScript/"
+                "../typo3/sysext/install/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Lang/*": [
-                "../../typo3/sysext/lang/Resources/Public/JavaScript/"
+                "../typo3/sysext/lang/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Linkvalidator/*": [
-                "../../typo3/sysext/linkvalidator/Resources/Public/JavaScript/"
+                "../typo3/sysext/linkvalidator/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Lowlevel/*": [
-                "../../typo3/sysext/lowlevel/Resources/Public/JavaScript/"
+                "../typo3/sysext/lowlevel/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Opendocs/*": [
-                "../../typo3/sysext/opendocs/Resources/Public/JavaScript/"
+                "../typo3/sysext/opendocs/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Recordlist/*": [
-                "../../typo3/sysext/recordlist/Resources/Public/JavaScript/"
+                "../typo3/sysext/recordlist/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Recycler/*": [
-                "../../typo3/sysext/recycler/Resources/Public/JavaScript/"
+                "../typo3/sysext/recycler/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Reports/*": [
-                "../../typo3/sysext/reports/Resources/Public/JavaScript/"
+                "../typo3/sysext/reports/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Rsaauth/*": [
-                "../../typo3/sysext/rsaauth/Resources/Public/JavaScript/"
+                "../typo3/sysext/rsaauth/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Rtehtmlarea/*": [
-                "../../typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/"
+                "../typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Saltedpasswords/*": [
-                "../../typo3/sysext/saltedpassword/Resources/Public/JavaScript/"
+                "../typo3/sysext/saltedpassword/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Scheduler/*": [
-                "../../typo3/sysext/scheduler/Resources/Public/JavaScript/"
+                "../typo3/sysext/scheduler/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Setup/*": [
-                "../../typo3/sysext/setup/Resources/Public/JavaScript/"
+                "../typo3/sysext/setup/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Sv/*": [
-                "../../typo3/sysext/sv/Resources/Public/JavaScript/"
+                "../typo3/sysext/sv/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/SysAction/*": [
-                "../../typo3/sysext/sys_action/Resources/Public/JavaScript/"
+                "../typo3/sysext/sys_action/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/SysNote/*": [
-                "../../typo3/sysext/sys:note/Resources/Public/JavaScript/"
+                "../typo3/sysext/sys:note/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/T3editor/*": [
-                "../../typo3/sysext/t3editor/Resources/Public/JavaScript/"
+                "../typo3/sysext/t3editor/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/T3skin/*": [
-                "../../typo3/sysext/t3skin/Resources/Public/JavaScript/"
+                "../typo3/sysext/t3skin/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Taskcenter/*": [
-                "../../typo3/sysext/taskcenter/Resources/Public/JavaScript/"
+                "../typo3/sysext/taskcenter/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Tstemplate/*": [
-                "../../typo3/sysext/tetemplate/Resources/Public/JavaScript/"
+                "../typo3/sysext/tetemplate/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Version/*": [
-                "../../typo3/sysext/version/Resources/Public/JavaScript/"
+                "../typo3/sysext/version/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Viewpage/*": [
-                "../../typo3/sysext/viewpage/Resources/Public/JavaScript/"
+                "../typo3/sysext/viewpage/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/WizardCrpages/*": [
-                "../../typo3/sysext/wizard_crpages/Resources/Public/JavaScript/"
+                "../typo3/sysext/wizard_crpages/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/WizardSortpages/*": [
-                "../../typo3/sysext/wizard_sortpages/Resources/Public/JavaScript/"
+                "../typo3/sysext/wizard_sortpages/Resources/Public/JavaScript/"
             ],
             "TYPO3/CMS/Workspaces/*": [
-                "../../typo3/sysext/workspaces/Resources/Public/JavaScript/"
+                "../typo3/sysext/workspaces/Resources/Public/JavaScript/"
             ]
         },
-        "rootDir": "../../",
-        "outDir": "./JavaScript/"
+        "outDir": "./JavaScript/",
+        "typeRoots": [
+            "node_modules/@types",
+            "typings/no-def"
+        ]
     },
     "filesGlob": [
-        "typings/no-def/index.d.ts",
-        "../../typo3/sysext/*/Resources/Private/TypeScript/**/*.ts",
-        "!node_modules/**"
+        "../typo3/sysext/*/Resources/Private/TypeScript/**/*.ts"
     ],
     "files": [
-        "typings/no-def/index.d.ts",
-        "../../typo3/sysext/backend/Resources/Private/TypeScript/ColorPicker.ts"
+        "../typo3/sysext/backend/Resources/Private/TypeScript/ColorPicker.ts"
     ]
-}
+}
\ No newline at end of file