Comments (4)
@destnguyxn ah! well in that case, the solution would be to change it from an ERROR to an INFO message, or WARN
from nx-sonarqube.
@koliveira15 The issue for me is that I define a package.json
at the root level, and not for each application. Reading the code in utils.js, I notice that it is expecting each application to have a package.json
file. I suggest you add a fallback to check the root directory for a package.json
file and use the version from there
from nx-sonarqube.
@destnguyxn a "quick fix" to remove the error is to add projectVersion
to your sonar
options:
{
...
"sonar": {
"executor": "@koliveira15/nx-sonarqube:scan",
"options": {
"projectVersion": "1.0",
...
}
}
}
}
from nx-sonarqube.
@gcko the plugin does have a fallback to the root directory when not found the package.json
, it just the error message seems annoying and may cause misunderstanding.
Thank you for the quick fix 😄
from nx-sonarqube.
Related Issues (20)
- Add support for external analyzers HOT 2
- Support for nx v18 HOT 2
- Analyze independently each project, without their static dependencies HOT 3
- Nx Release Script
- Astro Docs Site
- Duplicated source and tests: inclusion/exclusion patterns produce disjoint sets for main and test files HOT 1
- "determinePaths" fails if used with nx plugins (nx crystals)
- Branches do not work on Azure Devops HOT 4
- Ambiguous override for "sources" property. HOT 1
- Use sourceRoot if it exists but fallback to root if it doesnt
- Update CI workflow to 0.14.0
- Deploy Docs Site
- Simplify serving/building docs site tasks
- Feature Request Issue Template
- Bugfix Issue Template
- Conventional Commit Hooks
- Contribution Document
- Refactor utils into smaller files
- Sonar ENV & Extra Option Documentation
- Pull Request Template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nx-sonarqube.