@evenicanpm/cms 2.3.1 → 2.4.1

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.
@@ -0,0 +1,7 @@
1
+
2
+  WARN  Failed to replace env in config: ${NPM_TOKEN}
3
+ ../../apps/strapi |  WARN  Unsupported engine: wanted: {"node":">=18.0.0 <=22.x.x"} (current: {"node":"v24.16.0","pnpm":"11.0.0"})
4
+ $ pnpm dlx @biomejs/biome check --write .
5
+  WARN  Failed to replace env in config: ${NPM_TOKEN}
6
+  WARN  Failed to replace env in config: ${NPM_TOKEN}
7
+ Checked 19 files in 40ms. No fixes applied.
package/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # @evenicanpm/cms
2
+
3
+ ## 2.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: republish with resolved workspace dependencies
8
+
9
+ ## 2.4.0
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@evenicanpm/cms",
3
- "version": "2.3.1",
3
+ "version": "2.4.1",
4
4
  "description": "Strapi 5 client and queries for e4 Headless.",
5
5
  "author": "Evenica",
6
6
  "type": "module",
7
7
  "license": "ISC",
8
- "exports": "./src/index.ts",
8
+ "exports": {
9
+ ".": "./src/index.ts",
10
+ "./*": "./*"
11
+ },
9
12
  "types": "./src/index.ts",
10
13
  "scripts": {
11
14
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -17,6 +20,5 @@
17
20
  },
18
21
  "devDependencies": {
19
22
  "@types/node": "^24.0.13"
20
- },
21
- "gitHead": "7a5a6a8c3c3dd9efe96fbbb884b21e7681d32550"
23
+ }
22
24
  }
@@ -2,6 +2,8 @@ import type { StrapiResponse } from "strapi-sdk-js";
2
2
  import { strapi } from "../../client";
3
3
  import type { Blog } from "./types";
4
4
 
5
+ export type { Blog, BlogImage } from "./types";
6
+
5
7
  const getLocaleOption = (options: { locale?: string }) =>
6
8
  options.locale ? { locale: options.locale } : {};
7
9
 
@@ -1,6 +1,13 @@
1
1
  import { strapi } from "../../client";
2
2
  import type { Footer } from "./types";
3
3
 
4
+ export type {
5
+ Footer,
6
+ FooterBlock,
7
+ FooterLink,
8
+ FooterSocialLink,
9
+ } from "./types";
10
+
4
11
  const getFooter = async (options?: { locale?: string }) => {
5
12
  const { locale } = options ?? {};
6
13
 
@@ -1,5 +1,13 @@
1
1
  import { strapi } from "../../client";
2
2
 
3
+ export type {
4
+ CmsNavItem,
5
+ CmsNavigation,
6
+ CmsNavRelated,
7
+ CmsPage,
8
+ CmsSubMenu,
9
+ } from "./types";
10
+
3
11
  /**
4
12
  * Fetch main navigation TREE
5
13
  *
@@ -1,6 +1,8 @@
1
1
  import { strapi } from "../../client";
2
2
  import type { Page } from "./types";
3
3
 
4
+ export type { FooterVariant, HeaderVariant, MetaElement, Page } from "./types";
5
+
4
6
  const getPage = async (options: {
5
7
  slug: string;
6
8
  status?: "draft" | "published";
@@ -7,7 +7,7 @@
7
7
 
8
8
  import type { FooterBlock } from "../footer/types";
9
9
 
10
- type MetaElement = {
10
+ export type MetaElement = {
11
11
  name: string;
12
12
  content: string;
13
13
  };