@movable/ui 0.3.1 → 0.4.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/README.md +14 -13
- package/lib/components/index.d.ts +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.mjs +613 -557
- package/lib/index.mjs.map +1 -1
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -12,24 +12,25 @@ This repo contains the shared components for our frontend applications. Using th
|
|
|
12
12
|
2. Clone the repo
|
|
13
13
|
3. `npm install` (note: `npm`, not `yarn`)
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### Usage
|
|
16
16
|
|
|
17
|
+
Ensure the project consuming this library has all the required peer dependencies.
|
|
18
|
+
|
|
19
|
+
### Yarn Linking
|
|
20
|
+
|
|
21
|
+
1. `@movable/ui`: `yarn link`
|
|
17
22
|
1. `@movable/ui`: `npm run watch`
|
|
23
|
+
1. `front-end/packages/studio`: `yarn link /path/to/local/@movable/ui`
|
|
24
|
+
1. `front-end/packages/studio`: `yarn dev --force`
|
|
25
|
+
1. Be sure afterwards to unlink from `front-end/packages/studio`: `yarn unlink @movable/ui`
|
|
18
26
|
|
|
19
|
-
|
|
27
|
+
If yarn gets confused, try unlinking, removing `node_modules` and following the steps again.
|
|
20
28
|
|
|
21
|
-
|
|
22
|
-
// front-end/packages/studio/package.json
|
|
29
|
+
### NPM Linking
|
|
23
30
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"@movable/ui": "link:./path/to/ui"
|
|
28
|
-
// ...
|
|
29
|
-
}
|
|
30
|
-
// ...
|
|
31
|
-
}
|
|
32
|
-
```
|
|
31
|
+
tbd
|
|
32
|
+
|
|
33
|
+
#### Linking to local Studio
|
|
33
34
|
|
|
34
35
|
## Conventional Commits
|
|
35
36
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DemoComponent } from
|
|
1
|
+
export { DemoComponent } from './DemoComponent';
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DemoComponent } from
|
|
2
|
-
export { default as MovableUITheme } from
|
|
1
|
+
export { DemoComponent } from './components';
|
|
2
|
+
export { default as MovableUITheme } from './theme';
|