Skip to content

Commit 1263696

Browse files
authored
refactor: corrected the spelling (#5358)
* refactor: corrected the spelling * refactor: corrected spelling * refactor: corrected commits * refactor: corrected commits * refactor: corrected commits * Revert "refactor: corrected commits" This reverts commit 1710ad2. * Revert "refactor: corrected commits" This reverts commit b47d6bd. * Revert "refactor: corrected commits" This reverts commit 4bc9141.
1 parent dfc3c3c commit 1263696

File tree

9 files changed

+47
-51
lines changed

9 files changed

+47
-51
lines changed

docs/adr/adr-01-framework.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We want to ship our DB UX styles based on `css` and `scss` for common frameworks
1313
To achieve this we started with [Web Components](https://github.com/db-ui/elements).
1414
But we've encountered a number of problems with this approach:
1515

16-
- No auto-complete in IDE: Without `.d.ts` files you aren't able to use Typescript properly
16+
- No auto-complete in IDE: Without `.d.ts` files you aren't able to use TypeScript properly
1717
- No specific framework solutions, for example Angulars [Reactive Forms](https://angular.io/guide/reactive-forms)
1818
- Wrapping Components for React: Because of the virtual DOM Events need some wrapping, even [Lit](https://lit.dev/docs/frameworks/react/) needs this
1919
- Composition of nested Components (Accordion & AccordionItem etc.): Writing a components with Shadow DOM and nesting is complex and time-consuming

output/stencil/scripts/analyzePhase.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const getArrayType = (ts, type) => {
4343

4444
/**
4545
* Get literals or type unions like: export const Test = "a" | "b";
46-
* @param ts {object} Typescript ast
46+
* @param ts {object} TypeScript ast
4747
* @param types {object[]}
4848
*/
4949
const getUnions = (ts, types) => {
@@ -93,7 +93,7 @@ const getTypeOfList = (type) => {
9393

9494
/**
9595
* Get primitives like: string, boolean, etc.
96-
* @param ts {object} Typescript ast
96+
* @param ts {object} TypeScript ast
9797
* @param members {object[]}
9898
*/
9999
const getMembers = (ts, members) => {

packages/agent-cli/CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
### Patch Changes
66

7-
- chore: generate AmazonQ rule file with @db-ux/agent-cli - [see commit b61c8b1](https://github.com/db-ux-design-system/core-web/commit/b61c8b14992f5a5b3615c6bff74018d5682aa0cc)
7+
- chore: generate Amazon Q rule file with @db-ux/agent-cli - [see commit b61c8b1](https://github.com/db-ux-design-system/core-web/commit/b61c8b14992f5a5b3615c6bff74018d5682aa0cc)
88

99
## 4.0.2
1010

1111
### Patch Changes
1212

1313
- chore: update instructions files for better copilot outputs - [see commit 797a114](https://github.com/db-ux-design-system/core-web/commit/797a114d7abc680667276f8ffc2f7f4482d89d3e):
14-
- fix: add some missing variables
14+
- fix: add some missing variables
1515

1616
## 4.0.1
1717

@@ -34,4 +34,4 @@ _version bump_
3434
### Patch Changes
3535

3636
- enabled [`@db-ux/agent-cli`](https://www.npmjs.com/package/@db-ux/agent-cli) for every package - [see commit 0233048](https://github.com/db-ux-design-system/core-web/commit/023304869e61f5a506dca66a22d69e5f3d70f4d0):
37-
- auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation
37+
- auto-generate/auto-update `.github/copilot-instructions.md`, to ensure GitHub Copilot uses DB UX Components for code generation

packages/foundations/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Check the required imports for [CSS](https://design-system.deutschebahn.com/core
228228
229229
After this you can extend your tailwind config like this:
230230

231-
##### Javascript
231+
##### JavaScript
232232

233233
```javascript
234234
//tailwind.config.js
@@ -250,7 +250,7 @@ export default {
250250
};
251251
```
252252

253-
##### Typescript
253+
##### TypeScript
254254

255255
```typescript
256256
//tailwind.config.ts

packages/foundations/docs/IDESupport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can enable auto-complete of CSS classes (like e.g. `db-color-cyan`) for `HTM
1515
1616
### JetBrain IDEs (like. IntelliJ IDEA, WebStorm, etc.)
1717

18-
1. Goto `File/Settings/Languages & Frameworks/Javascript/Libraries`
18+
1. Goto `File/Settings/Languages & Frameworks/JavaScript/Libraries`
1919
2. Press the `Add` button and write `db-ux` into the "name" input. This name will be shown in the auto-complete popup during coding. You can change the name if you want to. Keep the rest of the settings as default: `Framework type: <Custom>` and `Visibility: Project`.
2020
3. Next press the ➕ button below `Visibility` and select `Attach Directories...`
2121
4. This will open a file manager. Navigate to your current projects `node_modules/@db-ux/core-foundations/build/ide` and select the `ide` folder. Press `OK`.

showcases/next-showcase/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# misc
1919
.DS_Store
2020

21-
# typescript
21+
# TypeScript
2222
next-env.d.ts
2323

2424
# debug

showcases/patternhub/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ yarn-error.log*
2828
# vercel
2929
.vercel
3030

31-
# typescript
31+
# TypeScript
3232
*.tsbuildinfo
3333
next-env.d.ts
3434
/.idea/
Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
1+
/* To learn more about TypeScript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
22
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
33
{
4-
"extends": "./tsconfig.json",
5-
"compilerOptions": {
6-
"outDir": "./out-tsc/app",
7-
"types": []
8-
},
9-
"include": [
10-
"src/**/*.ts"
11-
],
12-
"exclude": [
13-
"src/**/*.spec.ts"
14-
]
4+
"extends": "./tsconfig.json",
5+
"compilerOptions": {
6+
"outDir": "./out-tsc/app",
7+
"types": []
8+
},
9+
"include": ["src/**/*.ts"],
10+
"exclude": ["src/**/*.spec.ts"]
1511
}
Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
1+
/* To learn more about TypeScript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
22
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
33
{
4-
"compileOnSave": false,
5-
"compilerOptions": {
6-
"strict": true,
7-
"noImplicitOverride": true,
8-
"noPropertyAccessFromIndexSignature": true,
9-
"noImplicitReturns": true,
10-
"noFallthroughCasesInSwitch": true,
11-
"skipLibCheck": true,
12-
"isolatedModules": true,
13-
"experimentalDecorators": true,
14-
"importHelpers": true,
15-
"target": "ES2022",
16-
"module": "preserve"
17-
},
18-
"angularCompilerOptions": {
19-
"enableI18nLegacyMessageIdFormat": false,
20-
"strictInjectionParameters": true,
21-
"strictInputAccessModifiers": true,
22-
"typeCheckHostBindings": true,
23-
"strictTemplates": true
24-
},
25-
"files": [],
26-
"references": [
27-
{
28-
"path": "./tsconfig.app.json"
29-
}
30-
]
4+
"compileOnSave": false,
5+
"compilerOptions": {
6+
"strict": true,
7+
"noImplicitOverride": true,
8+
"noPropertyAccessFromIndexSignature": true,
9+
"noImplicitReturns": true,
10+
"noFallthroughCasesInSwitch": true,
11+
"skipLibCheck": true,
12+
"isolatedModules": true,
13+
"experimentalDecorators": true,
14+
"importHelpers": true,
15+
"target": "ES2022",
16+
"module": "preserve"
17+
},
18+
"angularCompilerOptions": {
19+
"enableI18nLegacyMessageIdFormat": false,
20+
"strictInjectionParameters": true,
21+
"strictInputAccessModifiers": true,
22+
"typeCheckHostBindings": true,
23+
"strictTemplates": true
24+
},
25+
"files": [],
26+
"references": [
27+
{
28+
"path": "./tsconfig.app.json"
29+
}
30+
]
3131
}

0 commit comments

Comments
 (0)