xt-plugin-editor 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/.editorconfig +17 -0
  2. package/.postcssrc.json +1 -0
  3. package/.prettierrc +12 -0
  4. package/.rush/temp/chunked-rush-logs/xt-plugin-editor.build.chunks.jsonl +23 -0
  5. package/.rush/temp/chunked-rush-logs/xt-plugin-editor.test.chunks.jsonl +50 -0
  6. package/.rush/temp/shrinkwrap-deps.json +1200 -0
  7. package/CHANGELOG.md +2 -0
  8. package/README.md +12 -2
  9. package/angular.json +148 -0
  10. package/package.json +80 -4
  11. package/projects/editor/README.md +13 -0
  12. package/projects/editor/ng-package.json +7 -0
  13. package/projects/editor/package.json +43 -0
  14. package/projects/editor/src/lib/editor/editor.component.css +15 -0
  15. package/projects/editor/src/lib/editor/editor.component.html +29 -0
  16. package/projects/editor/src/lib/editor/editor.component.spec.ts +53 -0
  17. package/projects/editor/src/lib/editor/editor.component.ts +202 -0
  18. package/projects/editor/src/lib/markdown/inline-markdown-pipe.spec.ts +25 -0
  19. package/projects/editor/src/lib/markdown/inline-markdown-pipe.ts +30 -0
  20. package/projects/editor/src/lib/markdown/markdown-pipe.spec.ts +29 -0
  21. package/projects/editor/src/lib/markdown/markdown-pipe.ts +21 -0
  22. package/projects/editor/src/lib/prose-mirror/basic-setup.ts +655 -0
  23. package/projects/editor/src/lib/register.ts +33 -0
  24. package/projects/editor/src/public-api.ts +7 -0
  25. package/projects/editor/tsconfig.lib.json +13 -0
  26. package/projects/editor/tsconfig.lib.prod.json +11 -0
  27. package/projects/editor/tsconfig.spec.json +10 -0
  28. package/projects/editor-plugin/federation.config.js +33 -0
  29. package/projects/editor-plugin/public/favicon.ico +0 -0
  30. package/projects/editor-plugin/src/app/app.component.css +0 -0
  31. package/projects/editor-plugin/src/app/app.component.html +3 -0
  32. package/projects/editor-plugin/src/app/app.component.spec.ts +34 -0
  33. package/projects/editor-plugin/src/app/app.component.ts +23 -0
  34. package/projects/editor-plugin/src/app/app.config.ts +22 -0
  35. package/projects/editor-plugin/src/app/app.routes.ts +6 -0
  36. package/projects/editor-plugin/src/app/editor-test-component/editor-test.component.css +4 -0
  37. package/projects/editor-plugin/src/app/editor-test-component/editor-test.component.html +19 -0
  38. package/projects/editor-plugin/src/app/editor-test-component/editor-test.component.spec.ts +33 -0
  39. package/projects/editor-plugin/src/app/editor-test-component/editor-test.component.ts +67 -0
  40. package/projects/editor-plugin/src/bootstrap.ts +6 -0
  41. package/projects/editor-plugin/src/index.html +13 -0
  42. package/projects/editor-plugin/src/main.ts +6 -0
  43. package/projects/editor-plugin/src/styles.css +14 -0
  44. package/projects/editor-plugin/tsconfig.app.json +11 -0
  45. package/projects/editor-plugin/tsconfig.federation.json +13 -0
  46. package/projects/editor-plugin/tsconfig.spec.json +10 -0
  47. package/rush-logs/xt-plugin-editor.build.error.log +8 -0
  48. package/rush-logs/xt-plugin-editor.build.log +23 -0
  49. package/rush-logs/xt-plugin-editor.test.error.log +1 -0
  50. package/rush-logs/xt-plugin-editor.test.log +50 -0
  51. package/tsconfig.json +33 -0
