├── .gitignore ├── .prettierignore ├── LICENSE ├── README.md ├── package.json ├── src └── index.ts ├── testsite ├── .gitignore ├── README.md ├── babel.config.js ├── blog │ ├── 2019-05-28-hola.md │ ├── 2019-05-29-hello-world.md │ └── 2019-05-30-welcome.md ├── docs │ ├── doc1.md │ ├── doc2.md │ ├── doc3.md │ └── mdx.md ├── docusaurus.config.js ├── package.json ├── sidebars.js ├── src │ ├── css │ │ └── custom.css │ └── pages │ │ ├── index.js │ │ └── styles.module.css ├── static │ ├── .nojekyll │ └── img │ │ ├── favicon.ico │ │ ├── logo.svg │ │ ├── undraw_docusaurus_mountain.svg │ │ ├── undraw_docusaurus_react.svg │ │ └── undraw_docusaurus_tree.svg └── yarn.lock ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | 9 | # Diagnostic reports (https://nodejs.org/api/report.html) 10 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 11 | 12 | # Runtime data 13 | pids 14 | *.pid 15 | *.seed 16 | *.pid.lock 17 | 18 | # Directory for instrumented libs generated by jscoverage/JSCover 19 | lib-cov 20 | 21 | # Coverage directory used by tools like istanbul 22 | coverage 23 | *.lcov 24 | 25 | # nyc test coverage 26 | .nyc_output 27 | 28 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 29 | .grunt 30 | 31 | # Bower dependency directory (https://bower.io/) 32 | bower_components 33 | 34 | # node-waf configuration 35 | .lock-wscript 36 | 37 | # Compiled binary addons (https://nodejs.org/api/addons.html) 38 | build/Release 39 | 40 | # Dependency directories 41 | node_modules/ 42 | jspm_packages/ 43 | 44 | # TypeScript v1 declaration files 45 | typings/ 46 | 47 | # TypeScript cache 48 | *.tsbuildinfo 49 | 50 | # Optional npm cache directory 51 | .npm 52 | 53 | # Optional eslint cache 54 | .eslintcache 55 | 56 | # Microbundle cache 57 | .rpt2_cache/ 58 | .rts2_cache_cjs/ 59 | .rts2_cache_es/ 60 | .rts2_cache_umd/ 61 | 62 | # Optional REPL history 63 | .node_repl_history 64 | 65 | # Output of 'npm pack' 66 | *.tgz 67 | 68 | # Yarn Integrity file 69 | .yarn-integrity 70 | 71 | # dotenv environment variables file 72 | .env 73 | .env.test 74 | 75 | # parcel-bundler cache (https://parceljs.org/) 76 | .cache 77 | 78 | # Next.js build output 79 | .next 80 | 81 | # Nuxt.js build / generate output 82 | .nuxt 83 | dist 84 | 85 | # Gatsby files 86 | .cache/ 87 | # Comment in the public line in if your project uses Gatsby and *not* Next.js 88 | # https://nextjs.org/blog/next-9-1#public-directory-support 89 | # public 90 | 91 | # vuepress build output 92 | .vuepress/dist 93 | 94 | # Serverless directories 95 | .serverless/ 96 | 97 | # FuseBox cache 98 | .fusebox/ 99 | 100 | # DynamoDB Local files 101 | .dynamodb/ 102 | 103 | # TernJS port file 104 | .tern-port 105 | build 106 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | testsite/.docusaurus 2 | testsite/build 3 | build 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # template-docusaurus-plugin 2 | 3 | A Docusaurus plugin template. 4 | 5 | ## Alright, how do I use this? 6 | 7 | It isn't really that hard. Follow these simple steps!: 8 | 9 | 1. Make a new repository using this template. 10 | 2. Clone that repository locally using your IDE of choice. 11 | 3. Edit `src/index.ts`. 12 | 4. Run `yarn build`. 13 | 5. Open a second terminal, and make the working directory the `testsite`. 14 | 6. Start the test site. 15 | 7. You now have the test site running your plugin. 16 | 17 | When you update the plugin, in order to preview your changes on the test site, you need to: 18 | 19 | 1. Use the first shell you opened to re-run `yarn build` (in the repository's _root_ directory). 20 | 2. In the second shell, `Control+C` (or `Command+C` on macOS) the running Docusaurus dev server, and re-run `yarn start`. 21 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "template-docusaurus-plugin", 3 | "version": "1.0.0", 4 | "description": "A Docusaurus v2 plugin!", 5 | "main": "src/index.js", 6 | "repository": "https://github.com/rdilweb/template-docusaurus-plugin.git", 7 | "author": "Reece Dunham ", 8 | "license": "Unlicense", 9 | "scripts": { 10 | "build": "tsc", 11 | "prettier": "prettier --write **/*.{js,jsx,ts,tsx,md,yml,json}" 12 | }, 13 | "prettier": { 14 | "semi": false 15 | }, 16 | "devDependencies": { 17 | "@docusaurus/types": "^2.0.0-alpha.70", 18 | "@types/react": "^17.0.0", 19 | "@types/react-dom": "^17.0.0", 20 | "@types/react-helmet": "^6.1.0", 21 | "commander": "^6.2.1", 22 | "prettier": "^2.2.1", 23 | "typescript": "^4.1.3" 24 | }, 25 | "peerDependencies": { 26 | "@docusaurus/core": "2.x" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * See https://v2.docusaurus.io/docs/lifecycle-apis if you need more help! 3 | */ 4 | 5 | import { Plugin, LoadContext } from "@docusaurus/types" 6 | 7 | /** 8 | * Put your plugin's options in here. 9 | * 10 | * NOTE: This will NOT perform runtime typechecking on the options. 11 | * This is only for development. You will need to implement Joi or a 12 | * solution like it if you need to validate options. 13 | */ 14 | export interface MyPluginOptions { 15 | // this option will either be undefined or a boolean 16 | someOption?: boolean 17 | } 18 | 19 | /** 20 | * The type of data your plugin loads. 21 | * This is set to never because the example doesn't load any data. 22 | */ 23 | export type MyPluginLoadableContent = never 24 | 25 | export default function myPlugin( 26 | context: LoadContext, 27 | options: MyPluginOptions 28 | ): Plugin { 29 | return { 30 | // change this to something unique, or caches may conflict! 31 | name: "docusaurus-plugin-example", 32 | 33 | /* 34 | * THIS IS COMMENTED OUT BECAUSE IT IS HARD TO UNDERSTAND FOR BEGINNERS. 35 | * FEEL FREE TO USE IF YOU KNOW WHAT YOU ARE DOING! 36 | async loadContent() { 37 | // The loadContent hook is executed after siteConfig and env has been loaded. 38 | // You can return a JavaScript object that will be passed to contentLoaded hook. 39 | }, 40 | 41 | async contentLoaded({content, actions}) { 42 | // The contentLoaded hook is done after loadContent hook is done. 43 | // `actions` are set of functional API provided by Docusaurus (e.g. addRoute) 44 | }, 45 | */ 46 | 47 | async postBuild(props) { 48 | // After docusaurus finish. 49 | }, 50 | 51 | // TODO 52 | async postStart(props) { 53 | // docusaurus finish 54 | }, 55 | 56 | configureWebpack(config, isServer) { 57 | // Modify internal webpack config. If returned value is an Object, it 58 | // will be merged into the final config using webpack-merge; 59 | // If the returned value is a function, it will receive the config as the 1st argument and an isServer flag as the 2nd argument. 60 | return { 61 | // new webpack options here 62 | } 63 | }, 64 | 65 | getPathsToWatch() { 66 | // Paths to watch. 67 | return [ 68 | // additional paths to watch here 69 | ] 70 | }, 71 | 72 | /* 73 | You most likely won't need this right away either. 74 | 75 | getThemePath() { 76 | // Returns the path to the directory where the theme components can 77 | // be found. 78 | }, 79 | */ 80 | 81 | getClientModules() { 82 | // Return an array of paths to the modules that are to be imported 83 | // in the client bundle. These modules are imported globally before 84 | // React even renders the initial UI. 85 | return [] 86 | }, 87 | 88 | extendCli(cli) { 89 | // Register extra command(s) to enhance the CLI of Docusaurus 90 | cli 91 | .command("dothing") 92 | .description("Does something") 93 | .action(() => {}) 94 | }, 95 | 96 | injectHtmlTags() { 97 | // Inject head and/or body HTML tags. 98 | return { 99 | // extra html tags here 100 | } 101 | }, 102 | } 103 | } 104 | -------------------------------------------------------------------------------- /testsite/.gitignore: -------------------------------------------------------------------------------- 1 | # Dependencies 2 | /node_modules 3 | 4 | # Production 5 | /build 6 | 7 | # Generated files 8 | .docusaurus 9 | .cache-loader 10 | 11 | # Misc 12 | .DS_Store 13 | .env.local 14 | .env.development.local 15 | .env.test.local 16 | .env.production.local 17 | 18 | npm-debug.log* 19 | yarn-debug.log* 20 | yarn-error.log* 21 | -------------------------------------------------------------------------------- /testsite/README.md: -------------------------------------------------------------------------------- 1 | # Website 2 | 3 | This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator. 4 | 5 | ## Installation 6 | 7 | ```console 8 | yarn install 9 | ``` 10 | 11 | ## Local Development 12 | 13 | ```console 14 | yarn start 15 | ``` 16 | 17 | This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server. 18 | 19 | ## Build 20 | 21 | ```console 22 | yarn build 23 | ``` 24 | 25 | This command generates static content into the `build` directory and can be served using any static contents hosting service. 26 | 27 | ## Deployment 28 | 29 | ```console 30 | GIT_USER= USE_SSH=true yarn deploy 31 | ``` 32 | 33 | If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. 34 | -------------------------------------------------------------------------------- /testsite/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [require.resolve("@docusaurus/core/lib/babel/preset")], 3 | } 4 | -------------------------------------------------------------------------------- /testsite/blog/2019-05-28-hola.md: -------------------------------------------------------------------------------- 1 | --- 2 | slug: hola 3 | title: Hola 4 | author: Gao Wei 5 | author_title: Docusaurus Core Team 6 | author_url: https://github.com/wgao19 7 | author_image_url: https://avatars1.githubusercontent.com/u/2055384?v=4 8 | tags: [hola, docusaurus] 9 | --- 10 | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet 12 | -------------------------------------------------------------------------------- /testsite/blog/2019-05-29-hello-world.md: -------------------------------------------------------------------------------- 1 | --- 2 | slug: hello-world 3 | title: Hello 4 | author: Endilie Yacop Sucipto 5 | author_title: Maintainer of Docusaurus 6 | author_url: https://github.com/endiliey 7 | author_image_url: https://avatars1.githubusercontent.com/u/17883920?s=460&v=4 8 | tags: [hello, docusaurus] 9 | --- 10 | 11 | Welcome to this blog. This blog is created with [**Docusaurus 2 alpha**](https://v2.docusaurus.io/). 12 | 13 | 14 | 15 | This is a test post. 16 | 17 | A whole bunch of other information. 18 | -------------------------------------------------------------------------------- /testsite/blog/2019-05-30-welcome.md: -------------------------------------------------------------------------------- 1 | --- 2 | slug: welcome 3 | title: Welcome 4 | author: Yangshun Tay 5 | author_title: Front End Engineer @ Facebook 6 | author_url: https://github.com/yangshun 7 | author_image_url: https://avatars0.githubusercontent.com/u/1315101?s=400&v=4 8 | tags: [facebook, hello, docusaurus] 9 | --- 10 | 11 | Blog features are powered by the blog plugin. Simply add files to the `blog` directory. It supports tags as well! 12 | 13 | Delete the whole directory if you don't want the blog features. As simple as that! 14 | -------------------------------------------------------------------------------- /testsite/docs/doc1.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: doc1 3 | title: Style Guide 4 | sidebar_label: Style Guide 5 | slug: / 6 | --- 7 | 8 | You can write content using [GitHub-flavored Markdown syntax](https://github.github.com/gfm/). 9 | 10 | ## Markdown Syntax 11 | 12 | To serve as an example page when styling markdown based Docusaurus sites. 13 | 14 | ## Headers 15 | 16 | # H1 - Create the best documentation 17 | 18 | ## H2 - Create the best documentation 19 | 20 | ### H3 - Create the best documentation 21 | 22 | #### H4 - Create the best documentation 23 | 24 | ##### H5 - Create the best documentation 25 | 26 | ###### H6 - Create the best documentation 27 | 28 | --- 29 | 30 | ## Emphasis 31 | 32 | Emphasis, aka italics, with _asterisks_ or _underscores_. 33 | 34 | Strong emphasis, aka bold, with **asterisks** or **underscores**. 35 | 36 | Combined emphasis with **asterisks and _underscores_**. 37 | 38 | Strikethrough uses two tildes. ~~Scratch this.~~ 39 | 40 | --- 41 | 42 | ## Lists 43 | 44 | 1. First ordered list item 45 | 1. Another item 46 | - Unordered sub-list. 47 | 1. Actual numbers don't matter, just that it's a number 48 | 1. Ordered sub-list 49 | 1. And another item. 50 | 51 | - Unordered list can use asterisks 52 | 53 | * Or minuses 54 | 55 | - Or pluses 56 | 57 | --- 58 | 59 | ## Links 60 | 61 | [I'm an inline-style link](https://www.google.com/) 62 | 63 | [I'm an inline-style link with title](https://www.google.com/ "Google's Homepage") 64 | 65 | [I'm a reference-style link][arbitrary case-insensitive reference text] 66 | 67 | [You can use numbers for reference-style link definitions][1] 68 | 69 | Or leave it empty and use the [link text itself]. 70 | 71 | URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com/ or and sometimes example.com (but not on GitHub, for example). 72 | 73 | Some text to show that the reference links can follow later. 74 | 75 | [arbitrary case-insensitive reference text]: https://www.mozilla.org/ 76 | [1]: http://slashdot.org/ 77 | [link text itself]: http://www.reddit.com/ 78 | 79 | --- 80 | 81 | ## Images 82 | 83 | Here's our logo (hover to see the title text): 84 | 85 | Inline-style: ![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1") 86 | 87 | Reference-style: ![alt text][logo] 88 | 89 | [logo]: https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 2" 90 | 91 | Images from any folder can be used by providing path to file. Path should be relative to markdown file. 92 | 93 | ![img](../static/img/logo.svg) 94 | 95 | --- 96 | 97 | ## Code 98 | 99 | ```javascript 100 | var s = "JavaScript syntax highlighting" 101 | alert(s) 102 | ``` 103 | 104 | ```python 105 | s = "Python syntax highlighting" 106 | print(s) 107 | ``` 108 | 109 | ``` 110 | No language indicated, so no syntax highlighting. 111 | But let's throw in a tag. 112 | ``` 113 | 114 | ```js {2} 115 | function highlightMe() { 116 | console.log("This line can be highlighted!") 117 | } 118 | ``` 119 | 120 | --- 121 | 122 | ## Tables 123 | 124 | Colons can be used to align columns. 125 | 126 | | Tables | Are | Cool | 127 | | ------------- | :-----------: | -----: | 128 | | col 3 is | right-aligned | \$1600 | 129 | | col 2 is | centered | \$12 | 130 | | zebra stripes | are neat | \$1 | 131 | 132 | There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don't need to make the raw Markdown line up prettily. You can also use inline Markdown. 133 | 134 | | Markdown | Less | Pretty | 135 | | -------- | --------- | ---------- | 136 | | _Still_ | `renders` | **nicely** | 137 | | 1 | 2 | 3 | 138 | 139 | --- 140 | 141 | ## Blockquotes 142 | 143 | > Blockquotes are very handy in email to emulate reply text. This line is part of the same quote. 144 | 145 | Quote break. 146 | 147 | > This is a very long line that will still be quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can _put_ **Markdown** into a blockquote. 148 | 149 | --- 150 | 151 | ## Inline HTML 152 | 153 |
154 |
Definition list
155 |
Is something people use sometimes.
156 | 157 |
Markdown in HTML
158 |
Does *not* work **very** well. Use HTML tags.
159 |
160 | 161 | --- 162 | 163 | ## Line Breaks 164 | 165 | Here's a line for us to start with. 166 | 167 | This line is separated from the one above by two newlines, so it will be a _separate paragraph_. 168 | 169 | This line is also a separate paragraph, but... This line is only separated by a single newline, so it's a separate line in the _same paragraph_. 170 | 171 | --- 172 | 173 | ## Admonitions 174 | 175 | :::note 176 | 177 | This is a note 178 | 179 | ::: 180 | 181 | :::tip 182 | 183 | This is a tip 184 | 185 | ::: 186 | 187 | :::important 188 | 189 | This is important 190 | 191 | ::: 192 | 193 | :::caution 194 | 195 | This is a caution 196 | 197 | ::: 198 | 199 | :::warning 200 | 201 | This is a warning 202 | 203 | ::: 204 | -------------------------------------------------------------------------------- /testsite/docs/doc2.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: doc2 3 | title: Document Number 2 4 | --- 5 | 6 | This is a link to [another document.](doc3.md) This is a link to an [external page.](http://www.example.com/) 7 | -------------------------------------------------------------------------------- /testsite/docs/doc3.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: doc3 3 | title: This is Document Number 3 4 | --- 5 | 6 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ac euismod odio, eu consequat dui. Nullam molestie consectetur risus id imperdiet. Proin sodales ornare turpis, non mollis massa ultricies id. Nam at nibh scelerisque, feugiat ante non, dapibus tortor. Vivamus volutpat diam quis tellus elementum bibendum. Praesent semper gravida velit quis aliquam. Etiam in cursus neque. Nam lectus ligula, malesuada et mauris a, bibendum faucibus mi. Phasellus ut interdum felis. Phasellus in odio pulvinar, porttitor urna eget, fringilla lectus. Aliquam sollicitudin est eros. Mauris consectetur quam vitae mauris interdum hendrerit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 7 | 8 | Duis et egestas libero, imperdiet faucibus ipsum. Sed posuere eget urna vel feugiat. Vivamus a arcu sagittis, fermentum urna dapibus, congue lectus. Fusce vulputate porttitor nisl, ac cursus elit volutpat vitae. Nullam vitae ipsum egestas, convallis quam non, porta nibh. Morbi gravida erat nec neque bibendum, eu pellentesque velit posuere. Fusce aliquam erat eu massa eleifend tristique. 9 | 10 | Sed consequat sollicitudin ipsum eget tempus. Integer a aliquet velit. In justo nibh, pellentesque non suscipit eget, gravida vel lacus. Donec odio ante, malesuada in massa quis, pharetra tristique ligula. Donec eros est, tristique eget finibus quis, semper non nisl. Vivamus et elit nec enim ornare placerat. Sed posuere odio a elit cursus sagittis. 11 | 12 | Phasellus feugiat purus eu tortor ultrices finibus. Ut libero nibh, lobortis et libero nec, dapibus posuere eros. Sed sagittis euismod justo at consectetur. Nulla finibus libero placerat, cursus sapien at, eleifend ligula. Vivamus elit nisl, hendrerit ac nibh eu, ultrices tempus dui. Nam tellus neque, commodo non rhoncus eu, gravida in risus. Nullam id iaculis tortor. 13 | 14 | Nullam at odio in sem varius tempor sit amet vel lorem. Etiam eu hendrerit nisl. Fusce nibh mauris, vulputate sit amet ex vitae, congue rhoncus nisl. Sed eget tellus purus. Nullam tempus commodo erat ut tristique. Cras accumsan massa sit amet justo consequat eleifend. Integer scelerisque vitae tellus id consectetur. 15 | -------------------------------------------------------------------------------- /testsite/docs/mdx.md: -------------------------------------------------------------------------------- 1 | --- 2 | id: mdx 3 | title: Powered by MDX 4 | --- 5 | 6 | You can write JSX and use React components within your Markdown thanks to [MDX](https://mdxjs.com/). 7 | 8 | export const Highlight = ({children, color}) => ( {children} ); 14 | 15 | Docusaurus green and Facebook blue are my favorite colors. 16 | 17 | I can write **Markdown** alongside my _JSX_! 18 | -------------------------------------------------------------------------------- /testsite/docusaurus.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | title: "My Site", 3 | tagline: "The tagline of my site", 4 | url: "https://your-docusaurus-test-site.com", 5 | baseUrl: "/", 6 | onBrokenLinks: "throw", 7 | onBrokenMarkdownLinks: "warn", 8 | favicon: "img/favicon.ico", 9 | organizationName: "facebook", // Usually your GitHub org/user name. 10 | projectName: "docusaurus", // Usually your repo name. 11 | themeConfig: { 12 | navbar: { 13 | title: "My Site", 14 | logo: { 15 | alt: "My Site Logo", 16 | src: "img/logo.svg", 17 | }, 18 | items: [ 19 | { 20 | to: "docs/", 21 | activeBasePath: "docs", 22 | label: "Docs", 23 | position: "left", 24 | }, 25 | { to: "blog", label: "Blog", position: "left" }, 26 | { 27 | href: "https://github.com/facebook/docusaurus", 28 | label: "GitHub", 29 | position: "right", 30 | }, 31 | ], 32 | }, 33 | footer: { 34 | style: "dark", 35 | links: [ 36 | { 37 | title: "Docs", 38 | items: [ 39 | { 40 | label: "Style Guide", 41 | to: "docs/", 42 | }, 43 | { 44 | label: "Second Doc", 45 | to: "docs/doc2/", 46 | }, 47 | ], 48 | }, 49 | { 50 | title: "Community", 51 | items: [ 52 | { 53 | label: "Stack Overflow", 54 | href: "https://stackoverflow.com/questions/tagged/docusaurus", 55 | }, 56 | { 57 | label: "Discord", 58 | href: "https://discordapp.com/invite/docusaurus", 59 | }, 60 | { 61 | label: "Twitter", 62 | href: "https://twitter.com/docusaurus", 63 | }, 64 | ], 65 | }, 66 | { 67 | title: "More", 68 | items: [ 69 | { 70 | label: "Blog", 71 | to: "blog", 72 | }, 73 | { 74 | label: "GitHub", 75 | href: "https://github.com/facebook/docusaurus", 76 | }, 77 | ], 78 | }, 79 | ], 80 | copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`, 81 | }, 82 | }, 83 | presets: [ 84 | [ 85 | "@docusaurus/preset-classic", 86 | { 87 | docs: { 88 | sidebarPath: require.resolve("./sidebars.js"), 89 | // Please change this to your repo. 90 | editUrl: 91 | "https://github.com/facebook/docusaurus/edit/master/website/", 92 | }, 93 | blog: { 94 | showReadingTime: true, 95 | // Please change this to your repo. 96 | editUrl: 97 | "https://github.com/facebook/docusaurus/edit/master/website/blog/", 98 | }, 99 | theme: { 100 | customCss: require.resolve("./src/css/custom.css"), 101 | }, 102 | }, 103 | ], 104 | ], 105 | // THIS IS YOUR PLUGIN'S ENTRYPOINT. 106 | // YOU CAN TEST IT OUT WITH DIFFERENT OPTIONS BY PASSING THEM IN THE OBJECT LITERAL 107 | plugins: [ 108 | [ 109 | require.resolve("../build/index.js"), 110 | { 111 | // options here, or if you have none, just leave this empty. 112 | }, 113 | ], 114 | ], 115 | } 116 | -------------------------------------------------------------------------------- /testsite/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "testsite", 3 | "version": "0.0.0", 4 | "private": true, 5 | "scripts": { 6 | "docusaurus": "docusaurus", 7 | "start": "docusaurus start", 8 | "build": "docusaurus build", 9 | "swizzle": "docusaurus swizzle", 10 | "deploy": "docusaurus deploy", 11 | "serve": "docusaurus serve", 12 | "clear": "docusaurus clear" 13 | }, 14 | "dependencies": { 15 | "@docusaurus/core": "2.0.0-alpha.66cc7364c", 16 | "@docusaurus/preset-classic": "2.0.0-alpha.66cc7364c", 17 | "@mdx-js/react": "^1.6.21", 18 | "clsx": "^1.1.1", 19 | "react": "^16.8.4", 20 | "react-dom": "^16.8.4" 21 | }, 22 | "browserslist": { 23 | "production": [ 24 | ">0.5%", 25 | "not dead", 26 | "not op_mini all" 27 | ], 28 | "development": [ 29 | "last 1 chrome version", 30 | "last 1 firefox version", 31 | "last 1 safari version" 32 | ] 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /testsite/sidebars.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | someSidebar: { 3 | Docusaurus: ["doc1", "doc2", "doc3"], 4 | Features: ["mdx"], 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /testsite/src/css/custom.css: -------------------------------------------------------------------------------- 1 | /* stylelint-disable docusaurus/copyright-header */ 2 | /** 3 | * Any CSS included here will be global. The classic template 4 | * bundles Infima by default. Infima is a CSS framework designed to 5 | * work well for content-centric websites. 6 | */ 7 | 8 | /* You can override the default Infima variables here. */ 9 | :root { 10 | --ifm-color-primary: #25c2a0; 11 | --ifm-color-primary-dark: rgb(33, 175, 144); 12 | --ifm-color-primary-darker: rgb(31, 165, 136); 13 | --ifm-color-primary-darkest: rgb(26, 136, 112); 14 | --ifm-color-primary-light: rgb(70, 203, 174); 15 | --ifm-color-primary-lighter: rgb(102, 212, 189); 16 | --ifm-color-primary-lightest: rgb(146, 224, 208); 17 | --ifm-code-font-size: 95%; 18 | } 19 | 20 | .docusaurus-highlight-code-line { 21 | background-color: rgb(72, 77, 91); 22 | display: block; 23 | margin: 0 calc(-1 * var(--ifm-pre-padding)); 24 | padding: 0 var(--ifm-pre-padding); 25 | } 26 | -------------------------------------------------------------------------------- /testsite/src/pages/index.js: -------------------------------------------------------------------------------- 1 | import React from "react" 2 | import clsx from "clsx" 3 | import Layout from "@theme/Layout" 4 | import Link from "@docusaurus/Link" 5 | import useDocusaurusContext from "@docusaurus/useDocusaurusContext" 6 | import useBaseUrl from "@docusaurus/useBaseUrl" 7 | import styles from "./styles.module.css" 8 | 9 | const features = [ 10 | { 11 | title: "Easy to Use", 12 | imageUrl: "img/undraw_docusaurus_mountain.svg", 13 | description: ( 14 | <> 15 | Docusaurus was designed from the ground up to be easily installed and 16 | used to get your website up and running quickly. 17 | 18 | ), 19 | }, 20 | { 21 | title: "Focus on What Matters", 22 | imageUrl: "img/undraw_docusaurus_tree.svg", 23 | description: ( 24 | <> 25 | Docusaurus lets you focus on your docs, and we'll do the chores. Go 26 | ahead and move your docs into the docs directory. 27 | 28 | ), 29 | }, 30 | { 31 | title: "Powered by React", 32 | imageUrl: "img/undraw_docusaurus_react.svg", 33 | description: ( 34 | <> 35 | Extend or customize your website layout by reusing React. Docusaurus can 36 | be extended while reusing the same header and footer. 37 | 38 | ), 39 | }, 40 | ] 41 | 42 | function Feature({ imageUrl, title, description }) { 43 | const imgUrl = useBaseUrl(imageUrl) 44 | return ( 45 |
46 | {imgUrl && ( 47 |
48 | {title} 49 |
50 | )} 51 |

