create-tauri-app-project-wind 1.0.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/README.md +50 -0
- package/index.js +35 -0
- package/package.json +32 -0
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# create-tauri-app-project-wind
|
|
2
|
+
|
|
3
|
+
Create a new Project Wind Tauri app with one command.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
### npm
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm create tauri-app-project-wind@latest my-app
|
|
11
|
+
cd my-app
|
|
12
|
+
npm install
|
|
13
|
+
npm run tauri dev
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
### yarn
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
yarn create tauri-app-project-wind my-app
|
|
20
|
+
cd my-app
|
|
21
|
+
yarn install
|
|
22
|
+
yarn tauri dev
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### pnpm
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pnpm create tauri-app-project-wind my-app
|
|
29
|
+
cd my-app
|
|
30
|
+
pnpm install
|
|
31
|
+
pnpm tauri dev
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## What's Included
|
|
35
|
+
|
|
36
|
+
- ā” **Tauri** - Desktop application framework
|
|
37
|
+
- āļø **React 18** - Modern React with TypeScript
|
|
38
|
+
- šØ **Shadcn UI** - 52+ beautiful UI components
|
|
39
|
+
- šŖ **Custom Title Bar** - Native-like window controls
|
|
40
|
+
- šØ **Theme System** - Light/Dark/System modes
|
|
41
|
+
- š± **Responsive Design** - Mobile-first approach
|
|
42
|
+
- š
**TailwindCSS** - Utility-first styling
|
|
43
|
+
|
|
44
|
+
## Documentation
|
|
45
|
+
|
|
46
|
+
For full documentation, visit the [GitHub repository](https://github.com/ssanaullahrais/project-wind-tauri-js-starter-kit).
|
|
47
|
+
|
|
48
|
+
## License
|
|
49
|
+
|
|
50
|
+
MIT
|
package/index.js
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { execSync } = require('child_process');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
const fs = require('fs');
|
|
6
|
+
|
|
7
|
+
const projectName = process.argv[2] || 'project-wind-app';
|
|
8
|
+
|
|
9
|
+
console.log(`\nš¬ļø Creating Project Wind app in ${projectName}...\n`);
|
|
10
|
+
|
|
11
|
+
// Clone the repository
|
|
12
|
+
console.log('š¦ Cloning template...');
|
|
13
|
+
execSync(
|
|
14
|
+
`git clone --depth 1 https://github.com/ssanaullahrais/project-wind-tauri-js-starter-kit.git ${projectName}`,
|
|
15
|
+
{ stdio: 'inherit' }
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
// Remove .git directory
|
|
19
|
+
const gitDir = path.join(process.cwd(), projectName, '.git');
|
|
20
|
+
if (fs.existsSync(gitDir)) {
|
|
21
|
+
fs.rmSync(gitDir, { recursive: true, force: true });
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Remove cli directory from cloned project
|
|
25
|
+
const cliDir = path.join(process.cwd(), projectName, 'cli');
|
|
26
|
+
if (fs.existsSync(cliDir)) {
|
|
27
|
+
fs.rmSync(cliDir, { recursive: true, force: true });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
console.log('\nā
Project created successfully!\n');
|
|
31
|
+
console.log('š Next steps:\n');
|
|
32
|
+
console.log(` cd ${projectName}`);
|
|
33
|
+
console.log(' npm install');
|
|
34
|
+
console.log(' npm run tauri dev\n');
|
|
35
|
+
console.log('š Happy coding!\n');
|
package/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-tauri-app-project-wind",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Create a new Project Wind Tauri app",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"create-tauri-app-project-wind": "./index.js"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"tauri",
|
|
11
|
+
"react",
|
|
12
|
+
"typescript",
|
|
13
|
+
"shadcn",
|
|
14
|
+
"desktop",
|
|
15
|
+
"starter",
|
|
16
|
+
"template",
|
|
17
|
+
"project-wind"
|
|
18
|
+
],
|
|
19
|
+
"author": "Sunny",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/ssanaullahrais/project-wind-tauri-js-starter-kit.git"
|
|
24
|
+
},
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/ssanaullahrais/project-wind-tauri-js-starter-kit/issues"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/ssanaullahrais/project-wind-tauri-js-starter-kit#readme",
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18.0.0"
|
|
31
|
+
}
|
|
32
|
+
}
|