upconta.frontend-utils 2.5.9 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dist/cjs/components/index.d.ts +0 -1
- package/.dist/cjs/index.js +1 -10
- package/.dist/cjs/index.js.map +1 -1
- package/.dist/cjs/libs/hooks/vista-insertar.d.ts +1 -1
- package/.dist/esm/index.js +1 -10
- package/.dist/esm/index.js.map +1 -1
- package/package.json +34 -31
- package/pnpm-workspace.yaml +1 -0
- package/jest.config.ts +0 -11
- package/jest.setup.js +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "upconta.frontend-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": ".dist/cjs/index.js",
|
|
6
6
|
"module": ".dist/esm/index.js",
|
|
@@ -9,61 +9,64 @@
|
|
|
9
9
|
"author": "",
|
|
10
10
|
"license": "ISC",
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@ant-design/cssinjs": "^
|
|
12
|
+
"@ant-design/cssinjs": "^2.0.1",
|
|
13
13
|
"@ant-design/icons": "^6.1.0",
|
|
14
|
-
"@eslint
|
|
14
|
+
"@next/eslint-plugin-next": "^16.0.6",
|
|
15
15
|
"@rollup/plugin-commonjs": "^26.0.3",
|
|
16
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
16
17
|
"@rollup/plugin-node-resolve": "^15.3.1",
|
|
17
18
|
"@rollup/plugin-terser": "^0.4.4",
|
|
18
19
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
19
|
-
"@tailwindcss/postcss": "^4.1.
|
|
20
|
+
"@tailwindcss/postcss": "^4.1.17",
|
|
20
21
|
"@testing-library/dom": "^10.4.1",
|
|
21
22
|
"@testing-library/jest-dom": "^6.9.1",
|
|
22
23
|
"@testing-library/react": "^16.3.0",
|
|
23
24
|
"@types/jest": "^30.0.0",
|
|
24
|
-
"@types/node": "24.
|
|
25
|
-
"@types/react": "^
|
|
26
|
-
"antd": "^
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
25
|
+
"@types/node": "24.10.1",
|
|
26
|
+
"@types/react": "^19.2.7",
|
|
27
|
+
"antd": "^6.0.1",
|
|
28
|
+
"axios": "^1.13.2",
|
|
29
|
+
"cookies-next": "^6.1.1",
|
|
30
|
+
"dayjs": "^1.11.19",
|
|
31
|
+
"eslint": "^9.39.1",
|
|
32
|
+
"eslint-config-next": "^16.0.6",
|
|
33
|
+
"globals": "^16.5.0",
|
|
31
34
|
"jest": "^30.2.0",
|
|
32
35
|
"jest-environment-jsdom": "^30.2.0",
|
|
33
|
-
"next": "^
|
|
36
|
+
"next": "^16.0.6",
|
|
34
37
|
"postcss": "^8.5.6",
|
|
35
|
-
"rc-field-form": "^2.7.
|
|
36
|
-
"react": "^
|
|
37
|
-
"
|
|
38
|
+
"rc-field-form": "^2.7.1",
|
|
39
|
+
"react": "^19.2.0",
|
|
40
|
+
"react-dom": "^19.2.0",
|
|
41
|
+
"rollup": "^4.53.3",
|
|
38
42
|
"rollup-plugin-copy": "^3.5.0",
|
|
39
43
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
40
44
|
"rollup-plugin-postcss": "^4.0.2",
|
|
41
|
-
"swr": "^2.3.
|
|
42
|
-
"tailwindcss": "^4.1.
|
|
43
|
-
"ts-jest": "^29.4.
|
|
44
|
-
"ts-node": "^10.9.2",
|
|
45
|
+
"swr": "^2.3.7",
|
|
46
|
+
"tailwindcss": "^4.1.17",
|
|
47
|
+
"ts-jest": "^29.4.6",
|
|
45
48
|
"tslib": "^2.8.1",
|
|
46
49
|
"typescript": "^5.9.3",
|
|
47
|
-
"typescript-eslint": "^8.45.0",
|
|
48
50
|
"use-debounce": "^10.0.6"
|
|
49
51
|
},
|
|
50
52
|
"peerDependencies": {
|
|
51
|
-
"@ant-design/cssinjs": "^1",
|
|
52
|
-
"@ant-design/icons": "^6",
|
|
53
|
-
"antd": "^5",
|
|
53
|
+
"@ant-design/cssinjs": "^1 || ^2",
|
|
54
|
+
"@ant-design/icons": "^5 || ^6",
|
|
55
|
+
"antd": "^5 || ^6",
|
|
56
|
+
"axios": "^1",
|
|
57
|
+
"cookies-next": "^6",
|
|
54
58
|
"dayjs": "^1",
|
|
55
|
-
"next": "^15",
|
|
59
|
+
"next": "^14 || ^15 || ^16",
|
|
60
|
+
"rc-field-form": "^2",
|
|
61
|
+
"react": "^18 || ^19",
|
|
62
|
+
"react-dom": "^18 || ^19",
|
|
56
63
|
"swr": "^2",
|
|
57
|
-
"use-debounce": "^10
|
|
58
|
-
},
|
|
59
|
-
"dependencies": {
|
|
60
|
-
"axios": "^1.12.2",
|
|
61
|
-
"cookies-next": "^6.1.0"
|
|
64
|
+
"use-debounce": "^10"
|
|
62
65
|
},
|
|
63
66
|
"scripts": {
|
|
64
|
-
"dev": "next dev -p 3030
|
|
67
|
+
"dev": "next dev -p 3030",
|
|
65
68
|
"start": "next start",
|
|
66
|
-
"lint": "
|
|
69
|
+
"lint": "eslint",
|
|
67
70
|
"build": "rollup -c --bundleConfigAsCjs",
|
|
68
71
|
"test": "jest"
|
|
69
72
|
}
|
package/pnpm-workspace.yaml
CHANGED
package/jest.config.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { JestConfigWithTsJest } from 'ts-jest'
|
|
2
|
-
|
|
3
|
-
const jestConfig: JestConfigWithTsJest = {
|
|
4
|
-
preset: 'ts-jest',
|
|
5
|
-
testEnvironment: 'jest-environment-jsdom',
|
|
6
|
-
moduleNameMapper: { '^@/(.*)$': '<rootDir>/src/$1' },
|
|
7
|
-
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
|
|
8
|
-
transform: { '^.+\\.tsx?$': ['ts-jest', { tsconfig: { jsx: 'react-jsx' } }] },
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export default jestConfig
|
package/jest.setup.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
require('@testing-library/jest-dom')
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(window, 'matchMedia', {
|
|
4
|
-
writable: true,
|
|
5
|
-
value: jest.fn().mockImplementation((query) => ({
|
|
6
|
-
matches: false,
|
|
7
|
-
media: query,
|
|
8
|
-
onchange: null,
|
|
9
|
-
addListener: jest.fn(),
|
|
10
|
-
removeListener: jest.fn(),
|
|
11
|
-
addEventListener: jest.fn(),
|
|
12
|
-
removeEventListener: jest.fn(),
|
|
13
|
-
dispatchEvent: jest.fn(),
|
|
14
|
-
})),
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
Object.defineProperty(window, 'getComputedStyle', {
|
|
18
|
-
value: () => ({ getPropertyValue: () => '' }),
|
|
19
|
-
})
|