@t2ca/gatsby-theme-showcase 1.3.2 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +47 -0
- package/gatsby-config.js +0 -1
- package/package.json +22 -6
- package/src/gatsby-plugin-theme-ui/styles.js +4 -2
package/.eslintrc
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": [
|
|
3
|
+
"eslint:recommended",
|
|
4
|
+
"plugin:import/errors",
|
|
5
|
+
"plugin:react/recommended",
|
|
6
|
+
"plugin:jsx-a11y/recommended",
|
|
7
|
+
"prettier"
|
|
8
|
+
],
|
|
9
|
+
"plugins": ["react", "react-hooks", "import", "jsx-a11y", "@emotion"],
|
|
10
|
+
"parser": "@babel/eslint-parser",
|
|
11
|
+
"settings": {
|
|
12
|
+
"react": {
|
|
13
|
+
"version": "detect" // detect react version
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"parserOptions": {
|
|
17
|
+
"ecmaVersion": 2018,
|
|
18
|
+
"sourceType": "module",
|
|
19
|
+
"ecmaFeatures": {
|
|
20
|
+
"jsx": true
|
|
21
|
+
},
|
|
22
|
+
"babelOptions": {
|
|
23
|
+
"presets": ["@babel/preset-react"]
|
|
24
|
+
},
|
|
25
|
+
"requireConfigFile": false
|
|
26
|
+
},
|
|
27
|
+
"env": {
|
|
28
|
+
"es6": true,
|
|
29
|
+
"browser": true,
|
|
30
|
+
"node": true,
|
|
31
|
+
"jest": true
|
|
32
|
+
},
|
|
33
|
+
"rules": {
|
|
34
|
+
"react-hooks/rules-of-hooks": "error",
|
|
35
|
+
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
|
|
36
|
+
"jsx-a11y/anchor-is-valid": [
|
|
37
|
+
"error",
|
|
38
|
+
{ "components": ["Link"], "specialLink": ["to"] }
|
|
39
|
+
],
|
|
40
|
+
"no-console": "off",
|
|
41
|
+
"react/prop-types": [0],
|
|
42
|
+
"react/display-name": [0],
|
|
43
|
+
},
|
|
44
|
+
"globals": {
|
|
45
|
+
"graphql": true
|
|
46
|
+
}
|
|
47
|
+
}
|
package/gatsby-config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t2ca/gatsby-theme-showcase",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -9,19 +9,18 @@
|
|
|
9
9
|
"react-dom": "^17.0.1"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@theme-ui/preset-tailwind": "^0.
|
|
13
|
-
"@theme-ui/sidenav": "^0.
|
|
12
|
+
"@theme-ui/preset-tailwind": "^0.13.1",
|
|
13
|
+
"@theme-ui/sidenav": "^0.13.1",
|
|
14
14
|
"gatsby": "^4.0.2",
|
|
15
|
-
"gatsby-plugin-image": "^2.0.0",
|
|
16
15
|
"gatsby-plugin-react-helmet": "^5.0.0",
|
|
17
16
|
"gatsby-plugin-sharp": "^4.0.0",
|
|
18
|
-
"gatsby-plugin-theme-ui": "^0.
|
|
17
|
+
"gatsby-plugin-theme-ui": "^0.13.1",
|
|
19
18
|
"gatsby-source-filesystem": "^4.0.0",
|
|
20
19
|
"gatsby-transformer-sharp": "^4.0.0",
|
|
21
20
|
"gatsby-transformer-yaml": "^4.0.0",
|
|
22
21
|
"react-helmet": "^6.0.0",
|
|
23
22
|
"react-icons": "^4.1.0",
|
|
24
|
-
"theme-ui": "^0.
|
|
23
|
+
"theme-ui": "^0.13.1"
|
|
25
24
|
},
|
|
26
25
|
"scripts": {
|
|
27
26
|
"build": "gatsby build",
|
|
@@ -32,6 +31,23 @@
|
|
|
32
31
|
"serve": "gatsby serve",
|
|
33
32
|
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
|
|
34
33
|
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@babel/core": "^7.15.8",
|
|
36
|
+
"@babel/eslint-parser": "^7.15.8",
|
|
37
|
+
"@babel/preset-react": "^7.14.5",
|
|
38
|
+
"@emotion/eslint-plugin": "^11.0.0",
|
|
39
|
+
"eslint": "^8.0.1",
|
|
40
|
+
"eslint-config-prettier": "^8.1.0",
|
|
41
|
+
"eslint-plugin-graphql": "^4.0.0",
|
|
42
|
+
"eslint-plugin-import": "^2.16.0",
|
|
43
|
+
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
44
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
45
|
+
"eslint-plugin-react": "^7.12.4",
|
|
46
|
+
"eslint-plugin-react-hooks": "^4.0.0",
|
|
47
|
+
"eslint-webpack-plugin": "^3.1.0",
|
|
48
|
+
"gatsby-plugin-eslint": "^4.0.1",
|
|
49
|
+
"prettier": "^2.0.1"
|
|
50
|
+
},
|
|
35
51
|
"repository": {
|
|
36
52
|
"type": "git",
|
|
37
53
|
"url": "git+https://github.com/t2ca/gatsby-theme-showcase.git"
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
root: {
|
|
3
3
|
fontSize: `16px`,
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
MozOsxFontSmoothing: "grayscale",
|
|
5
|
+
WebkitFontSmoothing: "antialiased",
|
|
6
|
+
MozFontSmoothing: "antialiased",
|
|
7
|
+
textRendering: "optimizelegibility",
|
|
6
8
|
},
|
|
7
9
|
Container: {
|
|
8
10
|
py: 3,
|