Skip to content

Commit

Permalink
feat: add editor-extension dep
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Sep 16, 2024
1 parent 0742d30 commit cc5bf9c
Show file tree
Hide file tree
Showing 8 changed files with 265 additions and 110 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
description: Bump version as requested
required: true
options:
- patch
- minor
- patch
- major
- prerelease

Expand Down
253 changes: 184 additions & 69 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"lint": "eslint .",
"prettier": "prettier !package-lock.json !taiga-ui/** . --ignore-path .gitignore",
"stylelint": "stylelint './projects/**/*.{less,css}' --config package.json",
"prebump": "npx nx build editor",
"bump": "npx nx publish editor"
"prebump": "npx syncer && npx nx build editor",
"bump": "npx nx run-many -t publish"
},
"commitlint": {
"extends": [
Expand Down Expand Up @@ -107,6 +107,7 @@
"@taiga-ui/release-it-config": "0.182.0",
"@taiga-ui/stylelint-config": "0.182.0",
"@taiga-ui/styles": "4.7.0",
"@taiga-ui/syncer": "0.182.0",
"@taiga-ui/testing": "4.7.0",
"@taiga-ui/tsconfig": "0.182.0",
"@types/express": "4.17.21",
Expand Down Expand Up @@ -134,5 +135,16 @@
"tslib": "2.7.0",
"typescript": "5.0.4",
"webpack": "5.94.0"
},
"syncer": {
"includePaths": [
"./projects",
"./package-lock.json"
],
"matchPackageNames": [
"@taiga-ui/editor",
"^editor$"
],
"ignorePackageNames": []
}
}
1 change: 1 addition & 0 deletions projects/editor-extensions/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
projects.json
48 changes: 48 additions & 0 deletions projects/editor-extensions/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "@taiga-ui/editor-extensions",
"version": "4.5.0",
"homepage": "https://github.com/taiga-family/editor",
"repository": "https://github.com/taiga-family/editor",
"license": "Apache-2.0",
"peerDependencies": {
"@tiptap/extension-blockquote": ">=2.6.6",
"@tiptap/extension-bold": ">=2.6.6",
"@tiptap/extension-bubble-menu": ">=2.6.6",
"@tiptap/extension-bullet-list": ">=2.6.6",
"@tiptap/extension-code": ">=2.6.6",
"@tiptap/extension-code-block": ">=2.6.6",
"@tiptap/extension-document": ">=2.6.6",
"@tiptap/extension-dropcursor": ">=2.6.6",
"@tiptap/extension-focus": ">=2.6.6",
"@tiptap/extension-gapcursor": ">=2.6.6",
"@tiptap/extension-hard-break": ">=2.6.6",
"@tiptap/extension-heading": ">=2.6.6",
"@tiptap/extension-highlight": ">=2.6.6",
"@tiptap/extension-history": ">=2.6.6",
"@tiptap/extension-horizontal-rule": ">=2.6.6",
"@tiptap/extension-image": ">=2.6.6",
"@tiptap/extension-italic": ">=2.6.6",
"@tiptap/extension-link": ">=2.6.6",
"@tiptap/extension-list-item": ">=2.6.6",
"@tiptap/extension-ordered-list": ">=2.6.6",
"@tiptap/extension-paragraph": ">=2.6.6",
"@tiptap/extension-placeholder": ">=2.6.6",
"@tiptap/extension-strike": ">=2.6.6",
"@tiptap/extension-subscript": ">=2.6.6",
"@tiptap/extension-superscript": ">=2.6.6",
"@tiptap/extension-table": ">=2.6.6",
"@tiptap/extension-table-cell": ">=2.6.6",
"@tiptap/extension-table-header": ">=2.6.6",
"@tiptap/extension-table-row": ">=2.6.6",
"@tiptap/extension-task-item": ">=2.6.6",
"@tiptap/extension-task-list": ">=2.6.6",
"@tiptap/extension-text": ">=2.6.6",
"@tiptap/extension-text-align": ">=2.6.6",
"@tiptap/extension-text-style": ">=2.6.6",
"@tiptap/extension-underline": ">=2.6.6",
"@tiptap/extension-youtube": ">=2.6.6"
},
"publishConfig": {
"access": "public"
}
}
14 changes: 14 additions & 0 deletions projects/editor-extensions/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "editor-extensions",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "projects/editor-extensions",
"targets": {
"publish": {
"executor": "nx:run-commands",
"options": {
"command": "npm publish ./projects/{projectName} --ignore-scripts"
}
}
}
}
39 changes: 2 additions & 37 deletions projects/editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@taiga-ui/editor",
"version": "4.4.0",
"version": "4.5.0",
"description": "Rich text editor extension package for Taiga UI",
"keywords": [
"angular",
Expand All @@ -17,43 +17,8 @@
"@maskito/angular": ">=3.0.1",
"@maskito/core": ">=3.0.1",
"@maskito/kit": ">=3.0.1",
"@taiga-ui/editor-extensions": ">=4.5.0",
"@tiptap/core": ">=2.6.6",
"@tiptap/extension-blockquote": ">=2.6.6",
"@tiptap/extension-bold": ">=2.6.6",
"@tiptap/extension-bubble-menu": ">=2.6.6",
"@tiptap/extension-bullet-list": ">=2.6.6",
"@tiptap/extension-code": ">=2.6.6",
"@tiptap/extension-code-block": ">=2.6.6",
"@tiptap/extension-document": ">=2.6.6",
"@tiptap/extension-dropcursor": ">=2.6.6",
"@tiptap/extension-focus": ">=2.6.6",
"@tiptap/extension-gapcursor": ">=2.6.6",
"@tiptap/extension-hard-break": ">=2.6.6",
"@tiptap/extension-heading": ">=2.6.6",
"@tiptap/extension-highlight": ">=2.6.6",
"@tiptap/extension-history": ">=2.6.6",
"@tiptap/extension-horizontal-rule": ">=2.6.6",
"@tiptap/extension-image": ">=2.6.6",
"@tiptap/extension-italic": ">=2.6.6",
"@tiptap/extension-link": ">=2.6.6",
"@tiptap/extension-list-item": ">=2.6.6",
"@tiptap/extension-ordered-list": ">=2.6.6",
"@tiptap/extension-paragraph": ">=2.6.6",
"@tiptap/extension-placeholder": ">=2.6.6",
"@tiptap/extension-strike": ">=2.6.6",
"@tiptap/extension-subscript": ">=2.6.6",
"@tiptap/extension-superscript": ">=2.6.6",
"@tiptap/extension-table": ">=2.6.6",
"@tiptap/extension-table-cell": ">=2.6.6",
"@tiptap/extension-table-header": ">=2.6.6",
"@tiptap/extension-table-row": ">=2.6.6",
"@tiptap/extension-task-item": ">=2.6.6",
"@tiptap/extension-task-list": ">=2.6.6",
"@tiptap/extension-text": ">=2.6.6",
"@tiptap/extension-text-align": ">=2.6.6",
"@tiptap/extension-text-style": ">=2.6.6",
"@tiptap/extension-underline": ">=2.6.6",
"@tiptap/extension-youtube": ">=2.6.6",
"@tiptap/pm": ">=2.6.6",
"@tiptap/starter-kit": ">=2.6.6",
"@types/markdown-it": "14.1.2",
Expand Down
2 changes: 1 addition & 1 deletion projects/editor/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"publish": {
"executor": "nx:run-commands",
"options": {
"command": "npm publish ./dist/{projectName} --access=public --verbose --ignore-scripts || echo 'already published'"
"command": "npm publish ./dist/{projectName} --ignore-scripts"
}
}
}
Expand Down

0 comments on commit cc5bf9c

Please sign in to comment.