package/.editorconfig ADDED
@@ -0,0 +1,17 @@
1
+ # Editor configuration, see https://editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ charset = utf-8
6
+ indent_style = space
7
+ indent_size = 2
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [*.ts]
12
+ quote_type = single
13
+ ij_typescript_use_double_quotes = false
14
+
15
+ [*.md]
16
+ max_line_length = off
17
+ trim_trailing_whitespace = false
@@ -0,0 +1 @@
1
+ { "plugins": { "@tailwindcss/postcss": {} }}
package/.prettierrc ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "printWidth": 100,
3
+ "singleQuote": true,
4
+ "overrides": [
5
+ {
6
+ "files": "*.html",
7
+ "options": {
8
+ "parser": "angular"
9
+ }
10
+ }
11
+ ]
12
+ }
@@ -0,0 +1,23 @@
1
+ {"kind":"O","text":"Invoking: ng build editor \n"}
2
+ {"kind":"O","text":"Building Angular Package\n"}
3
+ {"kind":"O","text":"\n"}
4
+ {"kind":"O","text":"------------------------------------------------------------------------------\n"}
5
+ {"kind":"O","text":"Building entry point 'xt-plugin-editor'\n"}
6
+ {"kind":"O","text":"------------------------------------------------------------------------------\n"}
7
+ {"kind":"E","text":"- Compiling with Angular sources in full compilation mode.\n"}
8
+ {"kind":"E","text":"\u001b[32m✔\u001b[39m Compiling with Angular sources in full compilation mode.\n"}
9
+ {"kind":"E","text":"\u001b[32m✔\u001b[39m Generating FESM and DTS bundles\n"}
10
+ {"kind":"E","text":"- Copying assets\n"}
11
+ {"kind":"E","text":"\u001b[32m✔\u001b[39m Copying assets\n"}
12
+ {"kind":"E","text":"- Writing package manifest\n"}
13
+ {"kind":"E","text":"\u001b[32m✔\u001b[39m Writing package manifest\n"}
14
+ {"kind":"E","text":"\u001b[32m✔\u001b[39m Built xt-plugin-editor\n"}
15
+ {"kind":"O","text":"\n"}
16
+ {"kind":"O","text":"------------------------------------------------------------------------------\n"}
17
+ {"kind":"O","text":"Built Angular Package\n"}
18
+ {"kind":"O","text":"- from: /home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-editor/projects/editor\n"}
19
+ {"kind":"O","text":"- to: /home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-editor/dist/xt-plugin-editor\n"}
20
+ {"kind":"O","text":"------------------------------------------------------------------------------\n"}
21
+ {"kind":"O","text":"\n"}
22
+ {"kind":"O","text":"Build at: 2026-10-10T09:01:31.738Z - Time: 6278ms\n"}
23
+ {"kind":"O","text":"\n"}
@@ -0,0 +1,50 @@
1
+ {"kind":"O","text":"Invoking: ng test editor && ng test editor-plugin \n"}
2
+ {"kind":"O","text":"❯ Building...\n"}
3
+ {"kind":"O","text":"✔ Building...\n"}
4
+ {"kind":"O","text":"Initial chunk files | Names | Raw size\n"}
5
+ {"kind":"O","text":"spec-lib-editor-editor.component.js | spec-lib-editor-editor.component | 31.72 kB | \n"}
6
+ {"kind":"O","text":"chunk-CGZBV6BD.js | - | 4.07 kB | \n"}
7
+ {"kind":"O","text":"chunk-5ODHH5YL.js | - | 1.64 kB | \n"}
8
+ {"kind":"O","text":"chunk-ZSP5A4GD.js | - | 1.25 kB | \n"}
9
+ {"kind":"O","text":"init-testbed.js | init-testbed | 1.21 kB | \n"}
10
+ {"kind":"O","text":"spec-lib-markdown-markdown-pipe.js | spec-lib-markdown-markdown-pipe | 1.12 kB | \n"}
11
+ {"kind":"O","text":"spec-lib-markdown-inline-markdown-pipe.js | spec-lib-markdown-inline-markdown-pipe | 1.04 kB | \n"}
12
+ {"kind":"O","text":"vitest-mock-patch.js | vitest-mock-patch | 969 bytes | \n"}
13
+ {"kind":"O","text":"\n"}
14
+ {"kind":"O","text":" | Initial total | 43.01 kB\n"}
15
+ {"kind":"O","text":"\n"}
16
+ {"kind":"O","text":"Application bundle generation complete. [6.892 seconds] - 2026-10-10T12:18:52.351Z\n"}
17
+ {"kind":"O","text":"\n"}
18
+ {"kind":"O","text":"\n"}
19
+ {"kind":"O","text":"\u001b[1m\u001b[46m RUN \u001b[49m\u001b[22m \u001b[36mv4.1.2 \u001b[39m\u001b[90m/home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-editor\u001b[39m\n"}
20
+ {"kind":"O","text":"\n"}
21
+ {"kind":"O","text":"\n"}
22
+ {"kind":"O","text":"\u001b[2m Test Files \u001b[22m \u001b[1m\u001b[32m3 passed\u001b[39m\u001b[22m\u001b[90m (3)\u001b[39m\n"}
23
+ {"kind":"O","text":"\u001b[2m Tests \u001b[22m \u001b[1m\u001b[32m7 passed\u001b[39m\u001b[22m\u001b[90m (7)\u001b[39m\n"}
24
+ {"kind":"O","text":"\u001b[2m Start at \u001b[22m 14:18:54\n"}
25
+ {"kind":"O","text":"\u001b[2m Duration \u001b[22m 8.59s\u001b[2m (transform 1.72s, setup 4.48s, import 7.18s, tests 445ms, environment 3.39s)\u001b[22m\n"}
26
+ {"kind":"O","text":"\n"}
27
+ {"kind":"E","text":"The 'buildTarget' is configured to use '@angular-architects/native-federation:build', which is not supported. The 'unit-test' builder is designed to work with '@angular/build:application' or '@angular/build:ng-packagr'. Unexpected behavior or build failures may occur.\n"}
28
+ {"kind":"O","text":"❯ Building...\n"}
29
+ {"kind":"O","text":"✔ Building...\n"}
30
+ {"kind":"O","text":"Initial chunk files | Names | Raw size\n"}
31
+ {"kind":"O","text":"chunk-YCTZP6SR.js | - | 33.24 kB | \n"}
32
+ {"kind":"O","text":"spec-app-editor-test-component-editor-test.component.js | spec-app-editor-test-component-editor-test.component | 7.12 kB | \n"}
33
+ {"kind":"O","text":"chunk-CGZBV6BD.js | - | 4.07 kB | \n"}
34
+ {"kind":"O","text":"spec-app-app.component.js | spec-app-app.component | 3.10 kB | \n"}
35
+ {"kind":"O","text":"init-testbed.js | init-testbed | 1.21 kB | \n"}
36
+ {"kind":"O","text":"vitest-mock-patch.js | vitest-mock-patch | 969 bytes | \n"}
37
+ {"kind":"O","text":"\n"}
38
+ {"kind":"O","text":" | Initial total | 49.71 kB\n"}
39
+ {"kind":"O","text":"\n"}
40
+ {"kind":"O","text":"Application bundle generation complete. [3.807 seconds] - 2026-10-10T12:19:07.718Z\n"}
41
+ {"kind":"O","text":"\n"}
42
+ {"kind":"O","text":"\n"}
43
+ {"kind":"O","text":"\u001b[1m\u001b[46m RUN \u001b[49m\u001b[22m \u001b[36mv4.1.2 \u001b[39m\u001b[90m/home/gc-garunda/devs/dont-code/github/ng-xtend/plugins/xt-editor\u001b[39m\n"}
44
+ {"kind":"O","text":"\n"}
45
+ {"kind":"O","text":"\n"}
46
+ {"kind":"O","text":"\u001b[2m Test Files \u001b[22m \u001b[1m\u001b[32m2 passed\u001b[39m\u001b[22m\u001b[90m (2)\u001b[39m\n"}
47
+ {"kind":"O","text":"\u001b[2m Tests \u001b[22m \u001b[1m\u001b[32m4 passed\u001b[39m\u001b[22m\u001b[90m (4)\u001b[39m\n"}
48
+ {"kind":"O","text":"\u001b[2m Start at \u001b[22m 14:19:08\n"}
49
+ {"kind":"O","text":"\u001b[2m Duration \u001b[22m 4.98s\u001b[2m (transform 789ms, setup 1.24s, import 6.22s, tests 447ms, environment 1.17s)\u001b[22m\n"}
50
+ {"kind":"O","text":"\n"}