Skip to content

Commit

Permalink
format files
Browse files Browse the repository at this point in the history
  • Loading branch information
ericfennis committed Sep 13, 2024
1 parent 91edac7 commit 4ec64bd
Show file tree
Hide file tree
Showing 17 changed files with 62 additions and 6,384 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ packages/**/src/icons/*.js
packages/**/src/icons/*.ts
packages/**/src/icons/*.tsx
packages/**/src/aliases/*.ts
packages/**/src/aliases.ts
!packages/**/src/aliases/index.ts
packages/**/src/dynamicIconImports.ts
packages/**/dynamicIconImports.js
Expand Down
2 changes: 1 addition & 1 deletion icons/grid-2x2-plus.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
"aliases": [
"grid-2-x-2-plus"
]
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"postinstall": "husky install",
"lint:es": "eslint .",
"lint:format": "prettier \"**/*.{js,mjs,ts,jsx,tsx,html,css,scss,json,yml,yaml}\" --check",
"lint:format-fix": "prettier \"**/*.{js,mjs,ts,jsx,tsx,html,css,scss,json,yml,yaml}\" --write",
"lint:json:icons": "ajv --spec=draft2020 -s icon.schema.json -d 'icons/*.json' > /dev/null",
"lint:json:categories": "ajv --spec=draft2020 -s category.schema.json -d 'categories/*.json' > /dev/null",
"lint:json": "pnpm run lint:json:icons && pnpm run lint:json:categories",
Expand Down
18 changes: 12 additions & 6 deletions packages/lucide-preact/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,22 @@ export default [
},
{
input: `src/${outputFileName}.suffixed.ts`,
output: [{
file: `dist/${outputFileName}.suffixed.d.ts`, format: "es"
}],
output: [
{
file: `dist/${outputFileName}.suffixed.d.ts`,
format: 'es',
},
],
plugins: [dts()],
},
{
input: `src/${outputFileName}.prefixed.ts`,
output: [{
file: `dist/${outputFileName}.prefixed.d.ts`, format: "es"
}],
output: [
{
file: `dist/${outputFileName}.prefixed.d.ts`,
format: 'es',
},
],
plugins: [dts()],
},
...configs,
Expand Down
18 changes: 12 additions & 6 deletions packages/lucide-react-native/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,22 @@ export default [
},
{
input: `src/${outputFileName}.suffixed.ts`,
output: [{
file: `dist/${outputFileName}.suffixed.d.ts`, format: "es"
}],
output: [
{
file: `dist/${outputFileName}.suffixed.d.ts`,
format: 'es',
},
],
plugins: [dts()],
},
{
input: `src/${outputFileName}.prefixed.ts`,
output: [{
file: `dist/${outputFileName}.prefixed.d.ts`, format: "es"
}],
output: [
{
file: `dist/${outputFileName}.prefixed.d.ts`,
format: 'es',
},
],
plugins: [dts()],
},
...configs,
Expand Down
20 changes: 13 additions & 7 deletions packages/lucide-react/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,23 @@ export default [
},
{
input: `src/${outputFileName}.suffixed.ts`,
output: [{
file: `dist/${outputFileName}.suffixed.d.ts`, format: "es"
}],
output: [
{
file: `dist/${outputFileName}.suffixed.d.ts`,
format: 'es',
},
],
plugins: [dts()],
},
{
input: `src/${outputFileName}.prefixed.ts`,
output: [{
file: `dist/${outputFileName}.prefixed.d.ts`, format: "es"
}],
output: [
{
file: `dist/${outputFileName}.prefixed.d.ts`,
format: 'es',
},
],
plugins: [dts()],
},
...configs
...configs,
];
1 change: 0 additions & 1 deletion packages/lucide-static/src/aliases/index.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/lucide-svelte/src/aliases/index.ts

This file was deleted.

18 changes: 12 additions & 6 deletions packages/lucide-vue-next/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,22 @@ export default [
},
{
input: `src/${outputFileName}.suffixed.ts`,
output: [{
file: `dist/${outputFileName}.suffixed.d.ts`, format: "es"
}],
output: [
{
file: `dist/${outputFileName}.suffixed.d.ts`,
format: 'es',
},
],
plugins: [dts()],
},
{
input: `src/${outputFileName}.prefixed.ts`,
output: [{
file: `dist/${outputFileName}.prefixed.d.ts`, format: "es"
}],
output: [
{
file: `dist/${outputFileName}.prefixed.d.ts`,
format: 'es',
},
],
plugins: [dts()],
},
...configs,
Expand Down
1 change: 0 additions & 1 deletion packages/lucide-vue-next/src/lucide-vue-next.suffixed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ export * from './types';

export { default as createLucideIcon } from './createLucideIcon';
export { default as Icon } from './Icon';

Loading

0 comments on commit 4ec64bd

Please sign in to comment.