Skip to content

Commit

Permalink
feat: publish svg-chord
Browse files Browse the repository at this point in the history
  • Loading branch information
liningzhu committed May 15, 2024
1 parent 74f74e0 commit 89cd67d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/svg-chord/lib/SvgChord.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { HTMLProps } from 'react'
import { forwardRef, useMemo } from 'react'
import type { SvgChordPoint } from './svg-chord'
import type { SvgChordPoint } from './type'

export interface SvgChordProps extends HTMLProps<SVGSVGElement> {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/svg-chord/lib/SvgTablature.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { FC, Fragment, HTMLProps, useMemo } from 'react'
import type { SvgChordPoint } from './svg-chord'
import type { SvgChordPoint } from './type'

export interface SvgTablatureProps extends HTMLProps<SVGSVGElement> {
/**
Expand Down
5 changes: 3 additions & 2 deletions packages/svg-chord/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { SvgChord } from './SvgChord'
export { SvgTablature } from './SvgTablature'
export * from './SvgChord'
export * from './SvgTablature'
export * from './type'
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/svg-chord/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@buitar/svg-chord",
"version": "0.0.5",
"version": "0.0.7",
"type": "module",
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion packages/svg-chord/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import dts from 'vite-plugin-dts'
export default defineConfig({
build: {
lib: {
entry: './lib/index.tsx',
entry: './lib/index.ts',
name: '@buitar/svg-chord',
},
rollupOptions: {
Expand Down

0 comments on commit 89cd67d

Please sign in to comment.