Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Commit bf4aa3f

Browse files
committed
add packages up to emotionjs
1 parent 9f074d3 commit bf4aa3f

File tree

121 files changed

+7585
-110465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+7585
-110465
lines changed

next.publicRuntimeConfig.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.eslintrc.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ module.exports = {
3232
'react/jsx-first-prop-new-line': 0,
3333
'@typescript-eslint/no-explicit-any': 'off',
3434
'@typescript-eslint/explicit-function-return-type': 0,
35-
'@typescript-eslint/no-object-literal-type-assertion': ['error', { 'allowAsParameter': true }],
3635
'@typescript-eslint/no-namespace': 'off',
3736
'jsx-a11y/anchor-is-valid': [ 'error', {
3837
'components': [ 'Link' ],
3938
'specialLink': [ 'hrefLeft', 'hrefRight' ],
4039
'aspects': [ 'invalidHref', 'preferButton' ]
4140
}],
4241
'react/prop-types': 'off',
42+
'import/extensions': [1, { 'extensions': ['.js', '.jsx', '.ts', '.tsx'] }],
4343
'import/no-extraneous-dependencies': [
4444
'error',
4545
{
@@ -66,13 +66,13 @@ module.exports = {
6666
plugins: [
6767
'emotion',
6868
'@typescript-eslint/eslint-plugin',
69-
'react-hooks'
69+
'react-hooks',
7070
],
7171
settings: {
7272
'import/resolver': {
7373
node: {
74-
extensions: ['.js', '.jsx', '.ts', '.tsx']
75-
}
74+
extensions: ['.js', '.jsx', '.ts', '.tsx'],
75+
},
7676
},
7777
react: {
7878
version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v12.6.0
1+
v13.12.0

babel.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@ module.exports = {
99
],
1010
'@emotion/babel-preset-css-prop',
1111
],
12+
plugins: [
13+
'@babel/plugin-proposal-optional-chaining',
14+
'@babel/plugin-proposal-nullish-coalescing-operator',
15+
],
1216
};

configs/publicRuntimeConfig.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
const { name, keywords } = require('../package.json');
2+
3+
const staticOptimization = true;
4+
const displayName = 'Nextjs_Ts_Eslint';
5+
const themeColor = 'red';
6+
const png192Path = '/static/icons/icon192x192.png';
7+
const png512Path = '/static/icons/icon512x512.png';
8+
const favIconPath = '/static/icons/favicon.ico';
9+
10+
const isProd = process.env.NODE_ENV === 'production';
11+
const prodAssetPrefix = '/' + name;
12+
const serviceWorkerFilename = 'service-worker.js';
13+
const commonKeywords = keywords.join(',');
14+
const manifestPath = '/static/manifest.json';
15+
16+
module.exports = {
17+
linkPrefix: isProd ? prodAssetPrefix : '',
18+
isProd,
19+
prodAssetPrefix,
20+
serviceWorkerFilename,
21+
displayName,
22+
themeColor,
23+
commonKeywords,
24+
staticOptimization,
25+
png192Path,
26+
png512Path,
27+
favIconPath,
28+
manifestPath,
29+
};

docs/.nojekyll

Whitespace-only changes.

docs/404.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/_next/static/9UxCeMUQOAYF_MBnEjTlF/pages/_app.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/_next/static/9UxCeMUQOAYF_MBnEjTlF/pages/_error.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/_next/static/9UxCeMUQOAYF_MBnEjTlF/pages/about.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/_next/static/9UxCeMUQOAYF_MBnEjTlF/pages/amp-install-serviceworker-script.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/_next/static/9UxCeMUQOAYF_MBnEjTlF/pages/count.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/_next/static/9UxCeMUQOAYF_MBnEjTlF/pages/stats.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)