reset-framework-cli 1.1.2 → 1.1.5
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/LICENSE +20 -20
- package/README.md +47 -47
- package/package.json +4 -4
- package/src/commands/build.js +114 -113
- package/src/commands/dev.js +148 -144
- package/src/commands/doctor.js +89 -89
- package/src/commands/init.js +838 -903
- package/src/commands/package.js +49 -44
- package/src/index.js +213 -213
- package/src/lib/context.js +66 -66
- package/src/lib/framework.js +150 -28
- package/src/lib/logger.js +11 -11
- package/src/lib/output.js +214 -106
- package/src/lib/process.js +253 -156
- package/src/lib/project.js +559 -475
- package/src/lib/toolchain.js +62 -62
- package/src/lib/ui.js +244 -244
- package/templates/basic/README.md +15 -15
- package/templates/basic/frontend/README.md +73 -73
- package/templates/basic/frontend/eslint.config.js +23 -23
- package/templates/basic/frontend/index.html +13 -13
- package/templates/basic/frontend/package.json +31 -31
- package/templates/basic/frontend/public/icons.svg +24 -24
- package/templates/basic/frontend/src/App.css +216 -138
- package/templates/basic/frontend/src/App.tsx +77 -76
- package/templates/basic/frontend/src/assets/vite.svg +1 -1
- package/templates/basic/frontend/src/index.css +111 -111
- package/templates/basic/frontend/src/lib/reset.ts +1 -1
- package/templates/basic/frontend/src/main.tsx +10 -10
- package/templates/basic/frontend/tsconfig.app.json +28 -28
- package/templates/basic/frontend/tsconfig.json +7 -7
- package/templates/basic/frontend/tsconfig.node.json +26 -26
- package/templates/basic/frontend/vite.config.ts +16 -16
- package/templates/basic/reset.config.json +58 -58
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--text: #6b6375;
|
|
3
|
-
--text-h: #08060d;
|
|
4
|
-
--bg: #fff;
|
|
5
|
-
--border: #e5e4e7;
|
|
6
|
-
--code-bg: #f4f3ec;
|
|
7
|
-
--accent: #aa3bff;
|
|
8
|
-
--accent-bg: rgba(170, 59, 255, 0.1);
|
|
9
|
-
--accent-border: rgba(170, 59, 255, 0.5);
|
|
10
|
-
--social-bg: rgba(244, 243, 236, 0.5);
|
|
11
|
-
--shadow:
|
|
12
|
-
rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
|
|
13
|
-
|
|
14
|
-
--sans: system-ui, 'Segoe UI', Roboto, sans-serif;
|
|
15
|
-
--heading: system-ui, 'Segoe UI', Roboto, sans-serif;
|
|
16
|
-
--mono: ui-monospace, Consolas, monospace;
|
|
17
|
-
|
|
18
|
-
font: 18px/145% var(--sans);
|
|
19
|
-
letter-spacing: 0.18px;
|
|
20
|
-
color-scheme: light dark;
|
|
21
|
-
color: var(--text);
|
|
22
|
-
background: var(--bg);
|
|
23
|
-
font-synthesis: none;
|
|
24
|
-
text-rendering: optimizeLegibility;
|
|
25
|
-
-webkit-font-smoothing: antialiased;
|
|
26
|
-
-moz-osx-font-smoothing: grayscale;
|
|
27
|
-
|
|
28
|
-
@media (max-width: 1024px) {
|
|
29
|
-
font-size: 16px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@media (prefers-color-scheme: dark) {
|
|
34
|
-
:root {
|
|
35
|
-
--text: #9ca3af;
|
|
36
|
-
--text-h: #f3f4f6;
|
|
37
|
-
--bg: #16171d;
|
|
38
|
-
--border: #2e303a;
|
|
39
|
-
--code-bg: #1f2028;
|
|
40
|
-
--accent: #c084fc;
|
|
41
|
-
--accent-bg: rgba(192, 132, 252, 0.15);
|
|
42
|
-
--accent-border: rgba(192, 132, 252, 0.5);
|
|
43
|
-
--social-bg: rgba(47, 48, 58, 0.5);
|
|
44
|
-
--shadow:
|
|
45
|
-
rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
#social .button-icon {
|
|
49
|
-
filter: invert(1) brightness(2);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
#root {
|
|
54
|
-
width: 1126px;
|
|
55
|
-
max-width: 100%;
|
|
56
|
-
margin: 0 auto;
|
|
57
|
-
text-align: center;
|
|
58
|
-
border-inline: 1px solid var(--border);
|
|
59
|
-
min-height: 100svh;
|
|
60
|
-
display: flex;
|
|
61
|
-
flex-direction: column;
|
|
62
|
-
box-sizing: border-box;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
body {
|
|
66
|
-
margin: 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
h1,
|
|
70
|
-
h2 {
|
|
71
|
-
font-family: var(--heading);
|
|
72
|
-
font-weight: 500;
|
|
73
|
-
color: var(--text-h);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
h1 {
|
|
77
|
-
font-size: 56px;
|
|
78
|
-
letter-spacing: -1.68px;
|
|
79
|
-
margin: 32px 0;
|
|
80
|
-
@media (max-width: 1024px) {
|
|
81
|
-
font-size: 36px;
|
|
82
|
-
margin: 20px 0;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
h2 {
|
|
86
|
-
font-size: 24px;
|
|
87
|
-
line-height: 118%;
|
|
88
|
-
letter-spacing: -0.24px;
|
|
89
|
-
margin: 0 0 8px;
|
|
90
|
-
@media (max-width: 1024px) {
|
|
91
|
-
font-size: 20px;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
p {
|
|
95
|
-
margin: 0;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
code,
|
|
99
|
-
.counter {
|
|
100
|
-
font-family: var(--mono);
|
|
101
|
-
display: inline-flex;
|
|
102
|
-
border-radius: 4px;
|
|
103
|
-
color: var(--text-h);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
code {
|
|
107
|
-
font-size: 15px;
|
|
108
|
-
line-height: 135%;
|
|
109
|
-
padding: 4px 8px;
|
|
110
|
-
background: var(--code-bg);
|
|
111
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--text: #6b6375;
|
|
3
|
+
--text-h: #08060d;
|
|
4
|
+
--bg: #fff;
|
|
5
|
+
--border: #e5e4e7;
|
|
6
|
+
--code-bg: #f4f3ec;
|
|
7
|
+
--accent: #aa3bff;
|
|
8
|
+
--accent-bg: rgba(170, 59, 255, 0.1);
|
|
9
|
+
--accent-border: rgba(170, 59, 255, 0.5);
|
|
10
|
+
--social-bg: rgba(244, 243, 236, 0.5);
|
|
11
|
+
--shadow:
|
|
12
|
+
rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
|
|
13
|
+
|
|
14
|
+
--sans: system-ui, 'Segoe UI', Roboto, sans-serif;
|
|
15
|
+
--heading: system-ui, 'Segoe UI', Roboto, sans-serif;
|
|
16
|
+
--mono: ui-monospace, Consolas, monospace;
|
|
17
|
+
|
|
18
|
+
font: 18px/145% var(--sans);
|
|
19
|
+
letter-spacing: 0.18px;
|
|
20
|
+
color-scheme: light dark;
|
|
21
|
+
color: var(--text);
|
|
22
|
+
background: var(--bg);
|
|
23
|
+
font-synthesis: none;
|
|
24
|
+
text-rendering: optimizeLegibility;
|
|
25
|
+
-webkit-font-smoothing: antialiased;
|
|
26
|
+
-moz-osx-font-smoothing: grayscale;
|
|
27
|
+
|
|
28
|
+
@media (max-width: 1024px) {
|
|
29
|
+
font-size: 16px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media (prefers-color-scheme: dark) {
|
|
34
|
+
:root {
|
|
35
|
+
--text: #9ca3af;
|
|
36
|
+
--text-h: #f3f4f6;
|
|
37
|
+
--bg: #16171d;
|
|
38
|
+
--border: #2e303a;
|
|
39
|
+
--code-bg: #1f2028;
|
|
40
|
+
--accent: #c084fc;
|
|
41
|
+
--accent-bg: rgba(192, 132, 252, 0.15);
|
|
42
|
+
--accent-border: rgba(192, 132, 252, 0.5);
|
|
43
|
+
--social-bg: rgba(47, 48, 58, 0.5);
|
|
44
|
+
--shadow:
|
|
45
|
+
rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#social .button-icon {
|
|
49
|
+
filter: invert(1) brightness(2);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
#root {
|
|
54
|
+
width: 1126px;
|
|
55
|
+
max-width: 100%;
|
|
56
|
+
margin: 0 auto;
|
|
57
|
+
text-align: center;
|
|
58
|
+
border-inline: 1px solid var(--border);
|
|
59
|
+
min-height: 100svh;
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
body {
|
|
66
|
+
margin: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
h1,
|
|
70
|
+
h2 {
|
|
71
|
+
font-family: var(--heading);
|
|
72
|
+
font-weight: 500;
|
|
73
|
+
color: var(--text-h);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
h1 {
|
|
77
|
+
font-size: 56px;
|
|
78
|
+
letter-spacing: -1.68px;
|
|
79
|
+
margin: 32px 0;
|
|
80
|
+
@media (max-width: 1024px) {
|
|
81
|
+
font-size: 36px;
|
|
82
|
+
margin: 20px 0;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
h2 {
|
|
86
|
+
font-size: 24px;
|
|
87
|
+
line-height: 118%;
|
|
88
|
+
letter-spacing: -0.24px;
|
|
89
|
+
margin: 0 0 8px;
|
|
90
|
+
@media (max-width: 1024px) {
|
|
91
|
+
font-size: 20px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
p {
|
|
95
|
+
margin: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
code,
|
|
99
|
+
.counter {
|
|
100
|
+
font-family: var(--mono);
|
|
101
|
+
display: inline-flex;
|
|
102
|
+
border-radius: 4px;
|
|
103
|
+
color: var(--text-h);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
code {
|
|
107
|
+
font-size: 15px;
|
|
108
|
+
line-height: 135%;
|
|
109
|
+
padding: 4px 8px;
|
|
110
|
+
background: var(--code-bg);
|
|
111
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '@reset-framework/sdk'
|
|
1
|
+
export * from '@reset-framework/sdk'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { StrictMode } from 'react'
|
|
2
|
-
import { createRoot } from 'react-dom/client'
|
|
3
|
-
import './index.css'
|
|
4
|
-
import App from './App.tsx'
|
|
5
|
-
|
|
6
|
-
createRoot(document.getElementById('root')!).render(
|
|
7
|
-
<StrictMode>
|
|
8
|
-
<App />
|
|
9
|
-
</StrictMode>,
|
|
10
|
-
)
|
|
1
|
+
import { StrictMode } from 'react'
|
|
2
|
+
import { createRoot } from 'react-dom/client'
|
|
3
|
+
import './index.css'
|
|
4
|
+
import App from './App.tsx'
|
|
5
|
+
|
|
6
|
+
createRoot(document.getElementById('root')!).render(
|
|
7
|
+
<StrictMode>
|
|
8
|
+
<App />
|
|
9
|
+
</StrictMode>,
|
|
10
|
+
)
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
-
"baseUrl": ".",
|
|
5
|
-
"target": "ES2023",
|
|
6
|
-
"useDefineForClassFields": true,
|
|
7
|
-
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
8
|
-
"module": "ESNext",
|
|
9
|
-
"types": ["vite/client"],
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"moduleResolution": "bundler",
|
|
12
|
-
"allowImportingTsExtensions": true,
|
|
13
|
-
"verbatimModuleSyntax": true,
|
|
14
|
-
"moduleDetection": "force",
|
|
15
|
-
"noEmit": true,
|
|
16
|
-
"jsx": "react-jsx",
|
|
17
|
-
"strict": true,
|
|
18
|
-
"noUnusedLocals": true,
|
|
19
|
-
"noUnusedParameters": true,
|
|
20
|
-
"erasableSyntaxOnly": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
"noUncheckedSideEffectImports": true,
|
|
23
|
-
"paths": {
|
|
24
|
-
"@reset-framework/sdk": ["../../../../sdk/src/index.d.ts"]
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"include": ["src"]
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
+
"baseUrl": ".",
|
|
5
|
+
"target": "ES2023",
|
|
6
|
+
"useDefineForClassFields": true,
|
|
7
|
+
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
8
|
+
"module": "ESNext",
|
|
9
|
+
"types": ["vite/client"],
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"verbatimModuleSyntax": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
"jsx": "react-jsx",
|
|
17
|
+
"strict": true,
|
|
18
|
+
"noUnusedLocals": true,
|
|
19
|
+
"noUnusedParameters": true,
|
|
20
|
+
"erasableSyntaxOnly": true,
|
|
21
|
+
"noFallthroughCasesInSwitch": true,
|
|
22
|
+
"noUncheckedSideEffectImports": true,
|
|
23
|
+
"paths": {
|
|
24
|
+
"@reset-framework/sdk": ["../../../../sdk/src/index.d.ts"]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"include": ["src"]
|
|
28
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"files": [],
|
|
3
|
-
"references": [
|
|
4
|
-
{ "path": "./tsconfig.app.json" },
|
|
5
|
-
{ "path": "./tsconfig.node.json" }
|
|
6
|
-
]
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"files": [],
|
|
3
|
+
"references": [
|
|
4
|
+
{ "path": "./tsconfig.app.json" },
|
|
5
|
+
{ "path": "./tsconfig.node.json" }
|
|
6
|
+
]
|
|
7
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"lib": ["ES2023"],
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"types": ["node"],
|
|
8
|
-
"skipLibCheck": true,
|
|
9
|
-
|
|
10
|
-
/* Bundler mode */
|
|
11
|
-
"moduleResolution": "bundler",
|
|
12
|
-
"allowImportingTsExtensions": true,
|
|
13
|
-
"verbatimModuleSyntax": true,
|
|
14
|
-
"moduleDetection": "force",
|
|
15
|
-
"noEmit": true,
|
|
16
|
-
|
|
17
|
-
/* Linting */
|
|
18
|
-
"strict": true,
|
|
19
|
-
"noUnusedLocals": true,
|
|
20
|
-
"noUnusedParameters": true,
|
|
21
|
-
"erasableSyntaxOnly": true,
|
|
22
|
-
"noFallthroughCasesInSwitch": true,
|
|
23
|
-
"noUncheckedSideEffectImports": true
|
|
24
|
-
},
|
|
25
|
-
"include": ["vite.config.ts"]
|
|
26
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
+
"target": "ES2023",
|
|
5
|
+
"lib": ["ES2023"],
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"types": ["node"],
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"verbatimModuleSyntax": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
|
|
17
|
+
/* Linting */
|
|
18
|
+
"strict": true,
|
|
19
|
+
"noUnusedLocals": true,
|
|
20
|
+
"noUnusedParameters": true,
|
|
21
|
+
"erasableSyntaxOnly": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": true,
|
|
23
|
+
"noUncheckedSideEffectImports": true
|
|
24
|
+
},
|
|
25
|
+
"include": ["vite.config.ts"]
|
|
26
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import path from 'node:path'
|
|
2
|
-
import { fileURLToPath } from 'node:url'
|
|
3
|
-
import react from '@vitejs/plugin-react'
|
|
4
|
-
import { defineConfig } from 'vite'
|
|
5
|
-
|
|
6
|
-
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
7
|
-
|
|
8
|
-
export default defineConfig({
|
|
9
|
-
base: './',
|
|
10
|
-
plugins: [react()],
|
|
11
|
-
resolve: {
|
|
12
|
-
alias: {
|
|
13
|
-
'@reset-framework/sdk': path.resolve(__dirname, '../../../../sdk/src/index.js'),
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
})
|
|
1
|
+
import path from 'node:path'
|
|
2
|
+
import { fileURLToPath } from 'node:url'
|
|
3
|
+
import react from '@vitejs/plugin-react'
|
|
4
|
+
import { defineConfig } from 'vite'
|
|
5
|
+
|
|
6
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url))
|
|
7
|
+
|
|
8
|
+
export default defineConfig({
|
|
9
|
+
base: './',
|
|
10
|
+
plugins: [react()],
|
|
11
|
+
resolve: {
|
|
12
|
+
alias: {
|
|
13
|
+
'@reset-framework/sdk': path.resolve(__dirname, '../../../../sdk/src/index.js'),
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
})
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://reset.dev/schema/reset.config.schema.json",
|
|
3
|
-
"name": "my-app",
|
|
4
|
-
"productName": "My App",
|
|
5
|
-
"appId": "com.example.my-app",
|
|
6
|
-
"version": "0.1.0",
|
|
7
|
-
"window": {
|
|
8
|
-
"title": "My App",
|
|
9
|
-
"width": 1200,
|
|
10
|
-
"height": 800,
|
|
11
|
-
"minWidth": 800,
|
|
12
|
-
"minHeight": 600,
|
|
13
|
-
"resizable": true,
|
|
14
|
-
"center": true,
|
|
15
|
-
"devTools": true
|
|
16
|
-
},
|
|
17
|
-
"frontend": {
|
|
18
|
-
"devUrl": "http://localhost:5173",
|
|
19
|
-
"distDir": "dist",
|
|
20
|
-
"entryHtml": "index.html"
|
|
21
|
-
},
|
|
22
|
-
"project": {
|
|
23
|
-
"frontendDir": "frontend",
|
|
24
|
-
"styling": "css"
|
|
25
|
-
},
|
|
26
|
-
"build": {
|
|
27
|
-
"outputDir": ".reset/build"
|
|
28
|
-
},
|
|
29
|
-
"security": {
|
|
30
|
-
"permissions": [
|
|
31
|
-
"app.*",
|
|
32
|
-
"runtime.*",
|
|
33
|
-
"window.*",
|
|
34
|
-
"dialog.*",
|
|
35
|
-
"fs.*",
|
|
36
|
-
"path.*",
|
|
37
|
-
"shell.*",
|
|
38
|
-
"clipboard.*",
|
|
39
|
-
"notification.*",
|
|
40
|
-
"screen.*",
|
|
41
|
-
"storage.*",
|
|
42
|
-
"webview.*",
|
|
43
|
-
"event.*",
|
|
44
|
-
"crypto.*",
|
|
45
|
-
"process.*",
|
|
46
|
-
"power.*",
|
|
47
|
-
"menu.*",
|
|
48
|
-
"tray.*",
|
|
49
|
-
"shortcut.*",
|
|
50
|
-
"protocol.*",
|
|
51
|
-
"updater.*",
|
|
52
|
-
"net.*"
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
"protocols": {
|
|
56
|
-
"schemes": []
|
|
57
|
-
}
|
|
58
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://reset.dev/schema/reset.config.schema.json",
|
|
3
|
+
"name": "my-app",
|
|
4
|
+
"productName": "My App",
|
|
5
|
+
"appId": "com.example.my-app",
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"window": {
|
|
8
|
+
"title": "My App",
|
|
9
|
+
"width": 1200,
|
|
10
|
+
"height": 800,
|
|
11
|
+
"minWidth": 800,
|
|
12
|
+
"minHeight": 600,
|
|
13
|
+
"resizable": true,
|
|
14
|
+
"center": true,
|
|
15
|
+
"devTools": true
|
|
16
|
+
},
|
|
17
|
+
"frontend": {
|
|
18
|
+
"devUrl": "http://localhost:5173",
|
|
19
|
+
"distDir": "dist",
|
|
20
|
+
"entryHtml": "index.html"
|
|
21
|
+
},
|
|
22
|
+
"project": {
|
|
23
|
+
"frontendDir": "frontend",
|
|
24
|
+
"styling": "css"
|
|
25
|
+
},
|
|
26
|
+
"build": {
|
|
27
|
+
"outputDir": ".reset/build"
|
|
28
|
+
},
|
|
29
|
+
"security": {
|
|
30
|
+
"permissions": [
|
|
31
|
+
"app.*",
|
|
32
|
+
"runtime.*",
|
|
33
|
+
"window.*",
|
|
34
|
+
"dialog.*",
|
|
35
|
+
"fs.*",
|
|
36
|
+
"path.*",
|
|
37
|
+
"shell.*",
|
|
38
|
+
"clipboard.*",
|
|
39
|
+
"notification.*",
|
|
40
|
+
"screen.*",
|
|
41
|
+
"storage.*",
|
|
42
|
+
"webview.*",
|
|
43
|
+
"event.*",
|
|
44
|
+
"crypto.*",
|
|
45
|
+
"process.*",
|
|
46
|
+
"power.*",
|
|
47
|
+
"menu.*",
|
|
48
|
+
"tray.*",
|
|
49
|
+
"shortcut.*",
|
|
50
|
+
"protocol.*",
|
|
51
|
+
"updater.*",
|
|
52
|
+
"net.*"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"protocols": {
|
|
56
|
+
"schemes": []
|
|
57
|
+
}
|
|
58
|
+
}
|