Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mazipan committed Jul 28, 2022
1 parent e7d1908 commit 8d3bc22
Show file tree
Hide file tree
Showing 5 changed files with 1,215 additions and 126 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# http://editorconfig.org
root = true

[*.{ts,tsx,js,jsx,mjs}]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120

[*.json]
indent_size = 2
insert_final_newline = ignore

[*.md]
trim_trailing_whitespace = false
49 changes: 49 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
module.exports = {
root: true,
extends: [
'plugin:prettier/recommended',
'prettier',
'plugin:@typescript-eslint/recommended',
'plugin:import/recommended',
'plugin:import/typescript'
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true
},
ecmaVersion: 12,
sourceType: 'module'
},
plugins: ['prettier', '@typescript-eslint', 'import'],
rules: {
'@typescript-eslint/no-var-requires': 'off',
'import/extensions': [
'warn',
'never',
{
css: 'ignorePackages',
json: 'ignorePackages',
md: 'ignorePackages'
}
],
'import/default': 2,
'import/export': 2,
'import/namespace': 2,
'import/named': 2,
'import/newline-after-import': 2,
'import/no-unresolved': [2, { commonjs: true, amd: true }],
'import/no-extraneous-dependencies': 2,
'import/no-anonymous-default-export': 0,
'import/order': 'error',
'react/no-unescaped-entities': 'off',
'react/no-children-prop': 'off'
},
settings: {
'import/resolver': {
typescript: {
project: './tsconfig.json'
}
}
}
}
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"tabWidth": 2,
"printWidth": 120,
"semi": true,
"singleQuote": true
}
62 changes: 38 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,33 @@
{
"name": "mantine-data-grid",
"version": "0.0.9",
"license": "MIT",
"type": "module",
"homepage": "https://kuechlin.github.io/mantine-data-grid/",
"repository": {
"url": "https://github.com/Kuechlin/mantine-data-grid.git",
"type": "git"
"type": "git",
"url": "https://github.com/Kuechlin/mantine-data-grid.git"
},
"license": "MIT",
"author": "Yannick Küchlin <y.kuechlin@vws.app>",
"homepage": "https://kuechlin.github.io/mantine-data-grid/",
"files": [
"dist",
"README.md"
],
"types": "./dist/index.d.ts",
"main": "./dist/mantine-data-grid.umd.cjs",
"module": "./dist/mantine-data-grid.js",
"type": "module",
"exports": {
".": {
"import": "./dist/mantine-data-grid.js",
"require": "./dist/mantine-data-grid.umd.cjs"
}
},
"main": "./dist/mantine-data-grid.umd.cjs",
"module": "./dist/mantine-data-grid.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"dev": "vite -c vite.config.docs.ts --port 3000",
"build": "vite build && tsc --emitDeclarationOnly",
"build:docs": "vite build -c vite.config.docs.ts"
},
"peerDependencies": {
"@mantine/core": "^4.2.5",
"@mantine/dates": "^4.2.11",
"@mantine/hooks": "^4.2.5",
"dayjs": "^1.11.3",
"react": "^18.0.0",
"react-dom": "^18.0.0"
"build:docs": "vite build -c vite.config.docs.ts",
"dev": "vite -c vite.config.docs.ts --port 3000",
"format": "prettier \"**/*.+(js|ts|tsx|css|scss|json|md|html)\" --write",
"lint": "eslint ."
},
"dependencies": {
"@emotion/react": "^11.9.3",
Expand All @@ -44,7 +38,6 @@
"dayjs": "^1.11.4",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"remove": "^0.1.5",
"tabler-icons-react": "^1.54.0"
},
"devDependencies": {
Expand All @@ -54,12 +47,33 @@
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.3.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.7.1",
"react-markdown": "^8.0.3",
"react-router-dom": "^6.3.0",
"remark-gfm": "^3.0.1",
"rollup": "^2.77.1",
"rollup-plugin-visualizer": "^5.7.1",
"typescript": "^4.6.3",
"vite": "^3.0.3"
},
"peerDependencies": {
"@mantine/core": "^4.2.5",
"@mantine/dates": "^4.2.11",
"@mantine/hooks": "^4.2.5",
"dayjs": "^1.11.3",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"peerDependenciesMeta": {
"dayjs": {
"optional": true
}
}
}
}
Loading

0 comments on commit 8d3bc22

Please sign in to comment.