Skip to content

Commit 70f518f

Browse files
authored
Merge pull request #2 from zenstack-hq/feat/sample-todo-wip
feat: progress on the sample todo app
2 parents a6b415d + 8e6dd16 commit 70f518f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+51543
-37
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
auto-install-peers=true

.vscode/launch.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@
55
{
66
"version": "0.2.0",
77
"configurations": [
8+
{
9+
"name": "Attach",
10+
"port": 9229,
11+
"request": "attach",
12+
"skipFiles": ["<node_internals>/**"],
13+
"type": "node"
14+
},
15+
{
16+
"name": "Sample-todo: debug server-side",
17+
"type": "node-terminal",
18+
"request": "launch",
19+
"command": "npm run dev",
20+
"cwd": "${workspaceFolder}/samples/todo"
21+
},
822
{
923
"name": "Run Extension",
1024
"type": "extensionHost",

packages/runtime/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/lib

packages/runtime/package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "runtime",
3+
"version": "0.0.3",
4+
"description": "",
5+
"main": "lib/index.js",
6+
"types": "lib/index.d.ts",
7+
"scripts": {
8+
"build": "tsc",
9+
"test": "echo \"Error: no test specified\" && exit 1"
10+
},
11+
"keywords": [],
12+
"author": "",
13+
"license": "ISC",
14+
"files": [
15+
"lib/**/*"
16+
],
17+
"dependencies": {
18+
"@next-auth/prisma-adapter": "^1.0.4",
19+
"bcryptjs": "^2.4.3",
20+
"next-auth": "^4.10.3"
21+
},
22+
"peerDependencies": {
23+
"react": "^17.0.2 || ^18",
24+
"react-dom": "^17.0.2 || ^18",
25+
"@prisma/client": "^4.3.1"
26+
},
27+
"devDependencies": {
28+
"@types/bcryptjs": "^2.4.2",
29+
"typescript": "^4.6.2"
30+
}
31+
}

packages/runtime/src/index.ts

Whitespace-only changes.

packages/runtime/tsconfig.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES6",
4+
"module": "ESNext",
5+
"lib": ["ESNext"],
6+
"sourceMap": true,
7+
"outDir": "./lib",
8+
"strict": true,
9+
"noUnusedLocals": true,
10+
"noImplicitReturns": true,
11+
"moduleResolution": "node",
12+
"esModuleInterop": true,
13+
"skipLibCheck": true,
14+
"forceConsistentCasingInFileNames": true,
15+
"declaration": true
16+
},
17+
"include": ["src/**/*.ts"],
18+
"exclude": ["lib", "node_modules"]
19+
}

0 commit comments

Comments
 (0)