@yaoxiu/marketing-dsl 1.4.0 → 1.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
+ "//": "webpack 4 兼容垫片。它用的 enhanced-resolve 4 不认 package.json 的 exports 字段,会把 `@yaoxiu/marketing-dsl/docs` 当成物理路径去找。这个目录就是那个物理路径,靠 main/module/types 把它转发到真正的产物上。消费方(后台 moveback-front)因此可以照常写 `@yaoxiu/marketing-dsl/docs`,不必伸进 dist 里做深路径引入。webpack 5 / Vite / Node 走的仍是根 package.json 的 exports,不经过这里。删掉它之前先确认没有 webpack 4 的消费方。",
3
+ "main": "../dist/docs/index.cjs",
4
+ "module": "../dist/docs/index.js",
5
+ "types": "../dist/docs/index.d.ts",
6
+ "sideEffects": false
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaoxiu/marketing-dsl",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "description": "营销弹窗 DSL 解释器核心,纯逻辑无框架依赖",
6
6
  "license": "MIT",
@@ -24,7 +24,8 @@
24
24
  }
25
25
  },
26
26
  "files": [
27
- "dist"
27
+ "dist",
28
+ "docs"
28
29
  ],
29
30
  "dependencies": {},
30
31
  "devDependencies": {},