mateodelnorte / meta

tool for turning many repos into a meta repo. why choose many repos or a monolithic repo, when you can have both with a meta repo?
MIT License
2.03k stars 95 forks source link

Version of patrykzurawik/meta-bump on npm is obsolete #291

Closed lexoyo closed 2 years ago

lexoyo commented 2 years ago

🤓 Question

Hello, happy to join the project :)

When I add meta-bump from npm, the code contains errors which are not present in https://github.com/patrykzurawik/meta-bump/

In the code on npm latest version (0.2.0) is not up to date, especially a problem with this file which misses the \ before ${ https://github.com/patrykzurawik/meta-bump/blob/master/bin/meta-bump-npm

Does someone know if it is normal ? cc @patrykzurawik

lexoyo commented 2 years ago

I tried to follow the instructions on this repo https://github.com/karol-f/meta-repository

It produces the same error as in my repo:

$ yarn install && yarn setup
...
$ yarn meta-bump-yarn shared-library
yarn run v1.22.10
$ /home/lexoyo/Documents/tests/meta-repository/node_modules/.bin/meta-bump-yarn shared-library
/home/lexoyo/Documents/tests/meta-repository/node_modules/meta-bump/bin/meta-bump-yarn:47
        [ -n "$latestTag" ] && latestTag=$(git describe --tags $latestTag) && latestTag=${latestTag#"v"} # remove 'v' from latestTag
                                                                                          ^^^^^^^^^

SyntaxError: Missing } in template expression
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1032:15)
    at Module._compile (node:internal/modules/cjs/loader:1067:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
patrickleet commented 2 years ago

As this is a 3rd party plugin, I think you'd need to get in touch with the plugin's author - of course you can always fork it

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.