-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #408 from browniebroke/workspace
Convert project to yarn workspaces
- Loading branch information
Showing
19 changed files
with
5,239 additions
and
12,863 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 was deleted.
Oops, something went wrong.
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,80 @@ | ||
{ | ||
"name": "@browniebroke/gatsby-image-gallery", | ||
"version": "0.0.0", | ||
"description": "Very basic gallery grid based on gatsby-image.", | ||
"author": "browniebroke", | ||
"license": "MIT", | ||
"repository": "browniebroke/gatsby-image-gallery", | ||
"main": "dist/index.js", | ||
"module": "dist/index.es.js", | ||
"jsnext:main": "dist/index.es.js", | ||
"engines": { | ||
"node": ">=10", | ||
"npm": ">=5" | ||
}, | ||
"scripts": { | ||
"test": "cross-env CI=1 react-scripts test --env=jsdom", | ||
"test:watch": "react-scripts test --env=jsdom", | ||
"build": "rollup -c", | ||
"start": "rollup -c -w", | ||
"prepare": "yarn run build" | ||
}, | ||
"peerDependencies": { | ||
"gatsby-image": ">= 2.0", | ||
"prop-types": "^15.5.4", | ||
"react": "^16.8", | ||
"react-dom": "^16.8", | ||
"styled-components": ">= 5.0" | ||
}, | ||
"dependencies": { | ||
"react-image-lightbox": "^5.1.1", | ||
"styled-components": "^5.0.0" | ||
}, | ||
"homepage": "https://github.com/browniebroke/gatsby-image-gallery#readme", | ||
"devDependencies": { | ||
"@babel/core": "7.9.0", | ||
"@babel/helper-call-delegate": "7.8.7", | ||
"@babel/plugin-proposal-class-properties": "7.8.3", | ||
"@babel/plugin-proposal-do-expressions": "7.8.3", | ||
"@babel/plugin-proposal-export-default-from": "7.8.3", | ||
"@babel/plugin-proposal-export-namespace-from": "7.8.3", | ||
"@babel/plugin-proposal-function-bind": "7.8.3", | ||
"@babel/plugin-proposal-function-sent": "7.8.3", | ||
"@babel/plugin-proposal-json-strings": "7.8.3", | ||
"@babel/plugin-proposal-logical-assignment-operators": "7.8.3", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.8.3", | ||
"@babel/plugin-proposal-numeric-separator": "7.8.3", | ||
"@babel/plugin-proposal-optional-chaining": "7.9.0", | ||
"@babel/plugin-proposal-throw-expressions": "7.8.3", | ||
"@babel/plugin-syntax-dynamic-import": "7.8.3", | ||
"@babel/plugin-syntax-import-meta": "7.8.3", | ||
"@babel/preset-env": "7.9.0", | ||
"@babel/preset-react": "7.9.4", | ||
"@svgr/rollup": "5.3.0", | ||
"cross-env": "7.0.2", | ||
"eslint": "6.8.0", | ||
"eslint-config-prettier": "6.10.1", | ||
"eslint-plugin-import": "2.20.2", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-prettier": "3.1.2", | ||
"eslint-plugin-promise": "4.2.1", | ||
"eslint-plugin-react": "7.19.0", | ||
"eslint-plugin-react-hooks": "3.0.0", | ||
"gatsby-image": "2.3.1", | ||
"prettier": "2.0.2", | ||
"react": "16.13.1", | ||
"react-dom": "16.13.1", | ||
"react-scripts": "3.4.1", | ||
"react-test-renderer": "16.13.1", | ||
"rollup": "2.3.1", | ||
"rollup-plugin-babel": "4.4.0", | ||
"rollup-plugin-commonjs": "10.1.0", | ||
"rollup-plugin-node-resolve": "5.2.0", | ||
"rollup-plugin-peer-deps-external": "2.2.2", | ||
"rollup-plugin-postcss": "2.5.0", | ||
"rollup-plugin-url": "3.0.1" | ||
}, | ||
"files": [ | ||
"dist" | ||
] | ||
} |
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[build] | ||
base = "example/" | ||
publish = "public" | ||
command = "yarn build" | ||
publish = "example/public" | ||
command = "yarn workspace example build" | ||
environment = { GATSBY_CPU_COUNT = "1" } |
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,82 +1,12 @@ | ||
{ | ||
"name": "@browniebroke/gatsby-image-gallery", | ||
"version": "0.0.0", | ||
"description": "Very basic gallery grid based on gatsby-image.", | ||
"author": "browniebroke", | ||
"license": "MIT", | ||
"repository": "browniebroke/gatsby-image-gallery", | ||
"main": "dist/index.js", | ||
"module": "dist/index.es.js", | ||
"jsnext:main": "dist/index.es.js", | ||
"engines": { | ||
"node": ">=10", | ||
"npm": ">=5" | ||
}, | ||
"private": true, | ||
"workspaces": [ | ||
"gatsby-image-gallery", | ||
"example" | ||
], | ||
"scripts": { | ||
"format": "prettier --write \"**/*.+(js|json|md)\"", | ||
"test": "cross-env CI=1 react-scripts test --env=jsdom", | ||
"test:watch": "react-scripts test --env=jsdom", | ||
"lint": "eslint --ext .js ./src", | ||
"build": "rollup -c", | ||
"start": "rollup -c -w", | ||
"prepare": "yarn run build" | ||
}, | ||
"peerDependencies": { | ||
"gatsby-image": ">= 2.0", | ||
"prop-types": "^15.5.4", | ||
"react": "^16.8", | ||
"react-dom": "^16.8", | ||
"styled-components": ">= 5.0" | ||
}, | ||
"dependencies": { | ||
"react-image-lightbox": "^5.1.1", | ||
"styled-components": "^5.0.0" | ||
}, | ||
"homepage": "https://github.com/browniebroke/gatsby-image-gallery#readme", | ||
"devDependencies": { | ||
"@babel/core": "7.9.0", | ||
"@babel/helper-call-delegate": "7.8.7", | ||
"@babel/plugin-proposal-class-properties": "7.8.3", | ||
"@babel/plugin-proposal-do-expressions": "7.8.3", | ||
"@babel/plugin-proposal-export-default-from": "7.8.3", | ||
"@babel/plugin-proposal-export-namespace-from": "7.8.3", | ||
"@babel/plugin-proposal-function-bind": "7.8.3", | ||
"@babel/plugin-proposal-function-sent": "7.8.3", | ||
"@babel/plugin-proposal-json-strings": "7.8.3", | ||
"@babel/plugin-proposal-logical-assignment-operators": "7.8.3", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "7.8.3", | ||
"@babel/plugin-proposal-numeric-separator": "7.8.3", | ||
"@babel/plugin-proposal-optional-chaining": "7.9.0", | ||
"@babel/plugin-proposal-throw-expressions": "7.8.3", | ||
"@babel/plugin-syntax-dynamic-import": "7.8.3", | ||
"@babel/plugin-syntax-import-meta": "7.8.3", | ||
"@babel/preset-env": "7.9.0", | ||
"@babel/preset-react": "7.9.4", | ||
"@svgr/rollup": "5.3.0", | ||
"cross-env": "7.0.2", | ||
"eslint": "6.8.0", | ||
"eslint-config-prettier": "6.10.1", | ||
"eslint-plugin-import": "2.20.2", | ||
"eslint-plugin-node": "11.1.0", | ||
"eslint-plugin-prettier": "3.1.2", | ||
"eslint-plugin-promise": "4.2.1", | ||
"eslint-plugin-react": "7.19.0", | ||
"eslint-plugin-react-hooks": "3.0.0", | ||
"gatsby-image": "2.3.1", | ||
"prettier": "2.0.2", | ||
"react": "16.13.1", | ||
"react-dom": "16.13.1", | ||
"react-scripts": "3.4.1", | ||
"react-test-renderer": "16.13.1", | ||
"rollup": "2.3.1", | ||
"rollup-plugin-babel": "4.4.0", | ||
"rollup-plugin-commonjs": "10.1.0", | ||
"rollup-plugin-node-resolve": "5.2.0", | ||
"rollup-plugin-peer-deps-external": "2.2.2", | ||
"rollup-plugin-postcss": "2.5.0", | ||
"rollup-plugin-url": "3.0.1" | ||
}, | ||
"files": [ | ||
"dist" | ||
] | ||
"lint:eslint": "eslint --ext .js .", | ||
"lint:prettier": "prettier --check \"**/*.+(js|json|md)\"" | ||
} | ||
} |
Oops, something went wrong.