question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Get name of all libraries or apps

See original GitHub issue

Description

Now we have the opportunity:

$ nx affected:libs --plain
core taiga-schematics addon-tablebars addon-commerce addon-charts addon-mobile addon-doc addon-editor addon-table kit cdk i18n icons testing

And we can do this:

$ nx affected --exclude=$(nx affected:apps --plain) # run only libraries

But I don’t see --exclude for run-many command.

Please, add API for get list apps or libs

$ nx info:apps 
demo

$ nx info:libs
core taiga-schematics addon-tablebars addon-commerce addon-charts addon-mobile addon-doc addon-editor addon-table kit cdk i18n icons testing

Motivation

we had to write code that will exclude applications

image

image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
splincodecommented, Oct 26, 2021
So then you can do: nx run-many --target package --all and because apps won't have the package target, they won't be run.

But I want use build command instead package))

work in branch/any

npx nx affected --target=build --exclude=$(nx affected:apps --plain)

didn’t work in branch/master

npx nx run-many --target=build --all  --exclude=$(nx affected:apps --plain)

We want

$ nx workspace:apps --plain # show all names for library type
$ nx workspace:libs --plain # show all names for apps type

And then we can in master:

npx nx run-many --target=build --all  --exclude=$(nx workspace:apps --plain)
4reactions
OlivierAlbertinicommented, Sep 6, 2022

I found npx nx affected:libs --all --plain will display all libs npx nx affected:apps --all --plain will display all apps

npx nx run-many --target=build --projects=$(npx nx affected:libs --all --plain | sed -r 's/[ ]+/,/g') will build all libs only

Read more comments on GitHub >

github_iconTop Results From Across the Web

Find your apps in App Library on iPhone - Apple Support
In App Library on iPhone, easily find your apps organized into categories—Social, Travel, Entertainment, and so on—and open them.
Read more >
Get jar library names used by app - java - Stack Overflow
How can I get all jars name used by my application? Based on the bellow image, I would like an array that contains...
Read more >
How to List Installed Python Packages - ActiveState
Before getting a list of installed packages, it's always a good ... all Python packages including linked C libraries from source code, ...
Read more >
Get a list of document libraries from a SharePoint site
Hello all, I have a radio control and I want the items to be the names of the document libraries in my SharePoint...
Read more >
Libby App: Free ebooks & audiobooks from your library
To get started, simply download the Libby app, find your library, and sign in. Your loans, holds and wish list items will be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found