Skip to content

Commit

Permalink
Merge branch 'main' of github.com:leanix/nx-affected-depenencies-action
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantintieber committed Dec 7, 2021
2 parents cdc33bf + e20087c commit e49b233
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v2

- name: Set Node.js 12.x
uses: actions/setup-node@v2.4.1
uses: actions/setup-node@v2.5.0
with:
node-version: 12.x

Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Then this action is for you!

By combining `nx affected` and `nx dep-graph --focus=theNameOfTheAppToDeploy` we can create an intersection of these two lists to only get the affected projects that are actually a dependency of `theNameOfTheAppToDeploy`.

![Illustration of the different lists of projects produced by three commands](https://user-images.githubusercontent.com/46342664/144886209-755375b0-42a2-4532-9e8c-f9357b10795c.png)


## Usage:

### Using base and head parameters
Expand Down Expand Up @@ -98,4 +101,4 @@ See the [versioning documentation](https://github.com/actions/toolkit/blob/maste

## Copyright and License

Copyright 2021 LeanIX GmbH, Bonn. Code released under [the MIT license](LICENSE).
Copyright 2021 LeanIX GmbH, Bonn. Code released under [the MIT license](LICENSE).
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Nx affected depencencies action'
name: 'Nx affected dependencies action'
description: 'Run angular CLI commands for an affected project and all its affected dependencies'
author: 'LeanIX GmbH'
inputs:
Expand Down
90 changes: 45 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/node": "^16.11.4",
"@typescript-eslint/parser": "^5.0.0",
"@typescript-eslint/parser": "^5.6.0",
"@vercel/ncc": "^0.32.0",
"eslint": "^7.32.0",
"eslint-plugin-github": "^4.3.2",
"eslint-plugin-jest": "^25.2.4",
"jest": "^27.3.1",
"js-yaml": "^4.1.0",
"prettier": "2.4.1",
"prettier": "2.5.1",
"ts-jest": "^27.0.7",
"typescript": "^4.5.2"
}
Expand Down

0 comments on commit e49b233

Please sign in to comment.