carbon-preprocess-svelte 0.6.0 → 0.7.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/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.7.0](https://github.com/IBM/carbon-preprocess-svelte/releases/tag/v0.7.0) - 2022-03-19
9
+
10
+ - upgrade `carbon-components-svelte` to v0.62.0 to account for the removed `Copy` component and inlined icon components
11
+
8
12
  ## [0.6.0](https://github.com/IBM/carbon-preprocess-svelte/releases/tag/v0.6.0) - 2021-07-11
9
13
 
10
14
  - upgrade `carbon-components-svelte` to v0.40.0 to include `Breakpoint`, `Theme` components for `optimizeImports`
package/README.md CHANGED
@@ -3,18 +3,29 @@
3
3
  [![NPM][npm]][npm-url]
4
4
  ![GitHub](https://img.shields.io/github/license/ibm/carbon-preprocess-svelte?color=262626&style=for-the-badge)
5
5
  ![npm downloads to date](https://img.shields.io/npm/dt/carbon-preprocess-svelte?color=262626&style=for-the-badge)
6
- [![Build][build]][build-badge]
7
6
 
8
7
  > Collection of [Svelte preprocessors](https://svelte.dev/docs#svelte_preprocess) for the Carbon Design System
9
8
 
10
9
  ## Installation
11
10
 
12
- ```bash
11
+ **Yarn**
12
+
13
+ ```sh
13
14
  yarn add -D carbon-preprocess-svelte
14
- # OR
15
+ ```
16
+
17
+ **NPM**
18
+
19
+ ```sh
15
20
  npm i -D carbon-preprocess-svelte
16
21
  ```
17
22
 
23
+ **pnpm**
24
+
25
+ ```sh
26
+ pnpm i -D carbon-preprocess-svelte
27
+ ```
28
+
18
29
  ## Usage
19
30
 
20
31
  This library contains the following preprocessors and plugins:
@@ -73,7 +84,6 @@ import { optimizeCss } from "carbon-preprocess-svelte";
73
84
 
74
85
  export default {
75
86
  kit: {
76
- target: "#svelte",
77
87
  adapter: adapter(),
78
88
  vite: {
79
89
  plugins: [process.env.NODE_ENV === "production" && optimizeCss()],
@@ -438,7 +448,6 @@ import { optimizeImports, optimizeCss } from "carbon-preprocess-svelte";
438
448
  export default {
439
449
  preprocess: [optimizeImports()],
440
450
  kit: {
441
- target: "#svelte",
442
451
  adapter: adapter(),
443
452
  vite: {
444
453
  plugins: [process.env.NODE_ENV === "production" && optimizeCss()],
@@ -457,5 +466,3 @@ Refer to the [contributing guidelines](CONTRIBUTING.md).
457
466
 
458
467
  [npm]: https://img.shields.io/npm/v/carbon-preprocess-svelte.svg?color=262626&style=for-the-badge
459
468
  [npm-url]: https://npmjs.com/package/carbon-preprocess-svelte
460
- [build]: https://img.shields.io/travis/com/ibm/carbon-preprocess-svelte?color=24a148&style=for-the-badge
461
- [build-badge]: https://travis-ci.com/ibm/carbon-preprocess-svelte