@oinone/cli 7.2.5 → 7.2.6

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 (222) hide show
  1. package/README.md +100 -71
  2. package/README_zh-CN.md +100 -71
  3. package/bin/cli.js +48 -473
  4. package/bin/commands/cache.js +70 -0
  5. package/bin/commands/create/enterprise.js +81 -0
  6. package/bin/commands/create/index.js +128 -0
  7. package/bin/commands/create/project.js +81 -0
  8. package/bin/commands/create/prompts.js +126 -0
  9. package/bin/commands/create/static-resources.js +159 -0
  10. package/bin/commands/create/template.js +38 -0
  11. package/bin/commands/create/update-check.js +44 -0
  12. package/bin/commands/create/version-source.js +32 -0
  13. package/bin/commands/create.js +1 -0
  14. package/bin/commands/doctor.js +51 -0
  15. package/bin/config.js +54 -0
  16. package/bin/i18n.js +51 -125
  17. package/bin/locales/en-US.json +81 -0
  18. package/bin/locales/zh-CN.json +81 -0
  19. package/bin/utils/oinone-version.js +60 -0
  20. package/package.json +2 -2
  21. package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/vue.config.js +1 -1
  22. package/{template-7.2.0-community → template-7.2.0}/packages/ss-boot/vue.config.js +1 -1
  23. package/template-6.4.0-enterprise/.eslintignore +0 -5
  24. package/template-6.4.0-enterprise/.eslintrc.json +0 -72
  25. package/template-6.4.0-enterprise/_package.json +0 -47
  26. package/template-6.4.0-enterprise/npmrc +0 -3
  27. package/template-6.4.0-enterprise/packages/ss-admin-widget/package.json +0 -25
  28. package/template-6.4.0-enterprise/packages/ss-admin-widget/rollup.config.js +0 -73
  29. package/template-6.4.0-enterprise/packages/ss-admin-widget/tsconfig.json +0 -45
  30. package/template-6.4.0-enterprise/packages/ss-boot/package.json +0 -66
  31. package/template-6.4.0-enterprise/packages/ss-boot/src/main.ts +0 -69
  32. package/template-6.4.0-enterprise/packages/ss-boot/tsconfig.json +0 -44
  33. package/template-6.4.0-enterprise/packages/ss-boot/vue.config.js +0 -84
  34. package/template-6.4.0-enterprise/packages/ss-oinone/package.json +0 -29
  35. package/template-6.4.0-enterprise/packages/ss-oinone/rollup.config.js +0 -82
  36. package/template-6.4.0-enterprise/packages/ss-oinone/tsconfig.json +0 -42
  37. package/template-6.4.0-enterprise/packages/ss-project/package.json +0 -30
  38. package/template-6.4.0-enterprise/packages/ss-project/rollup.config.js +0 -83
  39. package/template-6.4.0-enterprise/packages/ss-project/tsconfig.json +0 -42
  40. package/template-6.4.0-enterprise/scripts/build/postbuild.js +0 -42
  41. package/template-6.4.0-enterprise/scripts/build/prebuild-only.js +0 -48
  42. package/template-7.2.0-community/.prettierrc.json +0 -8
  43. package/template-7.2.0-community/README.md +0 -59
  44. package/template-7.2.0-community/gitignore +0 -58
  45. package/template-7.2.0-community/lerna.json +0 -12
  46. package/template-7.2.0-community/packages/ss-admin-widget/index.ts +0 -1
  47. package/template-7.2.0-community/packages/ss-admin-widget/scripts/postpublish.js +0 -13
  48. package/template-7.2.0-community/packages/ss-admin-widget/scripts/prepublish-only.js +0 -24
  49. package/template-7.2.0-community/packages/ss-admin-widget/src/index.ts +0 -1
  50. package/template-7.2.0-community/packages/ss-admin-widget/src/shim-translate.d.ts +0 -10
  51. package/template-7.2.0-community/packages/ss-admin-widget/src/shim-vue.d.ts +0 -6
  52. package/template-7.2.0-community/packages/ss-boot/.env +0 -1
  53. package/template-7.2.0-community/packages/ss-boot/.env.example +0 -6
  54. package/template-7.2.0-community/packages/ss-boot/public/favicon.ico +0 -0
  55. package/template-7.2.0-community/packages/ss-boot/public/index.html +0 -83
  56. package/template-7.2.0-community/packages/ss-boot/public/manifest.js +0 -5
  57. package/template-7.2.0-community/packages/ss-boot/src/shim-translate.d.ts +0 -10
  58. package/template-7.2.0-community/packages/ss-boot/src/shim-vue.d.ts +0 -6
  59. package/template-7.2.0-community/packages/ss-oinone/index.ts +0 -1
  60. package/template-7.2.0-community/packages/ss-oinone/scripts/postpublish.js +0 -13
  61. package/template-7.2.0-community/packages/ss-oinone/scripts/prepublish-only.js +0 -24
  62. package/template-7.2.0-community/packages/ss-oinone/src/index.ts +0 -1
  63. package/template-7.2.0-community/packages/ss-oinone/src/shim-translate.d.ts +0 -10
  64. package/template-7.2.0-community/packages/ss-oinone/src/shim-vue.d.ts +0 -6
  65. package/template-7.2.0-community/packages/ss-project/index.ts +0 -1
  66. package/template-7.2.0-community/packages/ss-project/scripts/postpublish.js +0 -13
  67. package/template-7.2.0-community/packages/ss-project/scripts/prepublish-only.js +0 -24
  68. package/template-7.2.0-community/packages/ss-project/src/index.ts +0 -1
  69. package/template-7.2.0-community/packages/ss-project/src/shim-translate.d.ts +0 -10
  70. package/template-7.2.0-community/packages/ss-project/src/shim-vue.d.ts +0 -6
  71. package/template-7.2.0-community/pnpm-workspace.yaml +0 -3
  72. package/template-7.2.0-community/scripts/build/inset-tsconfig.js +0 -68
  73. package/template-7.2.0-community/scripts/build/package-name.js +0 -25
  74. package/template-7.2.0-community/scripts/clean.mjs +0 -22
  75. package/template-7.2.0-enterprise/.prettierrc.json +0 -8
  76. package/template-7.2.0-enterprise/README.md +0 -59
  77. package/template-7.2.0-enterprise/_package.json +0 -57
  78. package/template-7.2.0-enterprise/eslint.config.ts +0 -23
  79. package/template-7.2.0-enterprise/gitignore +0 -58
  80. package/template-7.2.0-enterprise/lerna.json +0 -12
  81. package/template-7.2.0-enterprise/npmrc +0 -3
  82. package/template-7.2.0-enterprise/packages/ss-admin-widget/index.ts +0 -1
  83. package/template-7.2.0-enterprise/packages/ss-admin-widget/package.json +0 -27
  84. package/template-7.2.0-enterprise/packages/ss-admin-widget/rollup.config.js +0 -14
  85. package/template-7.2.0-enterprise/packages/ss-admin-widget/scripts/postpublish.js +0 -13
  86. package/template-7.2.0-enterprise/packages/ss-admin-widget/scripts/prepublish-only.js +0 -24
  87. package/template-7.2.0-enterprise/packages/ss-admin-widget/src/index.ts +0 -1
  88. package/template-7.2.0-enterprise/packages/ss-admin-widget/src/shim-translate.d.ts +0 -10
  89. package/template-7.2.0-enterprise/packages/ss-admin-widget/src/shim-vue.d.ts +0 -6
  90. package/template-7.2.0-enterprise/packages/ss-admin-widget/tsconfig.json +0 -14
  91. package/template-7.2.0-enterprise/packages/ss-boot/.env +0 -1
  92. package/template-7.2.0-enterprise/packages/ss-boot/.env.example +0 -6
  93. package/template-7.2.0-enterprise/packages/ss-boot/package.json +0 -64
  94. package/template-7.2.0-enterprise/packages/ss-boot/public/favicon.ico +0 -0
  95. package/template-7.2.0-enterprise/packages/ss-boot/public/index.html +0 -83
  96. package/template-7.2.0-enterprise/packages/ss-boot/public/manifest.js +0 -5
  97. package/template-7.2.0-enterprise/packages/ss-boot/src/main.ts +0 -66
  98. package/template-7.2.0-enterprise/packages/ss-boot/src/shim-translate.d.ts +0 -10
  99. package/template-7.2.0-enterprise/packages/ss-boot/src/shim-vue.d.ts +0 -6
  100. package/template-7.2.0-enterprise/packages/ss-boot/tsconfig.json +0 -27
  101. package/template-7.2.0-enterprise/packages/ss-boot/vue.config.js +0 -87
  102. package/template-7.2.0-enterprise/packages/ss-oinone/index.ts +0 -1
  103. package/template-7.2.0-enterprise/packages/ss-oinone/package.json +0 -30
  104. package/template-7.2.0-enterprise/packages/ss-oinone/rollup.config.js +0 -14
  105. package/template-7.2.0-enterprise/packages/ss-oinone/scripts/postpublish.js +0 -13
  106. package/template-7.2.0-enterprise/packages/ss-oinone/scripts/prepublish-only.js +0 -24
  107. package/template-7.2.0-enterprise/packages/ss-oinone/src/index.ts +0 -1
  108. package/template-7.2.0-enterprise/packages/ss-oinone/src/shim-translate.d.ts +0 -10
  109. package/template-7.2.0-enterprise/packages/ss-oinone/src/shim-vue.d.ts +0 -6
  110. package/template-7.2.0-enterprise/packages/ss-oinone/tsconfig.json +0 -14
  111. package/template-7.2.0-enterprise/packages/ss-project/index.ts +0 -1
  112. package/template-7.2.0-enterprise/packages/ss-project/package.json +0 -30
  113. package/template-7.2.0-enterprise/packages/ss-project/rollup.config.js +0 -14
  114. package/template-7.2.0-enterprise/packages/ss-project/scripts/postpublish.js +0 -13
  115. package/template-7.2.0-enterprise/packages/ss-project/scripts/prepublish-only.js +0 -24
  116. package/template-7.2.0-enterprise/packages/ss-project/src/index.ts +0 -1
  117. package/template-7.2.0-enterprise/packages/ss-project/src/shim-translate.d.ts +0 -10
  118. package/template-7.2.0-enterprise/packages/ss-project/src/shim-vue.d.ts +0 -6
  119. package/template-7.2.0-enterprise/packages/ss-project/tsconfig.json +0 -14
  120. package/template-7.2.0-enterprise/pnpm-workspace.yaml +0 -3
  121. package/template-7.2.0-enterprise/scripts/build/inset-tsconfig.js +0 -68
  122. package/template-7.2.0-enterprise/scripts/build/package-name.js +0 -25
  123. package/template-7.2.0-enterprise/scripts/clean.mjs +0 -22
  124. /package/{template-6.4.0-community → template-6.4.0}/.eslintignore +0 -0
  125. /package/{template-6.4.0-community → template-6.4.0}/.eslintrc.json +0 -0
  126. /package/{template-6.4.0-community → template-6.4.0}/.prettierrc.json +0 -0
  127. /package/{template-6.4.0-community → template-6.4.0}/README.md +0 -0
  128. /package/{template-6.4.0-community → template-6.4.0}/_package.json +0 -0
  129. /package/{template-6.4.0-community → template-6.4.0}/gitignore +0 -0
  130. /package/{template-6.4.0-community → template-6.4.0}/lerna.json +0 -0
  131. /package/{template-6.4.0-community → template-6.4.0}/npmrc +0 -0
  132. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/index.ts +0 -0
  133. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/package.json +0 -0
  134. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/rollup.config.js +0 -0
  135. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/scripts/postpublish.js +0 -0
  136. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/scripts/prepublish-only.js +0 -0
  137. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/src/index.ts +0 -0
  138. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/src/shim-translate.d.ts +0 -0
  139. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/src/shim-vue.d.ts +0 -0
  140. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-admin-widget/tsconfig.json +0 -0
  141. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/.env +0 -0
  142. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/.env.example +0 -0
  143. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/package.json +0 -0
  144. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/public/favicon.ico +0 -0
  145. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/public/index.html +0 -0
  146. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/public/manifest.js +0 -0
  147. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/src/main.ts +0 -0
  148. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/src/shim-translate.d.ts +0 -0
  149. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/src/shim-vue.d.ts +0 -0
  150. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-boot/tsconfig.json +0 -0
  151. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/index.ts +0 -0
  152. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/package.json +0 -0
  153. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/rollup.config.js +0 -0
  154. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/scripts/postpublish.js +0 -0
  155. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/scripts/prepublish-only.js +0 -0
  156. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/src/index.ts +0 -0
  157. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/src/shim-translate.d.ts +0 -0
  158. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/src/shim-vue.d.ts +0 -0
  159. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-oinone/tsconfig.json +0 -0
  160. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/index.ts +0 -0
  161. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/package.json +0 -0
  162. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/rollup.config.js +0 -0
  163. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/scripts/postpublish.js +0 -0
  164. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/scripts/prepublish-only.js +0 -0
  165. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/src/index.ts +0 -0
  166. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/src/shim-translate.d.ts +0 -0
  167. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/src/shim-vue.d.ts +0 -0
  168. /package/{template-6.4.0-community → template-6.4.0}/packages/ss-project/tsconfig.json +0 -0
  169. /package/{template-6.4.0-community → template-6.4.0}/pnpm-workspace.yaml +0 -0
  170. /package/{template-6.4.0-community → template-6.4.0}/scripts/build/inset-tsconfig.js +0 -0
  171. /package/{template-6.4.0-community → template-6.4.0}/scripts/build/package-name.js +0 -0
  172. /package/{template-6.4.0-community → template-6.4.0}/scripts/build/postbuild.js +0 -0
  173. /package/{template-6.4.0-community → template-6.4.0}/scripts/build/prebuild-only.js +0 -0
  174. /package/{template-6.4.0-community → template-6.4.0}/scripts/clean.mjs +0 -0
  175. /package/{template-6.4.0-enterprise → template-7.2.0}/.prettierrc.json +0 -0
  176. /package/{template-6.4.0-enterprise → template-7.2.0}/README.md +0 -0
  177. /package/{template-7.2.0-community → template-7.2.0}/_package.json +0 -0
  178. /package/{template-7.2.0-community → template-7.2.0}/eslint.config.ts +0 -0
  179. /package/{template-6.4.0-enterprise → template-7.2.0}/gitignore +0 -0
  180. /package/{template-6.4.0-enterprise → template-7.2.0}/lerna.json +0 -0
  181. /package/{template-7.2.0-community → template-7.2.0}/npmrc +0 -0
  182. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/index.ts +0 -0
  183. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-admin-widget/package.json +0 -0
  184. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-admin-widget/rollup.config.js +0 -0
  185. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/scripts/postpublish.js +0 -0
  186. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/scripts/prepublish-only.js +0 -0
  187. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/src/index.ts +0 -0
  188. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/src/shim-translate.d.ts +0 -0
  189. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-admin-widget/src/shim-vue.d.ts +0 -0
  190. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-admin-widget/tsconfig.json +0 -0
  191. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/.env +0 -0
  192. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/.env.example +0 -0
  193. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-boot/package.json +0 -0
  194. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/public/favicon.ico +0 -0
  195. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/public/index.html +0 -0
  196. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/public/manifest.js +0 -0
  197. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-boot/src/main.ts +0 -0
  198. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/src/shim-translate.d.ts +0 -0
  199. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-boot/src/shim-vue.d.ts +0 -0
  200. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-boot/tsconfig.json +0 -0
  201. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/index.ts +0 -0
  202. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-oinone/package.json +0 -0
  203. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-oinone/rollup.config.js +0 -0
  204. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/scripts/postpublish.js +0 -0
  205. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/scripts/prepublish-only.js +0 -0
  206. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/src/index.ts +0 -0
  207. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/src/shim-translate.d.ts +0 -0
  208. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-oinone/src/shim-vue.d.ts +0 -0
  209. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-oinone/tsconfig.json +0 -0
  210. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/index.ts +0 -0
  211. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-project/package.json +0 -0
  212. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-project/rollup.config.js +0 -0
  213. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/scripts/postpublish.js +0 -0
  214. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/scripts/prepublish-only.js +0 -0
  215. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/src/index.ts +0 -0
  216. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/src/shim-translate.d.ts +0 -0
  217. /package/{template-6.4.0-enterprise → template-7.2.0}/packages/ss-project/src/shim-vue.d.ts +0 -0
  218. /package/{template-7.2.0-community → template-7.2.0}/packages/ss-project/tsconfig.json +0 -0
  219. /package/{template-6.4.0-enterprise → template-7.2.0}/pnpm-workspace.yaml +0 -0
  220. /package/{template-6.4.0-enterprise → template-7.2.0}/scripts/build/inset-tsconfig.js +0 -0
  221. /package/{template-6.4.0-enterprise → template-7.2.0}/scripts/build/package-name.js +0 -0
  222. /package/{template-6.4.0-enterprise → template-7.2.0}/scripts/clean.mjs +0 -0
