@spark-ui/cli-utils 2.0.4 → 2.0.6
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 +8 -0
- package/package.json +3 -3
- package/src/index.stories.mdx +9 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [2.0.6](https://github.com/adevinta/spark/compare/@spark-ui/cli-utils@2.0.5...@spark-ui/cli-utils@2.0.6) (2023-02-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @spark-ui/cli-utils
|
|
9
|
+
|
|
10
|
+
## [2.0.5](https://github.com/adevinta/spark/compare/@spark-ui/cli-utils@2.0.4...@spark-ui/cli-utils@2.0.5) (2023-02-24)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @spark-ui/cli-utils
|
|
13
|
+
|
|
6
14
|
## [2.0.4](https://github.com/adevinta/spark/compare/@spark-ui/cli-utils@2.0.3...@spark-ui/cli-utils@2.0.4) (2023-02-24)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @spark-ui/cli-utils
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-ui/cli-utils",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "Spark CLI utils",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@clack/prompts": "0.2.2",
|
|
16
|
-
"@spark-ui/theme-utils": "^2.3.
|
|
16
|
+
"@spark-ui/theme-utils": "^2.3.2",
|
|
17
17
|
"camel-case": "4.1.2",
|
|
18
18
|
"chalk": "5.2.0",
|
|
19
19
|
"commander": "10.0.0",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"url": "git@github.com:adevinta/spark.git",
|
|
30
30
|
"directory": "packages/utils/cli"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "fc8db19776d0ae0c45aebe2f85931a2d19f00ca3"
|
|
33
33
|
}
|
package/src/index.stories.mdx
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Meta } from '@storybook/blocks'
|
|
2
2
|
import { StoryHeading } from '@docs/helpers/StoryHeading'
|
|
3
|
+
import { Alert } from '@docs/helpers/Alert'
|
|
3
4
|
|
|
4
5
|
<Meta title="utils/CLI" />
|
|
5
6
|
|
|
@@ -8,13 +9,13 @@ import { StoryHeading } from '@docs/helpers/StoryHeading'
|
|
|
8
9
|
This package provides some CLI commands to improve the development experience when building the Spark design system. Right now there are some different commands available:
|
|
9
10
|
|
|
10
11
|
- A command for generating new components: `$ spark generate`.
|
|
11
|
-
- A command for doing the initial setup for
|
|
12
|
+
- A command for doing the initial setup for one or more themes: `$ spark setup-themes`.
|
|
12
13
|
|
|
13
14
|
## Contents
|
|
14
15
|
|
|
15
16
|
- [Installation](#installation)
|
|
16
17
|
- [Generating a new package](#generating-a-new-package)
|
|
17
|
-
- [Setting up
|
|
18
|
+
- [Setting up your themes](#setting-up-your-themes)
|
|
18
19
|
|
|
19
20
|
<StoryHeading label="Installation" as="h2" />
|
|
20
21
|
|
|
@@ -44,7 +45,12 @@ Then, a command prompt will guide you through the process by asking you for:
|
|
|
44
45
|
- the template used (required, only `Component` template available right now)
|
|
45
46
|
- and the package description (optional).
|
|
46
47
|
|
|
47
|
-
<StoryHeading label="Setting up
|
|
48
|
+
<StoryHeading label="Setting up your themes" as="h2" />
|
|
49
|
+
|
|
50
|
+
<Alert kind="info">
|
|
51
|
+
[Step-by-step guide to integrating Spark into your current
|
|
52
|
+
project](?path=/docs/getting-started--docs#getting-started)
|
|
53
|
+
</Alert>
|
|
48
54
|
|
|
49
55
|
```bash
|
|
50
56
|
$ spark setup-theme
|