Skip to content

Commit

Permalink
Move root PNPM workspace to js directory
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Koops <[email protected]>
  • Loading branch information
jonkoops committed Nov 29, 2024
1 parent 8222dfc commit 74c163b
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 21 deletions.
6 changes: 0 additions & 6 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
# UI (@keycloak/ui-maintainers)
###################################################################################################

/eslint.config.js @keycloak/ui-maintainers
/package.json @keycloak/ui-maintainers
/pnpm-lock.yaml @keycloak/ui-maintainers
/pnpm-workspace.yaml @keycloak/ui-maintainers
/tsconfig.eslint.json @keycloak/ui-maintainers
/tsconfig.json @keycloak/ui-maintainers
/themes/ @keycloak/ui-maintainers @keycloak/maintainers
/js/ @keycloak/ui-maintainers
/js/**/maven-resources-community/**/messages_*.properties @keycloak/ui-maintainers @keycloak/maintainers
Expand Down
6 changes: 0 additions & 6 deletions .github/actions/conditional/conditions
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ operator/ operator
docs/guides/ guides
docs/documentation/ documentation

eslint.config.js js
package.json js
pnpm-lock.yaml js
pnpm-workspace.yaml js
tsconfig.eslint.json js
tsconfig.json js
js/ js
rest/admin-ui-ext/ js
services/ js
Expand Down
3 changes: 3 additions & 0 deletions js/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Change to the js directory.
cd js

# Get the path the the Husky script.
DIRNAME="$(dirname "$0")"
FILE="$DIRNAME/_/husky.sh"
Expand Down
2 changes: 1 addition & 1 deletion js/apps/account-ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../tsconfig.json",
"include": ["src"],
"exclude": ["**/*.test.ts", "**/*.test.tsx"]
}
2 changes: 1 addition & 1 deletion js/apps/admin-ui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../tsconfig.json",
"include": ["src"],
"exclude": ["**/*.test.ts", "**/*.test.tsx"],
"references": [{ "path": "./tsconfig.node.json" }]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion js/libs/keycloak-admin-client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../tsconfig.json",
"include": ["src"],
"compilerOptions": {
"module": "Node16",
Expand Down
2 changes: 1 addition & 1 deletion js/libs/ui-shared/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../../tsconfig.json",
"extends": "../../tsconfig.json",
"include": ["src"],
"exclude": ["**/*.test.ts", "**/*.test.tsx"]
}
2 changes: 1 addition & 1 deletion package.json → js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"packageManager": "[email protected]+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228",
"scripts": {
"prepare": "husky js/.husky"
"prepare": "cd .. && husky js/.husky"
},
"devDependencies": {
"@eslint/compat": "^1.2.3",
Expand Down
4 changes: 4 additions & 0 deletions js/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
packages:
- apps/*
- libs/*
- themes-vendor
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions pnpm-workspace.yaml

This file was deleted.

0 comments on commit 74c163b

Please sign in to comment.