Skip to content

Commit ea25547

Browse files
committed
upgrade dev dependencies, clean up repository, regenerate icons
1 parent 0d0b5d4 commit ea25547

33 files changed

+2651
-6350
lines changed

.github/workflows/main.yml

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Test Package
22

33
on: push
44

5+
concurrency:
6+
group: ${{ github.ref }}
7+
cancel-in-progress: true
8+
59
jobs:
610
test:
711
runs-on: ubuntu-22.04

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77

88
# Project
99
/node_modules
10+
11+
# Build
1012
/dist
13+
*.tsbuildinfo
1114

1215
# ESLint
1316
.eslintcache

generator.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function generateComponent(icon, family) {
5757

5858
await fs.writeFileSync(
5959
path.join(__dirname, 'src', `${name}.tsx`),
60-
mapSVGToTemplate(name, svg)
60+
mapSVGToTemplate(name, svg),
6161
)
6262
} catch {
6363
process.abort()
@@ -78,7 +78,7 @@ function formatName(string, familyPostfix) {
7878
async function downloadSVG(icon, familyId, version) {
7979
const svg = await axios
8080
.get(
81-
`https://fonts.gstatic.com/s/i/${familyId}/${icon}/v${version}/24px.svg`
81+
`https://fonts.gstatic.com/s/i/${familyId}/${icon}/v${version}/24px.svg`,
8282
)
8383
.catch((err) => console.log(err))
8484

0 commit comments

Comments
 (0)