-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Docusaurus 1 files into directory (#966)
* Move Docusaurus 1 into v1 directory * Update Circle CI commands for new v1 dir * Remove OC * Fix tests
- Loading branch information
Showing
291 changed files
with
8,163 additions
and
7,104 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,112 +1,23 @@ | ||
{ | ||
"name": "docusaurus", | ||
"description": "Easy to Maintain Open Source Documentation Websites", | ||
"version": "1.4.0", | ||
"license": "MIT", | ||
"keywords": ["documentation", "websites", "open source", "docusaurus"], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/facebook/Docusaurus.git" | ||
}, | ||
"scripts": { | ||
"ci-check": "yarn lint && yarn prettier:diff", | ||
"lint": "eslint --cache \"lib/**/*.js\" \"examples/**/*.js\" \"website/**/*.js\"", | ||
"precommit": "lint-staged", | ||
"ci-check": "yarn prettier && cd v1 && yarn ci-check", | ||
"prettier": "prettier --config .prettierrc --write \"**/*.js\"", | ||
"prettier:diff": "prettier --config .prettierrc --list-different \"**/*.js\"", | ||
"test": "jest", | ||
"start": "cd website && yarn start", | ||
"postinstall": "opencollective postinstall" | ||
}, | ||
"lint-staged": { | ||
"linters": { | ||
"{lib,examples,website}/**/*.js": [ | ||
"yarn lint --fix", | ||
"yarn prettier", | ||
"git add" | ||
] | ||
} | ||
}, | ||
"jest": { | ||
"testPathIgnorePatterns": ["/node_modules/", "__fixtures__", "v2"], | ||
"testURL": "http://localhost/" | ||
}, | ||
"bin": { | ||
"docusaurus-start": "./lib/start-server.js", | ||
"docusaurus-build": "./lib/build-files.js", | ||
"docusaurus-publish": "./lib/publish-gh-pages.js", | ||
"docusaurus-examples": "./lib/copy-examples.js", | ||
"docusaurus-write-translations": "./lib/write-translations.js", | ||
"docusaurus-version": "./lib/version.js", | ||
"docusaurus-rename-version": "./lib/rename-version.js" | ||
}, | ||
"dependencies": { | ||
"autoprefixer": "^9.1.5", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-register": "^6.24.1", | ||
"babel-traverse": "^6.25.0", | ||
"babylon": "^6.17.4", | ||
"chalk": "^2.1.0", | ||
"classnames": "^2.2.6", | ||
"color": "^2.0.1", | ||
"commander": "^2.18.0", | ||
"cross-spawn": "^6.0.5", | ||
"crowdin-cli": "^0.3.0", | ||
"cssnano": "^3.10.0", | ||
"deepmerge": "^2.1.1", | ||
"escape-string-regexp": "^1.0.5", | ||
"express": "^4.15.3", | ||
"feed": "^1.1.0", | ||
"fs-extra": "^5.0.0", | ||
"gaze": "^1.1.2", | ||
"glob": "^7.1.3", | ||
"highlight.js": "^9.12.0", | ||
"imagemin": "^5.3.1", | ||
"imagemin-gifsicle": "^5.2.0", | ||
"imagemin-jpegtran": "^5.0.2", | ||
"imagemin-optipng": "^5.2.1", | ||
"imagemin-svgo": "^6.0.0", | ||
"markdown-toc": "^1.2.0", | ||
"mkdirp": "^0.5.1", | ||
"opencollective": "^1.0.3", | ||
"portfinder": "^1.0.17", | ||
"postcss": "^7.0.1", | ||
"prismjs": "^1.15.0", | ||
"react": "^16.5.0", | ||
"react-dev-utils": "^5.0.2", | ||
"react-dom": "^16.5.0", | ||
"remarkable": "^1.7.1", | ||
"request": "^2.87.0", | ||
"shelljs": "^0.7.8", | ||
"sitemap": "^1.13.0", | ||
"tcp-port-used": "^0.1.2", | ||
"tiny-lr": "^1.1.1", | ||
"tree-node-cli": "^1.2.5", | ||
"truncate-html": "^1.0.1" | ||
"start": "cd v1/website && yarn start" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^8.2.5", | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb": "17.0.0", | ||
"eslint-config-prettier": "^2.9.0", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.3", | ||
"eslint-plugin-react": "^7.9.1", | ||
"filepath": "^1.1.0", | ||
"front-matter": "^2.3.0", | ||
"glob-promise": "^3.3.0", | ||
"husky": "^0.14.3", | ||
"jest": "^23.6.0", | ||
"lint-staged": "^7.2.0", | ||
"prettier": "^1.13.7", | ||
"rimraf": "^2.6.2" | ||
"prettier": "^1.13.7" | ||
}, | ||
"collective": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/Docusaurus" | ||
"lint-staged": { | ||
"linters": { | ||
"{v1,v2}/**/*.js": ["yarn lint --fix", "yarn prettier", "git add"] | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,10 @@ | ||
lib/core/metadata.js | ||
lib/core/MetadataBlog.js | ||
lib/pages/ | ||
|
||
website/build/ | ||
website/i18n/* | ||
website/node_modules | ||
website/package-lock.json | ||
website/translated_docs | ||
website/yarn.lock |
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,9 +1,6 @@ | ||
node_modules | ||
.DS_Store | ||
lib/core/metadata.js | ||
lib/core/MetadataBlog.js | ||
yarn-error.log | ||
yarn.lock | ||
website | ||
docs | ||
docusaurus-init | ||
v2 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,93 @@ | ||
{ | ||
"name": "docusaurus", | ||
"description": "Easy to Maintain Open Source Documentation Websites", | ||
"version": "1.4.0", | ||
"license": "MIT", | ||
"keywords": ["documentation", "websites", "open source", "docusaurus"], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/facebook/Docusaurus.git" | ||
}, | ||
"scripts": { | ||
"ci-check": "yarn lint", | ||
"lint": "eslint --cache \"lib/**/*.js\" \"examples/**/*.js\" \"website/**/*.js\"", | ||
"test": "jest", | ||
"start": "cd website && yarn start" | ||
}, | ||
"jest": { | ||
"testPathIgnorePatterns": ["/node_modules/", "__fixtures__", "v2"], | ||
"testURL": "http://localhost/" | ||
}, | ||
"bin": { | ||
"docusaurus-start": "./lib/start-server.js", | ||
"docusaurus-build": "./lib/build-files.js", | ||
"docusaurus-publish": "./lib/publish-gh-pages.js", | ||
"docusaurus-examples": "./lib/copy-examples.js", | ||
"docusaurus-write-translations": "./lib/write-translations.js", | ||
"docusaurus-version": "./lib/version.js", | ||
"docusaurus-rename-version": "./lib/rename-version.js" | ||
}, | ||
"dependencies": { | ||
"autoprefixer": "^9.1.5", | ||
"babel-plugin-transform-class-properties": "^6.24.1", | ||
"babel-plugin-transform-object-rest-spread": "^6.26.0", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-react": "^6.24.1", | ||
"babel-register": "^6.24.1", | ||
"babel-traverse": "^6.25.0", | ||
"babylon": "^6.17.4", | ||
"chalk": "^2.1.0", | ||
"classnames": "^2.2.6", | ||
"color": "^2.0.1", | ||
"commander": "^2.18.0", | ||
"cross-spawn": "^6.0.5", | ||
"crowdin-cli": "^0.3.0", | ||
"cssnano": "^3.10.0", | ||
"deepmerge": "^2.1.1", | ||
"escape-string-regexp": "^1.0.5", | ||
"express": "^4.15.3", | ||
"feed": "^1.1.0", | ||
"fs-extra": "^5.0.0", | ||
"gaze": "^1.1.2", | ||
"glob": "^7.1.3", | ||
"highlight.js": "^9.12.0", | ||
"imagemin": "^5.3.1", | ||
"imagemin-gifsicle": "^5.2.0", | ||
"imagemin-jpegtran": "^5.0.2", | ||
"imagemin-optipng": "^5.2.1", | ||
"imagemin-svgo": "^6.0.0", | ||
"markdown-toc": "^1.2.0", | ||
"mkdirp": "^0.5.1", | ||
"portfinder": "^1.0.17", | ||
"postcss": "^7.0.1", | ||
"prismjs": "^1.15.0", | ||
"react": "^16.5.0", | ||
"react-dev-utils": "^5.0.2", | ||
"react-dom": "^16.5.0", | ||
"remarkable": "^1.7.1", | ||
"request": "^2.87.0", | ||
"shelljs": "^0.7.8", | ||
"sitemap": "^1.13.0", | ||
"tcp-port-used": "^0.1.2", | ||
"tiny-lr": "^1.1.1", | ||
"tree-node-cli": "^1.2.5", | ||
"truncate-html": "^1.0.1" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^8.2.5", | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb": "17.0.0", | ||
"eslint-config-prettier": "^2.9.0", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.3", | ||
"eslint-plugin-react": "^7.9.1", | ||
"filepath": "^1.1.0", | ||
"front-matter": "^2.3.0", | ||
"glob-promise": "^3.3.0", | ||
"husky": "^0.14.3", | ||
"jest": "^23.6.0", | ||
"lint-staged": "^7.2.0", | ||
"rimraf": "^2.6.2" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -13,6 +13,6 @@ | |
}, | ||
"dependencies": { | ||
"async": "^2.5.0", | ||
"docusaurus": "../../Docusaurus/" | ||
"docusaurus": "../" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.