diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..f16b37cc --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,130 @@ +# [1.0.0-rc.7](https://github.com/Tencent/tmagic-editor/compare/1.0.0-beta.8...1.0.0-rc.7) (2022-06-13) + + +### Bug Fixes + +* **admin:** 管理端更新编辑器的使用方式 ([fe821f7](https://github.com/Tencent/tmagic-editor/commit/fe821f7d84b7a8907e588ecae1d82ceecf5634cc)) +* **editor:** getLayout增加判断fixed ([8e004f9](https://github.com/Tencent/tmagic-editor/commit/8e004f9766761d0ef7bd3aeca947fc6197e321bc)) +* **editor:** mac下meta + v,meta + x快捷键无效 ([76b8d23](https://github.com/Tencent/tmagic-editor/commit/76b8d2314ad8b8a0f02e045a4244a1be0635e79d)) +* **editor:** root为空时异常处理 ([7d62c09](https://github.com/Tencent/tmagic-editor/commit/7d62c09c6b172cea95d8b120732b31c4c532fead)) +* **editor:** ui-select样式优化 ([27a1ff8](https://github.com/Tencent/tmagic-editor/commit/27a1ff8527dacf63875c88e1bec2ca74076a43c0)) +* **editor:** 从组件树选中没有渲染的组件时,需要等待组件渲染完成再初始化选中框 ([8390ba7](https://github.com/Tencent/tmagic-editor/commit/8390ba75be5b3aeff1e20b8a5d3d9ad1862a72ea)) +* **editor:** 代码编辑器大小变化没有自适应大小 ([7dc5479](https://github.com/Tencent/tmagic-editor/commit/7dc54797d2b58a1b6d1053fa283ec9ccc5df498c)) +* **editor:** 修复code 代码编辑器光标错乱问题 ([06b40c9](https://github.com/Tencent/tmagic-editor/commit/06b40c9c1559d56f5dccec6db4d5bf877b0a871b)) +* **editor:** 修复fix布局的组件没有吸附效果问题 ([959638c](https://github.com/Tencent/tmagic-editor/commit/959638c2c5b7da0815940b50fbdb517dddfa56e9)) +* **editor:** 修复pagebar文字超长换行问题 ([5350c90](https://github.com/Tencent/tmagic-editor/commit/5350c9050ceb40a222e5535805bf6703083b20e6)) +* **editor:** 修复历史状态变化后,画布没有更新 ([bb5e192](https://github.com/Tencent/tmagic-editor/commit/bb5e192dcde9c064717c64b01cc1ad598112f371)) +* **editor:** 修复新增组件时,组件列表配置的数据丢失问题 ([992ebbe](https://github.com/Tencent/tmagic-editor/commit/992ebbe3ce7db7a503518e3707a9d0e76164d428)) +* **editor:** 修复浏览器快捷键 ([9addbdd](https://github.com/Tencent/tmagic-editor/commit/9addbddd636d8d187d1ea604148a67199348d823)) +* **editor:** 修改pagebar过长无法滚动问题 ([9b849cc](https://github.com/Tencent/tmagic-editor/commit/9b849cc906db690d51a3bf02ec8cd52d888c94e1)) +* **editor:** 切换组件时会连续触发两次表单初始化 ([3137350](https://github.com/Tencent/tmagic-editor/commit/31373500c27a16cfe0e7799a3dfce18616eb45b6)) +* **editor:** 删除全部页面后显示异常 ([a0c3e25](https://github.com/Tencent/tmagic-editor/commit/a0c3e25edbb2096c83fa6cc6eb5c2ca1c0650cb6)) +* **editor:** 删除的快捷键操作,不要对页面生效 ([9efe4f0](https://github.com/Tencent/tmagic-editor/commit/9efe4f04fc461d802fe1db82fda6120bc91800de)) +* **editor:** 删除组件后,组件树不更新 ([bcbd1f5](https://github.com/Tencent/tmagic-editor/commit/bcbd1f5d376a0addc77d311ce117a18ff49ac565)) +* **editor:** 右键菜单,mac触摸板上容易在菜单出现的时候触发当前鼠标位置的按钮 ([31cbe78](https://github.com/Tencent/tmagic-editor/commit/31cbe7818f2388929942a3e6377fbb41be4839b2)) +* **editor:** 右键菜单粘贴的组件位置不对 ([26081ea](https://github.com/Tencent/tmagic-editor/commit/26081ea5cce0b18ccbe360259eae2f343021d753)) +* **editor:** 右键菜单隐藏逻辑有问题 ([c99663a](https://github.com/Tencent/tmagic-editor/commit/c99663a3e8aa1730e3849d200dd9b441ef821c5a)) +* **editor:** 在小屏幕下画布的标尺显示不全 ([1c8829f](https://github.com/Tencent/tmagic-editor/commit/1c8829fac9d99be36d80e543a15a11141de80832)) +* **editor:** 复制组件后添加组件id一直是之前复制的组件的id ([6eb1f24](https://github.com/Tencent/tmagic-editor/commit/6eb1f2418a71fbdfb01834c90091911a23ba6862)) +* **editor:** 复制页面,页面名称重新生成 ([c80dab8](https://github.com/Tencent/tmagic-editor/commit/c80dab835dd66e6ae294a1c6aab31146546b0343)) +* **editor:** 新增service方法串行调用问题,解决连续快速拖动导致更新节点错乱问题 ([b8d352a](https://github.com/Tencent/tmagic-editor/commit/b8d352a885954e114e9071785676b6649a0dd691)) +* **editor:** 新增页面不用添加历史记录 ([3dab16b](https://github.com/Tencent/tmagic-editor/commit/3dab16b2f6069bcba8153ffb21202e6218636f39)) +* **editor:** 添加或者删除节点后,选中状态没有刷新 ([97fa34b](https://github.com/Tencent/tmagic-editor/commit/97fa34bbc68199bb4381a1a717ed0d2f98ab9899)) +* **editor:** 添加组件默认添加到视窗中间,如果组件初始化height不是数值,则当0处理 ([663d7ce](https://github.com/Tencent/tmagic-editor/commit/663d7cee9ffd55da366b6189661f6f92b8c7a866)) +* **editor:** 源代码编辑器保存快捷键阻止冒泡 ([2134d92](https://github.com/Tencent/tmagic-editor/commit/2134d92d5498d53472e978e29a618351f4410d50)) +* **editor:** 由于有可选参数,所以将after hook的返回值放到第一个参数 ([9526c44](https://github.com/Tencent/tmagic-editor/commit/9526c44d1638d25d6ead686f926c80a67de2443f)) +* **editor:** 组件列表中搜索栏层级问题 ([5e4b709](https://github.com/Tencent/tmagic-editor/commit/5e4b709d61dd06d2ee10a78b4b86d5be2b22ba1a)) +* **editor:** 组件树右键菜单 ([8053394](https://github.com/Tencent/tmagic-editor/commit/805339422a9778fe7470334df4c8b4d963236c2f)) +* **editor:** 组件树右键菜单子菜单出不来 ([be4df0f](https://github.com/Tencent/tmagic-editor/commit/be4df0fc9b8985ae7b9d6fd7a8d1402487790a12)) +* **editor:** 组件树右键菜单添加组件无效 ([a320823](https://github.com/Tencent/tmagic-editor/commit/a3208239922b482189a0fd7cc86a35ae989d91fa)) +* **editor:** 组件配置width为100%时,水平居中失效 ([4a19017](https://github.com/Tencent/tmagic-editor/commit/4a190176623e58095c6e323a10161b3be54b6e53)) +* **editor:** 置顶,置低逻辑弄反了 ([586711b](https://github.com/Tencent/tmagic-editor/commit/586711b9bd19b2be5030a2b5302c13e946764b79)) +* **form:** daterange 错误信息不会消除 ([a90777f](https://github.com/Tencent/tmagic-editor/commit/a90777f11a4e709c750e67d89762ef0239efe901)) +* **form:** label width为0时隐藏label ([28d3ea0](https://github.com/Tencent/tmagic-editor/commit/28d3ea095903d647773effd419835686a75eb9a2)) +* **form:** popper弹层字体大小仅在form size为small的时候设置为12px ([662a3d6](https://github.com/Tencent/tmagic-editor/commit/662a3d61ea3f8f8df42445a1c264b3c192afff07)) +* **form:** row显隐不会触发 ([88cc033](https://github.com/Tencent/tmagic-editor/commit/88cc033e0d893d0c4357d3d9c7dd11a2a272a865)) +* **form:** select group option key 出错导致页面卡死 [#67](https://github.com/Tencent/tmagic-editor/issues/67) ([054e836](https://github.com/Tencent/tmagic-editor/commit/054e83685997735098956b0b8f8cde269c3efcd9)) +* **form:** tooltip丢失 ([2e12812](https://github.com/Tencent/tmagic-editor/commit/2e12812aace958fd8367578232a48680f4fccb2c)) +* **form:** 修复select过滤本地数据出错 ([4d7b135](https://github.com/Tencent/tmagic-editor/commit/4d7b135e50ceb5d43d0edf0e5715a3fa76409d37)) +* **form:** 修复text append按钮大小 ([59c0a09](https://github.com/Tencent/tmagic-editor/commit/59c0a090b87df34e6f0d7fdde44156efe689d7bb)) +* **highlight:** 修复固定定位和弹窗场景下鼠标高亮偏移的问题 ([15b202a](https://github.com/Tencent/tmagic-editor/commit/15b202a9be73bbbb1f1cc67a2ce72de9717303ff)) +* **playground:** 预览检查是否保存 ([f9ae10b](https://github.com/Tencent/tmagic-editor/commit/f9ae10bc9da091a18bd3032887931ac8b882dd3e)) +* **runtime:** 修复window系统下npm run playground 出错问题 [#29](https://github.com/Tencent/tmagic-editor/issues/29) ([6df8ce8](https://github.com/Tencent/tmagic-editor/commit/6df8ce82a5675702f1e9b45c66696f5af85ef3d0)) +* **runtime:** 编辑器中组件的样式不生效 fix [#109](https://github.com/Tencent/tmagic-editor/issues/109) ([46b2632](https://github.com/Tencent/tmagic-editor/commit/46b26328efcb8ffc4295fb648a55f0af551e2d93)) +* **runtime:** 获取dsl字段出错 ([bb97c4c](https://github.com/Tencent/tmagic-editor/commit/bb97c4c6d0e0cc5f6ff617957096662f4e3878fd)) +* **stage:** canSelect增加event参数 ([29a9912](https://github.com/Tencent/tmagic-editor/commit/29a99128203a34a67fd6963c007662f60f4c9a68)) +* **stage:** import 了错误的log函数 ([038ef7c](https://github.com/Tencent/tmagic-editor/commit/038ef7cde467ccc80df9852b2e532d36365ccdb6)) +* **stage:** 优化拖拽体验,当选中的节点变化时,重新创建moveable,如果没有变化则update状态 ([39dcd89](https://github.com/Tencent/tmagic-editor/commit/39dcd89acf8ed15fc965bd6678b5e7af21587177)) +* **stage:** 修复添加组件后没有自动选中问题 ([0faabcb](https://github.com/Tencent/tmagic-editor/commit/0faabcb3ca0fdb2a1ed68e1aa783bdccc370645d)) +* **stage:** 修复滚动容器大小发生变化时,导致滚动距离可能超出最大滚动值 ([f7ba716](https://github.com/Tencent/tmagic-editor/commit/f7ba716fe90cd554e1d6acd58b2856e18783c443)) +* **stage:** 修复画布缩放后拖动鼠标漂移 ([759b264](https://github.com/Tencent/tmagic-editor/commit/759b26481d9ce960720627a68cd095d3087dc33b)) +* **stage:** 修复鼠标移出画布后,highlight没有清除 ([9cb821c](https://github.com/Tencent/tmagic-editor/commit/9cb821c49183568ed54141746957733bc7f026f7)) +* **stage:** 只有当组件不在视窗内才自动滚动,新增scrollIntoView配置 ([dbcd420](https://github.com/Tencent/tmagic-editor/commit/dbcd4201eaf90a688321f4ccd33ae7545bb578c2)) +* **stage:** 流式布局下,镜像节点zindex应该比选中节点高 ([0824602](https://github.com/Tencent/tmagic-editor/commit/0824602ad2dc82e717c461bded5717856ebd72b3)) +* **stage:** 页面小于画布时,滚动位置修复 ([8452daf](https://github.com/Tencent/tmagic-editor/commit/8452daf0e066c467b26fb6e3f0f35faa6cef00c7)) +* **stage:** 页面高度比画布小时,滚动画布出现异常 ([94debf5](https://github.com/Tencent/tmagic-editor/commit/94debf51c0b4744e6129d47c4fa7f7878dfa255b)) +* **table:** 修复table设置expand后多一列object的问题 ([57e8159](https://github.com/Tencent/tmagic-editor/commit/57e815940bb07b0971eaded9b371b8abacb8a52c)) +* **ui:** default拼写错误 ([ce5ac67](https://github.com/Tencent/tmagic-editor/commit/ce5ac67b2ddb611dceeabf0d3d235f1b61423243)) +* **ui:** img组件没有配置url是点击页面刷新 ([5d159ad](https://github.com/Tencent/tmagic-editor/commit/5d159ad9d8b7c1dc08ea186fbb96a76d2f9f9856)) +* **uitls:** 添加package.json dependencies ([a7351c9](https://github.com/Tencent/tmagic-editor/commit/a7351c9a021b38d5fc378e44dd4f969e15b27879)) +* **ui:** 页面组件无法支持event配置 ([cdabe36](https://github.com/Tencent/tmagic-editor/commit/cdabe36b9395b5b4c5e565919b5b7a3a74db8d05)) +* **utils:** 判断是否为number不够严谨 ([2647ace](https://github.com/Tencent/tmagic-editor/commit/2647ace39639e248417be14b7ce9db7a2d077684)) +* 修复lock文件问题 ([a1ae3dd](https://github.com/Tencent/tmagic-editor/commit/a1ae3dd88d7717ebed6afef428202f762079ca70)) +* 修复node版本16安装依赖失败的问题 ([ec8867c](https://github.com/Tencent/tmagic-editor/commit/ec8867cbfd74d4bebc59a880cca7d0c2e8e8c62f)) +* 修复throttle引起的问题 ([148d454](https://github.com/Tencent/tmagic-editor/commit/148d4547b0ff17628b0f5a3cc2f6fb3503460a10)) +* 修复单独使用@tmagic/editor,报错无法运行的问题 ([582962f](https://github.com/Tencent/tmagic-editor/commit/582962f6df35279e08421e85066872638764e846)) +* 修复快速点选拖动时有残影的问题 ([a52d25f](https://github.com/Tencent/tmagic-editor/commit/a52d25fb70172d02f88ded9070a3b26915e58a29)) +* 修复组件树中hover不存在的id导致高亮边框不消失的问题 ([121498e](https://github.com/Tencent/tmagic-editor/commit/121498e81b72925b33d3fbfe913068ddd4480f6f)) +* 修复缺少buffer依赖,导致单独使用@tmagic/editor出现报错,无法运行的问题 ([cb99a6f](https://github.com/Tencent/tmagic-editor/commit/cb99a6fff54ad5af622afbbc29f63c2c18f6f8ea)) +* 修复页面滚动高亮偏移的问题 ([6a46f98](https://github.com/Tencent/tmagic-editor/commit/6a46f987666da3cf98c1855f6df5487aca505a3d)) +* 删除无用的方法 ([4f4ed9c](https://github.com/Tencent/tmagic-editor/commit/4f4ed9c61bf40f13ac55bb6bb711891b2714fbb4)) +* 升级element-plus2.2.0后,button默认样式变化 ([1486beb](https://github.com/Tencent/tmagic-editor/commit/1486beb52cf2553ebc026ed5941a8a865c483a96)) +* 升级element-plus2.2.0后,sidebar动态变化后,顺序不对 ([2731609](https://github.com/Tencent/tmagic-editor/commit/2731609526d92093bfdccd660c96fbacc6f3d006)) +* 管理端启动文档更新 ([86447ec](https://github.com/Tencent/tmagic-editor/commit/86447ec4a1ce1b1d69d13ef5aef2359c8e08e6bb)) + + +### Features + +* **editor): feat(editor:** 鼠标移出workpace,禁用快捷键 ([fbd7f80](https://github.com/Tencent/tmagic-editor/commit/fbd7f80c4f82122d61c9903e57c06b3fbdc6a3ef)) +* **editor:** contentmenu支持扩展 ([70292b9](https://github.com/Tencent/tmagic-editor/commit/70292b92c8f9c04fa204ec50df80e831c5ee2bd5)) +* **editor:** zoom 设置为button ([faa6c6d](https://github.com/Tencent/tmagic-editor/commit/faa6c6d9feb4881466f24192ef85d49334567698)) +* **editor:** 修改默人属性面板宽度 ([ed9805f](https://github.com/Tencent/tmagic-editor/commit/ed9805f2b49429a176547dead0b811c9073a2116)) +* **editor:** 增加editorService.move的扩展 ([b1aae65](https://github.com/Tencent/tmagic-editor/commit/b1aae6518254abfc8ff6f0183551652da101db4e)) +* **editor:** 属性表单大小配置;记住编辑器分栏宽度 ([04d7725](https://github.com/Tencent/tmagic-editor/commit/04d7725db97aab9dfb6c9fae0333d1b07666e98c)) +* **editor:** 支持拖拽添加组件 ([5da8601](https://github.com/Tencent/tmagic-editor/commit/5da8601f3648322882bbb562d3b45fed7f159361)) +* **editor:** 新增删除、复制、粘贴、剪切快捷键操作 ([db62427](https://github.com/Tencent/tmagic-editor/commit/db62427ee96eeaa22d27cb2a1d01199c0b41ec54)) +* **editor:** 新增组件自动设置到视窗中间 ([0e74970](https://github.com/Tencent/tmagic-editor/commit/0e74970bfef78d0e032c8a8bebaeedb9c141e26b)) +* **editor:** 添加globalThis兼容 ([cf5e775](https://github.com/Tencent/tmagic-editor/commit/cf5e775b84fedca2fc870c74a2c709aa8dd284ea)) +* **editor:** 添加常用快捷键 ([51031fe](https://github.com/Tencent/tmagic-editor/commit/51031fe8ab4396eb6785738b4f208f96a97627e0)) +* **editor:** 源代码编辑器支持扩展配置 ([359fc5f](https://github.com/Tencent/tmagic-editor/commit/359fc5fdc68c5b312534ad4b76a2586baafae2dd)) +* **editor:** 组件树保持展开当前选中节点的父节点 ([f896115](https://github.com/Tencent/tmagic-editor/commit/f89611588100e34461c833639742a297459f96e6)) +* **editor:** 组件树增加id和type过滤 ([97a7225](https://github.com/Tencent/tmagic-editor/commit/97a722579d36db61e071eb50fd9ba72d4fce2262)) +* **editor:** 选中组件,组件自动滚动到视窗内 ([50937c2](https://github.com/Tencent/tmagic-editor/commit/50937c286776794842b247b06f0751a3302a1cbf)) +* **form:** number组件初始值尝试统一转换成number ([554bc4b](https://github.com/Tencent/tmagic-editor/commit/554bc4b5c10040e0ad4a834a32119bb7e63819a8)) +* **form:** select options函数配置添加prop参数 ([7e216e7](https://github.com/Tencent/tmagic-editor/commit/7e216e72f234309bc1e99c9d0726bfec78c930de)) +* **playground:** playground支持旋转操作 ([423059d](https://github.com/Tencent/tmagic-editor/commit/423059deacc3a958be8e099cbdc2b810f8691c86)) +* **playground:** 增加字体样式配置 ([f7bca02](https://github.com/Tencent/tmagic-editor/commit/f7bca02844bb15a1bbf61156db0b2aada3fa6b5e)) +* **playground:** 更新默认页面配置 ([5bfb69b](https://github.com/Tencent/tmagic-editor/commit/5bfb69b36dad2704be0c1c88b8332ddf3a282853)) +* **playground:** 添加弹窗组合 ([2319df7](https://github.com/Tencent/tmagic-editor/commit/2319df727a7e0cf92641c2e512854306f20665f1)) +* **schema:** type可以为undefined,默认表现由使用方自行控制 ([fe4c0fa](https://github.com/Tencent/tmagic-editor/commit/fe4c0fa2dc3642eff7b27057be4593253b470b68)) +* **stage:** elementGuidelines可以配置 ([85164ec](https://github.com/Tencent/tmagic-editor/commit/85164ec43213cfb1b9ae2ac932f660f86e166e46)) +* **stage:** moveable origin改为false ([fb64e07](https://github.com/Tencent/tmagic-editor/commit/fb64e078b95cdfff12f2762c3fa51413c21a2abe)) +* **stage:** runtime添加getApp方法 ([0397c68](https://github.com/Tencent/tmagic-editor/commit/0397c6887a80f23e20c327aece640eef3f16ab73)) +* **stage:** 增加对齐线 ([67e2ba3](https://github.com/Tencent/tmagic-editor/commit/67e2ba3825148282c2ba28df7fab06d3b2b9b102)) +* **stage:** 增加当前拖动的节点的z-index ([7f3d6c5](https://github.com/Tencent/tmagic-editor/commit/7f3d6c5438bb0ab537b2c8d2eab1a129228e8f9c)) +* **stage:** 支持rotate scale fix [#92](https://github.com/Tencent/tmagic-editor/issues/92) ([a9936b5](https://github.com/Tencent/tmagic-editor/commit/a9936b5276a2f5756791430036eb22d46a01cef3)) +* **stage:** 本地缓存参考线,刷新页面不会清空 ([019cfc7](https://github.com/Tencent/tmagic-editor/commit/019cfc7e93dded2ac69ea53c891e97d888bb4c10)) +* **stage:** 组件对齐不准确,暂时去掉 ([cb4304b](https://github.com/Tencent/tmagic-editor/commit/cb4304b6ebc2fda87b3dfa0bbe7135508f2ce74f)) +* **stage:** 选中节点时,给所有父节点添加一个className ([d478289](https://github.com/Tencent/tmagic-editor/commit/d47828976a5dc3a3f46e84016e0e15b673aed278)) +* **table:** action增加before配置 ([9126399](https://github.com/Tencent/tmagic-editor/commit/912639999d576c965315bb639ee8970bd4220cbd)) +* **ui:** 添加二维码,图片组件 ([8c287ec](https://github.com/Tencent/tmagic-editor/commit/8c287ecaceba0e087a4cc7ff8ddb64613c0441e0)) +* **util:** asyncLoadCss支持指定document ([71cfab8](https://github.com/Tencent/tmagic-editor/commit/71cfab8d4dd56b24a872d9c8dddf8a98672b36c5)) +* 优化拖拽体验 ([a842c5b](https://github.com/Tencent/tmagic-editor/commit/a842c5b0ceecf2e1c1a8e2a5dc1ab8d3e486e0d6)) +* 支持playground:vue2/playground:react命令 ([d84037e](https://github.com/Tencent/tmagic-editor/commit/d84037e421181b4f0866054e3dd08a569627c1c2)), closes [#82](https://github.com/Tencent/tmagic-editor/issues/82) [#68](https://github.com/Tencent/tmagic-editor/issues/68) +* 新增isPage,isNumber方法 ([9c83a54](https://github.com/Tencent/tmagic-editor/commit/9c83a540daf9fa6ad02e6d3832e218be5a4b555f)) +* 新增蒙层组件 ([44aa56b](https://github.com/Tencent/tmagic-editor/commit/44aa56bd52c3ecc3b88f9b2e5b2283cb0a932fa1)) +* 添加组件支持添加组合 ([5e31257](https://github.com/Tencent/tmagic-editor/commit/5e3125706c2919e0baf457141f69a9c70656ffcd)) +* 编辑器支持鼠标悬停高亮组件 ([feb9ac9](https://github.com/Tencent/tmagic-editor/commit/feb9ac9a81a6805599da1d63697961c5dfbba953)) + + + diff --git a/package.json b/package.json index 82978153..d6b88cf1 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "name": "tmagic", "private": true, "scripts": { diff --git a/packages/core/package.json b/packages/core/package.json index 6c7b6bc4..02dbdfca 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "name": "@tmagic/core", "sideEffects": [ "dist/*" @@ -33,7 +33,7 @@ "vue" ], "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", + "@tmagic/schema": "1.0.0-rc.7", "events": "^3.3.0" }, "devDependencies": { diff --git a/packages/editor/package.json b/packages/editor/package.json index 7e618bba..1e2e6c8b 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "name": "@tmagic/editor", "sideEffects": [ "dist/*", @@ -43,11 +43,11 @@ "dependencies": { "@babel/core": "^7.18.0", "@element-plus/icons": "0.0.11", - "@tmagic/core": "^1.0.0-rc.6", - "@tmagic/form": "^1.0.0-rc.6", - "@tmagic/schema": "^1.0.0-rc.6", - "@tmagic/stage": "^1.0.0-rc.6", - "@tmagic/utils": "^1.0.0-rc.6", + "@tmagic/core": "1.0.0-rc.7", + "@tmagic/form": "1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.7", + "@tmagic/stage": "1.0.0-rc.7", + "@tmagic/utils": "1.0.0-rc.7", "buffer": "^6.0.3", "color": "^3.1.3", "element-plus": "^2.2.0", @@ -60,7 +60,7 @@ "vue": "^3.2.0" }, "peerDependencies": { - "@tmagic/form": "^1.0.0-rc.1", + "@tmagic/form": "1.0.0-rc.7", "element-plus": "^2.2.0", "monaco-editor": "^0.32.1", "vue": "^3.2.0" diff --git a/packages/form/package.json b/packages/form/package.json index 950374d9..3fd9ff05 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "name": "@tmagic/form", "sideEffects": [ "dist/*", @@ -33,7 +33,7 @@ }, "dependencies": { "@element-plus/icons": "0.0.11", - "@tmagic/utils": "^1.0.0-rc.6", + "@tmagic/utils": "1.0.0-rc.7", "element-plus": "^2.2.0", "lodash-es": "^4.17.21", "moment": "^2.29.2", diff --git a/packages/schema/package.json b/packages/schema/package.json index fa89218f..1ef01697 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "name": "@tmagic/schema", "sideEffects": false, "main": "dist/tmagic-schema.umd.js", diff --git a/packages/stage/package.json b/packages/stage/package.json index 24004ff3..59ff9a0e 100644 --- a/packages/stage/package.json +++ b/packages/stage/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "name": "@tmagic/stage", "sideEffects": [ "dist/*" @@ -27,9 +27,9 @@ }, "dependencies": { "@scena/guides": "^0.17.0", - "@tmagic/core": "^1.0.0-rc.6", - "@tmagic/schema": "^1.0.0-rc.6", - "@tmagic/utils": "^1.0.0-rc.6", + "@tmagic/core": "1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.7", + "@tmagic/utils": "1.0.0-rc.7", "events": "^3.3.0", "lodash-es": "^4.17.21", "moveable": "^0.29.4", diff --git a/packages/table/package.json b/packages/table/package.json index b93b6e0d..c1997d83 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "name": "@tmagic/table", "sideEffects": [ "dist/*" @@ -30,13 +30,13 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/form": "^1.0.0-rc.6", + "@tmagic/form": "1.0.0-rc.7", "element-plus": "^2.2.0", "lodash-es": "^4.17.21", "vue": "^3.2.0" }, "peerDependencies": { - "@tmagic/form": "^1.0.0-rc.1", + "@tmagic/form": "1.0.0-rc.7", "element-plus": "^2.2.0", "vue": "^3.2.0" }, diff --git a/packages/ui-react/package.json b/packages/ui-react/package.json index b2341543..82272c80 100644 --- a/packages/ui-react/package.json +++ b/packages/ui-react/package.json @@ -1,6 +1,6 @@ { "name": "@tmagic/ui-react", - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "main": "src/index.ts", "engines": { "node": ">=14" @@ -13,7 +13,7 @@ "react:build": "tsc && vite build" }, "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", + "@tmagic/schema": "1.0.0-rc.7", "qrcode": "^1.5.0", "react": "^17.0.0", "react-dom": "^17.0.0" diff --git a/packages/ui-vue2/package.json b/packages/ui-vue2/package.json index 40e05bad..8791d8e5 100644 --- a/packages/ui-vue2/package.json +++ b/packages/ui-vue2/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "name": "@tmagic/ui-vue2", "main": "src/index.ts", "engines": { @@ -10,7 +10,7 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", + "@tmagic/schema": "1.0.0-rc.7", "@vue/composition-api": "1.0.5", "qrcode": "^1.5.0", "vue": "^2.6.14" diff --git a/packages/ui/package.json b/packages/ui/package.json index 40f3d0b7..2c86271d 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "name": "@tmagic/ui", "main": "src/index.ts", "engines": { @@ -11,7 +11,7 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", + "@tmagic/schema": "1.0.0-rc.7", "delegate": "^3.2.0", "qrcode": "^1.5.0", "tiny-emitter": "^2.1.0", diff --git a/packages/utils/package.json b/packages/utils/package.json index 564df06c..dcf6a82c 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "name": "@tmagic/utils", "main": "dist/tmagic-utils.umd.js", "module": "dist/tmagic-utils.es.js", @@ -22,7 +22,7 @@ "url": "https://github.com/Tencent/tmagic-editor.git" }, "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", + "@tmagic/schema": "1.0.0-rc.7", "moment": "^2.29.2" }, "devDependencies": { diff --git a/playground/package.json b/playground/package.json index 755a0f43..9aa6419b 100644 --- a/playground/package.json +++ b/playground/package.json @@ -11,11 +11,11 @@ }, "dependencies": { "@element-plus/icons": "0.0.11", - "@tmagic/editor": "^1.0.0-rc.6", - "@tmagic/form": "^1.0.0-rc.6", - "@tmagic/schema": "^1.0.0-rc.6", - "@tmagic/stage": "^1.0.0-rc.6", - "@tmagic/utils": "^1.0.0-rc.6", + "@tmagic/editor": "^1.0.0-rc.7", + "@tmagic/form": "^1.0.0-rc.7", + "@tmagic/schema": "^1.0.0-rc.7", + "@tmagic/stage": "^1.0.0-rc.7", + "@tmagic/utils": "^1.0.0-rc.7", "element-plus": "^2.2.0", "monaco-editor": "^0.32.1", "serialize-javascript": "^6.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b89632d5..f20bc20a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -70,7 +70,7 @@ importers: packages/core: specifiers: - '@tmagic/schema': ^1.0.0-rc.6 + '@tmagic/schema': 1.0.0-rc.7 '@types/events': ^3.0.0 '@types/node': ^15.12.4 events: ^3.3.0 @@ -91,11 +91,11 @@ importers: specifiers: '@babel/core': ^7.18.0 '@element-plus/icons': 0.0.11 - '@tmagic/core': ^1.0.0-rc.6 - '@tmagic/form': ^1.0.0-rc.6 - '@tmagic/schema': ^1.0.0-rc.6 - '@tmagic/stage': ^1.0.0-rc.6 - '@tmagic/utils': ^1.0.0-rc.6 + '@tmagic/core': 1.0.0-rc.7 + '@tmagic/form': 1.0.0-rc.7 + '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/stage': 1.0.0-rc.7 + '@tmagic/utils': 1.0.0-rc.7 '@types/events': ^3.0.0 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -156,7 +156,7 @@ importers: specifiers: '@babel/core': ^7.18.0 '@element-plus/icons': 0.0.11 - '@tmagic/utils': ^1.0.0-rc.6 + '@tmagic/utils': 1.0.0-rc.7 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 '@types/sortablejs': ^1.10.7 @@ -212,9 +212,9 @@ importers: packages/stage: specifiers: '@scena/guides': ^0.17.0 - '@tmagic/core': ^1.0.0-rc.6 - '@tmagic/schema': ^1.0.0-rc.6 - '@tmagic/utils': ^1.0.0-rc.6 + '@tmagic/core': 1.0.0-rc.7 + '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/utils': 1.0.0-rc.7 '@types/events': ^3.0.0 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -246,7 +246,7 @@ importers: packages/table: specifiers: - '@tmagic/form': ^1.0.0-rc.6 + '@tmagic/form': 1.0.0-rc.7 '@types/color': ^3.0.1 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -282,7 +282,7 @@ importers: packages/ui: specifiers: '@testing-library/vue': ^6.4.2 - '@tmagic/schema': ^1.0.0-rc.6 + '@tmagic/schema': 1.0.0-rc.7 '@types/qrcode': ^1.4.2 '@vue/compiler-sfc': ^3.2.0 '@vue/test-utils': ^2.0.0 @@ -304,7 +304,7 @@ importers: packages/ui-react: specifiers: - '@tmagic/schema': ^1.0.0-rc.6 + '@tmagic/schema': 1.0.0-rc.7 '@types/react': ^17.0.37 '@types/react-dom': ^17.0.11 qrcode: ^1.5.0 @@ -323,7 +323,7 @@ importers: packages/ui-vue2: specifiers: - '@tmagic/schema': ^1.0.0-rc.6 + '@tmagic/schema': 1.0.0-rc.7 '@vue/composition-api': 1.0.5 qrcode: ^1.5.0 vite: ^2.3.7 @@ -342,7 +342,7 @@ importers: packages/utils: specifiers: - '@tmagic/schema': ^1.0.0-rc.6 + '@tmagic/schema': 1.0.0-rc.7 '@types/node': ^15.12.4 moment: ^2.29.2 typescript: ^4.3.4 @@ -360,11 +360,11 @@ importers: playground: specifiers: '@element-plus/icons': 0.0.11 - '@tmagic/editor': ^1.0.0-rc.6 - '@tmagic/form': ^1.0.0-rc.6 - '@tmagic/schema': ^1.0.0-rc.6 - '@tmagic/stage': ^1.0.0-rc.6 - '@tmagic/utils': ^1.0.0-rc.6 + '@tmagic/editor': ^1.0.0-rc.7 + '@tmagic/form': ^1.0.0-rc.7 + '@tmagic/schema': ^1.0.0-rc.7 + '@tmagic/stage': ^1.0.0-rc.7 + '@tmagic/utils': ^1.0.0-rc.7 '@types/node': ^15.12.4 '@types/serialize-javascript': ^5.0.1 '@vitejs/plugin-legacy': ^1.8.2 @@ -406,8 +406,8 @@ importers: runtime/react: specifiers: - '@tmagic/schema': ^1.0.0-rc.6 - '@tmagic/stage': ^1.0.0-rc.6 + '@tmagic/schema': ^1.0.0-rc.7 + '@tmagic/stage': ^1.0.0-rc.7 '@types/react': ^17.0.37 '@types/react-dom': ^17.0.11 '@vitejs/plugin-react-refresh': ^1.3.1 @@ -431,8 +431,8 @@ importers: runtime/vue2: specifiers: - '@tmagic/schema': ^1.0.0-rc.6 - '@tmagic/stage': ^1.0.0-rc.6 + '@tmagic/schema': ^1.0.0-rc.7 + '@tmagic/stage': ^1.0.0-rc.7 '@types/events': ^3.0.0 '@vue/composition-api': 1.0.5 axios: ^0.27.2 @@ -462,8 +462,8 @@ importers: runtime/vue3: specifiers: - '@tmagic/schema': ^1.0.0-rc.6 - '@tmagic/stage': ^1.0.0-rc.6 + '@tmagic/schema': ^1.0.0-rc.7 + '@tmagic/stage': ^1.0.0-rc.7 '@types/node': ^15.12.4 '@vitejs/plugin-vue': ^1.2.3 '@vue/compiler-sfc': ^3.2.0 diff --git a/runtime/react/package.json b/runtime/react/package.json index a209a7c5..6483672d 100644 --- a/runtime/react/package.json +++ b/runtime/react/package.json @@ -1,6 +1,6 @@ { "name": "runtime-react", - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "private": true, "scripts": { "dev:react": "npm run build && npm run serve", @@ -9,8 +9,8 @@ "serve": "vite preview --port 8076" }, "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", - "@tmagic/stage": "^1.0.0-rc.6", + "@tmagic/schema": "^1.0.0-rc.7", + "@tmagic/stage": "^1.0.0-rc.7", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/runtime/vue2/package-lock.json b/runtime/vue2/package-lock.json index 9fd3d033..e43a516b 100644 --- a/runtime/vue2/package-lock.json +++ b/runtime/vue2/package-lock.json @@ -1,15 +1,15 @@ { "name": "runtime-vue2", - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "runtime-vue2", - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", - "@tmagic/stage": "^1.0.0-rc.6", + "@tmagic/schema": "^1.0.0-rc.7", + "@tmagic/stage": "^1.0.0-rc.7", "@vue/composition-api": "1.0.5", "vue": "^2.6.14" }, @@ -841,11 +841,11 @@ } }, "node_modules/@tmagic/core": { - "version": "1.0.0-rc.6", - "resolved": "https://registry.npmjs.org/@tmagic/core/-/core-1.0.0-rc.6.tgz", - "integrity": "sha512-3ZKqpBey7x2OqDt1+ANPnj0b3BgEQv4zqIAaWyBETcOpl8WNq4D/yXXQ01RpDdJrFcOhTWscEY5EtEk2l6Ctyg==", + "version": "1.0.0-rc.7", + "resolved": "https://registry.npmjs.org/@tmagic/core/-/core-1.0.0-rc.7.tgz", + "integrity": "sha512-Dy9gBJxusP/glrWi2xLFQyeCjSBV3GqaId4qPxIVv4vQMNiZD4FfzfzEyYUZQ0BKlM5Pe2w+QO7AbHK72osV+w==", "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", + "@tmagic/schema": "1.0.0-rc.7", "events": "^3.3.0" }, "engines": { @@ -853,22 +853,22 @@ } }, "node_modules/@tmagic/schema": { - "version": "1.0.0-rc.6", - "resolved": "https://registry.npmjs.org/@tmagic/schema/-/schema-1.0.0-rc.6.tgz", - "integrity": "sha512-x7guEPmILpssmX2bGOsIS2VrYwFA0Hyzc0LlyZ/J9pahKKzeIh/57EtDyNuUp3haHgfBM7Ho9MMSVP13UTSuDQ==", + "version": "1.0.0-rc.7", + "resolved": "https://registry.npmjs.org/@tmagic/schema/-/schema-1.0.0-rc.7.tgz", + "integrity": "sha512-e/LgrRzWDXIWvH6mUDf6njgv91VbuLw7JiJ+4L6C0G0SS3YR55Qqwkn+XmkmIeJmqNXV5xOe53ROCOEMRPDInw==", "engines": { "node": ">=14" } }, "node_modules/@tmagic/stage": { - "version": "1.0.0-rc.6", - "resolved": "https://registry.npmjs.org/@tmagic/stage/-/stage-1.0.0-rc.6.tgz", - "integrity": "sha512-r1WlXq3TE+5ahkPq5K7gedoYR2nqMxG69uekX5i7A6/iUeVwOGmfnhLS5p2SvdDjy/n/cRj2BtKTHaxvdOuXpA==", + "version": "1.0.0-rc.7", + "resolved": "https://registry.npmjs.org/@tmagic/stage/-/stage-1.0.0-rc.7.tgz", + "integrity": "sha512-Y6HjQ/19wg/8J6snuheXXugpQknBA0BO9oBbUm3d8T0ZCS3/+mFKiAVrXmjx4tLlExMLmgokSmj8iL3eLFpD8A==", "dependencies": { "@scena/guides": "^0.17.0", - "@tmagic/core": "^1.0.0-rc.6", - "@tmagic/schema": "^1.0.0-rc.6", - "@tmagic/utils": "^1.0.0-rc.6", + "@tmagic/core": "1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.7", + "@tmagic/utils": "1.0.0-rc.7", "events": "^3.3.0", "lodash-es": "^4.17.21", "moveable": "^0.29.4", @@ -879,11 +879,11 @@ } }, "node_modules/@tmagic/utils": { - "version": "1.0.0-rc.6", - "resolved": "https://registry.npmjs.org/@tmagic/utils/-/utils-1.0.0-rc.6.tgz", - "integrity": "sha512-sCoXgXJw0CPXHabXuuktw1WPentMSurryNR6QAcRoS6MjMY4MEVzQuVgqSj+Yud2sxSpqSxWGTtXVnPjhuxHbQ==", + "version": "1.0.0-rc.7", + "resolved": "https://registry.npmjs.org/@tmagic/utils/-/utils-1.0.0-rc.7.tgz", + "integrity": "sha512-cCdRvUeP0vLHT+rGPWQZZQ7Lw8TPaOsmkw+FW0SUhyca4pGq+9p+9bW5Dfp7uIOrIV1oantJ1jRXywgWwoSGsA==", "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", + "@tmagic/schema": "1.0.0-rc.7", "moment": "^2.29.2" }, "engines": { @@ -3402,28 +3402,28 @@ } }, "@tmagic/core": { - "version": "1.0.0-rc.6", - "resolved": "https://registry.npmjs.org/@tmagic/core/-/core-1.0.0-rc.6.tgz", - "integrity": "sha512-3ZKqpBey7x2OqDt1+ANPnj0b3BgEQv4zqIAaWyBETcOpl8WNq4D/yXXQ01RpDdJrFcOhTWscEY5EtEk2l6Ctyg==", + "version": "1.0.0-rc.7", + "resolved": "https://registry.npmjs.org/@tmagic/core/-/core-1.0.0-rc.7.tgz", + "integrity": "sha512-Dy9gBJxusP/glrWi2xLFQyeCjSBV3GqaId4qPxIVv4vQMNiZD4FfzfzEyYUZQ0BKlM5Pe2w+QO7AbHK72osV+w==", "requires": { - "@tmagic/schema": "^1.0.0-rc.6", + "@tmagic/schema": "1.0.0-rc.7", "events": "^3.3.0" } }, "@tmagic/schema": { - "version": "1.0.0-rc.6", - "resolved": "https://registry.npmjs.org/@tmagic/schema/-/schema-1.0.0-rc.6.tgz", - "integrity": "sha512-x7guEPmILpssmX2bGOsIS2VrYwFA0Hyzc0LlyZ/J9pahKKzeIh/57EtDyNuUp3haHgfBM7Ho9MMSVP13UTSuDQ==" + "version": "1.0.0-rc.7", + "resolved": "https://registry.npmjs.org/@tmagic/schema/-/schema-1.0.0-rc.7.tgz", + "integrity": "sha512-e/LgrRzWDXIWvH6mUDf6njgv91VbuLw7JiJ+4L6C0G0SS3YR55Qqwkn+XmkmIeJmqNXV5xOe53ROCOEMRPDInw==" }, "@tmagic/stage": { - "version": "1.0.0-rc.6", - "resolved": "https://registry.npmjs.org/@tmagic/stage/-/stage-1.0.0-rc.6.tgz", - "integrity": "sha512-r1WlXq3TE+5ahkPq5K7gedoYR2nqMxG69uekX5i7A6/iUeVwOGmfnhLS5p2SvdDjy/n/cRj2BtKTHaxvdOuXpA==", + "version": "1.0.0-rc.7", + "resolved": "https://registry.npmjs.org/@tmagic/stage/-/stage-1.0.0-rc.7.tgz", + "integrity": "sha512-Y6HjQ/19wg/8J6snuheXXugpQknBA0BO9oBbUm3d8T0ZCS3/+mFKiAVrXmjx4tLlExMLmgokSmj8iL3eLFpD8A==", "requires": { "@scena/guides": "^0.17.0", - "@tmagic/core": "^1.0.0-rc.6", - "@tmagic/schema": "^1.0.0-rc.6", - "@tmagic/utils": "^1.0.0-rc.6", + "@tmagic/core": "1.0.0-rc.7", + "@tmagic/schema": "1.0.0-rc.7", + "@tmagic/utils": "1.0.0-rc.7", "events": "^3.3.0", "lodash-es": "^4.17.21", "moveable": "^0.29.4", @@ -3431,11 +3431,11 @@ } }, "@tmagic/utils": { - "version": "1.0.0-rc.6", - "resolved": "https://registry.npmjs.org/@tmagic/utils/-/utils-1.0.0-rc.6.tgz", - "integrity": "sha512-sCoXgXJw0CPXHabXuuktw1WPentMSurryNR6QAcRoS6MjMY4MEVzQuVgqSj+Yud2sxSpqSxWGTtXVnPjhuxHbQ==", + "version": "1.0.0-rc.7", + "resolved": "https://registry.npmjs.org/@tmagic/utils/-/utils-1.0.0-rc.7.tgz", + "integrity": "sha512-cCdRvUeP0vLHT+rGPWQZZQ7Lw8TPaOsmkw+FW0SUhyca4pGq+9p+9bW5Dfp7uIOrIV1oantJ1jRXywgWwoSGsA==", "requires": { - "@tmagic/schema": "^1.0.0-rc.6", + "@tmagic/schema": "1.0.0-rc.7", "moment": "^2.29.2" } }, diff --git a/runtime/vue2/package.json b/runtime/vue2/package.json index a985316c..b9441346 100644 --- a/runtime/vue2/package.json +++ b/runtime/vue2/package.json @@ -1,6 +1,6 @@ { "name": "runtime-vue2", - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "private": true, "scripts": { "dev:vue2": "npm run build && npm run serve", @@ -9,8 +9,8 @@ "serve": "vite preview --port 8077" }, "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", - "@tmagic/stage": "^1.0.0-rc.6", + "@tmagic/schema": "^1.0.0-rc.7", + "@tmagic/stage": "^1.0.0-rc.7", "@vue/composition-api": "1.0.5", "vue": "^2.6.14" }, diff --git a/runtime/vue3/package.json b/runtime/vue3/package.json index ee1f8370..4cd7de6c 100644 --- a/runtime/vue3/package.json +++ b/runtime/vue3/package.json @@ -1,6 +1,6 @@ { "name": "runtime-vue3", - "version": "1.0.0-rc.6", + "version": "1.0.0-rc.7", "private": true, "scripts": { "dev": "npm run build && npm run serve", @@ -9,8 +9,8 @@ "serve": "vite preview --port 8078" }, "dependencies": { - "@tmagic/schema": "^1.0.0-rc.6", - "@tmagic/stage": "^1.0.0-rc.6", + "@tmagic/schema": "^1.0.0-rc.7", + "@tmagic/stage": "^1.0.0-rc.7", "axios": "^0.25.0", "vue": "^3.2.0" }, diff --git a/scripts/release.js b/scripts/release.js index f5c15dc3..f6910439 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -29,6 +29,8 @@ const run = (bin, args, opts = {}) => execa(bin, args, { stdio: 'inherit', ...op const dryRun = (bin, args, opts = {}) => console.log(chalk.blue(`[dryrun] ${bin} ${args.join(' ')}`), opts); const runIfNotDry = isDryRun ? dryRun : run; const getPkgRoot = (pkg) => path.resolve(__dirname, `../packages/${pkg}`); +const getRunTimeRoot = (pkg) => path.resolve(__dirname, `../runtime/${pkg}`); +const getPlayground = () => path.resolve(__dirname, `../playground`); const step = (msg) => console.log(chalk.cyan(msg)); async function main() { @@ -97,13 +99,13 @@ async function main() { // update pnpm-lock.yaml step('\nUpdating lockfile...'); - await run(`pnpm`, ['install', '--prefer-offline']); + await run(`pnpm`, ['reinstall']); const { stdout } = await run('git', ['diff'], { stdio: 'pipe' }); if (stdout) { step('\nCommitting changes...'); await runIfNotDry('git', ['add', '-A']); - // await runIfNotDry('git', ['commit', '-m', `chore: release v${targetVersion}`]); + await runIfNotDry('git', ['commit', '-m', `chore: release v${targetVersion}`]); } else { console.log('No changes to commit.'); } @@ -136,6 +138,8 @@ function updateVersions(version) { updatePackage(path.resolve(__dirname, '..'), version); // 2. update all packages packages.forEach((p) => updatePackage(getPkgRoot(p), version)); + ['vue3', 'react', 'vue2'].forEach((p) => updatePackage(getRunTimeRoot(p), version)); + updatePackage(getPlayground(), version); } function updatePackage(pkgRoot, version) {