@cms0/shared 0.0.2 → 0.0.3

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/CHANGELOG.md +10 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @cms0/shared
2
2
 
3
+ ## 0.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 0f52b27: Fix `@cms0/cms0` publish/build and TypeScript consumption issues:
8
+
9
+ - Generate a fallback schema descriptor file before TypeScript compilation when `src/generated/schema-descriptor.ts` is missing in clean CI.
10
+ - Correct package `exports` type/import paths to point to `dist/types` and `dist/esm` so consumers can resolve `@cms0/cms0` and `@cms0/cms0/config` declarations properly.
11
+ - Fix `@cms0/shared` package exports to resolve from `dist` instead of `src`, so SSR bundlers (including Next.js Turbopack) don’t try to compile source TypeScript from `node_modules`.
12
+
3
13
  ## 0.0.2
4
14
 
5
15
  ### Patch Changes
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@cms0/shared",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "restricted"
7
7
  },
8
8
  "main": "dist/index.js",
9
- "types": "./src/index.ts",
9
+ "types": "./dist/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
- "types": "./src/index.ts",
13
- "import": "./src/index.ts",
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js",
14
14
  "require": "./dist/index.js"
15
15
  },
16
16
  "./*": {
17
- "types": "./src/*.ts",
18
- "import": "./src/*.ts",
17
+ "types": "./dist/*.d.ts",
18
+ "import": "./dist/*.js",
19
19
  "require": "./dist/*.js"
20
20
  }
21
21
  },