Repository navigation
TINYMCE-14572: Update dependencies #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
e6dcbca
TINYMCE-14572: Update dependencies
MitchC1999 33ac401
TINYMCE-14649: Make rspack the default bundler
MitchC1999 729809a
TINYMCE-14572: Use newer node version
MitchC1999 a3e9cd9
TINYMCE-14572: Add changelog
MitchC1999 924c5b5
TINYMCE-14572: Remove esm and fix tests
MitchC1999 a63ae2d
TINYMCE-14572: Remove chalk dependency
MitchC1999 3bdf7cc
TINYMCE-14572: Fix type errors
MitchC1999 941a439
TINYMCE-14572: Add preact dep to fix test types
MitchC1999 9c1049e
TINYMCE-14572: Remove deprecated API
MitchC1999 e393dc7
TINYMCE-14572: Fix script order
MitchC1999 974e68b
TINYMCE-14572: Fix JSX not transforming
MitchC1999 dcd1564
TINYMCE-14572: Fix samples test config
MitchC1999 3e913ed
TINYMCE-14572: Revert webdriver major update
MitchC1999 f2b49b1
TINYMCE-14572: Downgrade wdio types
MitchC1999 978a31c
TINYMCE-14572: Replace types
MitchC1999 34fd2f1
Merge remote-tracking branch 'origin/master' into feature/TINYMCE-14572
MitchC1999 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,4 +9,5 @@ package-lock.json | |
| dist | ||
| yarn-error.log | ||
| scratch | ||
| .lambdatest | ||
| .lambdatest | ||
| *.tsbuildinfo | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| import type { Linter } from 'eslint'; | ||
| import * as js from '@eslint/js'; | ||
| import * as tseslint from '@typescript-eslint/eslint-plugin'; | ||
| import * as espree from 'espree'; | ||
| import * as globals from 'globals'; | ||
|
|
||
| const config: Linter.Config[] = [ | ||
| { | ||
| ignores: ['**/lib/**', '**/dist/**', '**/scratch/**'] | ||
| }, | ||
| ...(tseslint.configs['flat/recommended'] as Linter.Config[]), | ||
| { | ||
| languageOptions: { | ||
| globals: { | ||
| ...globals.browser | ||
| } | ||
| }, | ||
| rules: { | ||
| '@typescript-eslint/no-explicit-any': 'off', | ||
| '@typescript-eslint/explicit-function-return-type': 'off', | ||
| '@typescript-eslint/no-unused-vars': [ 'warn', { | ||
| vars: 'all', | ||
| args: 'after-used', | ||
| ignoreRestSiblings: true, | ||
| argsIgnorePattern: '^_', | ||
| caughtErrorsIgnorePattern: '^_' | ||
| }], | ||
| '@typescript-eslint/no-use-before-define': 'off', | ||
| '@typescript-eslint/explicit-module-boundary-types': [ 'error', { 'allowArgumentsExplicitlyTypedAsAny': true } ], | ||
|
|
||
| 'arrow-spacing': 'error', | ||
| 'no-multi-spaces': [ 'error', { ignoreEOLComments: true }], | ||
| 'no-multiple-empty-lines': [ 'error', { 'max': 1 } ], | ||
| 'object-shorthand': 'error', | ||
| 'quotes': [ 'error', 'single', { 'allowTemplateLiterals': true } ], | ||
| 'space-before-function-paren': [ 'error', { anonymous: 'always', named: 'never' } ], | ||
| 'semi': 'error', | ||
| 'spaced-comment': 'error', | ||
| 'space-infix-ops': 'error', | ||
| 'space-unary-ops': 'error', | ||
| 'space-before-blocks': 'error', | ||
| } | ||
| }, | ||
| { | ||
| // Plain JS grunt tasks, previously governed by their own root:true .eslintrc.js | ||
| // rather than the TypeScript config above, so every typescript-eslint rule | ||
| // picked up from the shared config above needs to be turned back off here. | ||
| files: ['modules/server/tasks/**/*.js'], | ||
| languageOptions: { | ||
| parser: espree, | ||
| ecmaVersion: 11, | ||
| sourceType: 'commonjs', | ||
| globals: { | ||
| ...globals.node | ||
| } | ||
| }, | ||
| rules: { | ||
| ...js.configs.recommended.rules, | ||
| ...Object.fromEntries(Object.keys(tseslint.rules).map((name) => [ `@typescript-eslint/${name}`, 'off' ])), | ||
| 'no-var': 'error', | ||
| 'prefer-const': 'error', | ||
| 'curly': [ 'error', 'multi-line' ], | ||
| 'object-curly-spacing': 'off', | ||
| 'array-bracket-spacing': 'off', | ||
| 'space-before-function-paren': 'off', | ||
| 'no-trailing-spaces': 'off', | ||
| 'indent': [ 'error', 2 ], | ||
| 'max-len': 'off', | ||
| 'no-prototype-builtins': 'off' | ||
| } | ||
| } | ||
| ]; | ||
|
|
||
| export default config; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| { | ||
| "npmClient": "yarn", | ||
| "useWorkspaces": true, | ||
| "version": "16.2.0", | ||
| "publish": { | ||
| "push": false | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.