create-packer 1.15.0 → 1.16.0
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/package.json +2 -2
- package/template/docusaurus/.prettierrc.js +1 -1
- package/template/docusaurus/package.json +1 -1
- package/template/docusaurus/src/css/custom.css +33 -33
- package/template/docusaurus/src/pages/index.tsx +18 -18
- package/template/nx/.prettierrc +1 -1
- package/template/react/.prettierrc +1 -1
- package/template/react/src/models/index.ts +1 -1
- package/template/solid/.prettierrc +1 -1
- package/template/solid/src/app.container.tsx +12 -12
- package/template/vue/.prettierrc +1 -1
- package/template/vue/package.json +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-packer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"repository": "https://github.com/kevily/create-packer",
|
|
6
6
|
"author": "1k <bug_zero@163.com>",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"1k-tasks": "1.0.8",
|
|
34
|
-
"@commitlint/config-conventional": "^17.6.
|
|
34
|
+
"@commitlint/config-conventional": "^17.6.3",
|
|
35
35
|
"@commitlint/cz-commitlint": "17.4.2",
|
|
36
36
|
"@types/fs-extra": "9.0.12",
|
|
37
37
|
"@types/inquirer": "7.3.3",
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @format
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Any CSS included here will be global. The classic template
|
|
12
|
-
* bundles Infima by default. Infima is a CSS framework designed to
|
|
13
|
-
* work well for content-centric websites.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
/* You can override the default Infima variables here. */
|
|
17
|
-
:root {
|
|
18
|
-
--ifm-color-primary: #25c2a0;
|
|
19
|
-
--ifm-color-primary-dark: rgb(33, 175, 144);
|
|
20
|
-
--ifm-color-primary-darker: rgb(31, 165, 136);
|
|
21
|
-
--ifm-color-primary-darkest: rgb(26, 136, 112);
|
|
22
|
-
--ifm-color-primary-light: rgb(70, 203, 174);
|
|
23
|
-
--ifm-color-primary-lighter: rgb(102, 212, 189);
|
|
24
|
-
--ifm-color-primary-lightest: rgb(146, 224, 208);
|
|
25
|
-
--ifm-code-font-size: 95%;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.docusaurus-highlight-code-line {
|
|
29
|
-
background-color: rgb(72, 77, 91);
|
|
30
|
-
display: block;
|
|
31
|
-
margin: 0 calc(-1 * var(--ifm-pre-padding));
|
|
32
|
-
padding: 0 var(--ifm-pre-padding);
|
|
33
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @format
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Any CSS included here will be global. The classic template
|
|
12
|
+
* bundles Infima by default. Infima is a CSS framework designed to
|
|
13
|
+
* work well for content-centric websites.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
/* You can override the default Infima variables here. */
|
|
17
|
+
:root {
|
|
18
|
+
--ifm-color-primary: #25c2a0;
|
|
19
|
+
--ifm-color-primary-dark: rgb(33, 175, 144);
|
|
20
|
+
--ifm-color-primary-darker: rgb(31, 165, 136);
|
|
21
|
+
--ifm-color-primary-darkest: rgb(26, 136, 112);
|
|
22
|
+
--ifm-color-primary-light: rgb(70, 203, 174);
|
|
23
|
+
--ifm-color-primary-lighter: rgb(102, 212, 189);
|
|
24
|
+
--ifm-color-primary-lightest: rgb(146, 224, 208);
|
|
25
|
+
--ifm-code-font-size: 95%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.docusaurus-highlight-code-line {
|
|
29
|
+
background-color: rgb(72, 77, 91);
|
|
30
|
+
display: block;
|
|
31
|
+
margin: 0 calc(-1 * var(--ifm-pre-padding));
|
|
32
|
+
padding: 0 var(--ifm-pre-padding);
|
|
33
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @format
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import React from 'react'
|
|
11
|
-
import { Redirect } from '@docusaurus/router'
|
|
12
|
-
import styles from './styles.module.css'
|
|
13
|
-
|
|
14
|
-
function Home() {
|
|
15
|
-
return <Redirect to={'docs/doc1/doc1'} />
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export default Home
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @format
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import React from 'react'
|
|
11
|
+
import { Redirect } from '@docusaurus/router'
|
|
12
|
+
import styles from './styles.module.css'
|
|
13
|
+
|
|
14
|
+
function Home() {
|
|
15
|
+
return <Redirect to={'docs/doc1/doc1'} />
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export default Home
|
package/template/nx/.prettierrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as useVisible } from './useVisible'
|
|
1
|
+
export { default as useVisible } from './useVisible'
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Router, useRoutes } from '@solidjs/router'
|
|
2
|
-
import { routes } from '@/router'
|
|
3
|
-
|
|
4
|
-
export default function App() {
|
|
5
|
-
const Routes = useRoutes(routes)
|
|
6
|
-
|
|
7
|
-
return (
|
|
8
|
-
<Router>
|
|
9
|
-
<Routes />
|
|
10
|
-
</Router>
|
|
11
|
-
)
|
|
12
|
-
}
|
|
1
|
+
import { Router, useRoutes } from '@solidjs/router'
|
|
2
|
+
import { routes } from '@/router'
|
|
3
|
+
|
|
4
|
+
export default function App() {
|
|
5
|
+
const Routes = useRoutes(routes)
|
|
6
|
+
|
|
7
|
+
return (
|
|
8
|
+
<Router>
|
|
9
|
+
<Routes />
|
|
10
|
+
</Router>
|
|
11
|
+
)
|
|
12
|
+
}
|
package/template/vue/.prettierrc
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"lodash-es": "4.17.21",
|
|
21
21
|
"pinia": "2.0.35",
|
|
22
22
|
"vite-plugin-eslint": "1.8.1",
|
|
23
|
-
"vue": "3.
|
|
24
|
-
"vue-router": "4.1
|
|
23
|
+
"vue": "3.3.4",
|
|
24
|
+
"vue-router": "4.2.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@commitlint/cli": "17.6.1",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@types/lodash-es": "4.17.7",
|
|
31
31
|
"@typescript-eslint/eslint-plugin": "5.59.0",
|
|
32
32
|
"@typescript-eslint/parser": "5.59.0",
|
|
33
|
-
"@vitejs/plugin-vue": "4.
|
|
33
|
+
"@vitejs/plugin-vue": "4.2.3",
|
|
34
34
|
"autoprefixer": "10.4.14",
|
|
35
35
|
"commitizen": "4.3.0",
|
|
36
36
|
"cssnano": "6.0.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"eslint-import-resolver-typescript": "^3.5.5",
|
|
39
39
|
"eslint-plugin-import": "^2.27.5",
|
|
40
40
|
"eslint-plugin-prettier": "4.2.1",
|
|
41
|
-
"eslint-plugin-vue": "9.
|
|
41
|
+
"eslint-plugin-vue": "9.13.0",
|
|
42
42
|
"husky": "8.0.3",
|
|
43
43
|
"inquirer": "8",
|
|
44
44
|
"postcss": "8.4.23",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"tailwindcss": "3.3.1",
|
|
51
51
|
"typescript": "5.0.4",
|
|
52
52
|
"vite": "4.3.1",
|
|
53
|
-
"vue-tsc": "1.
|
|
53
|
+
"vue-tsc": "1.6.5"
|
|
54
54
|
},
|
|
55
55
|
"config": {
|
|
56
56
|
"commitizen": {
|