@projectevergreen/astro-wcc 0.2.0 → 0.3.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.
- package/package.json +11 -5
- package/.nvmrc +0 -1
- package/TODO.md +0 -16
package/package.json
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectevergreen/astro-wcc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "An Astro integration for SSR Web Components using WCC",
|
|
5
|
-
"main": "index.js",
|
|
6
5
|
"type": "module",
|
|
7
6
|
"author": "Owen Buckley <owen@thegreenhouse.io>",
|
|
8
7
|
"homepage": "https://github.com/ProjectEvergreen/astro-wcc#readme",
|
|
9
8
|
"license": "MIT",
|
|
10
|
-
"publishConfig": {
|
|
11
|
-
"access": "public"
|
|
12
|
-
},
|
|
13
9
|
"repository": {
|
|
14
10
|
"type": "git",
|
|
15
11
|
"url": "git+https://github.com/ProjectEvergreen/astro-wcc.git"
|
|
@@ -20,6 +16,16 @@
|
|
|
20
16
|
"Web Components",
|
|
21
17
|
"SSR"
|
|
22
18
|
],
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"index.js",
|
|
24
|
+
"server.js"
|
|
25
|
+
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": "./index.js"
|
|
28
|
+
},
|
|
23
29
|
"peerDependencies": {
|
|
24
30
|
"astro": "^5.16.6"
|
|
25
31
|
},
|
package/.nvmrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
24.4.0
|
package/TODO.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
1. [x] Create as npm package
|
|
2
|
-
1. [x] clean up console logs - https://github.com/ProjectEvergreen/astro-wcc/issues/1
|
|
3
|
-
1. [ ] Client hints - track as issue
|
|
4
|
-
```
|
|
5
|
-
<x-greeting client:visible></x-greeting>
|
|
6
|
-
```
|
|
7
|
-
1. [x] auto mapping imports - track as issue - https://github.com/ProjectEvergreen/astro-wcc/issues/2
|
|
8
|
-
1. [x] additional plugin configurations? - track as question - https://github.com/ProjectEvergreen/astro-wcc/issues/3
|
|
9
|
-
```js
|
|
10
|
-
injectScript("head-inline", readFileSync(new URL("./client-shim.min.js", import.meta.url), { encoding: "utf-8" }));
|
|
11
|
-
|
|
12
|
-
// https://github.com/thepassle/custom-elements-ssr/blob/master/astro.js#L3
|
|
13
|
-
updateConfig({
|
|
14
|
-
vite: getViteConfiguration()
|
|
15
|
-
});
|
|
16
|
-
```
|