@type-dom/svgs 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,34 +1,33 @@
1
- import "./arrangement/arrangement-bottom.mjs";
2
- import "./arrangement/arrangement-middle.mjs";
3
- import "./arrangement/arrangement-top.mjs";
4
- import "./barcode/barcode.mjs";
5
- import "./control-group/control-group.mjs";
6
- import "./currency/currency.mjs";
7
- import "./ellipse/ellipse.mjs";
8
- import "./file/file.mjs";
9
- import "./file-import/file-import.mjs";
10
- import "./file-open/file-open.mjs";
11
- import "./file-save/file-save.mjs";
12
- import "./fold/fold.mjs";
13
- import "./folder/folder.mjs";
14
- import "./horiline/horiline.mjs";
15
- import "./image/image.mjs";
16
- import "./inventory/inventory.mjs";
17
- import "./label/label.mjs";
18
- import "./logo/logo.mjs";
19
- import "./outline/outline.mjs";
20
- import "./picture/picture.mjs";
21
- import "./qrcode/qrcode.mjs";
22
- import "./rectangle/rectangle.mjs";
23
- import "./shape/shape.mjs";
24
- import "./signstamp/signstamp.mjs";
25
- import "./svg/svg.mjs";
26
- import "./switch/switch.mjs";
27
- import "./templates/templates.mjs";
28
- import "./text/text.mjs";
29
- import "./thumbnail/thumbnail.mjs";
30
- import "./tree/tree.mjs";
31
- import "./triangle/triangle.mjs";
32
- import "./unfold/unfold.mjs";
33
- import "./vertline/vertline.mjs";
34
- export {};
1
+ export { ArrangementBottomSvg } from './arrangement/arrangement-bottom.mjs';
2
+ export { ArrangementMiddleSvg } from './arrangement/arrangement-middle.mjs';
3
+ export { ArrangementTopSvg } from './arrangement/arrangement-top.mjs';
4
+ export { BarcodeSvg } from './barcode/barcode.mjs';
5
+ export { ControlGroupSvg } from './control-group/control-group.mjs';
6
+ export { CurrencySvg } from './currency/currency.mjs';
7
+ export { EllipseSvg } from './ellipse/ellipse.mjs';
8
+ export { FileSvg } from './file/file.mjs';
9
+ export { FileImportSvg } from './file-import/file-import.mjs';
10
+ export { FileOpenSvg } from './file-open/file-open.mjs';
11
+ export { FileSaveSvg } from './file-save/file-save.mjs';
12
+ export { FoldSvg } from './fold/fold.mjs';
13
+ export { FolderSvg } from './folder/folder.mjs';
14
+ export { HorilineSvg } from './horiline/horiline.mjs';
15
+ export { ImageSvg } from './image/image.mjs';
16
+ export { InventorySvg } from './inventory/inventory.mjs';
17
+ export { LabelSvg } from './label/label.mjs';
18
+ export { LogoSvg } from './logo/logo.mjs';
19
+ export { OutlineSvg } from './outline/outline.mjs';
20
+ export { PictureSvg } from './picture/picture.mjs';
21
+ export { QrcodeSvg } from './qrcode/qrcode.mjs';
22
+ export { RectangleSvg } from './rectangle/rectangle.mjs';
23
+ export { ShapeSvg } from './shape/shape.mjs';
24
+ export { SignStampSvg } from './signstamp/signstamp.mjs';
25
+ export { SvgSvg } from './svg/svg.mjs';
26
+ export { SwitchSvg } from './switch/switch.mjs';
27
+ export { TemplatesSvg } from './templates/templates.mjs';
28
+ export { TextSvg } from './text/text.mjs';
29
+ export { ThumbnailSvg } from './thumbnail/thumbnail.mjs';
30
+ export { TreeSvg } from './tree/tree.mjs';
31
+ export { TriangleSvg } from './triangle/triangle.mjs';
32
+ export { UnfoldSvg } from './unfold/unfold.mjs';
33
+ export { VertlineSvg } from './vertline/vertline.mjs';
package/package.json CHANGED
@@ -1,8 +1,15 @@
1
1
  {
2
2
  "name": "@type-dom/svgs",
3
3
  "type": "module",
4
- "version": "0.4.1",
5
- "description": "",
4
+ "version": "0.5.0",
5
+ "description": "A TypeDom-based SVG icon component library with tree-shaking support and categorized exports",
6
+ "keywords": [
7
+ "svg",
8
+ "icons",
9
+ "typedom",
10
+ "components",
11
+ "tree-shaking"
12
+ ],
6
13
  "author": "xjf <xjf7711@qq.com>",
7
14
  "license": "MIT",
8
15
  "homepage": "https://github.com/type-dom/svgs#readme",
@@ -21,12 +28,13 @@
21
28
  ".": "./dist/index.mjs",
22
29
  "./package.json": "./package.json"
23
30
  },
24
- "types": "./dist/index.d.ts",
31
+ "types": "./dist/index.d.mts",
32
+ "sideEffects": false,
25
33
  "files": [
26
34
  "dist"
27
35
  ],
28
36
  "scripts": {
29
- "build": "vp pack",
37
+ "build": "vp pack && node scripts/generate-index-files.mjs",
30
38
  "dev": "vp pack --watch",
31
39
  "test": "vp test",
32
40
  "typecheck": "tsc --noEmit",
@@ -60,7 +68,7 @@
60
68
  "cspell": "^8.3.2",
61
69
  "textlint": "^13.4.1",
62
70
  "typedoc": "^0.28.19",
63
- "typescript": "^5.9.3",
71
+ "typescript": "^6.0.3",
64
72
  "vitest": "npm:@voidzero-dev/vite-plus-test@latest",
65
73
  "vite-plus": "latest"
66
74
  },
@@ -69,4 +77,4 @@
69
77
  "vitest": "npm:@voidzero-dev/vite-plus-test@latest"
70
78
  },
71
79
  "packageManager": "npm@11.11.1"
72
- }
80
+ }