effervescentia / iolaus Goto Github PK
View Code? Open in Web Editor NEWopinionated semantic versioning system for lerna monorepos
License: MIT License
opinionated semantic versioning system for lerna monorepos
License: MIT License
reported in #8
currently using cosmiconfig
to read and parse config files, could be messing with semantic-release
's internal config to include it for ourselves?
or perhaps merging config includes properties that need to be filtered before passing to semantic-release
and its plugins
reported in #8
Hi,
Great idea for a tool! ๐
I understand it's early days... but just hit this, and not quite sure what to do:
[iolaus] โบ โ error Failed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
[iolaus] โบ โ error Failed step "analyzeCommits" of plugin "@semantic-release/commit-analyzer"
{ TypeError: Expected `moduleId` to be of type `string`, got `object`
at resolveFrom (/home/tim/repos/monorepo-experiments/node_modules/resolve-from/index.js:18:9)
at module.exports (/home/tim/repos/monorepo-experiments/node_modules/resolve-from/index.js:52:47)
at module.exports (/home/tim/repos/monorepo-experiments/node_modules/import-from/index.js:4:55)
at module.exports (/home/tim/repos/monorepo-experiments/node_modules/@semantic-release/commit-analyzer/lib/load-parser-config.js:24:60)
at analyzeCommits (/home/tim/repos/monorepo-experiments/node_modules/@semantic-release/commit-analyzer/index.js:29:24)
at validator (/home/tim/repos/monorepo-experiments/node_modules/semantic-release/lib/plugins/normalize.js:34:30)
at pReduce (/home/tim/repos/monorepo-experiments/node_modules/semantic-release/lib/plugins/pipeline.js:37:40)
at next (/home/tim/repos/monorepo-experiments/node_modules/p-reduce/index.js:17:9)
at process._tickCallback (internal/process/next_tick.js:68:7) pluginName: '@semantic-release/commit-analyzer' }
So I've added some console.log()
statements to try and see what's going on, somehow these are the values being passed to resolveFrom(fromDirectory, moduleId, silent)
:
"/home/tim/repos/monorepo-experiments"
{"iolausrc":{"dryRun":true}}
undefined
...so yeah, failing as moduleId
is expected to be a string, and it's getting the config object.
Any thoughts? :-)
Any help gratefully received, happy to write-up any docs that I've needed to get things running - this project deserves to be a success as it's so very needed!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.