diff --git a/workspace/index.html b/workspace/index.html index bf82bb1..2e4fdf9 100644 --- a/workspace/index.html +++ b/workspace/index.html @@ -86,10 +86,10 @@
git submodule add https://community.rokojori.com/Rokojori/rokojori-auth-connector.git shared/auth-connector
+ git submodule add https://community.rokojori.com/Rokojori/rokojori-auth-connector.git source/auth-connector
git submodule update --init
- This creates shared/auth-connector/ inside your service repo.
+ This creates source/auth-connector/ inside your service repo.
Import directly from that path — no build step, no install step.
# Inside your service repo — pull the latest connector and commit the new SHA
-git submodule update --remote shared/auth-connector
-git add shared/auth-connector
+git submodule update --remote source/auth-connector
+git add source/auth-connector
git commit -m "update auth-connector"
Each service repo pins a specific commit of the connector. Updates are @@ -124,12 +124,12 @@ git submodule update --init
Add a path alias so imports read cleanly instead of using relative
- ../../shared/auth-connector/source/... paths.
+ ../../source/auth-connector/source/... paths.
{
"compilerOptions": {
"paths": {
- "auth-connector/*": ["./shared/auth-connector/source/*"]
+ "auth-connector/*": ["./source/auth-connector/source/*"]
}
}
}
@@ -143,8 +143,8 @@ import type { AuthPayload } from 'auth-connector/shared/types';
import { jwtMiddleware, requireAuth } from '../../shared/auth-connector/source/server/auth';
-import type { AuthPayload } from '../../shared/auth-connector/source/shared/types';
+ import { jwtMiddleware, requireAuth } from '../../source/auth-connector/source/server/auth';
+import type { AuthPayload } from '../../source/auth-connector/source/shared/types';
git submodule add — add the connector at
- shared/auth-connector/
+ source/auth-connector/
tsconfig.json