@ampless/plugin-plausible 0.1.1-alpha.3 → 0.1.1-alpha.5

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/dist/index.js +1 -0
  2. package/package.json +18 -3
package/dist/index.js CHANGED
@@ -9,6 +9,7 @@ function plausiblePlugin(options = {}) {
9
9
  } = options;
10
10
  return definePlugin({
11
11
  name: "plausible",
12
+ packageName: "@ampless/plugin-plausible",
12
13
  instanceId,
13
14
  displayName: { en: "Plausible Analytics", ja: "Plausible Analytics" },
14
15
  apiVersion: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampless/plugin-plausible",
3
- "version": "0.1.1-alpha.3",
3
+ "version": "0.1.1-alpha.5",
4
4
  "description": "Plausible Analytics plugin for ampless",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -8,7 +8,8 @@
8
8
  ".": {
9
9
  "import": "./dist/index.js",
10
10
  "types": "./dist/index.d.ts"
11
- }
11
+ },
12
+ "./package.json": "./package.json"
12
13
  },
13
14
  "files": [
14
15
  "dist",
@@ -25,15 +26,29 @@
25
26
  "homepage": "https://github.com/heavymoons/ampless/tree/main/packages/plugin-plausible#readme",
26
27
  "bugs": "https://github.com/heavymoons/ampless/issues",
27
28
  "dependencies": {
28
- "ampless": "1.0.0-alpha.21"
29
+ "ampless": "1.0.0-alpha.23"
29
30
  },
30
31
  "keywords": [
31
32
  "ampless",
32
33
  "plugin",
34
+ "ampless-plugin",
33
35
  "plausible",
34
36
  "analytics",
35
37
  "privacy"
36
38
  ],
39
+ "amplessPlugin": {
40
+ "apiVersion": 1,
41
+ "name": "plausible",
42
+ "trustLevel": "untrusted",
43
+ "capabilities": [
44
+ "publicHead",
45
+ "adminSettings"
46
+ ],
47
+ "displayName": {
48
+ "en": "Plausible Analytics",
49
+ "ja": "Plausible Analytics"
50
+ }
51
+ },
37
52
  "scripts": {
38
53
  "build": "tsup",
39
54
  "dev": "tsup --watch",