Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
1682e35
feat: update @blocknote dependencies to v0.26.0
joh-klein Mar 25, 2025
37c6b89
chore: update nx and other deps
joh-klein Mar 25, 2025
7a2de0b
chore(deps): fix nx peer dependencies
joh-klein Mar 25, 2025
082d71c
ci: ensure artifact upload and Pages publishing run only on 'main'
joh-klein Mar 25, 2025
7546662
chore(deps): update blocknote to 0.29.1
m-risto Apr 18, 2025
69493b9
feat: build ngx-blocknote with vite
m-risto Apr 18, 2025
1c71f2d
feat: extract ui components into own libraries
m-risto Apr 18, 2025
08f339d
refactor: migrate to signal inputs
m-risto Apr 18, 2025
f5ab5fb
refactor: migrate to inject function
m-risto Apr 18, 2025
d35bcce
refactor: migrate to control-flow
m-risto Apr 18, 2025
ff062e8
refactor: migrate to self-closing tags
m-risto Apr 18, 2025
f9b3d65
fix: remove strange casts and use generics
m-risto Apr 18, 2025
6367150
refactor: remove unused css and fix types
m-risto Apr 18, 2025
d7fa588
fix: hide the formatting toolbar when control is disabled and a text …
m-risto Apr 18, 2025
72a9a46
fix: capture the enter key listener, so that suggestion menu enter is…
m-risto Apr 18, 2025
0304055
feat: update table handles to work with new blocknote table
m-risto Apr 18, 2025
2590955
chore: update packages
m-risto Apr 18, 2025
10aff3e
refactor: fix lint and test pipeline issues
m-risto Apr 18, 2025
0d62ac5
refactor: fix tests in pipeline
m-risto Apr 23, 2025
c76f7c5
test: fix segmentation fault dump
m-risto Apr 23, 2025
39fb78d
refactor: remove old extensions libs
m-risto Apr 23, 2025
f9bbc17
chore: update spartan packages
m-risto Apr 23, 2025
736deea
refactor: switch to eslint flat config format
m-risto Apr 23, 2025
5272747
refactor: linting and testing issues
m-risto Apr 23, 2025
d21fad4
chore: try to make docs build work
m-risto Apr 23, 2025
7450845
chore: update package-lock
m-risto Apr 24, 2025
92cf757
Merge remote-tracking branch 'origin/update-blocknote-second-try-m.ri…
m-risto Apr 24, 2025
a4604c2
chore: update package-lock second try
m-risto Apr 24, 2025
188f942
chore: update @nx to 20.8.0
m-risto Apr 24, 2025
ca0f16b
chore: use current eslint config style
joh-klein May 2, 2025
9dab054
chore: update nx json
joh-klein May 2, 2025
5960c90
chore(deps): update devDependencies for compatibility
joh-klein May 2, 2025
73e3ccf
refactor: fix linting issues
m-risto May 4, 2025
2aed861
refactor: fix global project.json linting issue
m-risto May 4, 2025
625b8dc
chore(deps): update AnalogJS packages to ^1.16.0
joh-klein May 5, 2025
97d0e74
chore(deps): update Nx packages to version 20.8.1
joh-klein May 5, 2025
909d1df
refactor(core): simplify @blocknote/core imports
joh-klein May 5, 2025
136224c
chore: correct grammar in comment for default schema usage
joh-klein May 5, 2025
a0a6a88
chore(deps): bump @nx/vite to 20.8.1
joh-klein May 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

42 changes: 0 additions & 42 deletions .eslintrc.base.json

This file was deleted.

53 changes: 0 additions & 53 deletions .eslintrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: CI

on:
push:
branches:
- main

jobs:
main:
Expand Down Expand Up @@ -37,12 +35,14 @@ jobs:
NX_PARALLEL: 2

- name: Upload artifact
if: ${{ github.ref == 'refs/heads/main' }}
uses: actions/upload-pages-artifact@v3
with:
name: 'github-pages'
path: 'dist/apps/docs/analog/public'

publish-gh-pages:
if: ${{ github.ref == 'refs/heads/main' }}
needs: main
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
Expand Down
18 changes: 0 additions & 18 deletions apps/api/.eslintrc.json

This file was deleted.

9 changes: 9 additions & 0 deletions apps/api/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import baseConfig from '../../eslint.config.mjs';

export default [
...baseConfig,
{
// Override or add rules here
rules: {},
},
];
3 changes: 3 additions & 0 deletions apps/api/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
},
"test": {
"executor": "@nx/vite:test"
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}
17 changes: 0 additions & 17 deletions apps/docs/.eslintrc.json

This file was deleted.

26 changes: 26 additions & 0 deletions apps/docs/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import nx from '@nx/eslint-plugin';
import baseConfig from '../../eslint.config.mjs';

export default [
...baseConfig,
...nx.configs['flat/angular'],
...nx.configs['flat/angular-template'],
{
files: ['**/*.ts'],
rules: {
'@angular-eslint/prefer-standalone': 'off',
'@angular-eslint/no-input-rename': 'off',
'@angular-eslint/component-class-suffix': [
'error',
{
suffixes: ['Component', 'Page', 'Example'],
},
],
},
},
{
files: ['**/*.html'],
// Override or add rules here
rules: {},
},
];
3 changes: 3 additions & 0 deletions apps/docs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"buildTarget": "docs:build:production"
}
}
},
"lint": {
"executor": "@nx/eslint:lint"
}
},
"tags": [],
Expand Down
10 changes: 2 additions & 8 deletions apps/docs/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
import { NgOptimizedImage } from '@angular/common';
import { Component } from '@angular/core';
import { RouterModule } from '@angular/router';
import { HlmButtonDirective } from '@spartan-ng/ui-button-helm';
import { ThemeSwitchComponent } from './shared/layout/theme/theme-switch.component';
import { HlmButtonDirective } from '@dytab/ui';

