@lgsm/modules 1.6.20-beta.2 → 1.6.20-beta.20
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/README.md +201 -78
- package/dist/main.d.ts +5 -14
- package/dist/main.js +8 -7347
- package/dist/setupBaseURL.d.ts +2 -0
- package/package.json +94 -86
- package/dist/assets/main.css +0 -1
- package/dist/shared-function/jwtDecodeFunc.d.ts +0 -1
- package/dist/shared-function/loginRedirect.d.ts +0 -1
- package/dist/shared-service/apiService.d.ts +0 -8
- package/dist/shared-service/axiosInstance.d.ts +0 -5
- package/dist/shared-ui/Button/index.d.ts +0 -9
- package/dist/shared-ui/Dropdown/index.d.ts +0 -16
- package/dist/shared-ui/Modal/index.d.ts +0 -12
- package/dist/shared-ui/MyCounter/index.d.ts +0 -8
- package/dist/shared-ui/MyTitle/index.d.ts +0 -6
- package/dist/shared-ui/Notification/NotificationContainer.d.ts +0 -1
- package/dist/shared-ui/Notification/index.d.ts +0 -9
- package/dist/shared-ui/Sonner/index.d.ts +0 -1
- package/dist/shared-ui/ThreeDotsLoader/index.d.ts +0 -1
- package/dist/shared-ui/sonnerHelper.d.ts +0 -3
- package/dist/shared-ui/ui/alert.d.ts +0 -8
- package/dist/shared-ui/ui/button.d.ts +0 -11
- package/dist/shared-ui/ui/sonner.d.ts +0 -4
- package/dist/usage-example/example-apiService.d.ts +0 -1
- package/dist/usage-example/example-components.d.ts +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { setupBaseURL as setupCoreBaseURL } from '@lgsm/core';
|
|
2
|
+
export declare const setupBaseURL: (baseUrl: string, tokenProvider?: import('@lgsm/core').TokenProvider | undefined, redirect_to?: string | undefined, whatEnv?: string | undefined, onRefreshToken?: ((newToken: string) => void) | undefined, notifyError?: import('@lgsm/core').ApiErrorHandler | undefined) => void;
|
package/package.json
CHANGED
|
@@ -1,86 +1,94 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@lgsm/modules",
|
|
3
|
-
"version": "1.6.20-beta.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "
|
|
7
|
-
"lint": "eslint
|
|
8
|
-
"lint:fix": "eslint . --ext ts,tsx --fix",
|
|
9
|
-
"format": "prettier --check .",
|
|
10
|
-
"format:fix": "prettier --write .",
|
|
11
|
-
"stylelint": "stylelint **/*.css",
|
|
12
|
-
"stylelint:fix": "stylelint **/*.css --fix",
|
|
13
|
-
"storybook": "storybook dev -p 6006",
|
|
14
|
-
"build-storybook": "storybook build",
|
|
15
|
-
"test": "vitest",
|
|
16
|
-
"test:ui": "vitest --ui",
|
|
17
|
-
"coverage": "vitest run --coverage",
|
|
18
|
-
"prepublishOnly": "
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"@storybook
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@lgsm/modules",
|
|
3
|
+
"version": "1.6.20-beta.20",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "node scripts/build-workspaces.mjs",
|
|
7
|
+
"lint": "eslint packages src vite*.ts",
|
|
8
|
+
"lint:fix": "eslint . --ext ts,tsx --fix",
|
|
9
|
+
"format": "prettier --check .",
|
|
10
|
+
"format:fix": "prettier --write .",
|
|
11
|
+
"stylelint": "stylelint **/*.css",
|
|
12
|
+
"stylelint:fix": "stylelint **/*.css --fix",
|
|
13
|
+
"storybook": "storybook dev -p 6006",
|
|
14
|
+
"build-storybook": "storybook build",
|
|
15
|
+
"test": "vitest --maxWorkers=1 --minWorkers=1",
|
|
16
|
+
"test:ui": "vitest --ui",
|
|
17
|
+
"coverage": "vitest run --coverage",
|
|
18
|
+
"prepublishOnly": "bun run build",
|
|
19
|
+
"build:modules": "tsc --noEmit -p tsconfig.modules.json && vite build",
|
|
20
|
+
"check:packages": "node scripts/check-packages.mjs",
|
|
21
|
+
"check:install": "node scripts/smoke-install.mjs"
|
|
22
|
+
},
|
|
23
|
+
"module": "./dist/main.js",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/main.d.ts",
|
|
27
|
+
"import": "./dist/main.js"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"types": "./dist/main.d.ts",
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"react": "^19.0.0",
|
|
36
|
+
"react-dom": "^19.0.0"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@chromatic-com/storybook": "3.2.5",
|
|
40
|
+
"@eslint/js": "9.21.0",
|
|
41
|
+
"@storybook/addon-essentials": "8.6.3",
|
|
42
|
+
"@storybook/addon-interactions": "8.6.3",
|
|
43
|
+
"@storybook/addon-links": "8.6.3",
|
|
44
|
+
"@storybook/addon-onboarding": "8.6.3",
|
|
45
|
+
"@storybook/blocks": "8.6.3",
|
|
46
|
+
"@storybook/react": "8.6.3",
|
|
47
|
+
"@storybook/react-vite": "8.6.3",
|
|
48
|
+
"@storybook/test": "8.6.3",
|
|
49
|
+
"@testing-library/react": "16.2.0",
|
|
50
|
+
"@types/node": "^22.13.8",
|
|
51
|
+
"@types/react": "19.0.10",
|
|
52
|
+
"@types/react-dom": "19.0.4",
|
|
53
|
+
"@vitejs/plugin-react": "4.3.4",
|
|
54
|
+
"@vitest/coverage-v8": "3.0.7",
|
|
55
|
+
"@vitest/ui": "3.0.7",
|
|
56
|
+
"autoprefixer": "10.4.20",
|
|
57
|
+
"clsx": "^2.1.1",
|
|
58
|
+
"eslint": "9.21.0",
|
|
59
|
+
"eslint-config-prettier": "10.0.2",
|
|
60
|
+
"eslint-plugin-react-hooks": "5.2.0",
|
|
61
|
+
"eslint-plugin-react-refresh": "0.4.19",
|
|
62
|
+
"eslint-plugin-storybook": "0.11.3",
|
|
63
|
+
"glob": "11.0.1",
|
|
64
|
+
"globals": "16.0.0",
|
|
65
|
+
"jsdom": "26.0.0",
|
|
66
|
+
"prettier": "3.5.2",
|
|
67
|
+
"storybook": "8.6.3",
|
|
68
|
+
"stylelint": "16.15.0",
|
|
69
|
+
"stylelint-config-standard": "37.0.0",
|
|
70
|
+
"tailwindcss": "^4.1.13",
|
|
71
|
+
"tw-animate-css": "^1.3.8",
|
|
72
|
+
"typescript": "5.7.3",
|
|
73
|
+
"typescript-eslint": "8.25.0",
|
|
74
|
+
"vite": "6.2.0",
|
|
75
|
+
"vite-plugin-dts": "4.5.1",
|
|
76
|
+
"vite-plugin-lib-inject-css": "2.2.1",
|
|
77
|
+
"vitest": "3.0.7",
|
|
78
|
+
"@tailwindcss/vite": "^4.1.13",
|
|
79
|
+
"@types/file-saver": "^2.0.7",
|
|
80
|
+
"tailwindcss-animate": "^1.0.7"
|
|
81
|
+
},
|
|
82
|
+
"dependencies": {
|
|
83
|
+
"@lgsm/core": "1.6.20-beta.20",
|
|
84
|
+
"@lgsm/ui": "1.6.20-beta.20",
|
|
85
|
+
"@lgsm/account": "1.6.20-beta.20",
|
|
86
|
+
"@lgsm/data-table": "1.6.20-beta.20"
|
|
87
|
+
},
|
|
88
|
+
"workspaces": [
|
|
89
|
+
"packages/*"
|
|
90
|
+
],
|
|
91
|
+
"sideEffects": [
|
|
92
|
+
"**/*.css"
|
|
93
|
+
]
|
|
94
|
+
}
|