Comments (6)
I think this looks to me—I’ll want to give it a spin later but the code looks solid to me.
Hmm, that’s a good question. I believe it will ensure that the version of eleventy that’s running fits the plugin’s declared version. I would hope it does at least. So if you have "@11ty/eleventy": "^0.5.2"
declared and someone tried to install and use with eleventy 0.4.0, it wouldn’t be valid. I need to check this 😱
from eleventy-respimg.
Another example: https://github.com/11ty/eleventy-plugin-syntaxhighlight/blob/master/.eleventy.js which note that this repo’s package.json lists "main": ".eleventy.js"
https://github.com/11ty/eleventy-plugin-syntaxhighlight/blob/master/package.json#L5
from eleventy-respimg.
@zachleat Would appreciate a quick review here... Am I doing it wrong?
from eleventy-respimg.
(Note to self, should have done a PR)
from eleventy-respimg.
One specific, possibly very dumb question: what do I get by listing eleventy
in the dependencies, other than a duplicate copy of eleventy
in my node_modules
that will never get run because I already have a npm install -g
’d version?
Is this for people who use npx
, or?
(hi, I have never published code to npm before)
from eleventy-respimg.
More info at https://docs.npmjs.com/misc/semver#caret-ranges-123-025-004 (although you can use other types of versions there too if you want, not just the caret one)
from eleventy-respimg.
Related Issues (8)
- Markdown shortcode escape
- Process for referencing local images before remote deployment? HOT 4
- Ability to define multiple sets of srcsetWidths HOT 1
- error in DEBUG HOT 2
- Merge pull requests for adding class attributes and lazy image loading
- unknown block tag: respimg HOT 2
- Support variables inside `respimg` tag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eleventy-respimg.