@openmrs/esm-devtools-app 6.3.1-pre.3001 → 6.3.1-pre.3009

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.
@@ -19,7 +19,7 @@ built modules 7.92 MiB (javascript) 294 bytes (consume-shared) 252 bytes (share-
19
19
  + 5 modules
20
20
  provide-module modules 252 bytes
21
21
  provide shared module (default) @carbon/react@1.83.0 = ../../../node_modules/@ca...(truncated) 42 bytes [built] [code generated]
22
- provide shared module (default) @openmrs/esm-framework@6.3.1-pre.3001 = ../../fr...(truncated) 42 bytes [built] [code generated]
22
+ provide shared module (default) @openmrs/esm-framework@6.3.1-pre.3009 = ../../fr...(truncated) 42 bytes [built] [code generated]
23
23
  + 4 modules
24
24
  container entry 42 bytes [built] [code generated]
25
25
 
@@ -30,4 +30,4 @@ Assets:
30
30
  259.js (873 KiB)
31
31
  769.js (644 KiB)
32
32
 
33
- webpack 5.99.9 compiled with 1 warning in 136693 ms
33
+ webpack 5.99.9 compiled with 1 warning in 132704 ms
package/README.md CHANGED
@@ -1,36 +1,37 @@
1
1
  # openmrs-esm-devtools
2
2
 
3
- openmrs-esm-devtools is an in-browser javascript module that provides a UI for
4
- developers writing frontend code.
3
+ openmrs-esm-devtools is an in-browser javascript module that provides a UI for developers writing frontend code.
5
4
 
6
5
  ![esm-devtools](https://user-images.githubusercontent.com/1031876/81030238-f5b9d500-8e3c-11ea-81b8-6c2a4938faf2.gif)
7
6
 
8
7
  ## Purpose
9
8
 
10
- The devtools allow you to override any javascript module to point to any url.
11
- This is useful for developing features and for debugging problems, because you
12
- can tell the browser to load one module from your localhost while keeping all
9
+ The devtools allow you to override any javascript module to point to any url.
10
+ This is useful for developing features and for debugging problems, because you
11
+ can tell the browser to load one module from your localhost while keeping all
13
12
  other modules using the default version in the import map.
14
13
 
15
14
  ## Installation / Usage
16
15
 
17
16
  The devtools are registered as a
18
17
  [single-spa application](https://single-spa.js.org/docs/building-applications/)
19
- that creates a gray or red rectangular button near the bottom right of the
20
- screen. The rectangular button will only show up if you run the following
18
+ that creates a gray or red rectangular button near the bottom right of the
19
+ screen. The rectangular button will only show up if you run the following
21
20
  command in the browser console:
22
21
 
23
22
  ```js
24
23
  localStorage.setItem('openmrs:devtools', true)
25
24
  ```
26
25
 
27
- Now refresh the page and you'll see the rectangle. Note that when the rectangle is
26
+ Now refresh the page and you'll see the rectangle. Note that when the rectangle is
28
27
  red that it means that you have an active override.
29
28
 
30
29
  ## Implementation notes
31
30
 
32
31
  openmrs-esm-devtools is using
33
- [import-map-overrides](https://github.com/joeldenning/import-map-overrides)
34
- to accomplish this behavior.
35
- If you prefer using the browser console instead of a UI to manage module
36
- overrides, check out the documentation in that github project.
32
+ [import-map-overrides](https://github.com/single-spa/import-map-overrides)
33
+ to accomplish this behavior.
34
+
35
+ ## Usage
36
+
37
+ If you prefer using the browser console instead of a UI to manage module overrides, check out the documentation in that github project.