@lgsm/modules 1.6.20-beta.1 → 1.6.20-beta.10

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.
@@ -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.1",
4
- "type": "module",
5
- "scripts": {
6
- "build": "vite build",
7
- "lint": "eslint . --ext ts,tsx",
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": "npm run build"
19
- },
20
- "module": "./dist/main.js",
21
- "exports": "./dist/main.js",
22
- "files": [
23
- "dist"
24
- ],
25
- "types": "./dist/main.d.ts",
26
- "peerDependencies": {
27
- "react": "^19.0.0",
28
- "react-dom": "^19.0.0"
29
- },
30
- "devDependencies": {
31
- "@chromatic-com/storybook": "3.2.5",
32
- "@eslint/js": "9.21.0",
33
- "@storybook/addon-essentials": "8.6.3",
34
- "@storybook/addon-interactions": "8.6.3",
35
- "@storybook/addon-links": "8.6.3",
36
- "@storybook/addon-onboarding": "8.6.3",
37
- "@storybook/blocks": "8.6.3",
38
- "@storybook/react": "8.6.3",
39
- "@storybook/react-vite": "8.6.3",
40
- "@storybook/test": "8.6.3",
41
- "@testing-library/react": "16.2.0",
42
- "@types/node": "^22.13.8",
43
- "@types/react": "19.0.10",
44
- "@types/react-dom": "19.0.4",
45
- "@vitejs/plugin-react": "4.3.4",
46
- "@vitest/coverage-v8": "3.0.7",
47
- "@vitest/ui": "3.0.7",
48
- "autoprefixer": "10.4.20",
49
- "clsx": "^2.1.1",
50
- "eslint": "9.21.0",
51
- "eslint-config-prettier": "10.0.2",
52
- "eslint-plugin-react-hooks": "5.2.0",
53
- "eslint-plugin-react-refresh": "0.4.19",
54
- "eslint-plugin-storybook": "0.11.3",
55
- "glob": "11.0.1",
56
- "globals": "16.0.0",
57
- "jsdom": "26.0.0",
58
- "prettier": "3.5.2",
59
- "storybook": "8.6.3",
60
- "stylelint": "16.15.0",
61
- "stylelint-config-standard": "37.0.0",
62
- "tailwindcss": "^4.1.13",
63
- "tw-animate-css": "^1.3.8",
64
- "typescript": "5.7.3",
65
- "typescript-eslint": "8.25.0",
66
- "vite": "6.2.0",
67
- "vite-plugin-dts": "4.5.1",
68
- "vite-plugin-lib-inject-css": "2.2.1",
69
- "vitest": "3.0.7"
70
- },
71
- "dependencies": {
72
- "@radix-ui/react-dialog": "^1.1.15",
73
- "@radix-ui/react-dropdown-menu": "^2.1.16",
74
- "@radix-ui/react-slot": "^1.2.3",
75
- "@tailwindcss/vite": "^4.1.13",
76
- "axios": "^1.12.2",
77
- "class-variance-authority": "^0.7.1",
78
- "jwt-decode": "^4.0.0",
79
- "lucide-react": "^0.544.0",
80
- "next-themes": "^0.4.6",
81
- "sonner": "^2.0.7",
82
- "tailwind-merge": "^3.3.1",
83
- "tailwindcss-animate": "^1.0.7",
84
- "zustand": "^5.0.8"
85
- }
86
- }
1
+ {
2
+ "name": "@lgsm/modules",
3
+ "version": "1.6.20-beta.10",
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.10",
84
+ "@lgsm/ui": "1.6.20-beta.10",
85
+ "@lgsm/account": "1.6.20-beta.10",
86
+ "@lgsm/data-table": "1.6.20-beta.10"
87
+ },
88
+ "workspaces": [
89
+ "packages/*"
90
+ ],
91
+ "sideEffects": [
92
+ "**/*.css"
93
+ ]
94
+ }