Skip to content

Commit

Permalink
Remove NX from UI lib (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpens authored Jan 16, 2025
1 parent 33c730d commit eb464b5
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 143 deletions.
12 changes: 0 additions & 12 deletions libs/ui/.babelrc

This file was deleted.

18 changes: 2 additions & 16 deletions libs/ui/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
{
"extends": ["plugin:@nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {}
},
{
"files": ["*.ts", "*.tsx"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"rules": {}
}
]
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*"]
}
8 changes: 2 additions & 6 deletions libs/ui/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# ui
# UI

This library was generated with [Nx](https://nx.dev).

## Running unit tests

Run `nx test ui` to execute the unit tests via [Vitest](https://vitest.dev/).
A library of user interface (UI) components.
12 changes: 12 additions & 0 deletions libs/ui/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "ui",
"version": "0.1.0",
"description": "A library of user interface (UI) components.",
"scripts": {
"lint": "eslint . --ext .ts,.tsx",
"typecheck": "tsc --project ./tsconfig.json --noEmit"
},
"license": "EUPL-1.2",
"private": true,
"type": "module"
}
24 changes: 0 additions & 24 deletions libs/ui/project.json

This file was deleted.

23 changes: 7 additions & 16 deletions libs/ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react-jsx",
"allowJs": false,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true
},
"files": [],
"include": [],
"references": [
{
"path": "./tsconfig.lib.json"
},
{
"path": "./tsconfig.spec.json"
}
],
"extends": "../../tsconfig.base.json"
"resolveJsonModule": true,
"strict": true,
"types": ["../../typings/cssmodules.d.ts"]
}
}
18 changes: 0 additions & 18 deletions libs/ui/tsconfig.lib.json

This file was deleted.

20 changes: 0 additions & 20 deletions libs/ui/tsconfig.spec.json

This file was deleted.

30 changes: 0 additions & 30 deletions libs/ui/vite.config.ts

This file was deleted.

2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
packages:
- 'libs/form-renderer'
- 'libs/form-builder'
- 'libs/form-renderer'
- 'libs/ui'
- 'apps/*'

0 comments on commit eb464b5

Please sign in to comment.