@shiqianjiang/ceru-plugin-cli 0.1.0 → 0.1.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.
- package/README.md +4 -0
- package/assets/catalog.json +1 -1
- package/assets/sandbox.js +1 -1
- package/dist/dev.d.ts +2 -0
- package/dist/dev.js +87 -29
- package/dist/frameworks.d.ts +2 -2
- package/dist/frameworks.js +11 -29
- package/dist/index.js +8 -2
- package/dist/project.d.ts +1 -0
- package/dist/project.js +8 -6
- package/package.json +67 -67
- package/schemas/config.schema.json +2 -0
- package/templates/connected-library/js/.vscode/launch.json +8 -2
- package/templates/connected-library/js/.vscode/tasks.json +11 -3
- package/templates/connected-library/js/README.md +7 -2
- package/templates/connected-library/js/ceru-plugin.code-workspace +8 -0
- package/templates/connected-library/js/package.json +3 -2
- package/templates/connected-library/ts/.vscode/launch.json +8 -2
- package/templates/connected-library/ts/.vscode/tasks.json +11 -3
- package/templates/connected-library/ts/README.md +7 -2
- package/templates/connected-library/ts/ceru-plugin.code-workspace +8 -0
- package/templates/connected-library/ts/package.json +3 -2
- package/templates/guest-adapter/js/.vscode/launch.json +8 -2
- package/templates/guest-adapter/js/.vscode/tasks.json +11 -3
- package/templates/guest-adapter/js/README.md +7 -2
- package/templates/guest-adapter/js/ceru-plugin.code-workspace +8 -0
- package/templates/guest-adapter/js/package.json +3 -2
- package/templates/guest-adapter/ts/.vscode/launch.json +8 -2
- package/templates/guest-adapter/ts/.vscode/tasks.json +11 -3
- package/templates/guest-adapter/ts/README.md +7 -2
- package/templates/guest-adapter/ts/ceru-plugin.code-workspace +8 -0
- package/templates/guest-adapter/ts/package.json +3 -2
- package/templates/importer/js/.vscode/launch.json +8 -2
- package/templates/importer/js/.vscode/tasks.json +11 -3
- package/templates/importer/js/README.md +7 -2
- package/templates/importer/js/ceru-plugin.code-workspace +8 -0
- package/templates/importer/js/package.json +3 -2
- package/templates/importer/ts/.vscode/launch.json +8 -2
- package/templates/importer/ts/.vscode/tasks.json +11 -3
- package/templates/importer/ts/README.md +7 -2
- package/templates/importer/ts/ceru-plugin.code-workspace +8 -0
- package/templates/importer/ts/package.json +3 -2
- package/templates/react/js/.vscode/launch.json +8 -2
- package/templates/react/js/.vscode/tasks.json +11 -3
- package/templates/react/js/README.md +7 -2
- package/templates/react/js/ceru-plugin.code-workspace +8 -0
- package/templates/react/js/ceru.plugin.json +1 -5
- package/templates/react/js/package.json +3 -2
- package/templates/react/ts/.vscode/launch.json +8 -2
- package/templates/react/ts/.vscode/tasks.json +11 -3
- package/templates/react/ts/README.md +7 -2
- package/templates/react/ts/ceru-plugin.code-workspace +8 -0
- package/templates/react/ts/ceru.plugin.json +1 -5
- package/templates/react/ts/package.json +3 -2
- package/templates/snapshot.json +19 -1
- package/templates/source/js/.vscode/launch.json +8 -2
- package/templates/source/js/.vscode/tasks.json +11 -3
- package/templates/source/js/README.md +7 -2
- package/templates/source/js/ceru-plugin.code-workspace +8 -0
- package/templates/source/js/package.json +3 -2
- package/templates/source/ts/.vscode/launch.json +8 -2
- package/templates/source/ts/.vscode/tasks.json +11 -3
- package/templates/source/ts/README.md +7 -2
- package/templates/source/ts/ceru-plugin.code-workspace +8 -0
- package/templates/source/ts/package.json +3 -2
- package/templates/vue/js/.vscode/launch.json +8 -2
- package/templates/vue/js/.vscode/tasks.json +11 -3
- package/templates/vue/js/README.md +7 -2
- package/templates/vue/js/ceru-plugin.code-workspace +8 -0
- package/templates/vue/js/ceru.plugin.json +1 -4
- package/templates/vue/js/package.json +3 -2
- package/templates/vue/ts/.vscode/launch.json +8 -2
- package/templates/vue/ts/.vscode/tasks.json +11 -3
- package/templates/vue/ts/README.md +7 -2
- package/templates/vue/ts/ceru-plugin.code-workspace +8 -0
- package/templates/vue/ts/ceru.plugin.json +1 -4
- package/templates/vue/ts/package.json +3 -2
- package/templates/vue-tsx/js/.vscode/launch.json +8 -2
- package/templates/vue-tsx/js/.vscode/tasks.json +11 -3
- package/templates/vue-tsx/js/README.md +7 -2
- package/templates/vue-tsx/js/ceru-plugin.code-workspace +8 -0
- package/templates/vue-tsx/js/ceru.plugin.json +1 -4
- package/templates/vue-tsx/js/package.json +3 -2
- package/templates/vue-tsx/ts/.vscode/launch.json +8 -2
- package/templates/vue-tsx/ts/.vscode/tasks.json +11 -3
- package/templates/vue-tsx/ts/README.md +7 -2
- package/templates/vue-tsx/ts/ceru-plugin.code-workspace +8 -0
- package/templates/vue-tsx/ts/ceru.plugin.json +1 -4
- package/templates/vue-tsx/ts/package.json +3 -2
- package/templates/web-dist/js/.vscode/launch.json +8 -2
- package/templates/web-dist/js/.vscode/tasks.json +11 -3
- package/templates/web-dist/js/README.md +7 -2
- package/templates/web-dist/js/ceru-plugin.code-workspace +8 -0
- package/templates/web-dist/js/package.json +3 -2
- package/templates/web-dist/ts/.vscode/launch.json +8 -2
- package/templates/web-dist/ts/.vscode/tasks.json +11 -3
- package/templates/web-dist/ts/README.md +7 -2
- package/templates/web-dist/ts/ceru-plugin.code-workspace +8 -0
- package/templates/web-dist/ts/package.json +3 -2
- package/templates/web-surface/js/.vscode/launch.json +8 -2
- package/templates/web-surface/js/.vscode/tasks.json +11 -3
- package/templates/web-surface/js/README.md +7 -2
- package/templates/web-surface/js/ceru-plugin.code-workspace +8 -0
- package/templates/web-surface/js/package.json +3 -2
- package/templates/web-surface/ts/.vscode/launch.json +8 -2
- package/templates/web-surface/ts/.vscode/tasks.json +11 -3
- package/templates/web-surface/ts/README.md +7 -2
- package/templates/web-surface/ts/ceru-plugin.code-workspace +8 -0
- package/templates/web-surface/ts/package.json +3 -2
- package/assets/shared-react.js +0 -77
- package/assets/shared-vue.js +0 -44
package/README.md
CHANGED
|
@@ -22,6 +22,10 @@ ceru-plugin sign dist/plugin.js --key .keys/publisher.private.pem
|
|
|
22
22
|
|
|
23
23
|
最终交付单个 JS;也可选择 .jsx 后缀,内容仍为完成编译的 JavaScript。编译器、node_modules 和开发服务器不进入产物。
|
|
24
24
|
|
|
25
|
+
0.1.2 起 Vue/React 生产运行代码也直接打入发行文件,不依赖宿主提供框架。执行 ceru-plugin preview dist/plugin.js 可以只加载最终文件验证页面。
|
|
26
|
+
|
|
27
|
+
在多根/父目录工作区中,请打开生成的 ceru-plugin.code-workspace 或把插件工程本身加入工作区。已经运行 dev 时选择 Attach to Ceru plugin;Launch 会启动或复用当前项目的 Host。
|
|
28
|
+
|
|
25
29
|
当前 v1 Host 不能直接安装 v2 产物。开发工作台不代替生产凭据保险箱、完整音乐业务或 Guest 安装。
|
|
26
30
|
|
|
27
31
|
源码 MIT;复用的预览图标/图片保留原项目 AGPL-3.0-only,见 ASSET_LICENSE 和 NOTICE。
|