@@ -1,47 +0,0 @@
1
- {
2
- "name": "ss-front-modules",
3
- "version": "0.0.0",
4
- "private": true,
5
- "scripts": {
6
- "dev": "pnpm lerna exec --scope ss-boot -- npm run dev",
7
- "clean": "pnpm lerna run clean --parallel && rimraf package-lock.json pnpm-lock.yaml node_modules",
8
- "clean:win": "node ./scripts/clean.mjs",
9
- "build": "pnpm lerna run build --parallel",
10
- "build-win": "pnpm lerna run build-win --parallel",
11
- "publish": "pnpm lerna publish --no-git-tag-version --no-push --exact -y"
12
- },
13
- "devDependencies": {
14
- "@commitlint/cli": "9.1.2",
15
- "@commitlint/config-conventional": "9.1.2",
16
- "@rollup/plugin-json": "4.1.0",
17
- "@rollup/plugin-node-resolve": "11.2.1",
18
- "@rollup/plugin-replace": "2.4.2",
19
- "@typescript-eslint/parser": "5.5.0",
20
- "glob": "^11.0.0",
21
- "husky": "4.2.5",
22
- "jest": "26.4.2",
23
- "lerna": "^8.1.3",
24
- "lint-staged": "10.4.2",
25
- "patch-package": "6.2.2",
26
- "postcss": "8.4.5",
27
- "postcss-import": "14.0.2",
28
- "prettier": "2.5.0",
29
- "rimraf": "6.0.1",
30
- "rollup": "2.63.0",
31
- "rollup-plugin-commonjs": "10.1.0",
32
- "rollup-plugin-postcss": "4.0.2",
33
- "rollup-plugin-scss": "4.0.0",
34
- "rollup-plugin-sourcemaps": "0.6.3",
35
- "rollup-plugin-terser": "7.0.2",
36
- "rollup-plugin-typescript2": "0.29.0",
37
- "rollup-plugin-visualizer": "^5.5.4",
38
- "rollup-plugin-vue": "6.0.0",
39
- "sass": "1.44.0",
40
- "sass-loader": "10.1.1",
41
- "ts-jest": "26.3.0",
42
- "tslib": "2.3.1",
43
- "typedoc": "0.20.37",
44
- "typescript": "4.5.2",
45
- "vue": "3.2.40"
46
- }
47
- }
@@ -1,3 +0,0 @@
1
- registry=https://registry.npmmirror.com/
2
- @oinone:registry=http://nexus.shushi.pro/repository/kunlun/
3
- legacy-peer-deps=true
@@ -1,25 +0,0 @@
1
- {
2
- "name": "@ss/admin-widget",
3
- "version": "1.0.0",
4
- "main": "index.ts",
5
- "scripts": {
6
- "clean": "rimraf dist package-lock.json node_modules",
7
- "prebuild": "rimraf dist",
8
- "build": "rollup -c && npm run build-css",
9
- "build-css": "[ -f './dist/kunlun-module-demo.scss' ] && sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css || exit 0",
10
- "build-win": "rollup -c && npm run build-css-win",
11
- "build-css-win": "IF EXIST ./dist/kunlun-module-demo.scss (sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css) ELSE (exit 0)",
12
- "prepublishOnly": "node ./scripts/prepublish-only.js",
13
- "postpublish": "node ./scripts/postpublish.js"
14
- },
15
- "devDependencies": {
16
- "@element-plus/icons-vue": "2.0.9",
17
- "@oinone/kunlun-dependencies": "~6.4.0",
18
- "@oinone/kunlun-vue-ui-antd": "~6.4.0",
19
- "@oinone/kunlun-vue-ui-el": "~6.4.0",
20
- "@types/lodash-es": "4.17.6",
21
- "ant-design-vue": "3.2.14",
22
- "element-plus": "2.2.17",
23
- "vue": "3.2.40"
24
- }
25
- }
@@ -1,73 +0,0 @@
1
- import json from '@rollup/plugin-json';
2
- import { nodeResolve } from '@rollup/plugin-node-resolve';
3
- import replace from '@rollup/plugin-replace';
4
- import commonjs from 'rollup-plugin-commonjs';
5
- import scss from 'rollup-plugin-scss';
6
- import typescript from 'rollup-plugin-typescript2';
7
- import vue from 'rollup-plugin-vue';
8
-
9
- const libraryName = 'ss-admin-widget';
10
-
11
- const external = [
12
- 'vue',
13
- 'lodash-es',
14
- 'ant-design-vue',
15
- '@element-plus/icons-vue',
16
- 'element-plus',
17
- '@oinone/kunlun-dependencies',
18
- '@oinone/kunlun-data-designer-core',
19
- '@oinone/kunlun-vue-ui-antd',
20
- '@oinone/kunlun-vue-ui-el'
21
- ];
22
-
23
- const tsconfigOverride = {
24
- compilerOptions: {
25
- outDir: 'dist',
26
- declaration: true,
27
- declarationDir: 'dist/types'
28
- },
29
- include: ['index.ts', 'src/**/*.ts'],
30
- exclude: ['tests/**/*.ts', 'tests/**/*.tsx']
31
- };
32
-
33
- const plugins = [
34
- replace({
35
- 'process.env.NODE_ENV': JSON.stringify('development'),
36
- preventAssignment: true
37
- }),
38
- nodeResolve(),
39
-
40
- typescript({ useTsconfigDeclarationDir: true, tsconfigOverride }),
41
-
42
- vue(),
43
-
44
- scss({
45
- fileName: `${libraryName}.scss`,
46
- output: `dist/${libraryName}.scss`,
47
- sourceMap: false,
48
- outputStyle: 'compressed'
49
- }),
50
-
51
- json(),
52
- commonjs()
53
- ];
54
-
55
- export default {
56
- input: `index.ts`,
57
- output: [
58
- {
59
- file: `dist/${libraryName}.esm.js`,
60
- format: 'esm',
61
- sourcemap: false
62
- }
63
- ],
64
- onwarn(warning) {
65
- if (warning.code === 'THIS_IS_UNDEFINED' || /Circular/.test(warning.message)) {
66
- return;
67
- }
68
-
69
- console.error(warning.message);
70
- },
71
- external,
72
- plugins
73
- };
@@ -1,45 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "strict": true,
4
- "target": "ES6",
5
- "module": "esnext",
6
- "jsx": "preserve",
7
- "importHelpers": true,
8
- "moduleResolution": "node",
9
- "allowJs": true,
10
- "skipLibCheck": true,
11
- "esModuleInterop": true,
12
- "allowSyntheticDefaultImports": true,
13
- "experimentalDecorators": true,
14
- "sourceMap": true,
15
- "checkJs": false,
16
- "noImplicitAny": false,
17
- "baseUrl": ".",
18
- "types": [
19
- "webpack-env"
20
- ],
21
- "paths": {
22
- "@/*": [
23
- "src/*"
24
- ]
25
- },
26
- "lib": [
27
- "ES2018",
28
- "esnext",
29
- "dom",
30
- "dom.iterable",
31
- "scripthost"
32
- ]
33
- },
34
- "include": [
35
- "src/**/*.ts",
36
- "src/**/*.tsx",
37
- "src/**/*.vue",
38
- "tests/**/*.ts",
39
- "tests/**/*.tsx"
40
- ],
41
- "exclude": [
42
- "node_modules",
43
- "dist"
44
- ]
45
- }
@@ -1,66 +0,0 @@
1
- {
2
- "name": "ss-boot",
3
- "version": "0.0.1",
4
- "private": true,
5
- "scripts": {
6
- "dev": "vue-cli-service serve",
7
- "build": "node --max_old_space_size=4096 ./node_modules/@vue/cli-service/bin/vue-cli-service.js build",
8
- "clean": "rimraf dist package-lock.json node_modules"
9
- },
10
- "dependencies": {
11
- "@ckeditor/ckeditor5-build-classic": "27.0.0",
12
- "@element-plus/icons-vue": "2.0.9",
13
- "@oinone/kunlun-dependencies": "~6.4.0",
14
- "@oinone/kunlun-vue-admin-base": "~6.4.0",
15
- "@oinone/kunlun-vue-admin-layout": "~6.4.0",
16
- "@oinone/kunlun-vue-ui-antd": "~6.4.0",
17
- "@oinone/kunlun-vue-ui-el": "~6.4.0",
18
- "@oinone/kunlun-mobile-dependencies": "~6.4.0",
19
- "@oinone/kunlun-vue-ui-mobile-vant": "~6.4.0",
20
- "@oinone/kunlun-designer-common": "~6.4.0",
21
- "@oinone/kunlun-designer-common-ee": "~6.4.0",
22
- "@oinone/kunlun-ui-designer-dependencies": "~6.4.0",
23
- "@oinone/kunlun-print-designer-dependencies": "~6.4.0",
24
- "@oinone/kunlun-workflow-designer": "~6.4.0",
25
- "@oinone/kunlun-workflow": "~6.4.0",
26
- "@oinone/kunlun-model-designer": "~6.4.0",
27
- "@oinone/kunlun-eip-dependencies": "~6.4.0",
28
- "@oinone/kunlun-ai-dependencies": "~6.4.0",
29
- "@oinone/kunlun-data-designer": "~6.4.0",
30
- "@oinone/kunlun-data-designer-core": "~6.4.0",
31
- "@oinone/kunlun-data-designer-open-pc": "~6.4.0",
32
- "@oinone/kunlun-microflow-designer": "~6.4.0",
33
- "@ss/admin-widget": "workspace:*",
34
- "@ss/oinone": "workspace:*",
35
- "@ss/project": "workspace:*",
36
- "vant": "3.6.0",
37
- "ant-design-vue": "3.2.14",
38
- "element-plus": "2.2.17",
39
- "fast-xml-parser": "3.21.1",
40
- "graphql": "15.8.0",
41
- "graphql-tag": "2.12.6",
42
- "lodash-es": "4.17.21",
43
- "moment": "2.29.3",
44
- "reflect-metadata": "0.1.13",
45
- "vue": "3.2.40",
46
- "vue3-draggable-resizable": "1.6.1",
47
- "vuedraggable": "4.1.0",
48
- "@ant-design/icons-vue": "7.0.1",
49
- "echarts": "6.0.0",
50
- "@antv/data-set": "0.11.8",
51
- "@antv/g2": "5.4.8"
52
- },
53
- "devDependencies": {
54
- "@types/moment": "2.13.0",
55
- "@vue/cli-plugin-typescript": "5.0.8",
56
- "@vue/cli-service": "5.0.8",
57
- "@vue/compiler-sfc": "3.2.40",
58
- "cross-env": "7.0.3",
59
- "dotenv-webpack": "1.7.0",
60
- "sass": "1.44.0",
61
- "sass-loader": "10.1.1",
62
- "thread-loader": "^3.0.4",
63
- "tslib": "2.3.1",
64
- "typescript": "4.5.2"
65
- }
66
- }
@@ -1,69 +0,0 @@
1
- import 'ant-design-vue/dist/antd.min.css';
2
- import 'element-plus/dist/index.css';
3
-
4
- import '@oinone/kunlun-vue-ui-antd/dist/oinone-kunlun-vue-ui-antd.css';
5
- import '@oinone/kunlun-vue-ui-el/dist/oinone-kunlun-vue-ui-el.css';
6
-
7
- import '@oinone/kunlun-designer-common/dist/oinone-kunlun-designer-common.css';
8
- import '@oinone/kunlun-model-designer/dist/oinone-kunlun-model-designer.css';
9
- import '@oinone/kunlun-workflow-designer/dist/oinone-kunlun-workflow-designer.css';
10
- import '@oinone/kunlun-workflow/dist/oinone-kunlun-workflow.css';
11
- import '@oinone/kunlun-data-designer/dist/oinone-kunlun-data-designer.css';
12
- import '@oinone/kunlun-microflow-designer/dist/oinone-kunlun-microflow-designer.css';
13
-
14
- import '@oinone/kunlun-vue-ui-mobile-vant/dist/oinone-kunlun-vue-ui-mobile-vant.css';
15
- import '@oinone/kunlun-vue-admin-base/dist/oinone-kunlun-vue-admin-base.css';
16
- import '@oinone/kunlun-vue-admin-layout/dist/oinone-kunlun-vue-admin-layout.css';
17
-
18
- import 'reflect-metadata';
19
- import ElementPlus from 'element-plus';
20
- import {App} from 'vue';
21
- import {RuntimeContextManager, VueOioProvider} from '@oinone/kunlun-dependencies';
22
- import 'vant/lib/index.css';
23
- // 设计器
24
- import '@oinone/kunlun-ui-designer-dependencies';
25
- import '@oinone/kunlun-print-designer-dependencies';
26
- import '@oinone/kunlun-workflow';
27
- import '@oinone/kunlun-workflow-designer';
28
- import '@oinone/kunlun-model-designer';
29
- import '@oinone/kunlun-data-designer';
30
- import '@oinone/kunlun-data-designer-open-pc';
31
- import '@oinone/kunlun-eip-dependencies';
32
- import '@oinone/kunlun-ai-dependencies';
33
- import '@oinone/kunlun-microflow-designer';
34
- import '@oinone/kunlun-designer-common-ee';
35
- // 标准能力
36
- import '@ss/oinone';
37
- import '@ss/admin-widget';
38
- // 个性化项目
39
- import '@ss/project';
40
-
41
- VueOioProvider(
42
- {
43
- browser: {
44
- title: 'Oinone',
45
- favicon: 'https://pamirs.oss-cn-hangzhou.aliyuncs.com/pamirs/image/default_favicon.ico'
46
- },
47
- dependencies: {
48
- vue: import('vue'),
49
- lodashEs: import('lodash-es'),
50
- antDesignVue: import('ant-design-vue'),
51
- antDesignIconsVue: import('@ant-design/icons-vue'),
52
- elementPlusIconsVue: import('@element-plus/icons-vue'),
53
- elementPlus: import('element-plus'),
54
- kunlunDependencies: import('@oinone/kunlun-dependencies'),
55
- kunlunVueUiAntd: import('@oinone/kunlun-vue-ui-antd'),
56
- kunlunVueUiEl: import('@oinone/kunlun-vue-ui-el'),
57
- kunlunDataDesignerCore: import('@oinone/kunlun-data-designer-core'),
58
- antvDataSet: import('@antv/data-set'),
59
- antvG2: import('@antv/g2'),
60
- echarts: import('echarts')
61
- }
62
- },
63
- [
64
- () => {
65
- const app = RuntimeContextManager.createOrReplace().frameworkInstance as App;
66
- app.use(ElementPlus);
67
- }
68
- ]
69
- );
@@ -1,44 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "strict": true,
4
- "target": "ES6",
5
- "module": "esnext",
6
- "jsx": "preserve",
7
- "importHelpers": true,
8
- "moduleResolution": "node",
9
- "allowJs": true,
10
- "skipLibCheck": true,
11
- "esModuleInterop": true,
12
- "allowSyntheticDefaultImports": true,
13
- "experimentalDecorators": true,
14
- "sourceMap": true,
15
- "checkJs": false,
16
- "noImplicitAny": false,
17
- "baseUrl": ".",
18
- "types": [
19
- "webpack-env"
20
- ],
21
- "paths": {
22
- "@/*": [
23
- "src/*"
24
- ]
25
- },
26
- "lib": [
27
- "ES2018",
28
- "esnext",
29
- "dom",
30
- "dom.iterable",
31
- "scripthost"
32
- ]
33
- },
34
- "include": [
35
- "src/**/*.ts",
36
- "src/**/*.tsx",
37
- "src/**/*.vue"
38
- ],
39
- "exclude": [
40
- "node_modules",
41
- "dist",
42
- "!node_modules/@oinone/kunlun-shared/src" // 对此路径不排除(关键!)
43
- ]
44
- }
@@ -1,84 +0,0 @@
1
- const Dotenv = require('dotenv-webpack');
2
-
3
- module.exports = {
4
- productionSourceMap: false,
5
- publicPath: '/',
6
- lintOnSave: false,
7
- configureWebpack: {
8
- resolve: {
9
- fallback: {
10
- crypto: false
11
- }
12
- },
13
- plugins: [new Dotenv()]
14
- },
15
- chainWebpack: (config) => {
16
- config.plugins.delete('fork-ts-checker');
17
- config.cache({
18
- type: 'filesystem' // 启用文件缓存
19
- });
20
- config.plugin('html').tap((args) => {
21
- args[0].chunksSortMode = (a, b) => {
22
- if (a.entry !== b.entry) {
23
- // make sure entry is loaded last so user CSS can override
24
- // vendor CSS
25
- return b.entry ? -1 : 1;
26
- } else {
27
- return 0;
28
- }
29
- };
30
- return args;
31
- });
32
- config.optimization.splitChunks({
33
- ...config.optimization.get('splitChunks'),
34
- cacheGroups: {
35
- libs: {
36
- name: 'chunk-a',
37
- test: /[\\/]node_modules[\\/]/,
38
- priority: 1,
39
- chunks: 'initial',
40
- maxSize: 6000000,
41
- minSize: 3000000,
42
- maxInitialRequests: 5
43
- },
44
- kunlun: {
45
- name: 'chunk-b',
46
- test: /[\\/]node_modules[\\/]@oinone[\\/]/,
47
- priority: 2,
48
- chunks: 'initial',
49
- maxSize: 6000000,
50
- minSize: 3000000,
51
- maxInitialRequests: 5
52
- },
53
- common: {
54
- name: 'chunk-c',
55
- minChunks: 2,
56
- priority: 3,
57
- chunks: 'initial',
58
- reuseExistingChunk: true
59
- }
60
- }
61
- });
62
- },
63
- devServer: {
64
- port: 8080,
65
- // disableHostCheck: true,
66
- // progress: false,
67
- hot: true,
68
- compress: true, // 启用 gzip 压缩
69
- client: {
70
- overlay: false,
71
- progress: true
72
- },
73
- proxy: {
74
- '/pamirs': {
75
- // 支持跨域
76
- changeOrigin: true,
77
- // 请求后端地址
78
- target: 'http://127.0.0.1:8091'
79
- // Oinone 提供的演示环境地址
80
- // target: 'https://demo.oinone.top'
81
- },
82
- }
83
- }
84
- };
@@ -1,29 +0,0 @@
1
- {
2
- "name": "@ss/oinone",
3
- "version": "1.0.0",
4
- "main": "index.ts",
5
- "scripts": {
6
- "clean": "rimraf dist package-lock.json node_modules",
7
- "prebuild": "rimraf dist",
8
- "build": "rollup -c && npm run build-css",
9
- "build-css": "[ -f './dist/kunlun-module-demo.scss' ] && sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css || exit 0",
10
- "build-win": "rollup -c && npm run build-css-win",
11
- "build-css-win": "IF EXIST ./dist/kunlun-module-demo.scss (sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css) ELSE (exit 0)",
12
- "prepublishOnly": "node ./scripts/prepublish-only.js",
13
- "postpublish": "node ./scripts/postpublish.js"
14
- },
15
- "dependencies": {
16
- "lucide": "1.7.0"
17
- },
18
- "devDependencies": {
19
- "@ant-design/icons-vue": "7.0.1",
20
- "@element-plus/icons-vue": "2.0.9",
21
- "@oinone/kunlun-dependencies": "~6.4.0",
22
- "@oinone/kunlun-vue-ui-antd": "~6.4.0",
23
- "@oinone/kunlun-vue-ui-el": "~6.4.0",
24
- "@types/lodash-es": "4.17.6",
25
- "ant-design-vue": "3.2.14",
26
- "element-plus": "2.2.17",
27
- "vue": "3.2.40"
28
- }
29
- }
@@ -1,82 +0,0 @@
1
- import json from '@rollup/plugin-json';
2
- import { nodeResolve } from '@rollup/plugin-node-resolve';
3
- import replace from '@rollup/plugin-replace';
4
- import commonjs from 'rollup-plugin-commonjs';
5
- import scss from 'rollup-plugin-scss';
6
- import typescript from 'rollup-plugin-typescript2';
7
- import vue from 'rollup-plugin-vue';
8
-
9
- const libraryName = 'ss-oinone';
10
-
11
- const external = [
12
- 'vue',
13
- 'lodash-es',
14
- 'ant-design-vue',
15
- '@element-plus/icons-vue',
16
- 'element-plus',
17
- '@oinone/kunlun-dependencies',
18
- '@oinone/kunlun-vue-ui-antd',
19
- '@oinone/kunlun-vue-ui-el'
20
- ];
21
-
22
- const tsconfigOverride = {
23
- compilerOptions: {
24
- outDir: 'dist',
25
- declaration: true,
26
- declarationDir: 'dist/types'
27
- },
28
- include: ['src/**/*.ts', 'src/**/*.tsx', 'src/**/*.vue'],
29
- exclude: ['tests/**/*.ts', 'tests/**/*.tsx']
30
- };
31
-
32
- const plugins = [
33
- replace({
34
- 'process.env.NODE_ENV': JSON.stringify('development'),
35
- preventAssignment: true
36
- }),
37
- nodeResolve({
38
- extensions: ['.mjs', '.js', '.json', '.node', '.ts', '.tsx', '.vue']
39
- }),
40
-
41
- typescript({
42
- useTsconfigDeclarationDir: true,
43
- tsconfigOverride,
44
- include: ['**/*.ts', '**/*.tsx'],
45
- check: false
46
- }),
47
-
48
- vue({
49
- preprocessStyles: true,
50
- needMap: false
51
- }),
52
-
53
- scss({
54
- fileName: `${libraryName}.scss`,
55
- output: `dist/${libraryName}.scss`,
56
- sourceMap: false,
57
- outputStyle: 'compressed'
58
- }),
59
-
60
- json(),
61
- commonjs()
62
- ];
63
-
64
- export default {
65
- input: `index.ts`,
66
- output: [
67
- {
68
- file: `dist/${libraryName}.esm.js`,
69
- format: 'esm',
70
- sourcemap: false
71
- }
72
- ],
73
- onwarn(warning) {
74
- if (warning.code === 'THIS_IS_UNDEFINED' || /Circular/.test(warning.message)) {
75
- return;
76
- }
77
-
78
- console.error(warning.message);
79
- },
80
- external,
81
- plugins
82
- };
@@ -1,42 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "strict": true,
4
- "target": "ES6",
5
- "module": "esnext",
6
- "jsx": "preserve",
7
- "importHelpers": true,
8
- "moduleResolution": "node",
9
- "allowJs": true,
10
- "skipLibCheck": true,
11
- "esModuleInterop": true,
12
- "allowSyntheticDefaultImports": true,
13
- "experimentalDecorators": true,
14
- "sourceMap": true,
15
- "checkJs": false,
16
- "noImplicitAny": false,
17
- "baseUrl": ".",
18
- "types": [
19
- "webpack-env"
20
- ],
21
- "paths": {},
22
- "lib": [
23
- "ES2018",
24
- "esnext",
25
- "dom",
26
- "dom.iterable",
27
- "scripthost"
28
- ]
29
- },
30
- "include": [
31
- "index.ts",
32
- "src/**/*.ts",
33
- "src/**/*.tsx",
34
- "src/**/*.vue",
35
- "tests/**/*.ts",
36
- "tests/**/*.tsx"
37
- ],
38
- "exclude": [
39
- "node_modules",
40
- "dist"
41
- ]
42
- }
@@ -1,30 +0,0 @@
1
- {
2
- "name": "@ss/project",
3
- "version": "1.0.0",
4
- "main": "index.ts",
5
- "scripts": {
6
- "clean": "rimraf dist package-lock.json node_modules",
7
- "prebuild": "rimraf dist",
8
- "build": "rollup -c && npm run build-css",
9
- "build-css": "[ -f './dist/kunlun-module-demo.scss' ] && sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css || exit 0",
10
- "build-win": "rollup -c && npm run build-css-win",
11
- "build-css-win": "IF EXIST ./dist/kunlun-module-demo.scss (sass ./dist/kunlun-module-demo.scss ./dist/kunlun-module-demo.css) ELSE (exit 0)",
12
- "prepublishOnly": "node ./scripts/prepublish-only.js",
13
- "postpublish": "node ./scripts/postpublish.js"
14
- },
15
- "dependencies": {
16
- "lucide": "1.7.0"
17
- },
18
- "devDependencies": {
19
- "@element-plus/icons-vue": "2.0.9",
20
- "@oinone/kunlun-dependencies": "~6.4.0",
21
- "@oinone/kunlun-vue-ui-antd": "~6.4.0",
22
- "@oinone/kunlun-vue-ui-el": "~6.4.0",
23
- "@ss/admin-widget": "workspace:*",
24
- "@ss/oinone": "workspace:*",
25
- "@types/lodash-es": "4.17.6",
26
- "ant-design-vue": "3.2.14",
27
- "element-plus": "2.2.17",
28
- "vue": "3.2.40"
29
- }
30
- }