2019-03-31 14:37:35 -04:00
|
|
|
{
|
2019-10-10 22:45:50 -04:00
|
|
|
"name": "@docusaurus/plugin-content-docs",
|
2021-04-30 12:41:55 -04:00
|
|
|
"version": "2.0.0-alpha.75",
|
2021-01-14 11:16:26 -05:00
|
|
|
"description": "Docs plugin for Docusaurus.",
|
2019-10-07 07:28:33 -04:00
|
|
|
"main": "lib/index.js",
|
2020-08-27 05:40:14 -04:00
|
|
|
"types": "src/plugin-content-docs.d.ts",
|
2019-10-07 07:28:33 -04:00
|
|
|
"scripts": {
|
2020-07-01 12:30:44 -04:00
|
|
|
"build": "tsc",
|
2020-06-16 08:40:46 -04:00
|
|
|
"watch": "tsc --watch"
|
2019-10-07 07:28:33 -04:00
|
|
|
},
|
2019-04-10 10:21:35 -04:00
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public"
|
|
|
|
|
},
|
2020-10-21 09:05:01 -04:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/facebook/docusaurus.git",
|
|
|
|
|
"directory": "packages/docusaurus-plugin-content-docs"
|
|
|
|
|
},
|
2019-03-31 14:37:35 -04:00
|
|
|
"license": "MIT",
|
2019-10-07 07:28:33 -04:00
|
|
|
"devDependencies": {
|
2021-04-30 12:41:55 -04:00
|
|
|
"@docusaurus/module-type-aliases": "2.0.0-alpha.75",
|
2021-04-15 10:20:11 -04:00
|
|
|
"@types/js-yaml": "^4.0.0",
|
2021-04-16 06:48:10 -04:00
|
|
|
"@types/picomatch": "^2.2.1",
|
2021-02-22 13:05:25 -05:00
|
|
|
"commander": "^5.1.0",
|
2020-07-24 10:22:51 -04:00
|
|
|
"picomatch": "^2.1.1"
|
2019-10-07 07:28:33 -04:00
|
|
|
},
|
2019-03-31 14:37:35 -04:00
|
|
|
"dependencies": {
|
2021-04-30 12:41:55 -04:00
|
|
|
"@docusaurus/core": "2.0.0-alpha.75",
|
|
|
|
|
"@docusaurus/mdx-loader": "2.0.0-alpha.75",
|
|
|
|
|
"@docusaurus/types": "2.0.0-alpha.75",
|
|
|
|
|
"@docusaurus/utils": "2.0.0-alpha.75",
|
|
|
|
|
"@docusaurus/utils-validation": "2.0.0-alpha.75",
|
2021-02-02 08:37:45 -05:00
|
|
|
"chalk": "^4.1.0",
|
2021-04-15 10:20:11 -04:00
|
|
|
"combine-promises": "^1.1.0",
|
2021-02-18 09:12:42 -05:00
|
|
|
"execa": "^5.0.0",
|
2021-02-02 08:37:45 -05:00
|
|
|
"fs-extra": "^9.1.0",
|
|
|
|
|
"globby": "^11.0.2",
|
2020-11-12 06:30:14 -05:00
|
|
|
"import-fresh": "^3.2.2",
|
2021-04-15 10:20:11 -04:00
|
|
|
"js-yaml": "^4.0.0",
|
2019-10-11 00:45:39 -04:00
|
|
|
"loader-utils": "^1.2.3",
|
2021-03-09 06:15:52 -05:00
|
|
|
"lodash": "^4.17.20",
|
2020-04-24 00:18:54 -04:00
|
|
|
"remark-admonitions": "^1.2.1",
|
2020-08-17 11:50:22 -04:00
|
|
|
"shelljs": "^0.8.4",
|
2021-03-17 11:25:42 -04:00
|
|
|
"tslib": "^2.1.0",
|
2020-08-17 11:50:22 -04:00
|
|
|
"utility-types": "^3.10.0",
|
feat(v2): Webpack 5, PostCSS 8 (#4089)
* Initial webpack 5 work
* It works on my machine (lol)
* Committing a bit more work
* It works - sorta
* Update packages/docusaurus/package.json
* at least fix prettier /shrug
* making more progress. build should work now, css stuff is still a bit broken
* Terser things
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Working on things
* Vendor webpack
* Repair chunks, and tests
* Rerun prettier
* Re-add client prefetching
* Update snapshots
* Update snapshots
* I hope this works
* Remove redundant dev server code
* relock
* Trying to reduce memory usage and fix things
* Dead code elim
* Search bar works!!!
* Prefetching should work again
* lock
* ts issue
* Repair snapshot
* Run prettier
* Fix the CI for now
* fix lint-prettier
* clean-css works, now for the other one
* Fix lockfile
* Fixes prettier
* Other css minification works!!!
* Add clean-css options, fix webpack versions
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Fix tests and several of the webpack loaders
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Re-add support for simple css minifier
* Update other related dependencies
* Fix lockfile
* Dev server fixups
Signed-off-by: Reece Dunham <me@rdil.rocks>
* Simplify css things
* Update webpack, try with postcss 7
* Other cssnano repairs
* fix lockfile
* Clean up the babel preset
* Fix lockfile
* Bump RL SSR version
* Fix the build errors
* Lockfile fix
* It works again
* webpack 5 should close compiler after run
* add proper webpack5 persistent caching config
* upgrade webpack deps again
* reduce build perf timeouts to avoid build time regressions
* test if incremental build can run on netlify
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* test
* test
* test
* test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* fix existsSync() calls
* replace @ts-nocheck by a temporary Webpack type
* replace @ts-nocheck by a temporary Webpack type
* replace @ts-nocheck by a temporary Webpack type
* migrate existing stats.warningsFilter to config.ignoreWarnings
* remove stats from postBuild lifecycle data doc, as it is likely unused (we'll add it back if someone ask for it)
* improve build.ts TS issues + move some sync code to async
* cleanup TS of start.ts
* fix TS error
* fix TS issues
* fix TS issues
* fix ts error
* netlify test
* netlify test
* netlify test
* netlify test
* netlify test
* script cleanup
* script cleanup
* re-enable @typescript-eslint/ban-ts-comment
* Deprecate getCacheLoader / getBabelLoader but keep retrocompatibility
* useless TS
* fix and comment gca(chunkName) prefetching function
* remove deprecated mainTemplate.requireFn
* temporarily use react-loadable-ssr-addon-v5-slorber until PR merged: https://github.com/facebook/docusaurus/pull/4089
* comment unsafeCache option
* add explicit and more precise webpack targets
* splitChunks, use new type: "css/mini-extract" as it seems recommended for webpack 5
* webpack error handling:
- log error.details as documented
- keep using react-dev-utils/formatWebpackMessages for now
* fix webpack5 warnings for evalSourceMapMiddleware.js
* typo
* rename webpackHotDevClient
* make all modifications of react-dev-utils explicit with a comment
* revert LogPlugin adapter
* loader-utils update
* add useful share cache comment
* add useful comments regarding the null-loader used in SSR for css files
* upgrade webpack-merge in a retrocompatible way
* use MiniCssExtractPlugin.emit false as recommended
* use @docusaurus/responsive-loader
* revert MiniCssExtractPlugin esModule: false change
* add link to PR for custom CleanWebpackPlugin
* pwa: add fallback to env variable or webpack 5 fails to build
* upgrade to CssMinimizerPlugin 2.0
* only build en locale for windows tests
* line breaks between errors
* add useful comment
* Fix e2e tests with Yarn2 not finding new init template dependencies
* fix bad import
* disable browserslist target as webpack already tries to use browserlists if a config is found, and it is a problem for existing sites
* webpack5 TS fixes
* fix getMinimizer order (even if it does not work yet)
* update postcss to v8, fix cssnano minimizer errors
* add NavbarItem position to types (useful for QuestDB site upgrade to Webpack5)
* add webpack cache env variable to reduce risk of webpack 5 adoption
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-04-30 12:06:53 -04:00
|
|
|
"webpack": "^5.28.0"
|
2019-03-31 14:37:35 -04:00
|
|
|
},
|
|
|
|
|
"peerDependencies": {
|
2021-02-12 11:04:45 -05:00
|
|
|
"react": "^16.8.4 || ^17.0.0",
|
|
|
|
|
"react-dom": "^16.8.4 || ^17.0.0"
|
2019-05-06 08:25:04 -04:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2021-02-18 09:12:42 -05:00
|
|
|
"node": ">=12.13.0"
|
2019-03-31 14:37:35 -04:00
|
|
|
}
|
|
|
|
|
}
|