Skip to content

Commit f23564f

Browse files
committed
initial commit
1 parent 4d18085 commit f23564f

File tree

6 files changed

+632
-1
lines changed

6 files changed

+632
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*~
2+
*.swp
3+
node_modules

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
# wakuwork
1+
# Wakuwork
2+
3+
Minimalistic React Framework
4+
5+
**Use it at your own risk.**

cli.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env npx tsx --conditions react-server
2+
3+
// FIXME: Unfortunately, the user has to install tsx manulally. Help wanted.
4+
5+
const cmd = process.argv[process.argv.length - 1];
6+
import(`./scripts/${cmd}.ts`);

package.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "wakuwork",
3+
"description": "Minimalistic React Framework",
4+
"version": "0.0.1",
5+
"author": "Daishi Kato",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/dai-shi/wakuwork.git"
9+
},
10+
"files": [
11+
"cli.js",
12+
"scripts"
13+
],
14+
"bin": {
15+
"wakuwork": "./cli.js"
16+
},
17+
"dependencies": {
18+
"@swc/core": "^1.3.36",
19+
"tsx": "^3.12.3"
20+
},
21+
"devDependencies": {
22+
"@types/node": "^18.14.2",
23+
"@types/react": "^18.0.27",
24+
"@types/react-dom": "^18.0.10"
25+
},
26+
"peerDependencies": {
27+
"react": "experimental20230225",
28+
"react-dom": "experimental",
29+
"react-server-dom-webpack": "experimental"
30+
}
31+
}

0 commit comments

Comments
 (0)