{title}

52 |

{description}

53 |
54 | ) 55 | } 56 | 57 | function Home() { 58 | const context = useDocusaurusContext() 59 | const { siteConfig = {} } = context 60 | return ( 61 | 65 |
66 |
67 |

{siteConfig.title}

68 |

{siteConfig.tagline}

69 |
70 | 77 | Get Started 78 | 79 |
80 |
81 |
82 |
83 | {features && features.length > 0 && ( 84 |
85 |
86 |
87 | {features.map((props, idx) => ( 88 | 89 | ))} 90 |
91 |
92 |
93 | )} 94 |
95 |
96 | ) 97 | } 98 | 99 | export default Home 100 | -------------------------------------------------------------------------------- /testsite/src/pages/styles.module.css: -------------------------------------------------------------------------------- 1 | /* stylelint-disable docusaurus/copyright-header */ 2 | 3 | /** 4 | * CSS files with the .module.css suffix will be treated as CSS modules 5 | * and scoped locally. 6 | */ 7 | 8 | .heroBanner { 9 | padding: 4rem 0; 10 | text-align: center; 11 | position: relative; 12 | overflow: hidden; 13 | } 14 | 15 | @media screen and (max-width: 966px) { 16 | .heroBanner { 17 | padding: 2rem; 18 | } 19 | } 20 | 21 | .buttons { 22 | display: flex; 23 | align-items: center; 24 | justify-content: center; 25 | } 26 | 27 | .features { 28 | display: flex; 29 | align-items: center; 30 | padding: 2rem 0; 31 | width: 100%; 32 | } 33 | 34 | .featureImage { 35 | height: 200px; 36 | width: 200px; 37 | } 38 | -------------------------------------------------------------------------------- /testsite/static/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdilweb/template-docusaurus-plugin/02d220c74b98ec80958fd6392e586f251f307f4f/testsite/static/.nojekyll -------------------------------------------------------------------------------- /testsite/static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rdilweb/template-docusaurus-plugin/02d220c74b98ec80958fd6392e586f251f307f4f/testsite/static/img/favicon.ico -------------------------------------------------------------------------------- /testsite/static/img/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testsite/static/img/undraw_docusaurus_mountain.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 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 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | -------------------------------------------------------------------------------- /testsite/static/img/undraw_docusaurus_react.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 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 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | -------------------------------------------------------------------------------- /testsite/static/img/undraw_docusaurus_tree.svg: -------------------------------------------------------------------------------- 1 | docu_tree -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Visit https://aka.ms/tsconfig.json to read more about this file */ 4 | 5 | /* Basic Options */ 6 | "incremental": true /* Enable incremental compilation */, 7 | "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, 8 | "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, 9 | "lib": [ 10 | "ES2020", 11 | "DOM", 12 | "DOM.Iterable" 13 | ] /* Specify library files to be included in the compilation. */, 14 | // "allowJs": true, /* Allow javascript files to be compiled. */ 15 | // "checkJs": true, /* Report errors in .js files. */ 16 | "jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */, 17 | "declaration": true /* Generates corresponding '.d.ts' file. */, 18 | "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */, 19 | "sourceMap": true /* Generates corresponding '.map' file. */, 20 | // "outFile": "./", /* Concatenate and emit output to single file. */ 21 | "outDir": "./build" /* Redirect output structure to the directory. */, 22 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ 23 | // "composite": true, /* Enable project compilation */ 24 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ 25 | // "removeComments": true, /* Do not emit comments to output. */ 26 | // "noEmit": true, /* Do not emit outputs. */ 27 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */ 28 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ 29 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ 30 | 31 | /* Strict Type-Checking Options */ 32 | "strict": true /* Enable all strict type-checking options. */, 33 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ 34 | // "strictNullChecks": true, /* Enable strict null checks. */ 35 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ 36 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ 37 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ 38 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ 39 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ 40 | 41 | /* Additional Checks */ 42 | "noUnusedLocals": true /* Report errors on unused locals. */, 43 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ 44 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ 45 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ 46 | // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ 47 | 48 | /* Module Resolution Options */ 49 | // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ 50 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ 51 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ 52 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ 53 | // "typeRoots": [], /* List of folders to include type definitions from. */ 54 | // "types": [], /* Type declaration files to be included in compilation. */ 55 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ 56 | "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, 57 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ 58 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ 59 | 60 | /* Source Map Options */ 61 | // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ 62 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 63 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ 64 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ 65 | 66 | /* Experimental Options */ 67 | "experimentalDecorators": true /* Enables experimental support for ES7 decorators. */, 68 | "emitDecoratorMetadata": true /* Enables experimental support for emitting type metadata for decorators. */, 69 | 70 | /* Advanced Options */ 71 | "skipLibCheck": true /* Skip type checking of declaration files. */, 72 | "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@docusaurus/types@^2.0.0-alpha.70": 6 | version "2.0.0-alpha.70" 7 | resolved "https://registry.yarnpkg.com/@docusaurus/types/-/types-2.0.0-alpha.70.tgz#44b98290919cca2505aea334daecf762c7537d10" 8 | integrity sha512-QoHmMiJhRDq5P/4o3eUIiJebdwRjShFlal01DST5B8MZo4k0ogl57FNHqJvIHc93NgonZzFlvC/auLlBnc/d4Q== 9 | dependencies: 10 | "@types/webpack" "^4.41.0" 11 | commander "^4.0.1" 12 | querystring "0.2.0" 13 | webpack-merge "^4.2.2" 14 | 15 | "@types/anymatch@*": 16 | version "1.3.1" 17 | resolved "https://registry.yarnpkg.com/@types/anymatch/-/anymatch-1.3.1.tgz#336badc1beecb9dacc38bea2cf32adf627a8421a" 18 | integrity sha512-/+CRPXpBDpo2RK9C68N3b2cOvO0Cf5B9aPijHsoDQTHivnGSObdOF2BRQOYjojWTDy6nQvMjmqRXIxH55VjxxA== 19 | 20 | "@types/node@*": 21 | version "14.14.20" 22 | resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.20.tgz#f7974863edd21d1f8a494a73e8e2b3658615c340" 23 | integrity sha512-Y93R97Ouif9JEOWPIUyU+eyIdyRqQR0I8Ez1dzku4hDx34NWh4HbtIc3WNzwB1Y9ULvNGeu5B8h8bVL5cAk4/A== 24 | 25 | "@types/prop-types@*": 26 | version "15.7.3" 27 | resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7" 28 | integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw== 29 | 30 | "@types/react-dom@^17.0.0": 31 | version "17.0.0" 32 | resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.0.tgz#b3b691eb956c4b3401777ee67b900cb28415d95a" 33 | integrity sha512-lUqY7OlkF/RbNtD5nIq7ot8NquXrdFrjSOR6+w9a9RFQevGi1oZO1dcJbXMeONAPKtZ2UrZOEJ5UOCVsxbLk/g== 34 | dependencies: 35 | "@types/react" "*" 36 | 37 | "@types/react-helmet@^6.1.0": 38 | version "6.1.0" 39 | resolved "https://registry.yarnpkg.com/@types/react-helmet/-/react-helmet-6.1.0.tgz#af586ed685f4905e2adc7462d1d65ace52beee7a" 40 | integrity sha512-PYRoU1XJFOzQ3BHvWL1T8iDNbRjdMDJMT5hFmZKGbsq09kbSqJy61uwEpTrbTNWDopVphUT34zUSVLK9pjsgYQ== 41 | dependencies: 42 | "@types/react" "*" 43 | 44 | "@types/react@*", "@types/react@^17.0.0": 45 | version "17.0.0" 46 | resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.0.tgz#5af3eb7fad2807092f0046a1302b7823e27919b8" 47 | integrity sha512-aj/L7RIMsRlWML3YB6KZiXB3fV2t41+5RBGYF8z+tAKU43Px8C3cYUZsDvf1/+Bm4FK21QWBrDutu8ZJ/70qOw== 48 | dependencies: 49 | "@types/prop-types" "*" 50 | csstype "^3.0.2" 51 | 52 | "@types/source-list-map@*": 53 | version "0.1.2" 54 | resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9" 55 | integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA== 56 | 57 | "@types/tapable@*": 58 | version "1.0.6" 59 | resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-1.0.6.tgz#a9ca4b70a18b270ccb2bc0aaafefd1d486b7ea74" 60 | integrity sha512-W+bw9ds02rAQaMvaLYxAbJ6cvguW/iJXNT6lTssS1ps6QdrMKttqEAMEG/b5CR8TZl3/L7/lH0ZV5nNR1LXikA== 61 | 62 | "@types/uglify-js@*": 63 | version "3.11.1" 64 | resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.11.1.tgz#97ff30e61a0aa6876c270b5f538737e2d6ab8ceb" 65 | integrity sha512-7npvPKV+jINLu1SpSYVWG8KvyJBhBa8tmzMMdDoVc2pWUYHN8KIXlPJhjJ4LT97c4dXJA2SHL/q6ADbDriZN+Q== 66 | dependencies: 67 | source-map "^0.6.1" 68 | 69 | "@types/webpack-sources@*": 70 | version "2.1.0" 71 | resolved "https://registry.yarnpkg.com/@types/webpack-sources/-/webpack-sources-2.1.0.tgz#8882b0bd62d1e0ce62f183d0d01b72e6e82e8c10" 72 | integrity sha512-LXn/oYIpBeucgP1EIJbKQ2/4ZmpvRl+dlrFdX7+94SKRUV3Evy3FsfMZY318vGhkWUS5MPhtOM3w1/hCOAOXcg== 73 | dependencies: 74 | "@types/node" "*" 75 | "@types/source-list-map" "*" 76 | source-map "^0.7.3" 77 | 78 | "@types/webpack@^4.41.0": 79 | version "4.41.26" 80 | resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.26.tgz#27a30d7d531e16489f9c7607c747be6bc1a459ef" 81 | integrity sha512-7ZyTfxjCRwexh+EJFwRUM+CDB2XvgHl4vfuqf1ZKrgGvcS5BrNvPQqJh3tsZ0P6h6Aa1qClVHaJZszLPzpqHeA== 82 | dependencies: 83 | "@types/anymatch" "*" 84 | "@types/node" "*" 85 | "@types/tapable" "*" 86 | "@types/uglify-js" "*" 87 | "@types/webpack-sources" "*" 88 | source-map "^0.6.0" 89 | 90 | commander@^4.0.1: 91 | version "4.1.1" 92 | resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" 93 | integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== 94 | 95 | commander@^6.2.1: 96 | version "6.2.1" 97 | resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" 98 | integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== 99 | 100 | csstype@^3.0.2: 101 | version "3.0.6" 102 | resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.6.tgz#865d0b5833d7d8d40f4e5b8a6d76aea3de4725ef" 103 | integrity sha512-+ZAmfyWMT7TiIlzdqJgjMb7S4f1beorDbWbsocyK4RaiqA5RTX3K14bnBWmmA9QEM0gRdsjyyrEmcyga8Zsxmw== 104 | 105 | lodash@^4.17.15: 106 | version "4.17.21" 107 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" 108 | integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== 109 | 110 | prettier@^2.2.1: 111 | version "2.2.1" 112 | resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5" 113 | integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q== 114 | 115 | querystring@0.2.0: 116 | version "0.2.0" 117 | resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" 118 | integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= 119 | 120 | source-map@^0.6.0, source-map@^0.6.1: 121 | version "0.6.1" 122 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 123 | integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== 124 | 125 | source-map@^0.7.3: 126 | version "0.7.3" 127 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" 128 | integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== 129 | 130 | typescript@^4.1.3: 131 | version "4.1.3" 132 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7" 133 | integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg== 134 | 135 | webpack-merge@^4.2.2: 136 | version "4.2.2" 137 | resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-4.2.2.tgz#a27c52ea783d1398afd2087f547d7b9d2f43634d" 138 | integrity sha512-TUE1UGoTX2Cd42j3krGYqObZbOD+xF7u28WB7tfUordytSjbWTIjK/8V0amkBfTYN4/pB/GIDlJZZ657BGG19g== 139 | dependencies: 140 | lodash "^4.17.15" 141 | --------------------------------------------------------------------------------