Skip to content

Commit a3fa9a9

Browse files
authored
Merge pull request #212 from vue-pivottable/test/build
fix: 하위 패키지 빌드 오류 수정
2 parents 00120c7 + dc3b7dc commit a3fa9a9

File tree

5 files changed

+23
-13
lines changed

5 files changed

+23
-13
lines changed

.changeset/fix-build-errors.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@vue-pivottable/lazy-table-renderer": patch
3+
"@vue-pivottable/plotly-renderer": patch
4+
---
5+
6+
fix: 하위 패키지 빌드 오류 수정
7+
8+
- lazy-table-renderer: vue-pivottable 버전 의존성 업데이트 (^1.1.4)
9+
- plotly-renderer: vue-pivottable 버전 의존성 업데이트 및 타입 오류 수정
10+
- vite 설정에서 moduleResolution 관련 수정

packages/lazy-table-renderer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"peerDependencies": {
5151
"vue": "^3.2.0",
52-
"vue-pivottable": "latest"
52+
"vue-pivottable": "^1.1.4"
5353
},
5454
"devDependencies": {
5555
"@vitejs/plugin-vue": "^5.2.1",

packages/plotly-renderer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
},
4646
"peerDependencies": {
4747
"vue": "^3.2.0",
48-
"vue-pivottable": "latest"
48+
"vue-pivottable": "^1.1.4"
4949
},
5050
"devDependencies": {
5151
"@vitejs/plugin-vue": "^5.2.1",

packages/plotly-renderer/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ import { providePivotData, PivotUtilities } from 'vue-pivottable'
33
import PlotlyChart from './components/PlotlyChart.vue'
44
import PlotlyScatterChart from './components/PlotlyScatterChart.vue'
55

6-
function withPivotProvider(
7-
ChartComponent,
8-
ChartType,
6+
function withPivotProvider (
7+
ChartComponent: any,
8+
ChartType: any,
99
traceOptions = {},
1010
layoutOptions = {},
1111
transpose = false
1212
) {
1313
return defineComponent({
1414
name: ChartType.name || 'vue-plotly-renderer',
1515
props: { ...PivotUtilities.defaultProps },
16-
setup(props) {
16+
setup (props) {
1717
providePivotData(props)
1818
const { aggregatorName, aggregators, rows, cols, vals } = props
1919
return () =>

pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)