Skip to content

Commit 9bf5310

Browse files
authored
chore: lib version requirements and doc angular version (#99)
## PR Checklist Please check if your PR fulfills the following requirements: <!--- [ ] Tests for the changes have been added (for bug fixes/features)--> - [X] Docs have been added/updated (for bug fixes/features) ## PR Type What kind of change does this PR introduce? <!-- Please check the one that applies to this PR using "x". --> - [ ] Bugfix - [ ] Feature - [x] Code style update (formatting, local variables) - [ ] Refactoring (no functional changes, no API changes) - [x] Build related changes - [ ] CI-related changes - [ ] Documentation content changes - [x] Other... Please describe: Upgrade from angular 18 to 19 on the documentation Change requirements of flowbite-angular to angular >=18 < 20 (18|19) Update linting Move ng-doc generation folder Add implicit dependency from docs to flowbite-angular Update lock file due to changes on dependencies ## Issue Number <!-- Bugs and features must be linked to an issue. --> Issue Number: N/A ## Does this PR introduce a breaking change? <!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. --> - [ ] Yes - [x] No ## Other information
2 parents baf0f0d + 8dd6cb1 commit 9bf5310

File tree

81 files changed

+4351
-8742
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+4351
-8742
lines changed

.eslintrc.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
"root": true,
33
"ignorePatterns": ["!**/*"],
44
"plugins": ["@nx", "@typescript-eslint", "prettier"],
5-
"extends": [
6-
"plugin:@angular-eslint/recommended",
7-
"plugin:@typescript-eslint/recommended",
8-
"prettier"
9-
],
5+
"extends": ["plugin:@nx/angular", "plugin:@typescript-eslint/recommended", "prettier"],
106
"overrides": [
117
{
128
"files": ["*.ts"],

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,4 @@ Thumbs.db
4141
.angular
4242

4343
.vercel
44-
.nx
45-
46-
47-
# NgDoc files
48-
/ng-doc
44+
.nx

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"endOfLine": "lf",
2+
"endOfLine": "crlf",
33
"singleQuote": true,
44
"printWidth": 100,
55
"trailingComma": "es5",

.run/docs_start.run.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

apps/docs/.eslintrc.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
22
"extends": ["../../.eslintrc.json"],
33
"ignorePatterns": ["!**/*"],
4-
"parserOptions": {
5-
"project": "./apps/docs/tsconfig(.*)?.json"
6-
},
74
"overrides": [
85
{
96
"files": ["*.ts"],
7+
"extends": ["plugin:@nx/angular", "plugin:@angular-eslint/template/process-inline-templates"],
108
"rules": {
119
"@angular-eslint/directive-selector": [
1210
"error",
@@ -25,6 +23,11 @@
2523
}
2624
]
2725
}
26+
},
27+
{
28+
"files": ["*.html"],
29+
"extends": ["plugin:@nx/angular-template"],
30+
"rules": {}
2831
}
2932
]
3033
}

apps/docs/docs/components/accordion/_always-open.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { Component } from '@angular/core';
99

1010
@Component({
1111
selector: 'flowbite-demo-accordion-always-open',
12-
standalone: true,
1312
imports: [
1413
AccordionComponent,
1514
AccordionTitleComponent,

apps/docs/docs/components/accordion/_arrow-style.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { Component } from '@angular/core';
1010

1111
@Component({
1212
selector: 'flowbite-demo-accordion-arrow-style',
13-
standalone: true,
1413
imports: [
1514
AccordionComponent,
1615
AccordionTitleComponent,

apps/docs/docs/components/accordion/_color-option.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { Component } from '@angular/core';
99

1010
@Component({
1111
selector: 'flowbite-demo-accordion-color-option',
12-
standalone: true,
1312
imports: [
1413
AccordionComponent,
1514
AccordionTitleComponent,

apps/docs/docs/components/accordion/_default.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { Component } from '@angular/core';
99

1010
@Component({
1111
selector: 'flowbite-demo-accordion-default',
12-
standalone: true,
1312
imports: [
1413
AccordionComponent,
1514
AccordionTitleComponent,

apps/docs/docs/components/accordion/_flush.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { Component } from '@angular/core';
99

1010
@Component({
1111
selector: 'flowbite-demo-accordion-flush',
12-
standalone: true,
1312
imports: [
1413
AccordionComponent,
1514
AccordionTitleComponent,

0 commit comments

Comments
 (0)