Skip to content

Commit 75eda19

Browse files
committed
Revert "remove unused react-scripts (#928)"
This reverts commit 35ee057.
1 parent 912b82f commit 75eda19

File tree

78 files changed

+24585
-27864
lines changed

Some content is hidden

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

78 files changed

+24585
-27864
lines changed

.babelrc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
"plugins": [
77
"@babel/plugin-transform-runtime",
88
"@babel/plugin-proposal-object-rest-spread",
9-
["@babel/plugin-proposal-private-property-in-object", { "loose": true }],
10-
["@babel/plugin-proposal-private-methods", { "loose": true }],
119
["module-resolver", {
1210
"alias": {
1311
"src": "./src",
@@ -20,9 +18,6 @@
2018
"plugins": [
2119
[
2220
"@babel/plugin-proposal-class-properties",
23-
{
24-
"loose": true
25-
}
2621
],
2722
[
2823
"transform-react-remove-prop-types",
@@ -36,9 +31,6 @@
3631
"plugins": [
3732
[
3833
"@babel/plugin-proposal-class-properties",
39-
{
40-
"loose": true
41-
}
4234
]
4335
]
4436
}

.github/workflows/chromatic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
- uses: actions/checkout@v2
2020
with:
2121
fetch-depth: 0 # 👈 Required to retrieve git history
22-
- uses: actions/setup-node@v3
22+
- uses: actions/setup-node@v1
2323
with:
24-
node-version-file: '.node-version'
24+
node-version: '14.17.4'
2525
- run: npm config set "@fortawesome:registry" https://npm.fontawesome.com/ &&
2626
npm config set "//npm.fontawesome.com/:_authToken" $FONTAWESOME_NPM_AUTH_TOKEN
2727
- run: yarn

.github/workflows/create-new-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
1111
steps:
1212
- uses: actions/checkout@v2
13-
- uses: actions/setup-node@v3
13+
- uses: actions/setup-node@v1
1414
with:
15-
node-version-file: '.node-version'
15+
node-version: '14.17.4'
1616
- run: npm config set "@fortawesome:registry" https://npm.fontawesome.com/ &&
1717
npm config set "//npm.fontawesome.com/:_authToken" $FONTAWESOME_NPM_AUTH_TOKEN
1818
- run: yarn install

.github/workflows/gh-pages-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
- name: Checkout branch
1414
uses: actions/checkout@v2
1515
- name: Setup node
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v1
1717
with:
18-
node-version-file: '.node-version'
18+
node-version: '14.17.4'
1919

2020
- name: Configure npm
2121
run: npm config set "@fortawesome:registry" https://npm.fontawesome.com/ &&

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
1010
steps:
1111
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v3
12+
- uses: actions/setup-node@v1
1313
with:
14-
node-version-file: '.node-version'
14+
node-version: '14.17.4'
1515
- run: npm config set "@fortawesome:registry" https://npm.fontawesome.com/ &&
1616
npm config set "//npm.fontawesome.com/:_authToken" $FONTAWESOME_NPM_AUTH_TOKEN
1717
- run: yarn

.github/workflows/prepare-hotfix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
- uses: actions/checkout@v2
1616
with:
1717
fetch-depth: 0
18-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v1
1919
with:
20-
node-version-file: '.node-version'
20+
node-version: '14.17.4'
2121

2222
- name: Create hotfix branch
2323
run: git checkout -b hotfix/${{ github.event.inputs.version }}

.github/workflows/prepare-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
- uses: actions/checkout@v2
1616
with:
1717
fetch-depth: 0
18-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v1
1919
with:
20-
node-version-file: '.node-version'
20+
node-version: '14.17.4'
2121

2222
- name: Create release branch
2323
run: git checkout -b release/${{ github.event.inputs.version }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
1010
steps:
1111
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v3
12+
- uses: actions/setup-node@v1
1313
with:
14-
node-version-file: '.node-version'
14+
node-version: '14.17.4'
1515
- run: npm config set "@fortawesome:registry" https://npm.fontawesome.com/ &&
1616
npm config set "//npm.fontawesome.com/:_authToken" $FONTAWESOME_NPM_AUTH_TOKEN
1717
- run: yarn

.node-version

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

.storybook/main.js

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,20 @@
1-
const config = {
1+
module.exports = {
22
addons: [
33
{
44
name: '@storybook/addon-docs',
5-
options: {
6-
jsxOptions: {
7-
babelrc: true,
8-
configFile: true
9-
}
10-
}
5+
options: { mdxBabelOptions: { babelrc: true, configFile: true } },
116
},
127
'@storybook/addon-a11y',
13-
'@storybook/addon-actions',
14-
'@storybook/addon-controls',
15-
'@storybook/addon-links',
16-
'@storybook/addon-knobs',
17-
'@storybook/addon-storysource',
18-
'@storybook/addon-mdx-gfm'
8+
'@storybook/addon-actions/register',
9+
'@storybook/addon-knobs/register',
10+
'@storybook/addon-links/register',
11+
'@storybook/addon-storysource/register'
1912
],
20-
docs: {
21-
autodocs: true,
22-
defaultName: 'Docs',
23-
},
2413
stories: [
2514
'../stories/Intro.stories.mdx',
2615
'../src/**/*.stories.@(js|mdx)',
2716
'../src/**/*.stories.js[x]',
2817
'../stories/**/*.stories.mdx',
2918
'../stories/**/*.stories.js[x]'
30-
],
31-
features: {
32-
storyStoreV7: false,
33-
},
34-
framework: {
35-
name: '@storybook/react-webpack5',
36-
options: { fastRefresh: true },
37-
},
19+
]
3820
};
39-
40-
export default config;

0 commit comments

Comments
 (0)