Skip to content

Commit

Permalink
bumping up packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ericfennis committed Dec 16, 2023
1 parent 633595d commit 9d63121
Show file tree
Hide file tree
Showing 6 changed files with 1,761 additions and 873 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,28 +41,28 @@
"@html-eslint/eslint-plugin": "^0.19.1",
"@html-eslint/parser": "^0.19.1",
"@octokit/rest": "^19.0.13",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"ajv-cli": "^5.0.0",
"eslint": "^8.43.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-custom-alias": "^1.3.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"lint-staged": "^13.3.0",
"minimist": "^1.2.8",
"node-fetch": "^3.3.1",
"node-fetch": "^3.3.2",
"p-memoize": "^7.1.1",
"prettier": "2.7.1",
"semver": "^7.5.2",
"simple-git": "^3.19.1",
"svgo": "^3.0.2",
"svgson": "^5.2.1",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-custom-alias": "^1.3.2",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.0"
"semver": "^7.5.4",
"simple-git": "^3.21.0",
"svgo": "^3.1.0",
"svgson": "^5.3.1"
},
"lint-staged": {
"icons/*.svg": [
Expand Down
16 changes: 9 additions & 7 deletions packages/lucide-solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"main": "dist/cjs/lucide-solid.js",
"module": "dist/esm/lucide-solid.js",
"types": "dist/types/lucide-solid.d.ts",
"files": ["dist"],
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/types/lucide-solid.d.ts",
Expand All @@ -50,20 +52,20 @@
"version": "pnpm version --git-tag-version=false"
},
"devDependencies": {
"@lucide/build-icons": "workspace:*",
"@atomico/rollup-plugin-sizes": "^1.1.4",
"@lucide/build-icons": "workspace:*",
"@solidjs/testing-library": "^0.8.4",
"@testing-library/jest-dom": "^6.1.4",
"rollup-plugin-license": "^3.0.1",
"babel-preset-solid": "^1.5.4",
"jsdom": "^20.0.0",
"jsdom": "^23.0.1",
"rollup": "^3.5.1",
"rollup-plugin-license": "^3.0.1",
"rollup-preset-solid": "^2.0.1",
"solid-js": "^1.7.7",
"solid-testing-library": "^0.5.1",
"typescript": "^4.9.4",
"vite": "^4.4.12",
"vitest": "^0.32.2",
"vite-plugin-solid": "^2.7.0"
"vite-plugin-solid": "^2.8.0",
"vitest": "^1.0.4"
},
"peerDependencies": {
"solid-js": "^1.4.7"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`Using lucide icon components > should adjust the size, stroke color and stroke width 1`] = `"<svg data-testid=\\"grid-icon\\" width=\\"48\\" height=\\"48\\" stroke=\\"red\\" stroke-width=\\"4\\" class=\\"lucide lucide-grid3x3 \\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" fill=\\"none\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" key=\\"afitv7\\"></rect><path d=\\"M3 9h18\\" key=\\"1pudct\\"></path><path d=\\"M3 15h18\\" key=\\"5xshup\\"></path><path d=\\"M9 3v18\\" key=\\"fh3hqa\\"></path><path d=\\"M15 3v18\\" key=\\"14nvp0\\"></path></svg>"`;
exports[`Using lucide icon components > should adjust the size, stroke color and stroke width 1`] = `"<svg data-testid="grid-icon" width="48" height="48" stroke="red" stroke-width="4" class="lucide lucide-grid3x3 " xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" key="afitv7"></rect><path d="M3 9h18" key="1pudct"></path><path d="M3 15h18" key="5xshup"></path><path d="M9 3v18" key="fh3hqa"></path><path d="M15 3v18" key="14nvp0"></path></svg>"`;

exports[`Using lucide icon components > should not scale the strokeWidth when absoluteStrokeWidth is set 1`] = `"<svg data-testid=\\"grid-icon\\" width=\\"48\\" height=\\"48\\" stroke=\\"red\\" stroke-width=\\"1\\" class=\\"lucide lucide-grid3x3 \\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" fill=\\"none\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" key=\\"afitv7\\"></rect><path d=\\"M3 9h18\\" key=\\"1pudct\\"></path><path d=\\"M3 15h18\\" key=\\"5xshup\\"></path><path d=\\"M9 3v18\\" key=\\"fh3hqa\\"></path><path d=\\"M15 3v18\\" key=\\"14nvp0\\"></path></svg>"`;
exports[`Using lucide icon components > should not scale the strokeWidth when absoluteStrokeWidth is set 1`] = `"<svg data-testid="grid-icon" width="48" height="48" stroke="red" stroke-width="1" class="lucide lucide-grid3x3 " xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" key="afitv7"></rect><path d="M3 9h18" key="1pudct"></path><path d="M3 15h18" key="5xshup"></path><path d="M9 3v18" key="fh3hqa"></path><path d="M15 3v18" key="14nvp0"></path></svg>"`;

exports[`Using lucide icon components > should render an component 1`] = `"<svg width=\\"24\\" height=\\"24\\" stroke=\\"currentColor\\" stroke-width=\\"2\\" class=\\"lucide lucide-grid3x3 \\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 24 24\\" fill=\\"none\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" key=\\"afitv7\\"></rect><path d=\\"M3 9h18\\" key=\\"1pudct\\"></path><path d=\\"M3 15h18\\" key=\\"5xshup\\"></path><path d=\\"M9 3v18\\" key=\\"fh3hqa\\"></path><path d=\\"M15 3v18\\" key=\\"14nvp0\\"></path></svg>"`;
exports[`Using lucide icon components > should render an component 1`] = `"<svg width="24" height="24" stroke="currentColor" stroke-width="2" class="lucide lucide-grid3x3 " xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" key="afitv7"></rect><path d="M3 9h18" key="1pudct"></path><path d="M3 15h18" key="5xshup"></path><path d="M9 3v18" key="fh3hqa"></path><path d="M15 3v18" key="14nvp0"></path></svg>"`;
2 changes: 1 addition & 1 deletion packages/lucide-solid/tests/lucide-solid.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, it, expect } from 'vitest';
import { cleanup, render } from 'solid-testing-library'
import { cleanup, render } from '@solidjs/testing-library'
import { Edit2, Grid, Pen, Droplet } from '../src/lucide-solid'

describe('Using lucide icon components', () => {
Expand Down
3 changes: 0 additions & 3 deletions packages/lucide-solid/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ export default defineConfig({
web: [/\.[jt]sx?$/]
},
setupFiles: './tests/setupVitest.js',
// threads: false,
// isolate: false,
// watch: false,
},
resolve: {
conditions: ['development', 'browser'],
Expand Down
Loading

0 comments on commit 9d63121

Please sign in to comment.