Open niemyjski opened 1 year ago
Wow, this escaped me. Apologize - you do need to define a lage.config.js, specifically with a build task in the pipeline in order for this to work.
// @file lage.config.js
module.exports = {
pipeline: {
build: ["^build"]
}
}
Is this a more general problem? I cannot even run npx lage init
or npx lage info
:
lage - Version 2.5.3 - 15 Workers
[16:00:09] - log lage: no targets found that matches the given scope.
(just testing via https://microsoft.github.io/lage/docs/Quick%20Start)
@jeffrson probably, I ended up getting rid of lage for just vanilla npm workspaces.
Having the same issue after updating to v2.17 lage.config.js
module.exports = {
"pipeline": {
"build": [
"^build"
],
"build:ci": [
"^build:ci"
],
"build:polyfill": [],
"lint": [],
"test-integration": [],
"test-integration:ci": [],
"test-unit": [],
"test-unit:ci": [],
},
"npmClient": "yarn"
};
Any resolution?
nvm, I was missing the custom command from the above config.
module.exports = {
"pipeline": {
"build": [
"^build"
],
"customcommand": [],
"build:ci": [
"^build:ci"
],
"build:polyfill": [],
"lint": [],
"test-integration": [],
"test-integration:ci": [],
"test-unit": [],
"test-unit:ci": [],
},
"npmClient": "yarn"
};
Describe the bug
I upgraded https://github.com/exceptionless/Exceptionless.JavaScript from latest 1.9.x to 2.0.0 and now when I run
To Reproduce Steps to reproduce the behavior:
npm run build
Expected behavior It should build all the projects.
Environment/Troubleshooting
If this is an issue with run order of tasks, please paste in the result of
lage info [your command(s)] [options]