Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move to lerna * Examples are now packages * Lerna import react-static-plugin-emotion * prepend example packages with react-static * Lerna import react-static-plugin-styled-components * Lerna import react-static-plugin-sass * Lerna import react-static-plugin-preact * Fix: example-contentful package.json version * Update all example dependencies * Move babelrc to react-static core * Move docs to root * Move repo files back to root * Fix documentation scripts
- Loading branch information
1 parent
f8c0b63
commit b263c17
Showing
722 changed files
with
46,446 additions
and
3,639 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"version": "independent", | ||
"npmClient": "yarn", | ||
"registry": "https://registry.npmjs.org/", | ||
"useWorkspaces": true | ||
} |
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,154 +1,24 @@ | ||
{ | ||
"name": "react-static", | ||
"description": "A progressive static site generator for React", | ||
"version": "6.0.0-beta.25", | ||
"license": "MIT", | ||
"repository": "https://github.com/nozzle/react-static", | ||
"main": "lib/index.js", | ||
"types": "src/index.d.ts", | ||
"engines": { | ||
"node": ">=8.9.0" | ||
}, | ||
"bin": { | ||
"react-static": "./bin/react-static" | ||
}, | ||
"private": true, | ||
"scripts": { | ||
"build": "rimraf lib && rimraf node_modules/react-static && babel src --out-dir lib --ignore '**/__tests__/*' --source-maps inline && yarn prepGitignore", | ||
"start": "rimraf lib && rimraf node_modules/react-static && babel -w src --out-dir lib --ignore '**/__tests__/*' --source-maps inline ", | ||
"release": "yarn publish", | ||
"releaseNext": "yarn publish --tag next", | ||
"preversion": "yarn build && yarn test", | ||
"postversion": "git push && git push --tags", | ||
"prepGitignore": "node scripts/prepGitignore.js", | ||
"startDocs": "cd www && yarn start", | ||
"publishNext": "lerna publish --npm-tag next", | ||
"build": "lerna run 'build' --ignore react-static-example-*", | ||
"watch": "lerna run 'watch' --ignore react-static-example-* --parallel", | ||
"startDocs": "cd www && yarn && yarn start", | ||
"buildDocs": "cd www && yarn && yarn build", | ||
"buildDocsProd": "yarn build && yarn link && cd www && yarn && yarn link react-static && yarn build", | ||
"prettier": "prettier --config .prettierrc.js {examples/*/src,node,scripts,src,www/src}/**/*.js --write", | ||
"serveDocs": "serve www/dist -p 3000", | ||
"test": "yarn build && yarn lint && yarn unitTest", | ||
"lint": "eslint src test && yarn prettier", | ||
"unitTest": "NODE_ENV=test yarn jest src", | ||
"unitTestWatch": "NODE_ENV=test yarn jest src --watch", | ||
"test": "lerna run test", | ||
"test-sample-build": "yarn link && cd examples/basic && yarn && yarn link react-static && yarn build" | ||
}, | ||
"dependencies": { | ||
"@babel/cli": "^7.0.0", | ||
"@babel/core": "^7.0.0", | ||
"@babel/plugin-proposal-class-properties": "^7.0.0", | ||
"@babel/plugin-proposal-export-default-from": "^7.0.0", | ||
"@babel/plugin-proposal-optional-chaining": "^7.0.0", | ||
"@babel/plugin-syntax-dynamic-import": "^7.0.0", | ||
"@babel/plugin-transform-destructuring": "^7.0.0", | ||
"@babel/plugin-transform-runtime": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/preset-stage-0": "^7.0.0", | ||
"@babel/register": "^7.0.0", | ||
"@babel/runtime": "^7.0.0", | ||
"@types/react": "^16.4.11", | ||
"@types/react-helmet": "^5.0.7", | ||
"@types/react-router-dom": "^4.3.0", | ||
"autoprefixer": "^9.1.1", | ||
"axios": "^0.18.0", | ||
"babel-loader": "^8.0.0", | ||
"babel-plugin-macros": "^2.4.0", | ||
"babel-plugin-transform-react-remove-prop-types": "^0.4.15", | ||
"babel-plugin-universal-import": "^3.0.2", | ||
"case-sensitive-paths-webpack-plugin": "^2.1.2", | ||
"chalk": "^2.4.1", | ||
"chokidar": "^2.0.4", | ||
"circular-dependency-plugin": "^5.0.2", | ||
"commander": "^2.17.1", | ||
"cors": "^2.8.4", | ||
"css-loader": "^1.0.0", | ||
"download-git-repo": "^1.1.0", | ||
"eslint-config-react-tools": "^1.0.0", | ||
"extract-css-chunks-webpack-plugin": "^3.1.2-beta.2", | ||
"file-loader": "2.0.0", | ||
"fs-extra": "^7.0.0", | ||
"git-promise": "^0.3.1", | ||
"glob": "^7.1.2", | ||
"history": "^4.7.2", | ||
"html-webpack-plugin": "^3.2.0", | ||
"inquirer": "^6.1.0", | ||
"inquirer-autocomplete-prompt": "^1.0.1", | ||
"match-sorter": "^2.2.3", | ||
"openport": "^0.0.5", | ||
"optimize-css-assets-webpack-plugin": "^5.0.0", | ||
"postcss-flexbugs-fixes": "^4.1.0", | ||
"postcss-loader": "^3.0.0", | ||
"preact": "^8.3.1", | ||
"preact-compat": "^3.18.3", | ||
"pretty-error": "^2.1.1", | ||
"progress": "^2.0.0", | ||
"prop-types": "^15.6.1", | ||
"raf": "^3.4.0", | ||
"raw-loader": "^0.5.1", | ||
"react": "^16.5.2", | ||
"react-dev-utils": "^5.0.2", | ||
"react-dom": "^16.5.2", | ||
"react-helmet": "^5.2.0", | ||
"react-hot-loader": "^4.3.4", | ||
"react-router": "^4.3.1", | ||
"react-router-dom": "^4.3.1", | ||
"react-universal-component": "^3.0.2", | ||
"resolve-from": "^4.0.0", | ||
"serve": "^10.0.0", | ||
"shorthash": "^0.0.2", | ||
"slash": "^2.0.0", | ||
"socket.io": "^2.1.1", | ||
"socket.io-client": "^2.1.1", | ||
"style-loader": "0.23.0", | ||
"swimmer": "^1.4.0", | ||
"thread-loader": "^1.2.0", | ||
"uglifyjs-webpack-plugin": "^1.3.0", | ||
"upath": "^1.1.0", | ||
"update-notifier": "^2.5.0", | ||
"url-loader": "^1.1.1", | ||
"webpack": "^4.18.0", | ||
"webpack-bundle-analyzer": "^2.13.1", | ||
"webpack-dev-server": "^3.1.5", | ||
"webpack-flush-chunks": "^2.0.1", | ||
"webpack-node-externals": "^1.7.2" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^7.0.0-0", | ||
"babel-jest": "^23.6.0", | ||
"enzyme": "^3.4.3", | ||
"enzyme-adapter-react-16": "^1.2.0", | ||
"enzyme-to-json": "^3.3.4", | ||
"eslint": "^5.4.0", | ||
"eslint-config-prettier": "^3.0.1", | ||
"eslint-plugin-babel": "^5.1.0", | ||
"eslint-plugin-import": "^2.13.0", | ||
"eslint-plugin-jsx-a11y": "^6.1.1", | ||
"eslint-plugin-react": "^7.10.0", | ||
"husky": "^1.0.0-rc.13", | ||
"jest": "^23.6.0", | ||
"prettier": "1.14.2", | ||
"rimraf": "^2.6.2" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "yarn prettier && git add" | ||
} | ||
}, | ||
"jest": { | ||
"verbose": true, | ||
"moduleDirectories": [ | ||
"node_modules", | ||
"src" | ||
], | ||
"testRegex": "(/__tests__/.*\\.(test))\\.jsx?$", | ||
"moduleNameMapper": { | ||
"static.config.js": "<rootDir>/src/static/__mocks__/static.config.mock.js", | ||
"./path/to/static.config.js": "<rootDir>/src/static/__mocks__/static.config.mock.js" | ||
}, | ||
"setupFiles": [ | ||
"<rootDir>/setupTests.js" | ||
], | ||
"snapshotSerializers": [ | ||
"enzyme-to-json/serializer" | ||
] | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"devDependencies": { | ||
"lerna": "^3.4.1" | ||
} | ||
} |
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,21 @@ | ||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/dist | ||
/tmp | ||
/tmp | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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.
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.
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.
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.
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.
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.
Oops, something went wrong.