create-bc-app 1.1.2 → 1.1.4

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 (103) hide show
  1. package/dist/index.mjs +58 -36
  2. package/package.json +5 -3
  3. package/template-docs-vitepress/.vitepress/cache/deps/@theme_index.js +259 -259
  4. package/template-docs-vitepress/.vitepress/cache/deps/@theme_index.js.map +7 -7
  5. package/template-docs-vitepress/.vitepress/cache/deps/_metadata.json +39 -39
  6. package/template-docs-vitepress/.vitepress/cache/deps/chunk-2MKPR7PC.js +9172 -9172
  7. package/template-docs-vitepress/.vitepress/cache/deps/chunk-2MKPR7PC.js.map +7 -7
  8. package/template-docs-vitepress/.vitepress/cache/deps/chunk-ZXJI2PUM.js +11482 -11482
  9. package/template-docs-vitepress/.vitepress/cache/deps/chunk-ZXJI2PUM.js.map +7 -7
  10. package/template-docs-vitepress/.vitepress/cache/deps/package.json +3 -3
  11. package/template-docs-vitepress/.vitepress/cache/deps/vitepress___@vue_devtools-api.js +4347 -4347
  12. package/template-docs-vitepress/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map +7 -7
  13. package/template-docs-vitepress/.vitepress/cache/deps/vitepress___@vueuse_core.js +567 -567
  14. package/template-docs-vitepress/.vitepress/cache/deps/vitepress___@vueuse_core.js.map +7 -7
  15. package/template-docs-vitepress/.vitepress/cache/deps/vue.js +323 -323
  16. package/template-docs-vitepress/.vitepress/cache/deps/vue.js.map +7 -7
  17. package/template-docs-vitepress/.vitepress/config.mts +28 -28
  18. package/template-docs-vitepress/api-examples.md +49 -49
  19. package/template-docs-vitepress/index.md +25 -25
  20. package/template-docs-vitepress/markdown-examples.md +85 -85
  21. package/template-docs-vitepress/package-lock.json +1742 -1742
  22. package/template-docs-vitepress/package.json +9 -9
  23. package/template-docs-vuepress/docs/.vuepress/.cache/deps/@vue_devtools-api.js +11 -11
  24. package/template-docs-vuepress/docs/.vuepress/.cache/deps/@vue_devtools-api.js.map +7 -7
  25. package/template-docs-vuepress/docs/.vuepress/.cache/deps/@vuepress_shared.js +136 -136
  26. package/template-docs-vuepress/docs/.vuepress/.cache/deps/@vuepress_shared.js.map +7 -7
  27. package/template-docs-vuepress/docs/.vuepress/.cache/deps/_metadata.json +39 -39
  28. package/template-docs-vuepress/docs/.vuepress/.cache/deps/chunk-5K23BRP6.js +11482 -11482
  29. package/template-docs-vuepress/docs/.vuepress/.cache/deps/chunk-5K23BRP6.js.map +7 -7
  30. package/template-docs-vuepress/docs/.vuepress/.cache/deps/chunk-UKCZNIRO.js +164 -164
  31. package/template-docs-vuepress/docs/.vuepress/.cache/deps/chunk-UKCZNIRO.js.map +7 -7
  32. package/template-docs-vuepress/docs/.vuepress/.cache/deps/package.json +3 -3
  33. package/template-docs-vuepress/docs/.vuepress/.cache/deps/vue-router.js +2744 -2744
  34. package/template-docs-vuepress/docs/.vuepress/.cache/deps/vue-router.js.map +7 -7
  35. package/template-docs-vuepress/docs/.vuepress/.cache/deps/vue.js +323 -323
  36. package/template-docs-vuepress/docs/.vuepress/.cache/deps/vue.js.map +7 -7
  37. package/template-docs-vuepress/docs/.vuepress/.temp/internal/clientConfigs.js +19 -19
  38. package/template-docs-vuepress/docs/.vuepress/.temp/internal/routes.js +24 -24
  39. package/template-docs-vuepress/docs/.vuepress/.temp/internal/siteData.js +14 -14
  40. package/template-docs-vuepress/docs/.vuepress/.temp/internal/themeData.js +14 -14
  41. package/template-docs-vuepress/docs/.vuepress/.temp/pages/404.html.js +16 -16
  42. package/template-docs-vuepress/docs/.vuepress/.temp/pages/404.html.vue +4 -4
  43. package/template-docs-vuepress/docs/.vuepress/.temp/pages/get-started.html.js +16 -16
  44. package/template-docs-vuepress/docs/.vuepress/.temp/pages/get-started.html.vue +23 -23
  45. package/template-docs-vuepress/docs/.vuepress/.temp/pages/index.html.js +16 -16
  46. package/template-docs-vuepress/docs/.vuepress/.temp/pages/index.html.vue +4 -4
  47. package/template-docs-vuepress/docs/.vuepress/.temp/prismjs/config.js +2 -2
  48. package/template-docs-vuepress/docs/.vuepress/.temp/vite-root/index.html +13 -13
  49. package/template-docs-vuepress/docs/.vuepress/config.js +18 -18
  50. package/template-docs-vuepress/docs/README.md +33 -33
  51. package/template-docs-vuepress/docs/get-started.md +46 -46
  52. package/template-docs-vuepress/package-lock.json +3380 -3380
  53. package/template-docs-vuepress/package.json +19 -19
  54. package/{template-protocut-2d → template-laserlib}/.eslintrc.cjs +2 -4
  55. package/{template-protocut-2d → template-laserlib}/.gitlab-ci.yml +1 -1
  56. package/{template-protocut-2d → template-laserlib}/README.md +0 -1
  57. package/template-laserlib/data/adapter/index.ts +0 -0
  58. package/template-laserlib/data/adapter/main-page/index.ts +6 -0
  59. package/template-laserlib/data/api/http.ts +34 -0
  60. package/template-laserlib/data/api/index.ts +14 -0
  61. package/template-laserlib/data/message/index.ts +4 -0
  62. package/template-laserlib/data/message/msgWebSocket.ts +39 -0
  63. package/template-laserlib/data/message/process.ts +20 -0
  64. package/template-laserlib/example/app.vue +37 -0
  65. package/template-laserlib/example/assets/bochui.svg +7 -0
  66. package/template-laserlib/example/assets/group.svg +3 -0
  67. package/template-laserlib/example/main.ts +12 -0
  68. package/template-laserlib/example/style.css +1 -0
  69. package/{template-protocut-2d → template-laserlib}/index.html +2 -2
  70. package/template-laserlib/model/entity/constants.ts +0 -0
  71. package/template-laserlib/model/entity/index.ts +19 -0
  72. package/template-laserlib/model/main-page/index.ts +6 -0
  73. package/template-laserlib/package.json +52 -0
  74. package/template-laserlib/packages/main-page/index.ts +8 -0
  75. package/template-laserlib/packages/main-page/index.vue +10 -0
  76. package/template-laserlib/public/group.svg +3 -0
  77. package/template-laserlib/src/index.ts +41 -0
  78. package/{template-protocut-2d → template-laserlib}/test/Example.test.ts +0 -6
  79. package/{template-protocut-2d → template-laserlib}/tsconfig.json +15 -3
  80. package/template-laserlib/types/index.d.ts +14 -0
  81. package/template-laserlib/vite-env.d.ts +6 -0
  82. package/template-laserlib/vite.config.ts +41 -0
  83. package/template-laserlib/window.d.ts +10 -0
  84. package/template-vue-js/package.json +34 -34
  85. package/template-protocut-2d/.gitignore +0 -24
  86. package/template-protocut-2d/image.png +0 -0
  87. package/template-protocut-2d/package-lock.json +0 -4917
  88. package/template-protocut-2d/package.json +0 -41
  89. package/template-protocut-2d/public/vite.svg +0 -1
  90. package/template-protocut-2d/src/App.vue +0 -12
  91. package/template-protocut-2d/src/assets/vue.svg +0 -1
  92. package/template-protocut-2d/src/components/Example.vue +0 -36
  93. package/template-protocut-2d/src/main.ts +0 -43
  94. package/template-protocut-2d/src/style.css +0 -5
  95. package/template-protocut-2d/src/utils/plugins/watchNodeModules.js +0 -24
  96. package/template-protocut-2d/src/views/Home.vue +0 -143
  97. package/template-protocut-2d/src/vite-env.d.ts +0 -1
  98. package/template-protocut-2d/tsconfig.app.json +0 -27
  99. package/template-protocut-2d/vite-env.d.ts +0 -15
  100. package/template-protocut-2d/vite.config.ts +0 -55
  101. package/template-protocut-2d/window.d.ts +0 -6
  102. /package/{template-protocut-2d → template-laserlib}/test/App.test.ts +0 -0
  103. /package/{template-protocut-2d → template-laserlib}/tsconfig.node.json +0 -0
