Skip to content

Commit

Permalink
[TASK] Remove obsolete d3js
Browse files Browse the repository at this point in the history
With the move to native drag and drop in the tree component #103043,
d3js became obsolete and is now removed.

Resolves: #103087
Releases: main
Change-Id: I8592ca50550b242b9e452ef0a782cbf60e81a8e4
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82869
Tested-by: core-ci <[email protected]>
Tested-by: Benjamin Franzke <[email protected]>
Reviewed-by: Andreas Kienast <[email protected]>
Reviewed-by: Benjamin Franzke <[email protected]>
Tested-by: Andreas Kienast <[email protected]>
  • Loading branch information
benjaminkott authored and bnf committed Feb 9, 2024
1 parent 935bf4b commit 79227b8
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 134 deletions.
60 changes: 0 additions & 60 deletions Build/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -504,66 +504,6 @@ module.exports = function (grunt) {
format: 'esm',
entryFileNames: '[name].js'
},
'd3-selection': {
options: {
preserveModules: false,
plugins: () => [
{
name: 'terser',
renderChunk: code => require('terser').minify(code, grunt.config.get('terser.options'))
}
]
},
files: {
'<%= paths.core %>Public/JavaScript/Contrib/d3-selection.js': [
'node_modules/d3-selection/src/index.js'
]
}
},
'd3-dispatch': {
options: {
preserveModules: false,
plugins: () => [
{
name: 'terser',
renderChunk: code => require('terser').minify(code, grunt.config.get('terser.options'))
}
]
},
files: {
'<%= paths.core %>Public/JavaScript/Contrib/d3-dispatch.js': [
'node_modules/d3-dispatch/src/index.js'
]
}
},
'd3-drag': {
options: {
preserveModules: false,
plugins: () => [
{
name: 'terser',
renderChunk: code => require('terser').minify(code, grunt.config.get('terser.options'))
},
{
name: 'externals',
resolveId: (source) => {
if (source === 'd3-selection') {
return { id: 'd3-selection', external: true }
}
if (source === 'd3-dispatch') {
return { id: 'd3-dispatch', external: true }
}
return null
}
}
]
},
files: {
'<%= paths.core %>Public/JavaScript/Contrib/d3-drag.js': [
'node_modules/d3-drag/src/index.js'
]
}
},
'bootstrap': {
options: {
preserveModules: false,
Expand Down
55 changes: 0 additions & 55 deletions Build/package-lock.json

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

6 changes: 0 additions & 6 deletions Build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
"@types/autosize": "^4.0.1",
"@types/bootstrap": "^5.2.6",
"@types/css-tree": "^2.3.2",
"@types/d3-dispatch": "^3.0.2",
"@types/d3-drag": "^3.0.2",
"@types/d3-selection": "^3.0.4",
"@types/jquery": "2.0.47",
"@types/luxon": "^3.4.0",
"@types/mocha": "^10.0.6",
Expand Down Expand Up @@ -147,9 +144,6 @@
"chart.js": "^4.4.1",
"cropperjs": "^1.6.1",
"css-tree": "^2.3.1",
"d3-dispatch": "^3.0.1",
"d3-drag": "^3.0.0",
"d3-selection": "^3.0.0",
"flatpickr": "^4.6.13",
"interactjs": "^1.10.17",
"jquery": "^3.7.1",
Expand Down
3 changes: 0 additions & 3 deletions Build/web-test-runner.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ export default {
'bootstrap': './typo3/sysext/core/Resources/Public/JavaScript/Contrib/bootstrap.js',
'cropperjs': './typo3/sysext/core/Resources/Public/JavaScript/Contrib/cropperjs.js',
'css-tree': './typo3/sysext/core/Resources/Public/JavaScript/Contrib/css-tree.js',
'd3-dispatch': './typo3/sysext/core/Resources/Public/JavaScript/Contrib/d3-dispatch.js',
'd3-drag': './typo3/sysext/core/Resources/Public/JavaScript/Contrib/d3-drag.js',
'd3-selection': './typo3/sysext/core/Resources/Public/JavaScript/Contrib/d3-selection.js',
'flatpickr/': './typo3/sysext/core/Resources/Public/JavaScript/Contrib/flatpickr/',
'interactjs': './typo3/sysext/core/Resources/Public/JavaScript/Contrib/interact.js',
'jquery': './typo3/sysext/core/Resources/Public/JavaScript/Contrib/jquery.js',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ <h2 class="h3 card-title">
<td>Guzzle PHP</td>
<td><a href="http://guzzlephp.org" target="_blank" rel="noreferrer">guzzlephp.org</a></td>
</tr>
<tr>
<td>d3 Data Driven Documents</td>
<td><a href="https://d3js.org" target="_blank" rel="noreferrer">d3js.org</a></td>
</tr>
<tr>
<td>CKEditor</td>
<td><a href="https://ckeditor.com" target="_blank" rel="noreferrer">ckeditor.com</a></td>
Expand Down
3 changes: 0 additions & 3 deletions typo3/sysext/core/Configuration/JavaScriptModules.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
'bootstrap' => 'EXT:core/Resources/Public/JavaScript/Contrib/bootstrap.js',
'cropperjs' => 'EXT:core/Resources/Public/JavaScript/Contrib/cropperjs.js',
'css-tree' => 'EXT:core/Resources/Public/JavaScript/Contrib/css-tree.js',
'd3-dispatch' => 'EXT:core/Resources/Public/JavaScript/Contrib/d3-dispatch.js',
'd3-drag' => 'EXT:core/Resources/Public/JavaScript/Contrib/d3-drag.js',
'd3-selection' => 'EXT:core/Resources/Public/JavaScript/Contrib/d3-selection.js',
'flatpickr/' => 'EXT:core/Resources/Public/JavaScript/Contrib/flatpickr/',
'interactjs' => 'EXT:core/Resources/Public/JavaScript/Contrib/interact.js',
'jquery' => 'EXT:core/Resources/Public/JavaScript/Contrib/jquery.js',
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 79227b8

Please sign in to comment.