@spark-ui/cli-utils 2.12.0 → 2.12.2

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,6 +3,16 @@
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.12.2](https://github.com/adevinta/spark/compare/@spark-ui/cli-utils@2.12.1...@spark-ui/cli-utils@2.12.2) (2023-10-04)
7
+
8
+ **Note:** Version bump only for package @spark-ui/cli-utils
9
+
10
+ ## [2.12.1](https://github.com/adevinta/spark/compare/@spark-ui/cli-utils@2.12.0...@spark-ui/cli-utils@2.12.1) (2023-09-28)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **cli-utils:** doc ([a9e50f2](https://github.com/adevinta/spark/commit/a9e50f203dfb4e3ba7c2f9b758c46eb923a222c6))
15
+
6
16
  # [2.12.0](https://github.com/adevinta/spark/compare/@spark-ui/cli-utils@2.11.20...@spark-ui/cli-utils@2.12.0) (2023-09-28)
7
17
 
8
18
  ### Features
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # CLI
2
2
  > @spark-ui/cli-utils
3
3
 
4
- ![storybook](https://img.shields.io/badge/storybook-black?logo=storybook&link=https%3A%2F%2Fsparkui.vercel.app%2F%3Fpath%3D%2Fdocs%2Futils-cli--docs)
5
- ![documentation](https://img.shields.io/badge/documentation-black?logo=googledocs&link=https%3A%2F%2Fsparkui-adv.vercel.app%2Fdocs%2Futil%2Fcli)
6
- ![issue](https://img.shields.io/badge/report%20a%20bug-black?logo=openbugbounty&logoColor=red&link=https%3A%2F%2Fgithub.com%2Fadevinta%2Fspark%2Fissues%2Fnew%3F%26projects%3D4%26template%3Dbug-report.yml%26assignees%3D%26labels%3Dutil%2Ccli)
7
- ![npm](https://img.shields.io/npm/dt/%40spark-ui/cli-utils?logo=npm&labelColor=black&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40spark-ui%2Fcli-utils)
4
+ [![storybook](https://img.shields.io/badge/storybook-black?logo=storybook)](https://sparkui.vercel.app/?path=/docs/utils-cli--docs)
5
+ [![documentation](https://img.shields.io/badge/documentation-black?logo=googledocs)](https://sparkui-adv.vercel.app/docs/utils/cli)
6
+ [![issue](https://img.shields.io/badge/report%20a%20bug-black?logo=openbugbounty&logoColor=red)](https://github.com/adevinta/spark/issues/new?&projects=4&template=bug-report.yml&assignees=&labels=util,cli)
7
+ [![npm](https://img.shields.io/npm/dt/%40spark-ui/cli-utils?logo=npm&labelColor=black)](https://www.npmjs.com/package/@spark-ui/cli-utils)
8
8
 
9
9
 
10
10
  This package is part of the [`@spark-ui`](https://github.com/adevinta/spark) react-js user interface component library project.
11
11
 
12
- ![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Autil%20label%3Acli&logo=openbugbounty&logoColor=red&label=issues%20open&color=red&link=https%3A%2F%2Fgithub.com%2Fadevinta%2Fspark%2Fissues%3Fq%3Dis%253Aopen%2Blabel%253Autil%2Blabel%253Acli)
13
- ![NPM](https://img.shields.io/npm/l/%40spark-ui%2Fcli-utils)
12
+ [![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Autil%20label%3Acli&logo=openbugbounty&logoColor=red&label=issues%20open&color=red)](https://github.com/adevinta/spark/issues?q=is%3Aopen+label%3Autil+label%3Acli)
13
+ [![NPM](https://img.shields.io/npm/l/%40spark-ui%2Fcli-utils)](https://github.com/adevinta/spark/blob/main/packages/utils/cli/LICENSE.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/cli-utils",
3
- "version": "2.12.0",
3
+ "version": "2.12.2",
4
4
  "description": "Spark CLI utils",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -40,7 +40,7 @@
40
40
  "pascal-case": "3.1.2"
41
41
  },
42
42
  "devDependencies": {
43
- "@types/fs-extra": "11.0.1"
43
+ "@types/fs-extra": "11.0.2"
44
44
  },
45
- "gitHead": "60a8f00aef92177084ac744bc4fd56ef13bc9948"
45
+ "gitHead": "4f4e4077e1efee5b23c974d1cabc7203dfbf0139"
46
46
  }
@@ -1,16 +1,19 @@
1
- export default ({ name }) => `# ${name}
1
+ export default ({ name }) => `# ${name
2
+ .split('-')
3
+ .map(str => str.charAt(0).toUpperCase() + str.slice(1))
4
+ .join(' ')}
2
5
  > @spark-ui/${name}
3
6
 
4
- ![storybook](https://img.shields.io/badge/storybook-black?logo=storybook&link=https%3A%2F%2Fsparkui.vercel.app%2F%3Fpath%3D%2Fdocs%2Fcomponents-${name
7
+ [![storybook](https://img.shields.io/badge/storybook-black?logo=storybook)](https://sparkui.vercel.app/?path=/docs/components-${name
5
8
  .split('-')
6
9
  .join('')}--docs)
7
- ![documentation](https://img.shields.io/badge/documentation-black?logo=googledocs&link=https%3A%2F%2Fsparkui-adv.vercel.app%2Fdocs%2Fcomponent%2F${name})
8
- ![issue](https://img.shields.io/badge/report%20a%20bug-black?logo=openbugbounty&logoColor=red&link=https%3A%2F%2Fgithub.com%2Fadevinta%2Fspark%2Fissues%2Fnew%3F%26projects%3D4%26template%3Dbug-report.yml%26assignees%3D%26labels%3Dcomponent%2C${name})
9
- ![npm](https://img.shields.io/npm/dt/%40spark-ui/${name}?logo=npm&labelColor=black&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40spark-ui%2F${name})
10
+ [![documentation](https://img.shields.io/badge/documentation-black?logo=googledocs)](https://sparkui-adv.vercel.app/docs/components/${name})
11
+ [![issue](https://img.shields.io/badge/report%20a%20bug-black?logo=openbugbounty&logoColor=red)](https://github.com/adevinta/spark/issues/new?&projects=4&template=bug-report.yml&assignees=&labels=component,${name})
12
+ [![npm](https://img.shields.io/npm/dt/%40spark-ui/${name}?logo=npm&labelColor=black)](https://www.npmjs.com/package/@spark-ui/${name})
10
13
 
11
14
 
12
15
  This package is part of the [\`@spark-ui\`](https://github.com/adevinta/spark) react-js user interface component library project.
13
16
 
14
- ![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Acomponent%20label%3A${name}&logo=openbugbounty&logoColor=red&label=issues%20open&color=red&link=https%3A%2F%2Fgithub.com%2Fadevinta%2Fspark%2Fissues%3Fq%3Dis%253Aopen%2Blabel%253Acomponent%2Blabel%253A${name})
15
- ![NPM](https://img.shields.io/npm/l/%40spark-ui%2F${name})
17
+ [![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Acomponent%20label%3A${name}&logo=openbugbounty&logoColor=red&label=issues%20open&color=red)](https://github.com/adevinta/spark/issues?q=is%3Aopen+label%3Acomponent+label%3A${name})
18
+ [![NPM](https://img.shields.io/npm/l/%40spark-ui%2F${name})](https://github.com/adevinta/spark/blob/main/packages/components/${name}/LICENSE.md)
16
19
  `
@@ -1,16 +1,18 @@
1
- export default ({ name }) => `# ${name}
1
+ import { pascalCase } from 'pascal-case'
2
+
3
+ export default ({ name }) => `# ${pascalCase(name)}
2
4
  > @spark-ui/${name}
3
5
 
4
- ![storybook](https://img.shields.io/badge/storybook-black?logo=storybook&link=https%3A%2F%2Fsparkui.vercel.app%2F%3Fpath%3D%2Fdocs%2Fhooks-${name
6
+ [![storybook](https://img.shields.io/badge/storybook-black?logo=storybook)](https://sparkui.vercel.app/?path=/docs/hooks-${name
5
7
  .split('-')
6
8
  .join('')}--docs)
7
- ![documentation](https://img.shields.io/badge/documentation-black?logo=googledocs&link=https%3A%2F%2Fsparkui-adv.vercel.app%2Fdocs%2Fhook%2F${name})
8
- ![issue](https://img.shields.io/badge/report%20a%20bug-black?logo=openbugbounty&logoColor=red&link=https%3A%2F%2Fgithub.com%2Fadevinta%2Fspark%2Fissues%2Fnew%3F%26projects%3D4%26template%3Dbug-report.yml%26assignees%3D%26labels%3Dhook%2C${name})
9
- ![npm](https://img.shields.io/npm/dt/%40spark-ui/${name}?logo=npm&labelColor=black&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40spark-ui%2F${name})
9
+ [![documentation](https://img.shields.io/badge/documentation-black?logo=googledocs)](https://sparkui-adv.vercel.app/docs/hooks/${name})
10
+ [![issue](https://img.shields.io/badge/report%20a%20bug-black?logo=openbugbounty&logoColor=red)](https://github.com/adevinta/spark/issues/new?&projects=4&template=bug-report.yml&assignees=&labels=hook,${name})
11
+ [![npm](https://img.shields.io/npm/dt/%40spark-ui/${name}?logo=npm&labelColor=black)](https://www.npmjs.com/package/@spark-ui/${name})
10
12
 
11
13
 
12
14
  This package is part of the [\`@spark-ui\`](https://github.com/adevinta/spark) react-js user interface component library project.
13
15
 
14
- ![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Ahook%20label%3A${name}&logo=openbugbounty&logoColor=red&label=issues%20open&color=red&link=https%3A%2F%2Fgithub.com%2Fadevinta%2Fspark%2Fissues%3Fq%3Dis%253Aopen%2Blabel%253Ahook%2Blabel%253A${name})
15
- ![NPM](https://img.shields.io/npm/l/%40spark-ui%2F${name})
16
+ [![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Ahook%20label%3A${name}&logo=openbugbounty&logoColor=red&label=issues%20open&color=red)](https://github.com/adevinta/spark/issues?q=is%3Aopen+label%3Ahook+label%3A${name})
17
+ [![NPM](https://img.shields.io/npm/l/%40spark-ui%2F${name})](https://github.com/adevinta/spark/blob/main/packages/hooks/${name}/LICENSE.md)
16
18
  `
@@ -1,16 +1,19 @@
1
- export default ({ name }) => `# ${name}
1
+ export default ({ name }) => `# ${name
2
+ .split('-')
3
+ .map(str => str.charAt(0).toUpperCase() + str.slice(1))
4
+ .join(' ')}
2
5
  > @spark-ui/${name}
3
6
 
4
- ![storybook](https://img.shields.io/badge/storybook-black?logo=storybook&link=https%3A%2F%2Fsparkui.vercel.app%2F%3Fpath%3D%2Fdocs%2Futils-${name
7
+ [![storybook](https://img.shields.io/badge/storybook-black?logo=storybook)](https://sparkui.vercel.app/?path=/docs/utils-${name
5
8
  .split('-')
6
9
  .join('')}--docs)
7
- ![documentation](https://img.shields.io/badge/documentation-black?logo=googledocs&link=https%3A%2F%2Fsparkui-adv.vercel.app%2Fdocs%2Futil%2F${name})
8
- ![issue](https://img.shields.io/badge/report%20a%20bug-black?logo=openbugbounty&logoColor=red&link=https%3A%2F%2Fgithub.com%2Fadevinta%2Fspark%2Fissues%2Fnew%3F%26projects%3D4%26template%3Dbug-report.yml%26assignees%3D%26labels%3Dutil%2C${name})
9
- ![npm](https://img.shields.io/npm/dt/%40spark-ui/${name}?logo=npm&labelColor=black&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40spark-ui%2F${name})
10
+ [![documentation](https://img.shields.io/badge/documentation-black?logo=googledocs)](https://sparkui-adv.vercel.app/docs/utils/${name})
11
+ [![issue](https://img.shields.io/badge/report%20a%20bug-black?logo=openbugbounty&logoColor=red)](https://github.com/adevinta/spark/issues/new?&projects=4&template=bug-report.yml&assignees=&labels=util,${name})
12
+ [![npm](https://img.shields.io/npm/dt/%40spark-ui/${name}?logo=npm&labelColor=black)](https://www.npmjs.com/package/@spark-ui/${name})
10
13
 
11
14
 
12
15
  This package is part of the [\`@spark-ui\`](https://github.com/adevinta/spark) react-js user interface component library project.
13
16
 
14
- ![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Autil%20label%3A${name}&logo=openbugbounty&logoColor=red&label=issues%20open&color=red&link=https%3A%2F%2Fgithub.com%2Fadevinta%2Fspark%2Fissues%3Fq%3Dis%253Aopen%2Blabel%253Autil%2Blabel%253A${name})
15
- ![NPM](https://img.shields.io/npm/l/%40spark-ui%2F${name})
17
+ [![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Autil%20label%3A${name}&logo=openbugbounty&logoColor=red&label=issues%20open&color=red)](https://github.com/adevinta/spark/issues?q=is%3Aopen+label%3Autil+label%3A${name})
18
+ [![NPM](https://img.shields.io/npm/l/%40spark-ui%2F${name})](https://github.com/adevinta/spark/blob/main/packages/utils/${name}/LICENSE.md)
16
19
  `