eddev 0.2.0-beta.17 → 0.2.0-beta.20

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.
@@ -12,18 +12,18 @@ export declare const EDConfigSchema: z.ZodObject<{
12
12
  }, "strip", z.ZodTypeAny, {
13
13
  themeAssets?: string[] | undefined;
14
14
  apiOnly?: boolean | undefined;
15
+ theme: "copy" | "proxy" | "remote";
15
16
  enabled: boolean;
16
17
  uploads: "proxy" | "remote";
17
18
  plugins: "proxy" | "remote";
18
- theme: "proxy" | "remote" | "copy";
19
19
  endpoints: Record<string, string>;
20
20
  }, {
21
21
  themeAssets?: string[] | undefined;
22
22
  apiOnly?: boolean | undefined;
23
+ theme: "copy" | "proxy" | "remote";
23
24
  enabled: boolean;
24
25
  uploads: "proxy" | "remote";
25
26
  plugins: "proxy" | "remote";
26
- theme: "proxy" | "remote" | "copy";
27
27
  endpoints: Record<string, string>;
28
28
  }>>;
29
29
  devUI: z.ZodEnum<["disabled", "enabled"]>;
@@ -32,10 +32,10 @@ export declare const EDConfigSchema: z.ZodObject<{
32
32
  serverless?: {
33
33
  themeAssets?: string[] | undefined;
34
34
  apiOnly?: boolean | undefined;
35
+ theme: "copy" | "proxy" | "remote";
35
36
  enabled: boolean;
36
37
  uploads: "proxy" | "remote";
37
38
  plugins: "proxy" | "remote";
38
- theme: "proxy" | "remote" | "copy";
39
39
  endpoints: Record<string, string>;
40
40
  } | undefined;
41
41
  devUI: "disabled" | "enabled";
@@ -44,10 +44,10 @@ export declare const EDConfigSchema: z.ZodObject<{
44
44
  serverless?: {
45
45
  themeAssets?: string[] | undefined;
46
46
  apiOnly?: boolean | undefined;
47
+ theme: "copy" | "proxy" | "remote";
47
48
  enabled: boolean;
48
49
  uploads: "proxy" | "remote";
49
50
  plugins: "proxy" | "remote";
50
- theme: "proxy" | "remote" | "copy";
51
51
  endpoints: Record<string, string>;
52
52
  } | undefined;
53
53
  devUI: "disabled" | "enabled";
@@ -3,10 +3,10 @@ export declare function getEDConfig(dir?: string): import("zod").SafeParseReturn
3
3
  serverless?: {
4
4
  themeAssets?: string[] | undefined;
5
5
  apiOnly?: boolean | undefined;
6
+ theme: "copy" | "proxy" | "remote";
6
7
  enabled: boolean;
7
8
  uploads: "proxy" | "remote";
8
9
  plugins: "proxy" | "remote";
9
- theme: "proxy" | "remote" | "copy";
10
10
  endpoints: Record<string, string>;
11
11
  } | undefined;
12
12
  devUI: "disabled" | "enabled";
@@ -15,10 +15,10 @@ export declare function getEDConfig(dir?: string): import("zod").SafeParseReturn
15
15
  serverless?: {
16
16
  themeAssets?: string[] | undefined;
17
17
  apiOnly?: boolean | undefined;
18
+ theme: "copy" | "proxy" | "remote";
18
19
  enabled: boolean;
19
20
  uploads: "proxy" | "remote";
20
21
  plugins: "proxy" | "remote";
21
- theme: "proxy" | "remote" | "copy";
22
22
  endpoints: Record<string, string>;
23
23
  } | undefined;
24
24
  devUI: "disabled" | "enabled";
@@ -28,10 +28,10 @@ export declare function getEDConfigUnwrapped(dir?: string): {
28
28
  serverless?: {
29
29
  themeAssets?: string[] | undefined;
30
30
  apiOnly?: boolean | undefined;
31
+ theme: "copy" | "proxy" | "remote";
31
32
  enabled: boolean;
32
33
  uploads: "proxy" | "remote";
33
34
  plugins: "proxy" | "remote";
34
- theme: "proxy" | "remote" | "copy";
35
35
  endpoints: Record<string, string>;
36
36
  } | undefined;
37
37
  devUI: "disabled" | "enabled";
@@ -3,10 +3,10 @@ export declare function parseConfig(config: any): import("zod").SafeParseReturnT
3
3
  serverless?: {
4
4
  themeAssets?: string[] | undefined;
5
5
  apiOnly?: boolean | undefined;
6
+ theme: "copy" | "proxy" | "remote";
6
7
  enabled: boolean;
7
8
  uploads: "proxy" | "remote";
8
9
  plugins: "proxy" | "remote";
9
- theme: "proxy" | "remote" | "copy";
10
10
  endpoints: Record<string, string>;
11
11
  } | undefined;
12
12
  devUI: "disabled" | "enabled";
@@ -15,10 +15,10 @@ export declare function parseConfig(config: any): import("zod").SafeParseReturnT
15
15
  serverless?: {
16
16
  themeAssets?: string[] | undefined;
17
17
  apiOnly?: boolean | undefined;
18
+ theme: "copy" | "proxy" | "remote";
18
19
  enabled: boolean;
19
20
  uploads: "proxy" | "remote";
20
21
  plugins: "proxy" | "remote";
21
- theme: "proxy" | "remote" | "copy";
22
22
  endpoints: Record<string, string>;
23
23
  } | undefined;
24
24
  devUI: "disabled" | "enabled";
package/dev-ui/theme.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  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 | {
3
2
  [name: string]: unknown;
4
3
  })[], CSS = import("@stitches/react/types/css-util").CSS<{}, {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const dynamic: {
3
2
  <Props, Module = import("@loadable/component").DefaultComponent<Props>>(loadFn: (props: Props) => Promise<Module>, options: import("@loadable/component").OptionsWithResolver<Props, Module>): import("@loadable/component").LoadableComponent<Props>;
4
3
  <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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eddev",
3
- "version": "0.2.0-beta.17",
3
+ "version": "0.2.0-beta.20",
4
4
  "main": "./index.js",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -27,7 +27,7 @@
27
27
  "@types/url-parse": "^1.4.4",
28
28
  "@types/webpack-dev-server": "^3.11.2",
29
29
  "csstype": "^3.0.9",
30
- "next": "^12.0.10",
30
+ "next": "^12.1.0",
31
31
  "react-html-props": "^1.0.32"
32
32
  },
33
33
  "dependencies": {
@@ -75,7 +75,6 @@
75
75
  "ink": "^3.2.0",
76
76
  "inquirer": "^8.1.2",
77
77
  "mini-css-extract-plugin": "^2.2.2",
78
- "next": "^12.1.0",
79
78
  "next-transpile-modules": "^9.0.0",
80
79
  "postcss-loader": "^6.1.1",
81
80
  "qs": "^6.10.1",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare function createRPCClient(): {
3
2
  Provider: ({ client, queryClient, children, isPrepass, ssrContext, }: {
4
3
  queryClient: import("react-query").QueryClient;
@@ -5,7 +5,6 @@ import { Fragment } from "react"
5
5
  type Props = ParsedRouteTags
6
6
 
7
7
  export function PageMeta(props: Props) {
8
- console.log("Meta", props)
9
8
  return (
10
9
  <Head>
11
10
  {props.title?.map((tag, i) => (
@@ -27,6 +27,7 @@ module.exports = (() => {
27
27
  ].filter(Boolean),
28
28
  }
29
29
  },
30
+ experimental: {},
30
31
  typescript: {
31
32
  ignoreBuildErrors: true,
32
33
  },
@@ -8,12 +8,12 @@
8
8
  "start": "next start"
9
9
  },
10
10
  "dependencies": {
11
- "next": "12.0.10",
12
11
  "react": "17.0.2",
13
12
  "react-dom": "17.0.2"
14
13
  },
15
14
  "devDependencies": {
16
15
  "@types/react": "17.0.39",
17
- "typescript": "4.5.5"
16
+ "typescript": "4.5.5",
17
+ "next": "^12.1.0"
18
18
  }
19
19
  }
@@ -21,8 +21,6 @@ function MyApp({ Component, pageProps }: AppProps) {
21
21
 
22
22
  const View = manifest[pageProps.view]
23
23
 
24
- // console.log("PAGE", pageProps)
25
-
26
24
  return (
27
25
  <ServerlessAppDataProvider value={appData}>
28
26
  <NextRouter data={pageProps} path={route.pathname}>
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DefaultThemeMap } from "@stitches/react";
3
2
  import { ConfigType } from "@stitches/core/types/config";
4
3
  import { Properties as CSS } from "csstype";
@@ -1 +0,0 @@
1
- export declare function PageMeta(): any;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export declare function PageMeta(): any;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export declare function PageMeta(): any;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export declare function PageMeta(): any;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
File without changes
@@ -1,2 +0,0 @@
1
- "use strict";
2
- console.log("Dev serverless");