Skip to content

Commit

Permalink
fix: Update nx to v.16
Browse files Browse the repository at this point in the history
Migare nx to its newer versions with breaking changes

#taskid 36375
  • Loading branch information
carla-at-wiris committed Jul 12, 2023
1 parent edc92c1 commit 25b2532
Show file tree
Hide file tree
Showing 31 changed files with 18,238 additions and 19,124 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
plugins: [
'import',
'jsdoc',
'@nrwl/nx',
'@nx',
],
extends: [
'airbnb-base', // We extend our linting to follow the airbnb rules
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Last release of this project is was 30th of September 2021.
- Fix (froala): Console error when uploading an image with the MathType plugin enabled. #KB-36131
- Fix (devkit): Strange behavior when the caret is placed at the beginning of the HTML Editor. #KB-21754
- Fix: The default formulas were opened with CT Modal. #KB-36421
- Fix: Update dependencies (Nx). #KB-36375

### 8.4.0 2023-06-15

Expand Down
67 changes: 39 additions & 28 deletions demos/angular/ckeditor5/project.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,45 @@
{
"root": "demos/angular/ckeditor5",
"targets": {
"start": {
"executor": "nx:run-script",
"options": {
"script": "start"
},
"outputs": ["demos/angular/ckeditor5/dist/demo.js"]
"name": "angular-ckeditor5",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"targets": {
"start": {
"executor": "nx:run-script",
"options": {
"script": "start"
},
"start-remote": {
"executor": "nx:run-script",
"options": {
"script": "start-remote"
},
"outputs": ["demos/angular/ckeditor5/dist/demo.js"]
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"start-remote": {
"executor": "nx:run-script",
"options": {
"script": "start-remote"
},
"build": {
"executor": "nx:run-script",
"options": {
"script": "build"
},
"outputs": ["demos/angular/ckeditor5/dist/demo.js"]
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"build": {
"executor": "nx:run-script",
"options": {
"script": "build"
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"eslintConfig": "./.eslintrc.js",
"lintFilePatterns": ["demos/angular/ckeditor5/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
}
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"eslintConfig": "./.eslintrc.js",
"lintFilePatterns": [
"demos/angular/ckeditor5/**/*.{ts,tsx,js,jsx}"
]
},
"outputs": [
"{options.outputFile}"
]
}
}
}
67 changes: 39 additions & 28 deletions demos/angular/froala/project.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,45 @@
{
"root": "demos/angular/froala",
"targets": {
"start": {
"executor": "nx:run-script",
"options": {
"script": "start"
},
"outputs": ["demos/angular/froala/dist/demo.js"]
"name": "angular-froala",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"targets": {
"start": {
"executor": "nx:run-script",
"options": {
"script": "start"
},
"start-remote": {
"executor": "nx:run-script",
"options": {
"script": "start-remote"
},
"outputs": ["demos/angular/froala/dist/demo.js"]
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"start-remote": {
"executor": "nx:run-script",
"options": {
"script": "start-remote"
},
"build": {
"executor": "nx:run-script",
"options": {
"script": "build"
},
"outputs": ["demos/angular/froala/dist/demo.js"]
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"build": {
"executor": "nx:run-script",
"options": {
"script": "build"
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"eslintConfig": "./.eslintrc.js",
"lintFilePatterns": ["demos/angular/froala/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
}
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"eslintConfig": "./.eslintrc.js",
"lintFilePatterns": [
"demos/angular/froala/**/*.{ts,tsx,js,jsx}"
]
},
"outputs": [
"{options.outputFile}"
]
}
}
}
67 changes: 39 additions & 28 deletions demos/angular/generic/project.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,45 @@
{
"root": "demos/angular/generic",
"targets": {
"start": {
"executor": "nx:run-script",
"options": {
"script": "start"
},
"outputs": ["demos/angular/generic/dist/demo.js"]
"name": "angular-generic",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"targets": {
"start": {
"executor": "nx:run-script",
"options": {
"script": "start"
},
"start-remote": {
"executor": "nx:run-script",
"options": {
"script": "start-remote"
},
"outputs": ["demos/angular/generic/dist/demo.js"]
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"start-remote": {
"executor": "nx:run-script",
"options": {
"script": "start-remote"
},
"build": {
"executor": "nx:run-script",
"options": {
"script": "build"
},
"outputs": ["demos/angular/generic/dist/demo.js"]
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"build": {
"executor": "nx:run-script",
"options": {
"script": "build"
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"eslintConfig": "./.eslintrc.js",
"lintFilePatterns": ["demos/angular/generic/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
}
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"eslintConfig": "./.eslintrc.js",
"lintFilePatterns": [
"demos/angular/generic/**/*.{ts,tsx,js,jsx}"
]
},
"outputs": [
"{options.outputFile}"
]
}
}
}
67 changes: 39 additions & 28 deletions demos/angular/tinymce5/project.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,45 @@
{
"root": "demos/angular/tinymce5",
"targets": {
"start": {
"executor": "nx:run-script",
"options": {
"script": "start"
},
"outputs": ["demos/angular/tinymce5/dist/demo.js"]
"name": "angular-tinymce5",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"targets": {
"start": {
"executor": "nx:run-script",
"options": {
"script": "start"
},
"start-remote": {
"executor": "nx:run-script",
"options": {
"script": "start-remote"
},
"outputs": ["demos/angular/tinymce5/dist/demo.js"]
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"start-remote": {
"executor": "nx:run-script",
"options": {
"script": "start-remote"
},
"build": {
"executor": "nx:run-script",
"options": {
"script": "build"
},
"outputs": ["demos/angular/tinymce5/dist/demo.js"]
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"build": {
"executor": "nx:run-script",
"options": {
"script": "build"
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"eslintConfig": "./.eslintrc.js",
"lintFilePatterns": ["demos/angular/tinymce5/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
}
"outputs": [
"{projectRoot}/dist/demo.js"
]
},
"lint": {
"executor": "@nx/linter:eslint",
"options": {
"eslintConfig": "./.eslintrc.js",
"lintFilePatterns": [
"demos/angular/tinymce5/**/*.{ts,tsx,js,jsx}"
]
},
"outputs": [
"{options.outputFile}"
]
}
}
}
Loading

0 comments on commit 25b2532

Please sign in to comment.