Skip to content

Commit 228ce17

Browse files
5ZYSZ3Kjsamr
authored andcommitted
feat: upgrade all packages and bring libraries to work
1 parent 26870f7 commit 228ce17

174 files changed

Lines changed: 13488 additions & 14935 deletions

File tree

Some content is hidden

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

.eslintrc.js

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

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
commitlint --edit "$1"

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

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

.yarn/releases/yarn-3.0.2.cjs

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

.yarn/releases/yarn-4.12.0.cjs

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@ enableGlobalCache: true
22

33
nodeLinker: node-modules
44

5-
plugins:
6-
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
7-
spec: "@yarnpkg/plugin-interactive-tools"
8-
9-
yarnPath: .yarn/releases/yarn-3.0.2.cjs
5+
yarnPath: .yarn/releases/yarn-4.12.0.cjs

eslint.config.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
const tsPlugin = require('@typescript-eslint/eslint-plugin');
2+
const compat = require('eslint-plugin-compat');
3+
const tsdoc = require('eslint-plugin-tsdoc');
4+
const prettier = require('eslint-config-prettier');
5+
6+
module.exports = [
7+
...tsPlugin.configs['flat/recommended'],
8+
compat.configs['flat/recommended'],
9+
{
10+
files: ['**/*.ts', '**/*.tsx'],
11+
plugins: { tsdoc },
12+
rules: {
13+
...prettier.rules,
14+
'comma-dangle': ['error', 'never'],
15+
'@typescript-eslint/no-explicit-any': 'off',
16+
'@typescript-eslint/no-unused-vars': [
17+
'error',
18+
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true }
19+
]
20+
}
21+
}
22+
];

example/package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,26 @@
1212
"@native-html/heuristic-table-plugin": "workspace:*",
1313
"@native-html/iframe-plugin": "workspace:*",
1414
"@native-html/table-plugin": "workspace:*",
15-
"@react-native-community/masked-view": "0.1.10",
16-
"@react-navigation/native": "^5.9.8",
17-
"@react-navigation/stack": "^5.14.9",
18-
"expo": "^43.0.0",
19-
"expo-status-bar": "~1.1.0",
20-
"expo-web-browser": "~10.0.3",
21-
"react": "17.0.1",
22-
"react-dom": "17.0.1",
23-
"react-native": "0.64.2",
24-
"react-native-gesture-handler": "~1.10.2",
25-
"react-native-paper": "^4.9.2",
26-
"react-native-reanimated": "~2.2.0",
27-
"react-native-render-html": "6.1.0",
28-
"react-native-safe-area-context": "3.3.2",
29-
"react-native-screens": "~3.8.0",
30-
"react-native-web": "0.17.1",
31-
"react-native-webview": "11.13.0"
15+
"@react-native-community/masked-view": "0.1.11",
16+
"@react-navigation/native": "^7.1.31",
17+
"@react-navigation/stack": "^7.8.2",
18+
"expo": "^55.0.4",
19+
"expo-status-bar": "~55.0.4",
20+
"expo-web-browser": "~55.0.9",
21+
"react": "19.2.4",
22+
"react-dom": "19.2.4",
23+
"react-native": "0.84.1",
24+
"react-native-gesture-handler": "~2.30.0",
25+
"react-native-paper": "^5.15.0",
26+
"react-native-reanimated": "~4.2.2",
27+
"react-native-render-html": "6.3.4",
28+
"react-native-safe-area-context": "5.7.0",
29+
"react-native-screens": "~4.24.0",
30+
"react-native-web": "0.21.2",
31+
"react-native-webview": "13.16.1"
3232
},
3333
"devDependencies": {
34-
"@babel/core": "^7.12.9"
34+
"@babel/core": "^7.29.0"
3535
},
3636
"private": true,
3737
"installConfig": {

package.json

Lines changed: 19 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,44 +17,34 @@
1717
"test:iframe:jest": "yarn workspace @native-html/iframe-plugin test:jest",
1818
"test:core": "yarn workspace @native-html/plugins-core test",
1919
"test:core:jest": "yarn workspace @native-html/plugins-core test:jest",
20-
"release:table": "yarn workspace @native-html/table-plugin release-it",
21-
"release:heuristic-table": "yarn workspace @native-html/heuristic-table-plugin release-it",
22-
"release:iframe": "yarn workspace @native-html/iframe-plugin release-it",
23-
"release:core": "yarn workspace @native-html/plugins-core release-it",
24-
"publish:example": "yarn workspace example expo publish"
20+
"prepare": "husky"
2521
},
2622
"devDependencies": {
27-
"@commitlint/cli": "^11.0.0",
28-
"@commitlint/config-conventional": "^11.0.0",
23+
"@commitlint/cli": "^20.4.2",
24+
"@commitlint/config-conventional": "^20.4.2",
2925
"@formidable-webview/eslint-config-webjs": "^1.0.0",
30-
"@react-native-community/eslint-config": "^3.0.1",
31-
"@typescript-eslint/eslint-plugin": "^4.30.0",
32-
"@typescript-eslint/parser": "^4.30.0",
33-
"eslint": "^7.32.0",
34-
"eslint-config-prettier": "^8.3.0",
35-
"eslint-plugin-compat": "^3.13.0",
36-
"eslint-plugin-tsdoc": "^0.2.14",
37-
"husky": "^4.3.8",
38-
"prettier": "^2.3.2"
26+
"@react-native-community/eslint-config": "^3.2.0",
27+
"@typescript-eslint/eslint-plugin": "^8.56.1",
28+
"@typescript-eslint/parser": "^8.56.1",
29+
"eslint": "^10.0.2",
30+
"eslint-config-prettier": "^10.1.8",
31+
"eslint-plugin-compat": "^7.0.0",
32+
"eslint-plugin-tsdoc": "^0.5.2",
33+
"husky": "^9.1.7",
34+
"prettier": "^3.8.1"
3935
},
4036
"resolutions": {
41-
"react": "17.0.1",
42-
"react-dom": "17.0.1",
43-
"react-native": "0.64.2",
44-
"react-test-renderer": "16.13.1",
45-
"react-native-webview": "11.13.0",
46-
"@release-it/conventional-changelog": "patch:@release-it/conventional-changelog@2.0.0#patches/@release-it-conventional-changelog.patch",
47-
"release-it": "patch:release-it@14.3.0#patches/release-it.patch"
37+
"react": "19.2.4",
38+
"react-dom": "19.2.4",
39+
"react-native": "0.84.1",
40+
"react-test-renderer": "19.2.4",
41+
"react-native-webview": "13.16.1"
4842
},
4943
"author": "Jules Sam. Randolph <jules.sam.randolph@gmail.com> (https://github.com/jsamr)",
5044
"license": "MIT",
51-
"husky": {
52-
"hooks": {
53-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
54-
}
55-
},
5645
"workspaces": [
5746
"packages/*",
5847
"example"
59-
]
48+
],
49+
"packageManager": "yarn@4.12.0"
6050
}

packages/heuristic-table-plugin/.release-it.js

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

0 commit comments

Comments
 (0)