Skip to content

Commit 4a1a675

Browse files
authored
Merge pull request #80 from mckervinc/feature/dependencies
Update Dependencies
2 parents cde90c1 + 9658443 commit 4a1a675

Some content is hidden

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

53 files changed

+7777
-24225
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"@babel/preset-react",
77
"@babel/preset-typescript"
88
],
9-
"plugins": ["@babel/plugin-proposal-class-properties"]
9+
"plugins": ["@babel/plugin-transform-class-properties"]
1010
}

example/.eslintrc.cjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
root: true,
3+
env: { browser: true, es2020: true },
4+
extends: [
5+
'eslint:recommended',
6+
'plugin:@typescript-eslint/recommended',
7+
'plugin:react-hooks/recommended',
8+
],
9+
ignorePatterns: ['dist', '.eslintrc.cjs'],
10+
parser: '@typescript-eslint/parser',
11+
plugins: ['react-refresh'],
12+
rules: {
13+
'react-refresh/only-export-components': [
14+
'warn',
15+
{ allowConstantExport: true },
16+
],
17+
},
18+
}

example/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

example/README.md

Lines changed: 17 additions & 2016 deletions
Large diffs are not rendered by default.

example/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Vite + React + TS</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

example/package.json

Lines changed: 34 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,44 @@
11
{
22
"name": "react-fluid-table-example",
33
"homepage": "https://mckervinc.github.io/react-fluid-table",
4-
"version": "0.0.0",
4+
"version": "1.0.0",
55
"license": "MIT",
66
"private": true,
7+
"type": "module",
8+
"scripts": {
9+
"dev": "vite",
10+
"build": "tsc && vite build",
11+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
12+
"preview": "vite preview"
13+
},
714
"dependencies": {
8-
"faker": "^4.1.0",
9-
"lodash": "^4.17.19",
10-
"prop-types": "^15.6.2",
11-
"react": "link:../node_modules/react",
12-
"react-dom": "^16.12.0",
15+
"@ngneat/falso": "^7.1.1",
16+
"lodash": "^4.17.21",
17+
"react": "^18.2.0",
18+
"react-dom": "^18.2.0",
1319
"react-fluid-table": "link:..",
14-
"react-router-dom": "^5.1.2",
15-
"react-scripts": "^3.1.0",
16-
"react-syntax-highlighter": "^12.2.1",
17-
"semantic-ui-css": "^2.4.1",
18-
"semantic-ui-react": "^1.2.1",
19-
"styled-components": "^5.0.0"
20+
"react-router-dom": "^6.16.0",
21+
"react-syntax-highlighter": "^15.5.0",
22+
"semantic-ui-css": "^2.5.0",
23+
"semantic-ui-react": "^2.1.4",
24+
"styled-components": "^6.0.8"
2025
},
21-
"scripts": {
22-
"start": "react-scripts start",
23-
"build": "react-scripts build",
24-
"test": "react-scripts test --env=jsdom",
25-
"eject": "react-scripts eject"
26+
"devDependencies": {
27+
"@types/lodash": "^4.14.199",
28+
"@types/react": "^18.2.15",
29+
"@types/react-dom": "^18.2.7",
30+
"@types/react-syntax-highlighter": "^15.5.7",
31+
"@typescript-eslint/eslint-plugin": "^6.0.0",
32+
"@typescript-eslint/parser": "^6.0.0",
33+
"@vitejs/plugin-react": "^4.0.3",
34+
"eslint": "^8.45.0",
35+
"eslint-plugin-react-hooks": "^4.6.0",
36+
"eslint-plugin-react-refresh": "^0.4.3",
37+
"typescript": "^5.0.2",
38+
"vite": "^4.4.5"
2639
},
27-
"browserslist": [
28-
">0.2%",
29-
"not dead",
30-
"not ie <= 11",
31-
"not op_mini all"
32-
]
40+
"volta": {
41+
"node": "18.17.0",
42+
"yarn": "1.22.19"
43+
}
3344
}

example/public/index.html

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

example/public/manifest.json

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

example/public/vite.svg

Lines changed: 1 addition & 0 deletions
Loading

example/src/App.js

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

0 commit comments

Comments
 (0)