@Component({
imports: [
RouterModule,
NgOptimizedImage,
ThemeSwitchComponent,
HlmButtonDirective,
],
imports: [RouterModule, ThemeSwitchComponent, HlmButtonDirective],
selector: 'docs-root',
templateUrl: './app.component.html',
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import { Block, PartialBlock } from '@blocknote/core';
import { BnaEditorComponent } from '@dytab/ngx-blocknote';
import { HlmButtonDirective } from '@dytab/ui';

@Component({
selector: 'bna-saving-and-loading-example',
imports: [CommonModule, BnaEditorComponent, HlmButtonDirective],
imports: [CommonModule, BnaEditorComponent],
template: `
<bna-editor
[initialContent]="initialContent"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import {
hlmP,
HlmTabsComponent,
HlmTabsContentDirective,
HlmTabsListComponent,
HlmTabsTriggerDirective,
} from '@dytab/ui';
import { Highlight } from 'ngx-highlightjs';
import { HlmTabsComponent } from '@spartan-ng/ui-tabs-helm';
import { hlmP } from '@spartan-ng/ui-typography-helm';
import { CodeComponent } from '../../../../shared/code/code.component';
import { DemoBoxComponent } from '../../../../shared/layout/demo-box.component';
import { TabsComponent } from '../../../../shared/layout/example-tabs.component';
Expand All @@ -23,13 +17,9 @@ import {
SectionIntroComponent,
DemoBoxComponent,
HlmTabsComponent,
HlmTabsListComponent,
HlmTabsContentDirective,
HlmTabsTriggerDirective,
TabsComponent,
CodeComponent,
SavingAndLoadingExample,
Highlight,
],
template: `
<bna-section-intro name="Saving & Loading">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import { HlmButtonDirective } from '@dytab/ui';
import { BnaEditorComponent } from '@dytab/ngx-blocknote';
import { HttpClient } from '@angular/common/http';
import { Component } from '@angular/core';
import { FormControl, ReactiveFormsModule } from '@angular/forms';
import { BnaEditorComponent } from '@dytab/ngx-blocknote';
import { HlmButtonDirective } from '@spartan-ng/ui-button-helm';

@Component({
selector: 'bna-server-side-rendering-example',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import {
hlmP,
HlmTabsComponent,
HlmTabsContentDirective,
HlmTabsListComponent,
HlmTabsTriggerDirective,
} from '@dytab/ui';
import { Highlight } from 'ngx-highlightjs';
import { HlmTabsComponent } from '@spartan-ng/ui-tabs-helm';
import { hlmP } from '@spartan-ng/ui-typography-helm';
import { CodeComponent } from '../../../../shared/code/code.component';
import { DemoBoxComponent } from '../../../../shared/layout/demo-box.component';
import { TabsComponent } from '../../../../shared/layout/example-tabs.component';
Expand All @@ -23,13 +17,9 @@ import {
SectionIntroComponent,
DemoBoxComponent,
HlmTabsComponent,
HlmTabsListComponent,
HlmTabsContentDirective,
HlmTabsTriggerDirective,
TabsComponent,
CodeComponent,
ServerSideRenderingExample,
Highlight,
],
template: `
<bna-section-intro name="Server Side Rendering">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import { PartialBlock } from '@blocknote/core';
import { HlmButtonDirective } from '@dytab/ui';
import { BnaEditorComponent } from '@dytab/ngx-blocknote';

@Component({
selector: 'bna-upload-file-example',
imports: [CommonModule, BnaEditorComponent, HlmButtonDirective],
imports: [CommonModule, BnaEditorComponent],
template: `
<bna-editor [initialContent]="initialContent" [options]="{ uploadFile }" />
`,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import {
hlmP,
HlmTabsComponent,
HlmTabsContentDirective,
HlmTabsListComponent,
HlmTabsTriggerDirective,
} from '@dytab/ui';
import { Highlight } from 'ngx-highlightjs';
import { HlmTabsComponent } from '@spartan-ng/ui-tabs-helm';
import { hlmP } from '@spartan-ng/ui-typography-helm';
import { CodeComponent } from '../../../../shared/code/code.component';
import { DemoBoxComponent } from '../../../../shared/layout/demo-box.component';
import { TabsComponent } from '../../../../shared/layout/example-tabs.component';
Expand All @@ -23,13 +17,9 @@ import {
SectionIntroComponent,
DemoBoxComponent,
HlmTabsComponent,
HlmTabsListComponent,
HlmTabsContentDirective,
HlmTabsTriggerDirective,
TabsComponent,
CodeComponent,
UploadFileExample,
Highlight,
],
template: `
<bna-section-intro name="Upload Files">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { CommonModule } from '@angular/common';
import { Component } from '@angular/core';
import { hlmP, HlmTabsComponent } from '@dytab/ui';
import { HlmTabsComponent } from '@spartan-ng/ui-tabs-helm';
import { hlmP } from '@spartan-ng/ui-typography-helm';
import { CodeComponent } from '../../../../shared/code/code.component';
import { DemoBoxComponent } from '../../../../shared/layout/demo-box.component';
import { TabsComponent } from '../../../../shared/layout/example-tabs.component';
Expand Down
Loading