create-packer 1.16.1 → 1.16.3

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 (77) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +18 -18
  3. package/bin/clis/createTemp.d.ts +5 -5
  4. package/bin/clis/createTemp.js +58 -58
  5. package/bin/index.d.ts +2 -2
  6. package/bin/index.js +10 -10
  7. package/bin/utils/index.d.ts +4 -4
  8. package/bin/utils/index.js +45 -45
  9. package/package.json +1 -1
  10. package/template/docusaurus/.gitignore +20 -20
  11. package/template/docusaurus/.prettierignore +6 -6
  12. package/template/docusaurus/README.md +33 -33
  13. package/template/docusaurus/babel.config.js +3 -3
  14. package/template/docusaurus/blog/2019-05-28-hola.md +11 -11
  15. package/template/docusaurus/blog/2019-05-29-hello-world.md +17 -17
  16. package/template/docusaurus/blog/2019-05-30-welcome.md +13 -13
  17. package/template/docusaurus/docs/doc1/doc1.mdx +201 -201
  18. package/template/docusaurus/docs/doc1/doc2.mdx +5 -5
  19. package/template/docusaurus/docs/doc1/doc3.mdx +13 -13
  20. package/template/docusaurus/docs/doc1/doc4.mdx +23 -23
  21. package/template/docusaurus/docs/doc2/doc1.mdx +200 -200
  22. package/template/docusaurus/docs/doc2/doc2.mdx +5 -5
  23. package/template/docusaurus/docs/doc2/doc3.mdx +13 -13
  24. package/template/docusaurus/docs/doc2/mdx4.mdx +23 -23
  25. package/template/docusaurus/docusaurus.config.js +134 -134
  26. package/template/docusaurus/sidebars.js +14 -14
  27. package/template/docusaurus/static/img/undraw_docusaurus_mountain.svg +170 -170
  28. package/template/docusaurus/static/img/undraw_docusaurus_react.svg +169 -169
  29. package/template/docusaurus/tsconfig.json +4 -4
  30. package/template/lib/.changeset/README.md +8 -8
  31. package/template/lib/.changeset/config.json +11 -11
  32. package/template/lib/.gitignore +35 -35
  33. package/template/lib/packages/test/.gitignore +35 -35
  34. package/template/lib/packages/test/package.json +13 -13
  35. package/template/lib/packages/test/src/index.ts +5 -5
  36. package/template/lib/packages/test/tsconfig.json +17 -17
  37. package/template/lib/pnpm-workspace.yaml +2 -2
  38. package/template/nest/.eslintrc.js +25 -25
  39. package/template/nest/.gitignore +34 -34
  40. package/template/nest/.husky/pre-commit +4 -4
  41. package/template/nest/.prettierrc +6 -6
  42. package/template/nest/README.md +73 -73
  43. package/template/nest/nest-cli.json +5 -5
  44. package/template/nest/src/app.controller.spec.ts +22 -22
  45. package/template/nest/src/app.controller.ts +12 -12
  46. package/template/nest/src/app.module.ts +10 -10
  47. package/template/nest/src/app.service.ts +8 -8
  48. package/template/nest/src/main.ts +10 -10
  49. package/template/nest/src/utils/transform.interceptor.ts +26 -26
  50. package/template/nest/test/app.e2e-spec.ts +24 -24
  51. package/template/nest/test/jest-e2e.json +9 -9
  52. package/template/nest/tsconfig.build.json +5 -5
  53. package/template/nest/tsconfig.json +21 -21
  54. package/template/react/.gitignore +25 -25
  55. package/template/react/.husky/commit-msg +4 -4
  56. package/template/react/.husky/pre-commit +4 -4
  57. package/template/react/.prettierignore +4 -4
  58. package/template/react/commitlint.config.cjs +1 -1
  59. package/template/react/index.html +13 -13
  60. package/template/react/jest.config.cjs +55 -55
  61. package/template/react/jest.setup.ts +5 -5
  62. package/template/react/postcss.config.cjs +9 -9
  63. package/template/react/tailwind.config.cjs +8 -8
  64. package/template/react/tsconfig.json +25 -25
  65. package/template/react/tsconfig.node.json +9 -9
  66. package/template/vue/.husky/commit-msg +4 -4
  67. package/template/vue/.husky/pre-commit +4 -4
  68. package/template/vue/.prettierignore +4 -4
  69. package/template/vue/commitlint.config.cjs +1 -1
  70. package/template/vue/index.html +13 -13
  71. package/template/vue/package.json +2 -2
  72. package/template/vue/postcss.config.cjs +9 -9
  73. package/template/vue/src/models/useList.ts +1 -1
  74. package/template/vue/tailwind.config.cjs +8 -8
  75. package/template/vue/tsconfig.json +22 -22
  76. package/template/vue/tsconfig.node.json +9 -9
  77. package/template/vue/vite.config.ts +27 -19
