This repository was archived by the owner on Jun 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add theme ui. Remove tailwindcss
- Loading branch information
Showing
20 changed files
with
890 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import jsdoc from 'jsdoc-api'; | ||
import path from 'path'; | ||
|
||
export const getMethodComment = ({ | ||
pathFromDist, | ||
method, | ||
}: { | ||
pathFromDist: string; | ||
method: string; | ||
}): string => { | ||
const res = jsdoc.explainSync({ | ||
files: path.resolve(process.cwd(), '../cli/dist', pathFromDist), | ||
}); | ||
const { description } = | ||
res.find(({ name, kind }) => name === method && kind === 'function') || {}; | ||
return description; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,9 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/types/global" /> | ||
|
||
declare module '@mdx-js/react' { | ||
import * as React from 'react'; | ||
declare module '@theme-ui/prism'; | ||
declare module '@theme-ui/typography'; | ||
|
||
type ComponentType = | ||
| 'a' | ||
| 'blockquote' | ||
| 'code' | ||
| 'delete' | ||
| 'em' | ||
| 'h1' | ||
| 'h2' | ||
| 'h3' | ||
| 'h4' | ||
| 'h5' | ||
| 'h6' | ||
| 'hr' | ||
| 'img' | ||
| 'inlineCode' | ||
| 'li' | ||
| 'ol' | ||
| 'p' | ||
| 'pre' | ||
| 'strong' | ||
| 'sup' | ||
| 'table' | ||
| 'td' | ||
| 'thematicBreak' | ||
| 'tr' | ||
| 'ul'; | ||
export type Components = { | ||
[key in ComponentType]?: React.ComponentType<{ children: React.ReactNode }>; | ||
}; | ||
export interface MDXProviderProps { | ||
children: React.ReactNode; | ||
components: Components; | ||
} | ||
// eslint-disable-next-line react/prefer-stateless-function | ||
export class MDXProvider extends React.Component<MDXProviderProps> {} | ||
declare module 'jsdoc-api' { | ||
export function explainSync(params: any): any[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
To install carlin globally: | ||
|
||
```sh | ||
``` | ||
npm i -g carlin | ||
``` | ||
|
||
All options can be written in the form of kebab or pascal case. For instance, these two commands are equivalents. | ||
|
||
```sh | ||
``` | ||
carlin deploy --stack-name SomeName | ||
carlin deploy --stackName SomeName | ||
``` |
Oops, something went wrong.