@movable/ui 3.14.1 → 3.16.0-eslint.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.
@@ -4,6 +4,9 @@ declare const tooltip: {
4
4
  tooltip: {
5
5
  backgroundColor: "#424242";
6
6
  };
7
+ arrow: {
8
+ color: "#424242";
9
+ };
7
10
  };
8
11
  };
9
12
  };
package/package.json CHANGED
@@ -1,21 +1,34 @@
1
1
  {
2
2
  "name": "@movable/ui",
3
- "version": "3.14.1",
3
+ "version": "3.16.0-eslint.0",
4
4
  "description": "Movable Ink's shared MUI components and MUI theme for our vite applications",
5
5
  "module": "lib/index.mjs",
6
6
  "types": "lib/index.d.ts",
7
7
  "files": [
8
- "lib"
8
+ "lib",
9
+ "lib/eslint-plugin"
9
10
  ],
11
+ "exports": {
12
+ ".": {
13
+ "import": "./lib/index.mjs",
14
+ "types": "./lib/index.d.ts"
15
+ },
16
+ "./eslint-plugin": {
17
+ "require": "./lib/eslint-plugin/index.js",
18
+ "types": "./lib/eslint-plugin/index.d.ts"
19
+ }
20
+ },
10
21
  "scripts": {
11
- "build": "vite build",
22
+ "build": "vite build && npm run build:eslint-plugin",
23
+ "build:eslint-plugin": "tsc --project eslint-plugin/tsconfig.json",
12
24
  "build-storybook": "storybook build",
13
25
  "dev": "vite",
14
26
  "lint": "run-p -n lint:src lint:cypress lint:stories",
15
27
  "lint:src": "tsc --project ./tsconfig.json && eslint -c ./.eslintrc.json ./src --report-unused-disable-directives --max-warnings 0",
16
28
  "lint:cypress": "tsc --project ./cypress/tsconfig.json && eslint -c ./cypress/.eslintrc.json ./cypress --resolve-plugins-relative-to ./cypress --report-unused-disable-directives --max-warnings 0 --no-error-on-unmatched-pattern",
17
29
  "lint:stories": "tsc --project ./tsconfig.json && eslint -c ./.eslintrc.json ./stories --report-unused-disable-directives --max-warnings 0",
18
- "prepare": "husky install",
30
+ "prepare": "husky install && npm run link:eslint-plugin",
31
+ "link:eslint-plugin": "[ -d lib/eslint-plugin ] && mkdir -p node_modules/@movable && ln -sf ../../lib/eslint-plugin node_modules/@movable/eslint-plugin-ui || true",
19
32
  "percy:storybook": "PERCY_TOKEN=$PERCY_TOKEN percy exec --parallel -- percy storybook ./storybook-static",
20
33
  "percy:upload": "PERCY_TOKEN=$PERCY_TOKEN percy build:finalize",
21
34
  "storybook": "storybook dev -p 6006",
@@ -61,6 +74,7 @@
61
74
  "@storybook/builder-vite": "^9.1.4",
62
75
  "@storybook/react-vite": "^9.1.4",
63
76
  "@swc/core": "^1.13.3",
77
+ "@types/eslint": "^9.6.1",
64
78
  "@types/lodash-es": "^4.17.0",
65
79
  "@types/react": "^18.2.19",
66
80
  "@types/react-dom": "^18.2.7",