@easy-cms/plugin-seo 0.27.0 → 0.29.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/dist/index.js +7 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -510,6 +510,12 @@ function jsonLdScript(value) {
510
510
  return JSON.stringify(value).replace(/</g, "\\u003c").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
511
511
  }
512
512
 
513
+ // src/info.ts
514
+ var INFO = {
515
+ name: "@easy-cms/plugin-seo",
516
+ ...true ? { version: "0.29.0" } : {}
517
+ };
518
+
513
519
  // src/robots.ts
514
520
  var AI_CRAWLERS = {
515
521
  training: [
@@ -947,7 +953,7 @@ function seoPlugin(options = {}) {
947
953
  endpoints: [...config.endpoints ?? [], endpoint, ...siteEndpoints]
948
954
  };
949
955
  };
950
- return plugin;
956
+ return Object.assign(plugin, { info: INFO });
951
957
  }
952
958
  var isEmpty = (value) => value === null || value === void 0 || value === "";
953
959
  function error(status, message) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easy-cms/plugin-seo",
3
- "version": "0.27.0",
3
+ "version": "0.29.0",
4
4
  "description": "SEO for Easy CMS: meta fields, length meters, a search result preview, generators and page metadata",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,15 +17,15 @@
17
17
  "dist"
18
18
  ],
19
19
  "dependencies": {
20
- "@easy-cms/richtext": "^0.27.0"
20
+ "@easy-cms/richtext": "^0.29.0"
21
21
  },
22
22
  "peerDependencies": {
23
- "@easy-cms/core": "^0.27.0"
23
+ "@easy-cms/core": "^0.29.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "happy-dom": "^20.14.5",
27
- "@easy-cms/core": "^0.27.0",
28
- "@easy-cms/db-sqlite": "^0.27.0"
27
+ "@easy-cms/core": "^0.29.0",
28
+ "@easy-cms/db-sqlite": "^0.29.0"
29
29
  },
30
30
  "engines": {
31
31
  "node": ">=22.12"