Skip to content

Commit cb56d3b

Browse files
author
amir_choubani
committed
add first nx plugin && first nx executor
1 parent e1f96d7 commit cb56d3b

21 files changed

+1140
-8
lines changed

nx-examples/plain-example/plain/.eslintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"ignorePatterns": ["**/*"],
44
"plugins": ["@nx"],
55
"overrides": [
6+
{
7+
"files": "*.json",
8+
"parser": "jsonc-eslint-parser",
9+
"rules": {}
10+
},
611
{
712
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
813
"rules": {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"eslint.validate": ["json"]
3+
}

nx-examples/plain-example/plain/apps/app-1/project.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@
8585
"staticFilePath": "dist/apps/app-1/browser",
8686
"spa": true
8787
}
88+
},
89+
"echo": {
90+
"executor": "@plain/my-plugin:echo",
91+
"options": {
92+
"textToEcho": "hello from my first executor testing"
93+
}
8894
}
8995
}
9096
}

nx-examples/plain-example/plain/nx.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
},
4747
"e2e-ci--**/*": {
4848
"dependsOn": ["^build"]
49+
},
50+
"@nx/js:tsc": {
51+
"cache": true,
52+
"dependsOn": ["^build"],
53+
"inputs": ["production", "^production"]
4954
}
5055
},
5156
"plugins": [

0 commit comments

Comments
 (0)