Skip to content

Commit 7fbfe03

Browse files
committed
chore: initialize monorepo
1 parent f2b6733 commit 7fbfe03

File tree

4 files changed

+15248
-4713
lines changed

4 files changed

+15248
-4713
lines changed

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,10 @@ test/integration/*/package-lock.json
112112

113113
.cursor/
114114

115-
deno.lock
115+
deno.lock
116+
117+
118+
.nx/cache
119+
.nx/workspace-data
120+
.cursor/rules/nx-rules.mdc
121+
.github/instructions/nx.instructions.md

nx.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"$schema": "./node_modules/nx/schemas/nx-schema.json",
3+
"targetDefaults": {
4+
"build": {
5+
"outputs": ["{projectRoot}/dist"],
6+
"cache": true
7+
},
8+
"build:main": {
9+
"outputs": ["{projectRoot}/dist"],
10+
"cache": true
11+
},
12+
"build:module": {
13+
"outputs": ["{projectRoot}/dist"],
14+
"cache": true
15+
},
16+
"build:umd": {
17+
"outputs": ["{projectRoot}/dist"],
18+
"cache": true
19+
},
20+
"docs:json": {
21+
"outputs": ["{projectRoot}/docs"],
22+
"cache": true
23+
},
24+
"format": {
25+
"cache": true
26+
},
27+
"types-generate": {
28+
"cache": true
29+
},
30+
"test": {
31+
"cache": true
32+
},
33+
"test:all": {
34+
"cache": true
35+
},
36+
"test:run": {
37+
"cache": true
38+
},
39+
"test:unit": {
40+
"cache": true
41+
},
42+
"test:coverage": {
43+
"cache": true
44+
},
45+
"test:integration": {
46+
"cache": true
47+
},
48+
"test:integration:browser": {
49+
"cache": true
50+
},
51+
"test:edge-functions": {
52+
"cache": true
53+
},
54+
"test:watch": {
55+
"cache": true
56+
},
57+
"test:node:playwright": {
58+
"cache": true
59+
},
60+
"test:bun": {
61+
"cache": true
62+
},
63+
"test:types": {
64+
"cache": true
65+
},
66+
"docs": {
67+
"cache": true
68+
}
69+
},
70+
"defaultBase": "next",
71+
"plugins": [
72+
{
73+
"plugin": "@nx/webpack/plugin",
74+
"options": {
75+
"buildTargetName": "webpack:build",
76+
"serveTargetName": "serve",
77+
"previewTargetName": "preview",
78+
"buildDepsTargetName": "build-deps",
79+
"watchDepsTargetName": "watch-deps",
80+
"serveStaticTargetName": "serve-static"
81+
}
82+
}
83+
]
84+
}

0 commit comments

Comments
 (0)