Compare commits
13 commits
Author | SHA1 | Date | |
---|---|---|---|
87ec17fbc6 | |||
76ddf1d01b | |||
56a78d5d2a | |||
3d2792afa5 | |||
c592874ce5 | |||
ae4d43b437 | |||
1040def4cc | |||
d3f676d03c | |||
31b01ad395 | |||
a4c1995561 | |||
5908965aef | |||
4520e0c9d4 | |||
7d95234fa3 |
4 changed files with 4953 additions and 4893 deletions
7
build.js
7
build.js
|
@ -14,8 +14,11 @@ try {
|
|||
fileNames.forEach((filename) => {
|
||||
const filePath = path.join(ICONS_DIR, filename)
|
||||
const contents = readFileSync(filePath, 'utf8').trim()
|
||||
const lines = contents.split('\n')
|
||||
const guts = lines.slice(1, -1).join(' ').replace(/\s{2,}/g, ' ')
|
||||
|
||||
const guts = contents
|
||||
.replace(/^<svg[^>]*>/, '')
|
||||
.replace(/<\/svg>$/, '')
|
||||
.replace(/\s{2,}/g, ' ')
|
||||
|
||||
object[filename.slice(0, -4)] = guts
|
||||
})
|
||||
|
|
12
package-lock.json
generated
12
package-lock.json
generated
|
@ -1,16 +1,16 @@
|
|||
{
|
||||
"name": "@cdransf/eleventy-tabler-icons-filled",
|
||||
"version": "2.0.3",
|
||||
"version": "2.11.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@cdransf/eleventy-tabler-icons-filled",
|
||||
"version": "2.0.3",
|
||||
"version": "2.11.1",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "v3.0.0",
|
||||
"@tabler/icons": "^3.19.0"
|
||||
"@tabler/icons": "^3.31.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@11ty/dependency-tree": {
|
||||
|
@ -349,9 +349,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@tabler/icons": {
|
||||
"version": "3.19.0",
|
||||
"resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-3.19.0.tgz",
|
||||
"integrity": "sha512-A4WEWqpdbTfnpFEtwXqwAe9qf9sp1yRPvzppqAuwcoF0q5YInqB+JkJtSFToCyBpPVeLxJUxxkapLvt2qQgnag==",
|
||||
"version": "3.31.0",
|
||||
"resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-3.31.0.tgz",
|
||||
"integrity": "sha512-dblAdeKY3+GA1U+Q9eziZ0ooVlZMHsE8dqP0RkwvRtEsAULoKOYaCUOcJ4oW1DjWegdxk++UAt2SlQVnmeHv+g==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
|
|
10
package.json
10
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@cdransf/eleventy-tabler-icons-filled",
|
||||
"version": "2.0.3",
|
||||
"version": "2.11.1",
|
||||
"description": "Shortcodes to add filled Tabler icons to your Eleventy projects",
|
||||
"type": "module",
|
||||
"main": "tablericons.js",
|
||||
|
@ -25,15 +25,15 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/cdransf/eleventy-tabler-icons-filled.git"
|
||||
"url": "git+https://git.apps.coryd.dev/cdransf/eleventy-tabler-icons-filled.git"
|
||||
},
|
||||
"homepage": "https://github.com/cdransf/eleventy-tabler-icons-filled#readme",
|
||||
"homepage": "https://git.apps.coryd.dev/cdransf/eleventy-tabler-icons-filled#readme",
|
||||
"bugs": {
|
||||
"url": "https://github.com/cdransf/eleventy-tabler-icons-filled/issues"
|
||||
"url": "https://git.apps.coryd.dev/cdransf/eleventy-tabler-icons-filled/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "v3.0.0",
|
||||
"@tabler/icons": "^3.19.0"
|
||||
"@tabler/icons": "^3.31.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue