Skip to content

Commit

Permalink
Merge pull request wso2#3412 from brionmario/master
Browse files Browse the repository at this point in the history
Define `implicitDependencies` to supplement NX
  • Loading branch information
brionmario authored Aug 30, 2022
2 parents 4fcafa0 + 94bf564 commit a4bed9f
Show file tree
Hide file tree
Showing 18 changed files with 114 additions and 21 deletions.
3 changes: 0 additions & 3 deletions apps/authentication-portal/.jshintrc

This file was deleted.

8 changes: 8 additions & 0 deletions apps/authentication-portal/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "apps/authentication-portal",
"sourceRoot": "apps/authentication-portal/src",
"projectType": "application",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"implicitDependencies": [
"theme"
],
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
Expand Down
17 changes: 15 additions & 2 deletions apps/console/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "apps/console",
"sourceRoot": "apps/console/src",
"projectType": "application",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"implicitDependencies": [
"access-control",
"core",
"form",
"forms",
"i18n",
"react-components",
"theme",
"validation"
],
"targets": {
"build-prepare": {
"executor": "@nrwl/workspace:run-commands",
Expand Down Expand Up @@ -189,6 +203,5 @@
"parallel": false
}
}
},
"tags": []
}
}
16 changes: 14 additions & 2 deletions apps/myaccount/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "apps/myaccount",
"sourceRoot": "apps/myaccount/src",
"projectType": "application",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"implicitDependencies": [
"access-control",
"core",
"forms",
"i18n",
"react-components",
"theme",
"validation"
],
"targets": {
"build-prepare": {
"executor": "@nrwl/workspace:run-commands",
Expand Down Expand Up @@ -170,6 +183,5 @@
"parallel": false
}
}
},
"tags": []
}
}
8 changes: 8 additions & 0 deletions apps/recovery-portal/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "apps/recovery-portal",
"sourceRoot": "apps/recovery-portal/src",
"projectType": "application",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"implicitDependencies": [
"theme"
],
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
Expand Down
8 changes: 8 additions & 0 deletions apps/x509-certificate-authentication-portal/project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "apps/x509-certificate-authentication-portal",
"sourceRoot": "apps/x509-certificate-authentication-portal/src",
"projectType": "application",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"implicitDependencies": [
"theme"
],
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
Expand Down
10 changes: 9 additions & 1 deletion components/theme/project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "components/theme-component",
"projectType": "library"
"sourceRoot": "components/theme-component",
"projectType": "library",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"implicitDependencies": [
"theme"
]
}
9 changes: 7 additions & 2 deletions modules/access-control/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"projectType": "library",
"generators": {},
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "modules/access-control",
"sourceRoot": "modules/access-control/src",
"projectType": "library",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"implicitDependencies": [
"core"
],
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
Expand Down
5 changes: 3 additions & 2 deletions modules/core/project.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"generators": {},
"root": "modules/core",
"sourceRoot": "modules/core/src",
"projectType": "library",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
Expand Down
8 changes: 8 additions & 0 deletions modules/form/project.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "modules/form",
"sourceRoot": "modules/form/src",
"projectType": "library",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"implicitDependencies": [
"core",
"react-components",
"validation"
],
"targets": {
"build": {
"executor": "@nrwl/web:rollup",
Expand Down
5 changes: 4 additions & 1 deletion modules/forms/project.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"projectType": "library",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "modules/forms",
"sourceRoot": "modules/forms/src",
"projectType": "library",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"targets": {
"build": {
"executor": "@nrwl/web:rollup",
Expand Down
9 changes: 7 additions & 2 deletions modules/i18n/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
{
"projectType": "library",
"generators": {},
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "modules/i18n",
"sourceRoot": "modules/i18n/src",
"projectType": "library",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"implicitDependencies": [
"core"
],
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
Expand Down
9 changes: 9 additions & 0 deletions modules/react-components/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "modules/react-components",
"sourceRoot": "modules/react-components/src",
"projectType": "library",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"implicitDependencies": [
"core",
"forms",
"theme"
],
"targets": {
"build": {
"executor": "@nrwl/web:rollup",
Expand Down
6 changes: 4 additions & 2 deletions modules/theme/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"projectType": "library",
"generators": {},
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "modules/theme",
"sourceRoot": "modules/theme/src",
"projectType": "library",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
Expand Down
6 changes: 4 additions & 2 deletions modules/validation/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"projectType": "library",
"generators": {},
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"root": "modules/validation",
"sourceRoot": "modules/validation/src",
"projectType": "library",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
Expand Down
1 change: 1 addition & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"extends": "@nrwl/workspace/presets/npm.json",
"npmScope": "wso2is",
"workspaceLayout": {
Expand Down
6 changes: 4 additions & 2 deletions tests/project.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"projectType": "library",
"generators": {},
"$schema": "../node_modules/nx/schemas/project-schema.json",
"root": "tests",
"sourceRoot": "tests",
"projectType": "library",
"generators": {},
"prefix": "@wso2is",
"tags": [],
"targets": {
"build": {
"executor": "@nrwl/workspace:run-commands",
Expand Down
1 change: 1 addition & 0 deletions workspace.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "./node_modules/nx/schemas/workspace-schema.json",
"version": 2,
"projects": {
"access-control": "modules/access-control",
Expand Down

0 comments on commit a4bed9f

Please sign in to comment.