cmssy-cli 0.12.1 → 0.12.2

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/config.js +2 -0
  2. package/package.json +3 -2
package/config.js ADDED
@@ -0,0 +1,2 @@
1
+ // Package exports for block.config.ts authoring
2
+ export { defineBlock, defineTemplate } from "./dist/utils/block-config.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmssy-cli",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "description": "Unified CLI for building and publishing blocks to Cmssy marketplace",
5
5
  "type": "module",
6
6
  "bin": {
@@ -12,7 +12,7 @@
12
12
  "./config": "./config.js"
13
13
  },
14
14
  "scripts": {
15
- "build": "tsc && cp -r src/dev-ui dist/",
15
+ "build": "tsc && tsc config.ts --module esnext --target esnext --moduleResolution bundler && cp -r src/dev-ui dist/",
16
16
  "dev": "tsc --watch",
17
17
  "prepare": "npm run build"
18
18
  },
@@ -34,6 +34,7 @@
34
34
  },
35
35
  "files": [
36
36
  "dist",
37
+ "config.js",
37
38
  "README.md",
38
39
  "LICENSE"
39
40
  ],