camox 0.18.1 → 0.18.2
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.
|
@@ -118,6 +118,7 @@ async function ssrLoadModule(server, modulePath) {
|
|
|
118
118
|
const tempServer = await createServer({
|
|
119
119
|
configFile: false,
|
|
120
120
|
root: server.config.root,
|
|
121
|
+
cacheDir: path.join(server.config.root, "node_modules", ".vite-camox-temp"),
|
|
121
122
|
resolve: server.config.resolve,
|
|
122
123
|
server: { middlewareMode: true },
|
|
123
124
|
logLevel: "silent"
|
|
@@ -102,58 +102,55 @@ function camox(options) {
|
|
|
102
102
|
__CAMOX_API_URL__: JSON.stringify(apiUrl),
|
|
103
103
|
__CAMOX_PROJECT_SLUG__: JSON.stringify(options.projectSlug)
|
|
104
104
|
},
|
|
105
|
-
optimizeDeps: {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
"camox > partysocket/react"
|
|
155
|
-
]
|
|
156
|
-
}
|
|
105
|
+
optimizeDeps: { include: [
|
|
106
|
+
"react",
|
|
107
|
+
"react-dom",
|
|
108
|
+
"react-dom/client",
|
|
109
|
+
"react/jsx-runtime",
|
|
110
|
+
"react/jsx-dev-runtime",
|
|
111
|
+
"camox > @base-ui/react/accordion",
|
|
112
|
+
"camox > @base-ui/react/alert-dialog",
|
|
113
|
+
"camox > @base-ui/react/avatar",
|
|
114
|
+
"camox > @base-ui/react/dialog",
|
|
115
|
+
"camox > @base-ui/react/input",
|
|
116
|
+
"camox > @base-ui/react/menu",
|
|
117
|
+
"camox > @base-ui/react/merge-props",
|
|
118
|
+
"camox > @base-ui/react/popover",
|
|
119
|
+
"camox > @base-ui/react/select",
|
|
120
|
+
"camox > @base-ui/react/separator",
|
|
121
|
+
"camox > @base-ui/react/switch",
|
|
122
|
+
"camox > @base-ui/react/tabs",
|
|
123
|
+
"camox > @base-ui/react/toggle",
|
|
124
|
+
"camox > @base-ui/react/tooltip",
|
|
125
|
+
"camox > @base-ui/react/use-render",
|
|
126
|
+
"camox > @dnd-kit/core",
|
|
127
|
+
"camox > @dnd-kit/modifiers",
|
|
128
|
+
"camox > @dnd-kit/sortable",
|
|
129
|
+
"camox > @dnd-kit/utilities",
|
|
130
|
+
"camox > @lexical/react/LexicalComposer",
|
|
131
|
+
"camox > @lexical/react/LexicalComposerContext",
|
|
132
|
+
"camox > @lexical/react/LexicalContentEditable",
|
|
133
|
+
"camox > @lexical/react/LexicalHistoryPlugin",
|
|
134
|
+
"camox > @lexical/react/LexicalOnChangePlugin",
|
|
135
|
+
"camox > @lexical/react/LexicalRichTextPlugin",
|
|
136
|
+
"camox > @orpc/client",
|
|
137
|
+
"camox > @orpc/client/fetch",
|
|
138
|
+
"camox > @orpc/tanstack-query",
|
|
139
|
+
"camox > @sinclair/typebox",
|
|
140
|
+
"camox > @takumi-rs/image-response",
|
|
141
|
+
"camox > @tanstack/react-form",
|
|
142
|
+
"camox > @xstate/store-react",
|
|
143
|
+
"camox > @camox/ui > cmdk",
|
|
144
|
+
"camox > fractional-indexing",
|
|
145
|
+
"camox > lexical",
|
|
146
|
+
"camox > posthog-js",
|
|
147
|
+
"camox > shiki",
|
|
148
|
+
"camox > @camox/ui > sonner",
|
|
149
|
+
"camox > @camox/ui > lucide-react",
|
|
150
|
+
"camox > lucide-react",
|
|
151
|
+
"camox > @tanstack/react-query-devtools/production",
|
|
152
|
+
"camox > partysocket/react"
|
|
153
|
+
] }
|
|
157
154
|
};
|
|
158
155
|
},
|
|
159
156
|
configResolved(config) {
|
|
@@ -206,6 +203,7 @@ function camox(options) {
|
|
|
206
203
|
const tempServer = await createServer({
|
|
207
204
|
configFile: false,
|
|
208
205
|
root: resolvedConfig.root,
|
|
206
|
+
cacheDir: resolve(resolvedConfig.root, "node_modules", ".vite-camox-temp"),
|
|
209
207
|
resolve: resolvedConfig.resolve,
|
|
210
208
|
server: { middlewareMode: true },
|
|
211
209
|
logLevel: "silent"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "camox",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"bin": {
|
|
5
5
|
"camox": "./bin/camox.mjs"
|
|
6
6
|
},
|
|
@@ -99,9 +99,9 @@
|
|
|
99
99
|
"react-og-preview": "^0.2.0",
|
|
100
100
|
"shiki": "^4.0.2",
|
|
101
101
|
"zod": "^4.3.6",
|
|
102
|
-
"@camox/api-contract": "0.18.
|
|
103
|
-
"@camox/
|
|
104
|
-
"@camox/
|
|
102
|
+
"@camox/api-contract": "0.18.2",
|
|
103
|
+
"@camox/cli": "0.18.2",
|
|
104
|
+
"@camox/ui": "0.18.2"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
107
|
"@babel/core": "^7.29.0",
|