Skip to content

Commit bce2433

Browse files
committed
use component api
1 parent fb96c4a commit bce2433

File tree

17 files changed

+17713
-367
lines changed

17 files changed

+17713
-367
lines changed

.gitignore

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@ dist-ssr
99
explorations
1010
node_modules
1111
.eslintcache
12-
# components are libraries!
13-
package-lock.json
14-
15-
# this is a package-json-redirect stub dir, see https://github.com/andrewbranch/example-subpath-exports-ts-compat?tab=readme-ov-file
16-
frontend/package.json
12+
*/expo-env.d.ts
1713
# npm pack output
1814
*.tgz
15+
*.tsbuildinfo
1916
.claude

commonjs.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

convex.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "./node_modules/convex/schemas/convex.schema.json",
3+
"functions": "example/convex"
4+
}

esm.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

example/.gitignore

Lines changed: 0 additions & 22 deletions
This file was deleted.

example/convex/tsconfig.json

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,19 @@
11
{
2-
/* This TypeScript project config describes the environment that
3-
* Convex functions run in and is used to typecheck them.
4-
* You can modify it, but some settings required to use Convex.
5-
*/
62
"compilerOptions": {
7-
/* These settings are not required by Convex and can be modified. */
83
"allowJs": true,
94
"strict": true,
105
"skipLibCheck": true,
11-
12-
/* These compiler options are required by Convex */
136
"target": "ESNext",
14-
"lib": ["ES2021", "dom", "ESNext.Array"],
7+
"lib": ["ES2021", "dom", "DOM.Iterable", "ESNext.Array"],
158
"forceConsistentCasingInFileNames": true,
169
"allowSyntheticDefaultImports": true,
10+
"verbatimModuleSyntax": true,
1711
"module": "ESNext",
1812
"moduleResolution": "Bundler",
1913
"isolatedModules": true,
2014
"noEmit": true,
21-
22-
/* This should only be used in this example. Real apps should not attempt
23-
* to compile TypeScript because differences between tsconfig.json files can
24-
* cause the code to be compiled differently.
25-
*/
26-
"customConditions": ["@convex-dev/component-source"]
15+
"jsx": "react-jsx"
2716
},
28-
"include": ["./**/*"],
17+
"include": [".*"],
2918
"exclude": ["./_generated"]
3019
}

example/package.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

example/tsconfig.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@
33
"compilerOptions": {
44
"strict": true,
55
"paths": {
6-
"@/*": [
7-
"./*"
8-
],
9-
"baseUrl": [
10-
"."
11-
]
6+
"@/*": ["./*"],
7+
"baseUrl": ["."]
128
}
139
},
1410
"include": [

0 commit comments

Comments
 (0)