Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: basic CLI and API for Programmatically #1

Merged
merged 10 commits into from
Sep 4, 2021
Merged

feat: basic CLI and API for Programmatically #1

merged 10 commits into from
Sep 4, 2021

Conversation

r17x
Copy link
Contributor

@r17x r17x commented Aug 26, 2021

How it Works

[SVG: string] -> svg-parse -> Hast -> BabelAST -> [JS Code: String]

Project Name ?

I have been try to publish with name create-chakraicon but the registry of npm show error

npm notice
npm notice 📦  create-chakraicon@0.0.0
npm notice === Tarball Contents ===
npm notice 1.1kB LICENSE
npm notice 1.6kB index.bin.js
npm notice 47B   index.js
npm notice 3.3kB lib/index.js
npm notice 918B  package.json
npm notice 4.0kB README.md
npm notice === Tarball Details ===
npm notice name:          create-chakraicon
npm notice version:       0.0.0
npm notice package size:  3.8 kB
npm notice unpacked size: 10.9 kB
npm notice shasum:        7e490fedb5d9eebcfe7e830a2453ac10643d7139
npm notice integrity:     sha512-TeWNRMjktOpGe[...]wSy2104/pUGKg==
npm notice total files:   6
npm notice
npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/create-chakraicon - Package name too similar to existing packages; try renaming your package to '@ri7nz/create-chakraicon' and publishing with 'npm publish --access=public' instead
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy.

Then, I have been try with another name:

do you have any suggestion name @gifaeriyanto @grikomsn

Copy link

@gifaeriyanto gifaeriyanto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, LGTM 👍

* @svgr/hast-util-to-babel-ast: this packages for make an HastTree to BabelTree.
* -i: it can be file or directories
* -o: just single file for write the output
* -n: name your displayName properties (only for single children or element in svg)
@r17x r17x merged commit c293c9f into main Sep 4, 2021
@r17x r17x deleted the feat/v1 branch September 4, 2021 11:15
github-actions bot pushed a commit that referenced this pull request Feb 3, 2022
# 1.0.0 (2022-02-03)

### Bug Fixes

* **create-chakra-icons:** add pipeline type in index.d.ts ([70bd2e9](70bd2e9))
* **create-chakra-icons:** versioning ([8e71e9b](8e71e9b))
* **issue-7:** missing validation for tag path ([#8](#8)) ([458ebf3](458ebf3))
* type annotation in generated `<Icon />` ([8534d35](8534d35))

### Features

* **bootstrap:** create @chakra-icons/bootstrap ([8804a29](8804a29))
* **chakra-icons/bootstrap:** create chakra-icons/bootstrap ([9cd2005](9cd2005)), closes [#24](#24)
* **chakra-icons/cli:** make publishable ([#32](#32)) ([d4bc6ac](d4bc6ac))
* **chakra-icons/flat-icon:** create chakra-icons/flat-icon ([#43](#43)) ([1a0a9dc](1a0a9dc))
* **CLI:** renew command line arguments ([#3](#3)) ([5df56be](5df56be))
* **CLI:** support prefix, suffix, and typescript annotation in `<Icon />` component ([#4](#4)) ([190f612](190f612))
* basic CLI and API for Programmatically  ([#1](#1)) ([c293c9f](c293c9f))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants