Skip to content

Commit

Permalink
[TASK] Update build toolchain
Browse files Browse the repository at this point in the history
This patch updates some tools used for our assets generation toolchain.

Most notable changes:

- Since typescript-eslint has been updated to a new major version, its
  configuration changes slightly
- TypeScript is updated to 3.9

Executed commands:

  yarn add --dev \
      "@typescript-eslint/eslint-plugin"@^3.8.0 \
      "@typescript-eslint/parser"@^3.8.0 \
      "@typescript-eslint/typescript-estree"@^3.8.0 \
      autoprefixer@^9.8.6 \
      eslint@^7.6.0 \
      grunt-eslint@^23.0.0 \
      grunt-lintspaces@^0.9.0 \
      jasmine-core@^3.6.0 \
      karma@^5.1.1 \
      karma-coverage@^2.0.3 \
      karma-jasmine@^3.3.1 \
      terser@^5.0.0 \
      typescript@~3.9.0
  grunt build

Resolves: #91952
Releases: master, 10.4
Change-Id: Ib6726998bea0faf68e71d8374ee0d729a34b0c1e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65564
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
  • Loading branch information
andreaskienast authored and bmack committed Sep 4, 2020
1 parent 8f680ef commit c12dc86
Show file tree
Hide file tree
Showing 26 changed files with 970 additions and 697 deletions.
7 changes: 6 additions & 1 deletion Build/eslintrc.js
Expand Up @@ -12,7 +12,6 @@ module.exports = {
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/class-name-casing": "error",
"@typescript-eslint/indent": ["error", 2],
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/member-ordering": ["error", {
Expand All @@ -29,6 +28,12 @@ module.exports = {
"private-instance-method"
]
}],
"@typescript-eslint/naming-convention": ["error",
{
selector: "class",
format: ["PascalCase"]
}
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-unused-vars": "off",
Expand Down
25 changes: 13 additions & 12 deletions Build/package.json
Expand Up @@ -22,32 +22,32 @@
"@types/jqueryui": "^1.11.34",
"@types/nprogress": "^0.0.29",
"@types/requirejs": "*",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"@typescript-eslint/typescript-estree": "^2.10.0",
"autoprefixer": "^9.7.3",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"@typescript-eslint/typescript-estree": "^3.8.0",
"autoprefixer": "^9.8.6",
"bootstrap-sass": "^3.4.1",
"eslint": "^6.7.2",
"eslint": "^7.6.0",
"grunt": "~1.0.4",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-imagemin": "^3.1",
"grunt-contrib-watch": "~1.1.0",
"grunt-eslint": "^22.0.0",
"grunt-eslint": "^23.0.0",
"grunt-exec": "^3.0.0",
"grunt-lintspaces": "^0.8.6",
"grunt-lintspaces": "^0.9.0",
"grunt-newer": "^1.3.0",
"grunt-npmcopy": "^0.2.0",
"grunt-postcss": "^0.9.0",
"grunt-sass": "^3.1.0",
"grunt-stylelint": "^0.12.0",
"grunt-terser": "^1.0.0",
"jasmine-core": "^3.5.0",
"karma": "^4.4.1",
"jasmine-core": "^3.6.0",
"karma": "^5.1.1",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.1",
"karma-coverage": "^2.0.3",
"karma-firefox-launcher": "^1.2.0",
"karma-ie-launcher": "^1.0.0",
"karma-jasmine": "^2.0.1",
"karma-jasmine": "^3.3.1",
"karma-junit-reporter": "^1.0.0",
"karma-opera-launcher": "^1.0.0",
"karma-requirejs": "^1.0.0",
Expand All @@ -57,7 +57,8 @@
"postcss-banner": "^3.0.1",
"postcss-clean": "^1.1.0",
"stylefmt": "^6.0.0",
"typescript": "~3.8.2",
"terser": "^5.0.0",
"typescript": "~3.9.0",
"typescript-eslint": "^0.0.1-alpha.0"
},
"scripts": {
Expand Down

0 comments on commit c12dc86

Please sign in to comment.