@projectevergreen/eleventy-plugin-wcc 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +8 -3
package/README.md CHANGED
@@ -90,7 +90,7 @@ Now if you run `eleventy`, you should get an _index.html_ in your _site/_ direct
90
90
  <h2>Hello From 11ty + WCC!</h2>
91
91
 
92
92
  <x-greeting>
93
- <template shadowroot="open">
93
+ <template shadowrootmode="open">
94
94
  <p>Hello from the greeting component!</p>
95
95
  </template>
96
96
  </x-greeting>
package/package.json CHANGED
@@ -1,9 +1,11 @@
1
1
  {
2
2
  "name": "@projectevergreen/eleventy-plugin-wcc",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "An Eleventy plugin for rendering Web Components with WCC.",
5
- "repository": "https://github.com/ProjectEvergreen/eleventy-plugin-wcc",
6
- "main": "src/index.js",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/ProjectEvergreen/eleventy-plugin-wcc.git"
8
+ },
7
9
  "author": "Owen Buckley <owen@thegreenhouse.io>",
8
10
  "type": "module",
9
11
  "license": "MIT",
@@ -18,6 +20,9 @@
18
20
  "files": [
19
21
  "src/"
20
22
  ],
23
+ "exports": {
24
+ ".": "./src/index.js"
25
+ },
21
26
  "scripts": {
22
27
  "clean": "rimraf ./_site",
23
28
  "lint": "eslint \"src/**/*.js\" \"demo/**/*.js\"",