-
Notifications
You must be signed in to change notification settings - Fork 489
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
38,749 additions
and
26,444 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
|
||
/** @type {import('aegir').PartialOptions} */ | ||
export default { | ||
dependencyCheck: { | ||
ignore: [ | ||
// actual production deps not getting recognized | ||
'@tableflip/react-dropdown', | ||
'brace', | ||
'chart.js', | ||
'classnames', | ||
'details-polyfill', | ||
'internal-nav-helper', | ||
'is-ipfs', | ||
'istextorbinary', | ||
'react-ace', | ||
'react-chartjs-2', | ||
'react-copy-to-clipboard', | ||
'react-country-flag', | ||
'react-debounce-render', | ||
'react-dnd', | ||
'react-hook-form', | ||
'react-identicons', | ||
'react-joyride', | ||
'react-overlays', | ||
'uint8arrays', | ||
|
||
// type-only deps | ||
'ipfs', | ||
|
||
// webpack deps | ||
'crypto-browserify', | ||
'os-browserify', | ||
'path-browserify', | ||
'stream-browserify', | ||
'fake-indexeddb', | ||
|
||
// test deps | ||
'enzyme', | ||
'enzyme-adapter-react-16', | ||
'jest', | ||
'jest-environment-jsdom', // in npm script via --env=jsdom | ||
|
||
// storybook deps | ||
'@storybook/addons', // for types | ||
'@storybook/addon-a11y', | ||
'@storybook/addon-actions', | ||
'@storybook/addon-controls', | ||
'@storybook/addon-coverage', | ||
'@storybook/addon-essentials', | ||
'@storybook/addon-links', | ||
'@storybook/builder-webpack5', // storybookConfig.core.builder | ||
'@storybook/core-common', // types | ||
'@storybook/manager-webpack5', // implicit storybook dep | ||
'@storybook/preset-create-react-app', | ||
|
||
// npm scripts | ||
'wait-on', | ||
|
||
// github CI | ||
'nyc', | ||
'semantic-release' | ||
], | ||
|
||
developmentIgnorePatterns: [ | ||
'src/**/*.js', | ||
'!.aegir.js', | ||
'!.eslintrc.cjs', | ||
'!config-overrides.js', | ||
'!custom-release-notes-generator.cjs', | ||
'!postcss.config.js', | ||
'!**/*.test.js', | ||
'!**/*.stories.js', | ||
'!test/**', | ||
'!src/setupTests.js' | ||
], | ||
|
||
productionIgnorePatterns: [ | ||
'.aegir.js', | ||
'.eslintrc.cjs', | ||
'config-overrides.js', | ||
'custom-release-notes-generator.cjs', | ||
'postcss.config.js', | ||
'**/*.test.js', | ||
'**/*.stories.js', | ||
'test/**', | ||
'src/setupTests.js' | ||
] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
depcheck: | ||
name: dep-check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3.6.0 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.14.0 | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: npm ci --prefer-offline --no-audit --progress=false | ||
|
||
- name: Dependency check | ||
run: npm run dep-check |
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 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.
Oops, something went wrong.