Eleventy project - what version of eleventy does it use? And (how) does it update?

Hi there, I have been having a lot of fun using the eleventy starter on glitch, but one thing I can’t figure out is:

  • What version of eleventy does it use? And (how) does it update?

My level is definitely beginner here - but from what I can tell it doesn’t seem to work like a standard npm package where I can see in package.json if an update is available. And in file we have the line

devDependencies": { "@11ty/eleventy": "^0.12.1"

But I can’t believe that it is really using v0.12.1 given v1.0 was released a short while ago and v2 is also coming soon.

Any insight on this would be appreciated!
Thanks, Anthony

1 Like

I’m seeing it on ^1.0.0 as of right now. Maybe this was just the right thing to post to get someone’s attention to update it :laughing:

Checking the rewind, we updated it to 1.0.0 back in mid-January when it came out. If you’re seeing a lower version, it may be an old remix!

If you have a remix of an older version, you can update it by selecting the package to update via the “Add package” dropdown at the top of package.json and searching @11ty/eleventy specifically!

Thanks both seems to have done the trick! Updated and not obviously broken :slightly_smiling_face:.

However I now have the slightly odd situation where my package.json file has the eleventy v1.0.0 not in the devDependencies - ie it doesn’t look like your screen shot Jenn it looks like this:

  "dependencies": {
    "luxon": "^2.3.1",
    "@11ty/eleventy": "^1.0.0"
  "devDependencies": {
    "@11ty/eleventy": "^0.12.1"

Is this going to cause future conflict between the two versions or does the v1.0.0 override the devDependencies version whereever it is shown in this file?

You can delete the devDependencies and keep eleventy as a dependency.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.