@movable/ui 0.3.1 → 0.4.1-alpha.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 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
- ### Linking to local Studio
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
- 2. `front-end/packages/studio` (after making the change below): `yarn`, then `yarn dev`, `yarn test:dev`, or similar
27
+ If yarn gets confused, try unlinking, removing `node_modules` and following the steps again.
20
28
 
21
- ```js
22
- // front-end/packages/studio/package.json
29
+ ### NPM Linking
23
30
 
24
- {
25
- // ...
26
- "devDependencies": {
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 "./DemoComponent";
1
+ export { DemoComponent } from './DemoComponent';
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { DemoComponent } from "./components";
2
- export { default as MovableUITheme } from "./theme";
1
+ export { DemoComponent } from './components';
2
+ export { default as MovableUITheme } from './theme';