create-secra 0.1.0 → 0.1.1
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/README.md +3 -5
- package/bin/index.mjs +15 -11
- package/package.json +4 -6
- package/template/apps/core/index.html +13 -0
- package/template/apps/core/package.json +18 -0
- package/template/apps/core/public/favicon.ico +1 -0
- package/template/apps/core/public/favicon.svg +1 -0
- package/template/apps/core/public/logo.svg +1 -0
- package/template/apps/core/src/assets/react.svg +1 -0
- package/template/apps/core/src/main.tsx +21 -0
- package/template/apps/core/src/pages/index.tsx +4 -0
- package/template/apps/core/src/router.ts +15 -0
- package/template/apps/core/src/types/auto-imports.d.ts +130 -0
- package/template/apps/core/tsconfig.app.json +7 -0
- package/template/apps/core/tsconfig.json +7 -0
- package/template/apps/core/tsconfig.node.json +7 -0
- package/template/apps/core/vite.config.ts +86 -0
- package/template/eslint.config.js +23 -0
- package/template/package.json +60 -0
- package/template/packages/sdk/.swcrc +18 -0
- package/template/packages/sdk/package-lock.json +1621 -0
- package/template/packages/sdk/package.json +32 -0
- package/template/packages/sdk/src/build/index.ts +33 -0
- package/template/packages/sdk/src/build/plugins/auto-import.ts +47 -0
- package/template/packages/sdk/src/build/plugins/bundle-analyzer.ts +35 -0
- package/template/packages/sdk/src/build/plugins/remove-console.ts +21 -0
- package/template/packages/sdk/src/build/plugins/unocss.ts +110 -0
- package/template/packages/sdk/src/build/plugins/unplugin-icon.ts +43 -0
- package/template/packages/sdk/src/index.ts +1 -0
- package/template/packages/sdk/src/request/index.ts +341 -0
- package/template/packages/sdk/src/styles/reset.css +111 -0
- package/template/packages/sdk/tsconfig.json +16 -0
- package/template/pnpm-lock.yaml +8055 -0
- package/template/pnpm-workspace.yaml +3 -0
- package/template/tsconfig.app.json +29 -0
- package/template/tsconfig.json +7 -0
- package/template/tsconfig.node.json +27 -0
- package/template/turbo.json +17 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
4
|
+
"composite": true,
|
|
5
|
+
"target": "ES2022",
|
|
6
|
+
"useDefineForClassFields": true,
|
|
7
|
+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
8
|
+
"module": "ESNext",
|
|
9
|
+
"types": ["vite/client"],
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
|
|
12
|
+
/* Bundler mode */
|
|
13
|
+
"moduleResolution": "bundler",
|
|
14
|
+
"allowImportingTsExtensions": true,
|
|
15
|
+
"verbatimModuleSyntax": true,
|
|
16
|
+
"moduleDetection": "force",
|
|
17
|
+
"noEmit": true,
|
|
18
|
+
"jsx": "react-jsx",
|
|
19
|
+
|
|
20
|
+
/* Linting */
|
|
21
|
+
"strict": true,
|
|
22
|
+
"noUnusedLocals": true,
|
|
23
|
+
"noUnusedParameters": true,
|
|
24
|
+
"erasableSyntaxOnly": true,
|
|
25
|
+
"noFallthroughCasesInSwitch": true,
|
|
26
|
+
"noUncheckedSideEffectImports": true
|
|
27
|
+
},
|
|
28
|
+
"include": ["src"]
|
|
29
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
+
"composite": true,
|
|
5
|
+
"target": "ES2023",
|
|
6
|
+
"lib": ["ES2023"],
|
|
7
|
+
"module": "ESNext",
|
|
8
|
+
"types": ["node"],
|
|
9
|
+
"skipLibCheck": true,
|
|
10
|
+
|
|
11
|
+
/* Bundler mode */
|
|
12
|
+
"moduleResolution": "bundler",
|
|
13
|
+
"allowImportingTsExtensions": true,
|
|
14
|
+
"verbatimModuleSyntax": true,
|
|
15
|
+
"moduleDetection": "force",
|
|
16
|
+
"noEmit": true,
|
|
17
|
+
|
|
18
|
+
/* Linting */
|
|
19
|
+
"strict": true,
|
|
20
|
+
"noUnusedLocals": true,
|
|
21
|
+
"noUnusedParameters": true,
|
|
22
|
+
"erasableSyntaxOnly": true,
|
|
23
|
+
"noFallthroughCasesInSwitch": true,
|
|
24
|
+
"noUncheckedSideEffectImports": true
|
|
25
|
+
},
|
|
26
|
+
"include": ["vite.config.ts"]
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://turbo.build/schema.json",
|
|
3
|
+
"tasks": {
|
|
4
|
+
"build": {
|
|
5
|
+
"dependsOn": ["^build"],
|
|
6
|
+
"outputs": ["dist/**", "build/**"]
|
|
7
|
+
},
|
|
8
|
+
"dev": {
|
|
9
|
+
"cache": false,
|
|
10
|
+
"persistent": true
|
|
11
|
+
},
|
|
12
|
+
"lint": {},
|
|
13
|
+
"test": {
|
|
14
|
+
"dependsOn": ["^test"]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|