-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: No config object or "package.json" was found #12
Comments
Does the project have a package.json? |
Yes it does. Are we there any specific requirements for its contents?
…On Sat, Mar 4, 2017 at 11:46 AM Jon Schlinkert ***@***.***> wrote:
Does the project have a package.json?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADCrriwEYRIuKNdY71N_qwUCM3Q0edPxks5rib9_gaJpZM4MTDJY>
.
|
Honestly, I don't remember lol, this runs on a really old version of verb. I'm planning on updating this to use the latest verb as soon as we merge the dev branch. I'm not sure if I'll have time to debug this, but I'll report back if I do. |
Gotcha, and what's the reason to use grunt-verb vs grunt-assemble? I've
been following the rabbit hole down starting with grunt-readme (which was
great btw!), and I'm honestly having some trouble understanding the
different use cases for one vs the other. In the case of just wanting a
better readme (TOC, split out files, etc), which tool do you most strongly
recommend?
…On Sat, Mar 4, 2017 at 2:45 PM, Jon Schlinkert ***@***.***> wrote:
Honestly, I don't remember lol, this runs on a really old version of verb.
I'm planning on updating this to use the latest verb as soon as we merge
the dev branch. I'm not sure if I'll have time to debug this, but I'll
report back if I do.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADCrrhWsWL2Rn0VfS7KQxpP2VKlUaiHBks5riemdgaJpZM4MTDJY>
.
|
Also, just to confirm - am I understanding correctly that this project is
basically in a broken state right now?
…On Sat, Mar 4, 2017 at 3:02 PM, Mickey Kay ***@***.***> wrote:
Gotcha, and what's the reason to use grunt-verb vs grunt-assemble? I've
been following the rabbit hole down starting with grunt-readme (which was
great btw!), and I'm honestly having some trouble understanding the
different use cases for one vs the other. In the case of just wanting a
better readme (TOC, split out files, etc), which tool do you most strongly
recommend?
On Sat, Mar 4, 2017 at 2:45 PM, Jon Schlinkert ***@***.***>
wrote:
> Honestly, I don't remember lol, this runs on a really old version of
> verb. I'm planning on updating this to use the latest verb as soon as we
> merge the dev branch. I'm not sure if I'll have time to debug this, but
> I'll report back if I do.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#12 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ADCrrhWsWL2Rn0VfS7KQxpP2VKlUaiHBks5riemdgaJpZM4MTDJY>
> .
>
|
UPDATE: so I think I just got to the bottom of the error in question - check this out:
Looks like |
It seems to be for you, so I'd say yes lol. This repo hasn't been updated for a couple of years. But verb and the verb plugin ecosystem are very active, and it's used on thousands of projects. I just haven't used grunt in a while. But like I said, I plan to update this soon.
No problem, I'll try to clarify. tldr;
We built both applications on top of base, which gives them a similar API and allows them to share plugins. But they are used very differently, have different default settings and plugins, and the CLIs behave differently. I know you asked about the |
@MickeyKay btw it might be worth trying the I can tell you how to get set up if you want, then there are just a couple of minor differences that I'd be happy to walk you through. Up to you, no worries either way on my end. |
Thanks @jonschlinkert, much appreciated. I would love know how to integrate vanilla I'm curious, has the former readme (grunt-assemble) just not been updated in that long, and would the build job currently break? And for the latter (assemble), how is |
Where is assemble? Or grunt-assemble? I don't see either one in the screens. Sorry I may have missed something |
Those are respectively at the bottom of the readme's for grunt-assemble and assemble. So clearly those readme's were built using grunt-verb and verb-generate-readme. |
Oooh, got it. Sorry, we use verb on 1k+ packages. those footers had not special significance to me. Makes sense now. Both readme's were built by running the To run the readme generator from the command line, you would do: $ verb readme This technically runs the Or, you can add a hope that helps. |
I recently added this var pkg = grunt.file.readJSON('package.json');
grunt.initConfig({
pkg,
verb: {
options: {
config: Object.assign({}, pkg)
},
readme: {
files: [{
src: '.verb.md',
dest: 'README.md'
}]
}
}
}); |
Hi there, first off great project! Love it.
Secondly, no matter what I do, whether I manually configure a Gruntfile task or not, I get the following:
The text was updated successfully, but these errors were encountered: