Skip to content

Commit

Permalink
fix: add json files
Browse files Browse the repository at this point in the history
  • Loading branch information
nimec01 committed Sep 22, 2024
1 parent 8a4c34c commit f3efcbf
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 24 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rollup": "^3.29.5",
"rollup-plugin-copy": "^3.5.0",
"semantic-release": "^24.1.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.6.0"
Expand Down
84 changes: 84 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import copy from 'rollup-plugin-copy';

/** @type {import("rollup").RollupOptions} */
export default {
input: './src/index.js',
Expand Down Expand Up @@ -27,4 +29,9 @@ export default {
'eslint-plugin-jsx-a11y',
'eslint-plugin-react-refresh',
],
plugins: [
copy({
targets: [{ src: 'src/*.json', dest: 'dist' }],
}),
],
};
25 changes: 1 addition & 24 deletions src/airbnb-base-rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,30 +75,7 @@
"import-x/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"test/**",
"tests/**",
"spec/**",
"**/__tests__/**",
"**/__mocks__/**",
"test.{js,jsx}",
"test-*.{js,jsx}",
"**/*{.,_}{test,spec}.{js,jsx}",
"**/jest.config.js",
"**/jest.setup.js",
"**/vue.config.js",
"**/webpack.config.js",
"**/webpack.config.*.js",
"**/rollup.config.js",
"**/rollup.config.*.js",
"**/gulpfile.js",
"**/gulpfile.*.js",
"**/Gruntfile{,.js}",
"**/protractor.conf.js",
"**/protractor.conf.*.js",
"**/karma.conf.js",
"**/.eslintrc.js"
],
"devDependencies": true,
"optionalDependencies": false
}
],
Expand Down

0 comments on commit f3efcbf

Please sign in to comment.