Skip to content

Commit

Permalink
feat: add Circum Icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 27, 2023
1 parent 131043a commit bf6ba67
Show file tree
Hide file tree
Showing 9 changed files with 114 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,10 @@ jobs:
working-directory: icons/ccp
run: npm run build

- name: build icons cci
working-directory: icons/cci
run: npm run build

- name: build icons cg
working-directory: icons/cg
run: npm run build
Expand Down Expand Up @@ -1386,6 +1390,20 @@ jobs:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}


- name: "Modify @icongo/cci => @jaywcjlove/icongo-cci"
uses: jaywcjlove/github-action-package@main
if: success() || failure()
with:
path: icons/cci/package.json
data: |
{ "name": "@jaywcjlove/icongo-cci" }
- run: npm publish
working-directory: icons/cci
if: success() || failure()
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}


- name: "Modify @icongo/cg => @jaywcjlove/icongo-cg"
uses: jaywcjlove/github-action-package@main
if: success() || failure()
Expand Down
9 changes: 9 additions & 0 deletions icons/cci/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.*~
~*.*
*
!.gitignore
!.npmignore
!tsconfig.json
!package.json
!data
!README.md
3 changes: 3 additions & 0 deletions icons/cci/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!lib/*
!esm/*
23 changes: 23 additions & 0 deletions icons/cci/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Circum Icons
===

[![npm version](https://img.shields.io/npm/v/@icongo/cci.svg)](https://www.npmjs.com/package/@icongo/cci)
![SVG Icons](https://shields.io/badge/SVG-icons-green?logo=svg&style=flat)
![SVG Icons](https://shields.io/badge/TypeScript-Support-green?logo=TypeScript&style=flat)
![React Components](https://shields.io/badge/React-components-green?logo=react&style=flat)

[Preview Icons](http://icongo.github.io/#/icons/cci)

```bash
npm i @icongo/cci
```

```jsx
import { IconName } from '@icongo/cci';
import data from '@icongo/cci/data.json';
import names from '@icongo/cci/names.json';
```

## License

Licensed under the MIT License.
29 changes: 29 additions & 0 deletions icons/cci/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "@icongo/cci",
"version": "1.1.2",
"author": "jaywcjlove",
"license": "MIT",
"homepage": "http://icongo.github.io/#/icons/cci",
"main": "./lib/index.js",
"module": "./esm/index.js",
"types": "./lib/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/icongo.git"
},
"scripts": {
"cpy": "cpy '../../www/public/icons/cci/*.svg' svg --flat",
"icongo": "icongo --prefix CCI --source svg -o ./src",
"build": "npm run cpy && npm run icongo && tsbb build --no-source-maps",
"start": "npm run build"
},
"keywords": [
"icongo",
"cb",
"evil",
"react-icons",
"icons",
"icon"
]
}
22 changes: 22 additions & 0 deletions icons/cci/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"extends": "../../tsconfig",
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"declaration": true,
"baseUrl": ".",
"jsx": "react-jsx",
"noFallthroughCasesInSwitch": true
},
"include": ["src"]
}
1 change: 1 addition & 0 deletions www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@icongo/bs": "1.1.2",
"@icongo/bts": "1.1.2",
"@icongo/cb": "1.1.2",
"@icongo/cci": "1.1.2",
"@icongo/ccp": "1.1.2",
"@icongo/cg": "1.1.2",
"@icongo/ci": "1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion www/public/icons
Submodule icons updated 288 files
8 changes: 8 additions & 0 deletions www/src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import eiNames from '@icongo/ei/lib/data.json';
import faNames from '@icongo/fa/lib/data.json';
import tiNames from '@icongo/ti/lib/data.json';
import ccpNames from '@icongo/ccp/lib/data.json';
import cciNames from '@icongo/cci/lib/data.json';
import iiNames from '@icongo/ii/lib/data.json';
import cgNames from '@icongo/cg/lib/data.json';
import grNames from '@icongo/gr/lib/data.json';
Expand Down Expand Up @@ -142,6 +143,13 @@ export const info: Info = {
npm: '@icongo/ccp',
names: ccpNames,
},
cci: {
title: 'Circum Icons',
license: 'MPL-2.0 license',
gh: 'https://github.com/Klarr-Agency/Circum-icons',
npm: '@icongo/cci',
names: cciNames,
},
cg: {
title: 'CSS.gg Icons',
license: 'MIT',
Expand Down

0 comments on commit bf6ba67

Please sign in to comment.