Skip to content

Commit 81d65ea

Browse files
authored
Merge pull request #132 from getlarge/chore-enable-module-boundaries
chore: add scope tags for hydra, keto, and kratos libraries in projec…
2 parents 76edc82 + fdba005 commit 81d65ea

File tree

10 files changed

+45
-40
lines changed

10 files changed

+45
-40
lines changed

e2e/ory-integration/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ory-integration",
3-
"version": "0.0.2",
3+
"version": "0.0.6",
44
"private": true,
55
"nx": {
66
"name": "ory-integration",
@@ -63,16 +63,16 @@
6363
}
6464
},
6565
"dependencies": {
66-
"@getlarge/hydra-client-wrapper": "^0.3.2",
67-
"@getlarge/keto-client-wrapper": "^0.6.2",
68-
"@getlarge/keto-relations-parser": "^0.0.12",
69-
"@getlarge/kratos-client-wrapper": "^0.2.3",
66+
"@getlarge/hydra-client-wrapper": "^0.3.3",
67+
"@getlarge/keto-client-wrapper": "^0.6.3",
68+
"@getlarge/keto-relations-parser": "^0.0.13",
69+
"@getlarge/kratos-client-wrapper": "^0.2.4",
7070
"@nestjs/axios": "^4.0.0",
7171
"@nestjs/common": "^11.0.7",
7272
"@nestjs/core": "^11.0.7",
7373
"@nx/webpack": "20.4.0",
7474
"@ory/client": "^1.16.5",
75-
"axios": "1.7.9",
75+
"axios": "1.8.4",
7676
"defekt": "^9.3.1",
7777
"rxjs": "^7.8.0",
7878
"tslib": "^2.7.0"

eslint.config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,22 @@ module.exports = [
2828
sourceTag: '*',
2929
onlyDependOnLibsWithTags: ['*'],
3030
},
31+
{
32+
sourceTag: 'scope:hydra',
33+
onlyDependOnLibsWithTags: ['scope:hydra', 'scope:shared'],
34+
},
35+
{
36+
sourceTag: 'scope:keto',
37+
onlyDependOnLibsWithTags: ['scope:keto', 'scope:shared'],
38+
},
39+
{
40+
sourceTag: 'scope:kratos',
41+
onlyDependOnLibsWithTags: ['scope:kratos', 'scope:shared'],
42+
},
43+
{
44+
sourceTag: 'scope:shared',
45+
onlyDependOnLibsWithTags: ['scope:shared'],
46+
},
3147
],
3248
},
3349
],

package-lock.json

Lines changed: 16 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/base-client-wrapper/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "packages/base-client-wrapper/src",
55
"projectType": "library",
6-
"tags": [],
6+
"tags": ["scope:shared"],
77
"targets": {
88
"build": {
99
"executor": "@nx/js:tsc"

packages/hydra-client-wrapper/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "packages/hydra-client-wrapper/src",
55
"projectType": "library",
6-
"tags": [],
6+
"tags": ["scope:hydra"],
77
"targets": {
88
"build": {
99
"executor": "@nx/js:tsc",

packages/keto-cli/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "packages/keto-cli/src",
55
"projectType": "library",
6-
"tags": [],
6+
"tags": ["scope:keto"],
77
"targets": {
88
"build": {
99
"executor": "@nx/js:tsc"

packages/keto-client-wrapper/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "packages/keto-client-wrapper/src",
55
"projectType": "library",
6-
"tags": [],
6+
"tags": ["scope:keto"],
77
"targets": {
88
"build": {
99
"executor": "@nx/js:tsc",

packages/keto-relations-parser/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "packages/keto-relations-parser/src",
55
"projectType": "library",
6-
"tags": [],
6+
"tags": ["scope:keto"],
77
"targets": {
88
"build": {
99
"executor": "@nx/js:tsc"

packages/kratos-cli/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "packages/kratos-cli/src",
55
"projectType": "library",
6-
"tags": [],
6+
"tags": ["scope:kratos"],
77
"targets": {
88
"build": {
99
"executor": "@nx/js:tsc"

packages/kratos-client-wrapper/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "packages/kratos-client-wrapper/src",
55
"projectType": "library",
6-
"tags": [],
6+
"tags": ["scope:kratos"],
77
"targets": {
88
"build": {
99
"executor": "@nx/js:tsc",

0 commit comments

Comments
 (0)