@movable/ui 3.16.0-eslint.1 → 3.16.0-eslint.3
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 +6 -1
- package/eslint-plugin-ui/dist/configs/recommended.d.ts.map +1 -0
- package/eslint-plugin-ui/dist/index.d.ts.map +1 -0
- package/eslint-plugin-ui/dist/rules/index.d.ts.map +1 -0
- package/eslint-plugin-ui/dist/rules/no-deprecated-grid.d.ts.map +1 -0
- package/package.json +6 -6
- package/lib/eslint-plugin/configs/recommended.d.ts.map +0 -1
- package/lib/eslint-plugin/index.d.ts.map +0 -1
- package/lib/eslint-plugin/rules/index.d.ts.map +0 -1
- package/lib/eslint-plugin/rules/no-deprecated-grid.d.ts.map +0 -1
- package/scripts/postinstall.js +0 -31
- /package/{lib/eslint-plugin → eslint-plugin-ui/dist}/configs/recommended.d.ts +0 -0
- /package/{lib/eslint-plugin → eslint-plugin-ui/dist}/configs/recommended.js +0 -0
- /package/{lib/eslint-plugin → eslint-plugin-ui/dist}/index.d.ts +0 -0
- /package/{lib/eslint-plugin → eslint-plugin-ui/dist}/index.js +0 -0
- /package/{lib/eslint-plugin → eslint-plugin-ui/dist}/rules/index.d.ts +0 -0
- /package/{lib/eslint-plugin → eslint-plugin-ui/dist}/rules/index.js +0 -0
- /package/{lib/eslint-plugin → eslint-plugin-ui/dist}/rules/no-deprecated-grid.d.ts +0 -0
- /package/{lib/eslint-plugin → eslint-plugin-ui/dist}/rules/no-deprecated-grid.js +0 -0
package/README.md
CHANGED
|
@@ -40,9 +40,10 @@ This project supports alpha releases for testing changes before full releases.
|
|
|
40
40
|
For testing specific features or changes:
|
|
41
41
|
|
|
42
42
|
1. **Navigate to Actions tab** in GitHub repository
|
|
43
|
-
2. **Select "
|
|
43
|
+
2. **Select "Release to NPM"** workflow
|
|
44
44
|
3. **Click "Run workflow"** button
|
|
45
45
|
4. **Configure options:**
|
|
46
|
+
- `release_type`: Select `prerelease`
|
|
46
47
|
- `dist_tag`: Leave as `alpha` or customize (e.g., `beta`, `feature-test`)
|
|
47
48
|
- `increment`: Leave empty for auto-increment or specify (`patch`, `minor`, `major`)
|
|
48
49
|
5. **Click "Run workflow"** to trigger the release
|
|
@@ -65,6 +66,10 @@ yarn add @movable/ui@3.4.1-alpha.0
|
|
|
65
66
|
|
|
66
67
|
View all available versions at: https://www.npmjs.com/package/@movable/ui?activeTab=versions
|
|
67
68
|
|
|
69
|
+
## MCP Server
|
|
70
|
+
|
|
71
|
+
This repo includes an MCP (Model Context Protocol) server that exposes component information to AI assistants like Claude Code. See [mcp-server/README.md](./mcp-server/README.md) for setup instructions.
|
|
72
|
+
|
|
68
73
|
## ESLint Plugin
|
|
69
74
|
|
|
70
75
|
This package includes an ESLint plugin with rules for consistent usage of `@movable/ui` components. It helps enforce best practices like using `Grid2` instead of deprecated `Grid`.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommended.d.ts","sourceRoot":"","sources":["../../configs/recommended.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,WAAW;;;;CAIvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;CASX,CAAC;AAEF,SAAS,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../rules/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;CAEjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-deprecated-grid.d.ts","sourceRoot":"","sources":["../../rules/no-deprecated-grid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UA4ChB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movable/ui",
|
|
3
|
-
"version": "3.16.0-eslint.
|
|
3
|
+
"version": "3.16.0-eslint.3",
|
|
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
8
|
"lib",
|
|
9
|
-
"
|
|
10
|
-
"scripts"
|
|
9
|
+
"eslint-plugin-ui/dist"
|
|
11
10
|
],
|
|
12
11
|
"exports": {
|
|
13
12
|
".": {
|
|
@@ -15,13 +14,13 @@
|
|
|
15
14
|
"types": "./lib/index.d.ts"
|
|
16
15
|
},
|
|
17
16
|
"./eslint-plugin": {
|
|
18
|
-
"require": "./
|
|
19
|
-
"types": "./
|
|
17
|
+
"require": "./eslint-plugin-ui/dist/index.js",
|
|
18
|
+
"types": "./eslint-plugin-ui/dist/index.d.ts"
|
|
20
19
|
}
|
|
21
20
|
},
|
|
22
21
|
"scripts": {
|
|
23
22
|
"build": "vite build && npm run build:eslint-plugin",
|
|
24
|
-
"build:eslint-plugin": "tsc --project eslint-plugin/tsconfig.json",
|
|
23
|
+
"build:eslint-plugin": "tsc --project eslint-plugin-ui/tsconfig.json",
|
|
25
24
|
"build-storybook": "storybook build",
|
|
26
25
|
"dev": "vite",
|
|
27
26
|
"lint": "run-p -n lint:src lint:cypress lint:stories",
|
|
@@ -54,6 +53,7 @@
|
|
|
54
53
|
},
|
|
55
54
|
"homepage": "https://movableink.github.io/ui",
|
|
56
55
|
"devDependencies": {
|
|
56
|
+
"@movable/eslint-plugin-ui": "file:./eslint-plugin-ui",
|
|
57
57
|
"@commitlint/cli": "^17.6.7",
|
|
58
58
|
"@commitlint/config-conventional": "^17.6.7",
|
|
59
59
|
"@emotion/react": "^11.11.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recommended.d.ts","sourceRoot":"","sources":["../../../eslint-plugin/configs/recommended.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,WAAW;;;;CAIvB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../eslint-plugin/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;CASX,CAAC;AAEF,SAAS,MAAM,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../eslint-plugin/rules/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;CAEjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"no-deprecated-grid.d.ts","sourceRoot":"","sources":["../../../eslint-plugin/rules/no-deprecated-grid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UA4ChB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
package/scripts/postinstall.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
/**
|
|
3
|
-
* Creates a symlink for ESLint plugin resolution.
|
|
4
|
-
*
|
|
5
|
-
* ESLint legacy config resolves `plugins: ["@movable/ui"]` to `@movable/eslint-plugin-ui`.
|
|
6
|
-
* This script creates that symlink so the plugin works out of the box.
|
|
7
|
-
*
|
|
8
|
-
* Only runs when installed as a dependency (inside node_modules), not in the source repo.
|
|
9
|
-
*/
|
|
10
|
-
const fs = require('fs');
|
|
11
|
-
const path = require('path');
|
|
12
|
-
|
|
13
|
-
// Only run when installed as a dependency (path contains node_modules)
|
|
14
|
-
if (!__dirname.includes('node_modules')) {
|
|
15
|
-
process.exit(0);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
const source = path.resolve(__dirname, '..', 'lib', 'eslint-plugin');
|
|
19
|
-
const target = path.resolve(__dirname, '..', '..', 'eslint-plugin-ui');
|
|
20
|
-
|
|
21
|
-
// Only create symlink if:
|
|
22
|
-
// 1. The source (built eslint-plugin) exists
|
|
23
|
-
// 2. The target doesn't already exist
|
|
24
|
-
if (fs.existsSync(source) && !fs.existsSync(target)) {
|
|
25
|
-
try {
|
|
26
|
-
fs.symlinkSync(source, target, 'dir');
|
|
27
|
-
} catch (err) {
|
|
28
|
-
// Silently fail - symlink creation may fail in some environments
|
|
29
|
-
// The plugin will still work with flat config via direct require
|
|
30
|
-
}
|
|
31
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|