polen 0.10.0-next.18 → 0.10.0-next.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.
- package/README.md +2 -2
- package/build/api/api.d.ts +1 -0
- package/build/api/api.d.ts.map +1 -1
- package/build/api/api.js +1 -0
- package/build/api/api.js.map +1 -1
- package/build/api/builder/builder.d.ts +8 -2
- package/build/api/builder/builder.d.ts.map +1 -1
- package/build/api/builder/builder.js +5 -18
- package/build/api/builder/builder.js.map +1 -1
- package/build/api/config/configurator.d.ts +31 -8
- package/build/api/config/configurator.d.ts.map +1 -1
- package/build/api/config/configurator.js +9 -10
- package/build/api/config/configurator.js.map +1 -1
- package/build/api/config/merge.d.ts.map +1 -1
- package/build/api/config/merge.js +9 -16
- package/build/api/config/merge.js.map +1 -1
- package/build/api/project/index.d.ts +2 -0
- package/build/api/project/index.d.ts.map +1 -0
- package/build/api/project/index.js +2 -0
- package/build/api/project/index.js.map +1 -0
- package/build/api/project/validate.d.ts +11 -0
- package/build/api/project/validate.d.ts.map +1 -0
- package/build/api/project/validate.js +30 -0
- package/build/api/project/validate.js.map +1 -0
- package/build/api/vite/plugins/core.d.ts.map +1 -1
- package/build/api/vite/plugins/core.js +1 -0
- package/build/api/vite/plugins/core.js.map +1 -1
- package/build/api/vite/plugins/pages.d.ts.map +1 -1
- package/build/api/vite/plugins/pages.js +12 -0
- package/build/api/vite/plugins/pages.js.map +1 -1
- package/build/api/vite/plugins/serve.js +1 -1
- package/build/api/vite/plugins/serve.js.map +1 -1
- package/build/cli/_/parameters.d.ts +6 -0
- package/build/cli/_/parameters.d.ts.map +1 -0
- package/build/cli/_/parameters.js +9 -0
- package/build/cli/_/parameters.js.map +1 -0
- package/build/cli/commands/build.js +17 -10
- package/build/cli/commands/build.js.map +1 -1
- package/build/cli/commands/config/create.js +12 -1
- package/build/cli/commands/config/create.js.map +1 -1
- package/build/cli/commands/create.js +3 -5
- package/build/cli/commands/create.js.map +1 -1
- package/build/cli/commands/dev.js +14 -4
- package/build/cli/commands/dev.js.map +1 -1
- package/build/exports/mdx.d.ts +2 -0
- package/build/exports/mdx.d.ts.map +1 -0
- package/build/exports/mdx.js +2 -0
- package/build/exports/mdx.js.map +1 -0
- package/build/lib/graphql-document/components/GraphQLDocument.d.ts +2 -0
- package/build/lib/graphql-document/components/GraphQLDocument.d.ts.map +1 -1
- package/build/lib/graphql-document/components/GraphQLDocument.js +4 -2
- package/build/lib/graphql-document/components/GraphQLDocument.js.map +1 -1
- package/build/lib/kit-temp.d.ts +33 -0
- package/build/lib/kit-temp.d.ts.map +1 -1
- package/build/lib/kit-temp.js +48 -0
- package/build/lib/kit-temp.js.map +1 -1
- package/build/project-data.d.ts +1 -0
- package/build/project-data.d.ts.map +1 -1
- package/build/template/components/CodeBlock.d.ts +6 -3
- package/build/template/components/CodeBlock.d.ts.map +1 -1
- package/build/template/components/CodeBlock.js +19 -2
- package/build/template/components/CodeBlock.js.map +1 -1
- package/build/template/components/CodeHikePre.d.ts +16 -0
- package/build/template/components/CodeHikePre.d.ts.map +1 -0
- package/build/template/components/CodeHikePre.js +37 -0
- package/build/template/components/CodeHikePre.js.map +1 -0
- package/build/template/layouts/SidebarLayout.d.ts.map +1 -0
- package/build/template/{components/layouts → layouts}/SidebarLayout.js +3 -3
- package/build/template/layouts/SidebarLayout.js.map +1 -0
- package/build/template/layouts/index.d.ts.map +1 -0
- package/build/template/layouts/index.js.map +1 -0
- package/build/template/routes/reference.d.ts.map +1 -1
- package/build/template/routes/reference.js +1 -2
- package/build/template/routes/reference.js.map +1 -1
- package/build/template/routes/root.d.ts.map +1 -1
- package/build/template/routes/root.js +64 -7
- package/build/template/routes/root.js.map +1 -1
- package/build/template/server/main.js +2 -1
- package/build/template/server/main.js.map +1 -1
- package/package.json +7 -6
- package/src/api/api.ts +1 -0
- package/src/api/builder/builder.ts +12 -21
- package/src/api/config/configurator.ts +41 -19
- package/src/api/config/merge.ts +13 -16
- package/src/api/project/index.ts +1 -0
- package/src/api/project/validate.ts +41 -0
- package/src/api/vite/plugins/core.ts +1 -0
- package/src/api/vite/plugins/pages.ts +13 -0
- package/src/api/vite/plugins/serve.ts +1 -1
- package/src/cli/_/parameters.ts +10 -0
- package/src/cli/commands/build.ts +25 -10
- package/src/cli/commands/config/create.ts +18 -1
- package/src/cli/commands/create.ts +4 -4
- package/src/cli/commands/dev.ts +19 -5
- package/src/exports/mdx.ts +1 -0
- package/src/lib/graphql-document/components/GraphQLDocument.tsx +12 -3
- package/src/lib/kit-temp.test.ts +85 -1
- package/src/lib/kit-temp.ts +51 -0
- package/src/project-data.ts +1 -0
- package/src/template/components/CodeBlock.tsx +29 -13
- package/src/template/components/CodeHikePre.tsx +51 -0
- package/src/template/{components/layouts → layouts}/SidebarLayout.tsx +3 -3
- package/src/template/routes/reference.tsx +1 -2
- package/src/template/routes/root.tsx +99 -8
- package/src/template/server/main.ts +2 -1
- package/build/exports/components.d.ts +0 -5
- package/build/exports/components.d.ts.map +0 -1
- package/build/exports/components.js +0 -5
- package/build/exports/components.js.map +0 -1
- package/build/template/components/MDXComponents.d.ts +0 -10
- package/build/template/components/MDXComponents.d.ts.map +0 -1
- package/build/template/components/MDXComponents.js +0 -12
- package/build/template/components/MDXComponents.js.map +0 -1
- package/build/template/components/TestComponent.d.ts +0 -5
- package/build/template/components/TestComponent.d.ts.map +0 -1
- package/build/template/components/TestComponent.js +0 -7
- package/build/template/components/TestComponent.js.map +0 -1
- package/build/template/components/layouts/SidebarLayout.d.ts.map +0 -1
- package/build/template/components/layouts/SidebarLayout.js.map +0 -1
- package/build/template/components/layouts/index.d.ts.map +0 -1
- package/build/template/components/layouts/index.js.map +0 -1
- package/src/exports/components.ts +0 -4
- package/src/template/components/MDXComponents.tsx +0 -17
- package/src/template/components/TestComponent.tsx +0 -6
- /package/build/template/{components/layouts → layouts}/SidebarLayout.d.ts +0 -0
- /package/build/template/{components/layouts → layouts}/index.d.ts +0 -0
- /package/build/template/{components/layouts → layouts}/index.js +0 -0
- /package/src/template/{components/layouts → layouts}/index.ts +0 -0
@@ -1,7 +0,0 @@
|
|
1
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import React from 'react';
|
3
|
-
export const TestComponent = ({ children }) => {
|
4
|
-
console.log(`TestComponent rendered!`);
|
5
|
-
return _jsxs("div", { style: { border: `2px solid red`, padding: `10px` }, children: ["TEST: ", children] });
|
6
|
-
};
|
7
|
-
//# sourceMappingURL=TestComponent.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"TestComponent.js","sourceRoot":"","sources":["../../../src/template/components/TestComponent.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,CAAC,MAAM,aAAa,GAA4C,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrF,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAA;IACtC,OAAO,eAAK,KAAK,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,uBAAS,QAAQ,IAAO,CAAA;AACzF,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SidebarLayout.d.ts","sourceRoot":"","sources":["../../../../src/template/components/layouts/SidebarLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAE7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,CAAA;CACxB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsDtD,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"SidebarLayout.js","sourceRoot":"","sources":["../../../../src/template/components/layouts/SidebarLayout.tsx"],"names":[],"mappings":";A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,QAAQ,EAAE,GAAG,EAAE;wBACb,iBAAiB,CAAC,CAAC,cAAc,CAAC,CAAA;oBACpC,CAAC,EACD,OAAO,EAAE,GAAG,EAAE;wBACZ,iBAAiB,CAAC,KAAK,CAAC,CAAA;oBAC1B,CAAC,EACD,WAAW,EAAE,OAAO,GACpB,GACE,CACP,EAGA,aAAa,IAAI,CAChB,KAAC,GAAG,IACF,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EACjE,UAAU,EAAC,OAAO,EAClB,OAAO,EAAC,UAAU,YAElB,KAAC,OAAO,IAAC,IAAI,EAAE,OAAO,GAAI,GACtB,CACP,EAED,KAAC,GAAG,IAAC,QAAQ,EAAC,8BAA8B,EAAC,SAAS,EAAC,OAAO,YAC3D,QAAQ,GACL,IACD,CACR,CAAA;AACH,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/components/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/template/components/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export { Callout, Tabs } from '@radix-ui/themes'
|
2
|
-
export { GraphQLDocumentWithSchema } from '../template/components/content/GraphQLDocumentWrapper.js'
|
3
|
-
export { mdxComponents } from '../template/components/MDXComponents.js'
|
4
|
-
export { TestComponent } from '../template/components/TestComponent.js'
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
|
3
|
-
interface PreProps {
|
4
|
-
children: React.ReactNode
|
5
|
-
className?: string
|
6
|
-
}
|
7
|
-
|
8
|
-
/**
|
9
|
-
* Simple pre component that renders code blocks as-is
|
10
|
-
*/
|
11
|
-
const Pre: React.FC<PreProps> = ({ children, className, ...props }) => {
|
12
|
-
return <pre className={className} {...props}>{children}</pre>
|
13
|
-
}
|
14
|
-
|
15
|
-
export const mdxComponents = {
|
16
|
-
pre: Pre,
|
17
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|