eddev 0.2.0-beta.25 → 0.2.0-beta.28
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.
|
@@ -182,8 +182,13 @@ function createNextApp(opts) {
|
|
|
182
182
|
// Write APIs proxy code
|
|
183
183
|
_b.sent();
|
|
184
184
|
// Remove pages/api/trpc directory if no _rpc is found
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
console.log({
|
|
186
|
+
index: (0, path_1.join)(opts.baseDirectory, "api/_rpc/index.ts"),
|
|
187
|
+
rpc: (0, path_1.join)(opts.baseDirectory, "api/_rpc.ts"),
|
|
188
|
+
});
|
|
189
|
+
if (!(0, fs_1.existsSync)((0, path_1.join)(opts.baseDirectory, "api/_rpc/index.ts")) &&
|
|
190
|
+
!(0, fs_1.existsSync)((0, path_1.join)(opts.baseDirectory, "api/_rpc.ts"))) {
|
|
191
|
+
// removeSync(join(serverlessDirectory, "pages/api/trpc"))
|
|
187
192
|
}
|
|
188
193
|
_b.label = 17;
|
|
189
194
|
case 17:
|
package/dev-ui/theme.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const styled: <Type extends import("react").ComponentType<any> | keyof JSX.IntrinsicElements | import("@stitches/react/types/util").Function, Composers extends (string | import("react").ComponentType<any> | import("@stitches/react/types/util").Function | {
|
|
2
3
|
[name: string]: unknown;
|
|
3
4
|
})[], CSS = import("@stitches/react/types/css-util").CSS<{}, {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const dynamic: {
|
|
2
3
|
<Props, Module = import("@loadable/component").DefaultComponent<Props>>(loadFn: (props: Props) => Promise<Module>, options: import("@loadable/component").OptionsWithResolver<Props, Module>): import("@loadable/component").LoadableComponent<Props>;
|
|
3
4
|
<Props_1>(loadFn: (props: Props_1) => Promise<import("@loadable/component").DefaultComponent<Props_1>>, options?: import("@loadable/component").OptionsWithoutResolver<Props_1> | undefined): import("@loadable/component").LoadableComponent<Props_1>;
|
package/package.json
CHANGED