Coder Social home page Coder Social logo

iolaus's People

Contributors

dependabot[bot] avatar effervescentia avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iolaus's Issues

bug: .iolausrc config file not accepted and throws cryptic error

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

Failed step "analyzeCommits"

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):

  • fromDirectory: "/home/tim/repos/monorepo-experiments"
  • moduleId: {"iolausrc":{"dryRun":true}}
  • silent: 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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.