@@ -1,28 +1,28 @@
1
- import { defineConfig } from 'vitepress'
2
-
3
- // https://vitepress.dev/reference/site-config
4
- export default defineConfig({
5
- title: "Bochu Project",
6
- description: "A VitePress Site",
7
- themeConfig: {
8
- // https://vitepress.dev/reference/default-theme-config
9
- nav: [
10
- { text: 'Home', link: '/' },
11
- { text: 'Examples', link: '/markdown-examples' }
12
- ],
13
-
14
- sidebar: [
15
- {
16
- text: 'Examples',
17
- items: [
18
- { text: 'Markdown Examples', link: '/markdown-examples' },
19
- { text: 'Runtime API Examples', link: '/api-examples' }
20
- ]
21
- }
22
- ],
23
-
24
- socialLinks: [
25
- { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
26
- ]
27
- }
28
- })
1
+ import { defineConfig } from 'vitepress'
2
+
3
+ // https://vitepress.dev/reference/site-config
4
+ export default defineConfig({
5
+ title: "Bochu Project",
6
+ description: "A VitePress Site",
7
+ themeConfig: {
8
+ // https://vitepress.dev/reference/default-theme-config
9
+ nav: [
10
+ { text: 'Home', link: '/' },
11
+ { text: 'Examples', link: '/markdown-examples' }
12
+ ],
13
+
14
+ sidebar: [
15
+ {
16
+ text: 'Examples',
17
+ items: [
18
+ { text: 'Markdown Examples', link: '/markdown-examples' },
19
+ { text: 'Runtime API Examples', link: '/api-examples' }
20
+ ]
21
+ }
22
+ ],
23
+
24
+ socialLinks: [
25
+ { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
26
+ ]
27
+ }
28
+ })
@@ -1,49 +1,49 @@
1
- ---
2
- outline: deep
3
- ---
4
-
5
- # Runtime API Examples
6
-
7
- This page demonstrates usage of some of the runtime APIs provided by VitePress.
8
-
9
- The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:
10
-
11
- ```md
12
- <script setup>
13
- import { useData } from 'vitepress'
14
-
15
- const { theme, page, frontmatter } = useData()
16
- </script>
17
-
18
- ## Results
19
-
20
- ### Theme Data
21
- <pre>{{ theme }}</pre>
22
-
23
- ### Page Data
24
- <pre>{{ page }}</pre>
25
-
26
- ### Page Frontmatter
27
- <pre>{{ frontmatter }}</pre>
28
- ```
29
-
30
- <script setup>
31
- import { useData } from 'vitepress'
32
-
33
- const { site, theme, page, frontmatter } = useData()
34
- </script>
35
-
36
- ## Results
37
-
38
- ### Theme Data
39
- <pre>{{ theme }}</pre>
40
-
41
- ### Page Data
42
- <pre>{{ page }}</pre>
43
-
44
- ### Page Frontmatter
45
- <pre>{{ frontmatter }}</pre>
46
-
47
- ## More
48
-
49
- Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).
1
+ ---
2
+ outline: deep
3
+ ---
4
+
5
+ # Runtime API Examples
6
+
7
+ This page demonstrates usage of some of the runtime APIs provided by VitePress.
8
+
9
+ The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:
10
+
11
+ ```md
12
+ <script setup>
13
+ import { useData } from 'vitepress'
14
+
15
+ const { theme, page, frontmatter } = useData()
16
+ </script>
17
+
18
+ ## Results
19
+
20
+ ### Theme Data
21
+ <pre>{{ theme }}</pre>
22
+
23
+ ### Page Data
24
+ <pre>{{ page }}</pre>
25
+
26
+ ### Page Frontmatter
27
+ <pre>{{ frontmatter }}</pre>
28
+ ```
29
+
30
+ <script setup>
31
+ import { useData } from 'vitepress'
32
+
33
+ const { site, theme, page, frontmatter } = useData()
34
+ </script>
35
+
36
+ ## Results
37
+
38
+ ### Theme Data
39
+ <pre>{{ theme }}</pre>
40
+
41
+ ### Page Data
42
+ <pre>{{ page }}</pre>
43
+
44
+ ### Page Frontmatter
45
+ <pre>{{ frontmatter }}</pre>
46
+
47
+ ## More
48
+
49
+ Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).
@@ -1,25 +1,25 @@
1
- ---
2
- # https://vitepress.dev/reference/default-theme-home-page
3
- layout: home
4
-
5
- hero:
6
- name: "Bochu Project"
7
- text: "A VitePress Site"
8
- tagline: My great project tagline
9
- actions:
10
- - theme: brand
11
- text: Markdown Examples
12
- link: /markdown-examples
13
- - theme: alt
14
- text: API Examples
15
- link: /api-examples
16
-
17
- features:
18
- - title: Feature A
19
- details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
20
- - title: Feature B
21
- details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
22
- - title: Feature C
23
- details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
24
- ---
25
-
1
+ ---
2
+ # https://vitepress.dev/reference/default-theme-home-page
3
+ layout: home
4
+
5
+ hero:
6
+ name: "Bochu Project"
7
+ text: "A VitePress Site"
8
+ tagline: My great project tagline
9
+ actions:
10
+ - theme: brand
11
+ text: Markdown Examples
12
+ link: /markdown-examples
13
+ - theme: alt
14
+ text: API Examples
15
+ link: /api-examples
16
+
17
+ features:
18
+ - title: Feature A
19
+ details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
20
+ - title: Feature B
21
+ details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
22
+ - title: Feature C
23
+ details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
24
+ ---
25
+
@@ -1,85 +1,85 @@
1
- # Markdown Extension Examples
2
-
3
- This page demonstrates some of the built-in markdown extensions provided by VitePress.
4
-
5
- ## Syntax Highlighting
6
-
7
- VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting:
8
-
9
- **Input**
10
-
11
- ````md
12
- ```js{4}
13
- export default {
14
- data () {
15
- return {
16
- msg: 'Highlighted!'
17
- }
18
- }
19
- }
20
- ```
21
- ````
22
-
23
- **Output**
24
-
25
- ```js{4}
26
- export default {
27
- data () {
28
- return {
29
- msg: 'Highlighted!'
30
- }
31
- }
32
- }
33
- ```
34
-
35
- ## Custom Containers
36
-
37
- **Input**
38
-
39
- ```md
40
- ::: info
41
- This is an info box.
42
- :::
43
-
44
- ::: tip
45
- This is a tip.
46
- :::
47
-
48
- ::: warning
49
- This is a warning.
50
- :::
51
-
52
- ::: danger
53
- This is a dangerous warning.
54
- :::
55
-
56
- ::: details
57
- This is a details block.
58
- :::
59
- ```
60
-
61
- **Output**
62
-
63
- ::: info
64
- This is an info box.
65
- :::
66
-
67
- ::: tip
68
- This is a tip.
69
- :::
70
-
71
- ::: warning
72
- This is a warning.
73
- :::
74
-
75
- ::: danger
76
- This is a dangerous warning.
77
- :::
78
-
79
- ::: details
80
- This is a details block.
81
- :::
82
-
83
- ## More
84
-
85
- Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).
1
+ # Markdown Extension Examples
2
+
3
+ This page demonstrates some of the built-in markdown extensions provided by VitePress.
4
+
5
+ ## Syntax Highlighting
6
+
7
+ VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting:
8
+
9
+ **Input**
10
+
11
+ ````md
12
+ ```js{4}
13
+ export default {
14
+ data () {
15
+ return {
16
+ msg: 'Highlighted!'
17
+ }
18
+ }
19
+ }
20
+ ```
21
+ ````
22
+
23
+ **Output**
24
+
25
+ ```js{4}
26
+ export default {
27
+ data () {
28
+ return {
29
+ msg: 'Highlighted!'
30
+ }
31
+ }
32
+ }
33
+ ```
34
+
35
+ ## Custom Containers
36
+
37
+ **Input**
38
+
39
+ ```md
40
+ ::: info
41
+ This is an info box.
42
+ :::
43
+
44
+ ::: tip
45
+ This is a tip.
46
+ :::
47
+
48
+ ::: warning
49
+ This is a warning.
50
+ :::
51
+
52
+ ::: danger
53
+ This is a dangerous warning.
54
+ :::
55
+
56
+ ::: details
57
+ This is a details block.
58
+ :::
59
+ ```
60
+
61
+ **Output**
62
+
63
+ ::: info
64
+ This is an info box.
65
+ :::
66
+
67
+ ::: tip
68
+ This is a tip.
69
+ :::
70
+
71
+ ::: warning
72
+ This is a warning.
73
+ :::
74
+
75
+ ::: danger
76
+ This is a dangerous warning.
77
+ :::
78
+
79
+ ::: details
80
+ This is a details block.
81
+ :::
82
+
83
+ ## More
84
+
85
+ Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).