@@ -1,201 +1,201 @@
1
- ---
2
- title: Style Guide
3
- sidebar_label: Style Guide
4
- ---
5
-
6
- You can write content using [GitHub-flavored Markdown syntax](https://github.github.com/gfm/).
7
-
8
- ## Markdown Syntax
9
-
10
- To serve as an example page when styling markdown based Docusaurus sites.
11
-
12
- ## Headers
13
-
14
- # H1 - Create the best documentation
15
-
16
- ## H2 - Create the best documentation
17
-
18
- ### H3 - Create the best documentation
19
-
20
- #### H4 - Create the best documentation
21
-
22
- ##### H5 - Create the best documentation
23
-
24
- ###### H6 - Create the best documentation
25
-
26
- ---
27
-
28
- ## Emphasis
29
-
30
- Emphasis, aka italics, with _asterisks_ or _underscores_.
31
-
32
- Strong emphasis, aka bold, with **asterisks** or **underscores**.
33
-
34
- Combined emphasis with **asterisks and _underscores_**.
35
-
36
- Strikethrough uses two tildes. ~~Scratch this.~~
37
-
38
- ---
39
-
40
- ## Lists
41
-
42
- 1. First ordered list item
43
- 1. Another item
44
- - Unordered sub-list.
45
- 1. Actual numbers don't matter, just that it's a number
46
- 1. Ordered sub-list
47
- 1. And another item.
48
-
49
- - Unordered list can use asterisks
50
-
51
- * Or minuses
52
-
53
- - Or pluses
54
-
55
- ---
56
-
57
- ## Links
58
-
59
- [I'm an inline-style link](https://www.google.com/)
60
-
61
- [I'm an inline-style link with title](https://www.google.com/ "Google's Homepage")
62
-
63
- [I'm a reference-style link][arbitrary case-insensitive reference text]
64
-
65
- [You can use numbers for reference-style link definitions][1]
66
-
67
- Or leave it empty and use the [link text itself].
68
-
69
- URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ or <http://www.example.com/> and sometimes example.com (but not on GitHub, for example).
70
-
71
- Some text to show that the reference links can follow later.
72
-
73
- [arbitrary case-insensitive reference text]: https://www.mozilla.org/
74
- [1]: http://slashdot.org/
75
- [link text itself]: http://www.reddit.com/
76
-
77
- ---
78
-
79
- ## Images
80
-
81
- Here's our logo (hover to see the title text):
82
-
83
- Inline-style: ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 1')
84
-
85
- Reference-style: ![alt text][logo]
86
-
87
- [logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 2'
88
-
89
- Images from any folder can be used by providing path to file. Path should be relative to markdown file.
90
-
91
- ![img](../../static/img/logo.svg)
92
-
93
- ---
94
-
95
- ## Code
96
-
97
- ```javascript
98
- var s = 'JavaScript syntax highlighting'
99
- alert(s)
100
- ```
101
-
102
- ```python
103
- s = "Python syntax highlighting"
104
- print(s)
105
- ```
106
-
107
- ```
108
- No language indicated, so no syntax highlighting.
109
- But let's throw in a <b>tag</b>.
110
- ```
111
-
112
- ```js {2}
113
- function highlightMe() {
114
- console.log('This line can be highlighted!')
115
- }
116
- ```
117
-
118
- ---
119
-
120
- ## Tables
121
-
122
- Colons can be used to align columns.
123
-
124
- | Tables | Are | Cool |
125
- | ------------- | :-----------: | -----: |
126
- | col 3 is | right-aligned | \$1600 |
127
- | col 2 is | centered | \$12 |
128
- | zebra stripes | are neat | \$1 |
129
-
130
- There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.
131
-
132
- | Markdown | Less | Pretty |
133
- | -------- | --------- | ---------- |
134
- | _Still_ | `renders` | **nicely** |
135
- | 1 | 2 | 3 |
136
-
137
- ---
138
-
139
- ## Blockquotes
140
-
141
- > Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.
142
-
143
- Quote break.
144
-
145
- > This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can _put_ **Markdown** into a blockquote.
146
-
147
- ---
148
-
149
- ## Inline HTML
150
-
151
- <dl>
152
- <dt>Definition list</dt>
153
- <dd>Is something people use sometimes.</dd>
154
-
155
- <dt>Markdown in HTML</dt>
156
- <dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>
157
- </dl>
158
-
159
- ---
160
-
161
- ## Line Breaks
162
-
163
- Here's a line for us to start with.
164
-
165
- This line is separated from the one above by two newlines, so it will be a _separate paragraph_.
166
-
167
- This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the _same paragraph_.
168
-
169
- ---
170
-
171
- ## Admonitions
172
-
173
- :::note
174
-
175
- This is a note
176
-
177
- :::
178
-
179
- :::tip
180
-
181
- This is a tip
182
-
183
- :::
184
-
185
- :::important
186
-
187
- This is important
188
-
189
- :::
190
-
191
- :::caution
192
-
193
- This is a caution
194
-
195
- :::
196
-
197
- :::warning
198
-
199
- This is a warning
200
-
201
- :::
1
+ ---
2
+ title: Style Guide
3
+ sidebar_label: Style Guide
4
+ ---
5
+
6
+ You can write content using [GitHub-flavored Markdown syntax](https://github.github.com/gfm/).
7
+
8
+ ## Markdown Syntax
9
+
10
+ To serve as an example page when styling markdown based Docusaurus sites.
11
+
12
+ ## Headers
13
+
14
+ # H1 - Create the best documentation
15
+
16
+ ## H2 - Create the best documentation
17
+
18
+ ### H3 - Create the best documentation
19
+
20
+ #### H4 - Create the best documentation
21
+
22
+ ##### H5 - Create the best documentation
23
+
24
+ ###### H6 - Create the best documentation
25
+
26
+ ---
27
+
28
+ ## Emphasis
29
+
30
+ Emphasis, aka italics, with _asterisks_ or _underscores_.
31
+
32
+ Strong emphasis, aka bold, with **asterisks** or **underscores**.
33
+
34
+ Combined emphasis with **asterisks and _underscores_**.
35
+
36
+ Strikethrough uses two tildes. ~~Scratch this.~~
37
+
38
+ ---
39
+
40
+ ## Lists
41
+
42
+ 1. First ordered list item
43
+ 1. Another item
44
+ - Unordered sub-list.
45
+ 1. Actual numbers don't matter, just that it's a number
46
+ 1. Ordered sub-list
47
+ 1. And another item.
48
+
49
+ - Unordered list can use asterisks
50
+
51
+ * Or minuses
52
+
53
+ - Or pluses
54
+
55
+ ---
56
+
57
+ ## Links
58
+
59
+ [I'm an inline-style link](https://www.google.com/)
60
+
61
+ [I'm an inline-style link with title](https://www.google.com/ "Google's Homepage")
62
+
63
+ [I'm a reference-style link][arbitrary case-insensitive reference text]
64
+
65
+ [You can use numbers for reference-style link definitions][1]
66
+
67
+ Or leave it empty and use the [link text itself].
68
+
69
+ URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ or <http://www.example.com/> and sometimes example.com (but not on GitHub, for example).
70
+
71
+ Some text to show that the reference links can follow later.
72
+
73
+ [arbitrary case-insensitive reference text]: https://www.mozilla.org/
74
+ [1]: http://slashdot.org/
75
+ [link text itself]: http://www.reddit.com/
76
+
77
+ ---
78
+
79
+ ## Images
80
+
81
+ Here's our logo (hover to see the title text):
82
+
83
+ Inline-style: ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 1')
84
+
85
+ Reference-style: ![alt text][logo]
86
+
87
+ [logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png 'Logo Title Text 2'
88
+
89
+ Images from any folder can be used by providing path to file. Path should be relative to markdown file.
90
+
91
+ ![img](../../static/img/logo.svg)
92
+
93
+ ---
94
+
95
+ ## Code
96
+
97
+ ```javascript
98
+ var s = 'JavaScript syntax highlighting'
99
+ alert(s)
100
+ ```
101
+
102
+ ```python
103
+ s = "Python syntax highlighting"
104
+ print(s)
105
+ ```
106
+
107
+ ```
108
+ No language indicated, so no syntax highlighting.
109
+ But let's throw in a <b>tag</b>.
110
+ ```
111
+
112
+ ```js {2}
113
+ function highlightMe() {
114
+ console.log('This line can be highlighted!')
115
+ }
116
+ ```
117
+
118
+ ---
119
+
120
+ ## Tables
121
+
122
+ Colons can be used to align columns.
123
+
124
+ | Tables | Are | Cool |
125
+ | ------------- | :-----------: | -----: |
126
+ | col 3 is | right-aligned | \$1600 |
127
+ | col 2 is | centered | \$12 |
128
+ | zebra stripes | are neat | \$1 |
129
+
130
+ There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown.
131
+
132
+ | Markdown | Less | Pretty |
133
+ | -------- | --------- | ---------- |
134
+ | _Still_ | `renders` | **nicely** |
135
+ | 1 | 2 | 3 |
136
+
137
+ ---
138
+
139
+ ## Blockquotes
140
+
141
+ > Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.
142
+
143
+ Quote break.
144
+
145
+ > This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can _put_ **Markdown** into a blockquote.
146
+
147
+ ---
148
+
149
+ ## Inline HTML
150
+
151
+ <dl>
152
+ <dt>Definition list</dt>
153
+ <dd>Is something people use sometimes.</dd>
154
+
155
+ <dt>Markdown in HTML</dt>
156
+ <dd>Does *not* work **very** well. Use HTML <em>tags</em>.</dd>
157
+ </dl>
158
+
159
+ ---
160
+
161
+ ## Line Breaks
162
+
163
+ Here's a line for us to start with.
164
+
165
+ This line is separated from the one above by two newlines, so it will be a _separate paragraph_.
166
+
167
+ This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the _same paragraph_.
168
+
169
+ ---
170
+
171
+ ## Admonitions
172
+
173
+ :::note
174
+
175
+ This is a note
176
+
177
+ :::
178
+
179
+ :::tip
180
+
181
+ This is a tip
182
+
183
+ :::
184
+
185
+ :::important
186
+
187
+ This is important
188
+
189
+ :::
190
+
191
+ :::caution
192
+
193
+ This is a caution
194
+
195
+ :::
196
+
197
+ :::warning
198
+
199
+ This is a warning
200
+
201
+ :::
@@ -1,5 +1,5 @@
1
- ---
2
- title: Document Number 2
3
- ---
4
-
5
- This is a link to [another document.](doc3.md) This is a link to an [external page.](http://www.example.com/)
1
+ ---
2
+ title: Document Number 2
3
+ ---
4
+
5
+ This is a link to [another document.](doc3.md) This is a link to an [external page.](http://www.example.com/)
@@ -1,13 +1,13 @@
1
- ---
2
- title: This is Document Number 3
3
- ---
4
-
5
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
6
-
7
- Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique.
8
-
9
- Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis.
10
-
11
- Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor.
12
-
13
- Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur.
1
+ ---
2
+ title: This is Document Number 3
3
+ ---
4
+
5
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
6
+
7
+ Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique.
8
+
9
+ Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis.
10
+
11
+ Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor.
12
+
13
+ Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur.
@@ -1,23 +1,23 @@
1
- ---
2
- title: Powered by MDX
3
- ---
4
-
5
- You can write JSX and use React components within your Markdown thanks to [MDX](https://mdxjs.com/).
6
-
7
- export const Highlight = ({ children, color }) => (
8
- <span
9
- style={{
10
- backgroundColor: color,
11
- borderRadius: '2px',
12
- color: '#fff',
13
- padding: '0.2rem'
14
- }}>
15
- {children}
16
- </span>
17
- )
18
-
19
- <Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">
20
- Facebook blue
21
- </Highlight> are my favorite colors.
22
-
23
- I can write **Markdown** alongside my _JSX_!
1
+ ---
2
+ title: Powered by MDX
3
+ ---
4
+
5
+ You can write JSX and use React components within your Markdown thanks to [MDX](https://mdxjs.com/).
6
+
7
+ export const Highlight = ({ children, color }) => (
8
+ <span
9
+ style={{
10
+ backgroundColor: color,
11
+ borderRadius: '2px',
12
+ color: '#fff',
13
+ padding: '0.2rem'
14
+ }}>
15
+ {children}
16
+ </span>
17
+ )
18
+
19
+ <Highlight color="#25c2a0">Docusaurus green</Highlight> and <Highlight color="#1877F2">
20
+ Facebook blue
21
+ </Highlight> are my favorite colors.
22
+
23
+ I can write **Markdown** alongside my _JSX_!