@instructure/babel-plugin-transform-imports 10.6.1-snapshot-11 → 10.6.1-snapshot-15

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/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [10.6.1-snapshot-11](https://github.com/instructure/instructure-ui/compare/v10.6.0...v10.6.1-snapshot-11) (2024-11-22)
6
+ ## [10.6.1-snapshot-15](https://github.com/instructure/instructure-ui/compare/v10.6.0...v10.6.1-snapshot-15) (2024-11-26)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/babel-plugin-transform-imports
9
9
 
package/README.md CHANGED
@@ -7,16 +7,29 @@ category: packages
7
7
  This will convert any non-default imports that are referencing the package only to reference the full path to the module instead. For example:
8
8
 
9
9
  ```js
10
+ ---
11
+ type: code
12
+ ---
10
13
  // a named member import:
11
14
  import { Text } from '@instructure/ui-elements'
15
+ ```
12
16
 
13
17
  would be converted to
14
18
 
19
+ ```js
20
+ ---
21
+ type: code
22
+ ---
15
23
  // a named import using the full module path:
16
24
  import { Text } from '@instructure/ui-elements/lib/Text'
25
+ ```
17
26
 
18
27
  Note that any default imports you are currently using will not be transformed:
19
28
 
29
+ ```js
30
+ ---
31
+ type: code
32
+ ---
20
33
  // a default import using the full path (will not be transformed):
21
34
  import Text from '@instructure/ui-elements/lib/Text'
22
35
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/babel-plugin-transform-imports",
3
- "version": "10.6.1-snapshot-11",
3
+ "version": "10.6.1-snapshot-15",
4
4
  "description": "A babel plugin made by Instructure Inc.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "main": "./lib/index.js",