create-ts-vite-project 0.5.0 → 0.5.2

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/.gitignore CHANGED
@@ -18,7 +18,6 @@ node_modules/
18
18
 
19
19
  # Build outputs
20
20
  build/
21
- coverage/
22
21
  dist/
23
22
  dist-ssr/
24
23
  platforms/
@@ -47,6 +46,7 @@ Thumbs.db
47
46
  # Temporary folders
48
47
  tmp/
49
48
  temp/
49
+ .out/
50
50
 
51
51
  # Jest
52
52
  jest-cache/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ts-vite-project",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "productName": "TS Vite Project Template Creator",
5
5
  "description": "Template for projects based typescript, vite, vitest, eslint, prettier, electron, tauri",
6
6
  "license": "MIT",
@@ -1,32 +1,32 @@
1
1
  import type { CapacitorConfig } from '@capacitor/cli';
2
+
2
3
  import packageJson from './package.json' with { type: 'json' };
3
4
 
4
5
  const author = packageJson.author?.name || packageJson.author;
5
- const name = packageJson.name.replaceAll('-', '_');
6
- const productName = packageJson.productName;
7
- const version = packageJson.version;
6
+ const name = packageJson.name.replaceAll('-', '_');
7
+ const productName = packageJson.productName;
8
8
 
9
9
  const config: CapacitorConfig = {
10
10
  appId: `com.${author}.${name}`,
11
11
  appName: `${productName}`,
12
12
  webDir: 'dist',
13
13
  android: {
14
- path: `build/capacitor/android/${version}`,
14
+ path: 'build/capacitor/android',
15
15
  },
16
16
  ios: {
17
- path: `build/capacitor/ios/${version}`,
17
+ path: 'build/capacitor/ios',
18
18
  },
19
19
  plugins: {
20
20
  SplashScreen: {
21
21
  launchShowDuration: 3000,
22
22
  launchAutoHide: true,
23
- backgroundColor: "#ffffffff",
24
- androidSplashResourceName: "splash",
25
- androidScaleType: "CENTER_CROP",
23
+ backgroundColor: '#ffffffff',
24
+ androidSplashResourceName: 'splash',
25
+ androidScaleType: 'CENTER_CROP',
26
26
  showSpinner: false,
27
- androidSpinnerStyle: "large",
28
- iosSpinnerStyle: "small",
29
- spinnerColor: "#999999",
27
+ androidSpinnerStyle: 'large',
28
+ iosSpinnerStyle: 'small',
29
+ spinnerColor: '#999999',
30
30
  splashFullScreen: true,
31
31
  splashImmersive: true,
32
32
  },
@@ -124,6 +124,9 @@ export default [
124
124
  ignores: [
125
125
  'build/**',
126
126
  'dist/**',
127
+ 'dist-ssr/**',
128
+ 'platforms/**',
129
+ 'src-tauri/**',
127
130
  'node_modules/**',
128
131
  ],
129
132
  },
@@ -30,7 +30,6 @@
30
30
  ],
31
31
  "exclude": [
32
32
  "build",
33
- "coverage",
34
33
  "dist",
35
34
  "dist-ssr",
36
35
  "platforms",
@@ -22,7 +22,7 @@ export default {
22
22
  // ],
23
23
  directories: {
24
24
  // buildResources: "build/resources",
25
- output: 'build/electron-builder/${version}',
25
+ output: 'build/electron-builder',
26
26
  },
27
27
  // mac: {
28
28
  // category: 'your.app.category.type',
@@ -6,7 +6,7 @@ const author = packageJson.author?.name || packageJson.author;
6
6
  const name = packageJson.name.replaceAll('-', '_');
7
7
 
8
8
  export default {
9
- outDir: 'build/electron-forge/${version}',
9
+ outDir: 'build/electron-forge',
10
10
  packagerConfig: {
11
11
  appBundleId: `com.${author}.${name}`,
12
12
  icon: 'public/app.ico',