Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
9fa411b
feat: add typescript configuration to project
gingerbeerlime May 27, 2025
7f20db3
chore(tsconfig): update TypeScript configuration#119
gingerbeerlime May 28, 2025
5051996
Merge pull request #121 from vue-pivottable/ts-setting
Seungwoo321 May 28, 2025
ac2fb63
fix: vite 빌드 에러 처리 #122
gingerbeerlime May 29, 2025
435de5f
chore(lint): typescript 린트 규칙 수정#120
gingerbeerlime May 29, 2025
9942885
Merge pull request #123 from vue-pivottable/ts-setting
Seungwoo321 May 29, 2025
1f882f3
feat(helper): utilities.js를 TypeScript로 마이그레이션
Seungwoo321 Jun 3, 2025
e93aecf
fix(helper): sum(attrs)() 패턴 제거 및 타입 일관성 개선
Seungwoo321 Jun 3, 2025
1f681b6
fix(aggregators): 집계 함수 null/undefined 체크 strictNullChecks 대응
Seungwoo321 Jun 3, 2025
8960eb1
refactor(helper): 타입 정의 강화 및 빌드 프로세스 개선
Seungwoo321 Jun 3, 2025
b1b833b
feat(composables): usePropsState TypeScript 변환
Seungwoo321 Jun 3, 2025
c6a33d9
feat(composables): useProvidePivotData TypeScript 변환
Seungwoo321 Jun 3, 2025
868f275
feat(composables): useMaterializeInput TypeScript 변환
Seungwoo321 Jun 3, 2025
deb6bb1
fix(composables): import 경로를 상대경로로 수정하여 빌드 경고 해결 (PivotData)
Seungwoo321 Jun 3, 2025
c403cfa
fix(composables): import 경로 및 타입 선언 오류 수정 (빌드 경고/에러 해결)
Seungwoo321 Jun 3, 2025
49a5905
fix(composables): helper import 경로 @ alias로 복구 (PivotData)
Seungwoo321 Jun 3, 2025
7f3b396
fix(composables): helper import 경로 @ alias로 복구 (PivotData)
Seungwoo321 Jun 3, 2025
c4fad3c
chore(helper): utilities.js 파일 삭제 (TypeScript 마이그레이션 완료에 따른 정리)
Seungwoo321 Jun 3, 2025
72acfaa
refactor: convert redColorScaleGenerator.js to TypeScript #125
gingerbeerlime Jun 4, 2025
89e1a24
refactor: convert defaultProps.js to TypeScript #124
gingerbeerlime Jun 4, 2025
de8eb38
refactor: convert usePivotUiState.js to TypeScript #126
gingerbeerlime Jun 4, 2025
0ab12b0
refactor: convert useProvideFilterbox.js to TypeScript #127
gingerbeerlime Jun 4, 2025
daea8ba
chore(lint): add typescript-lint #142
gingerbeerlime Jun 4, 2025
4f82915
Merge pull request #143 from vue-pivottable/ts-lint
Seungwoo321 Jun 4, 2025
a4a6bf3
Merge pull request #141 from vue-pivottable/feature/utilities-ts-migr…
gingerbeerlime Jun 4, 2025
b7bd0ab
Merge pull request #140 from vue-pivottable/feature/useMaterializeInp…
gingerbeerlime Jun 4, 2025
fa0a3db
Merge pull request #139 from vue-pivottable/feature/usePropsState-ts
gingerbeerlime Jun 4, 2025
53b06c3
Merge pull request #138 from vue-pivottable/feature/useProvidePivotDa…
gingerbeerlime Jun 4, 2025
d3f3dab
chore(lint): add lint option no-explicit-any
gingerbeerlime Jun 4, 2025
84fa7f7
Merge pull request #144 from vue-pivottable/ts-lint
gingerbeerlime Jun 4, 2025
fd453b3
Merge pull request #145 from vue-pivottable/ts-composables
gingerbeerlime Jun 4, 2025
6ef67a7
Merge pull request #146 from vue-pivottable/ts-helper
gingerbeerlime Jun 4, 2025
660c70e
fix: fix type of default props aggregators
gingerbeerlime Jun 4, 2025
d6e0153
refactor: covert index, main to TypeScript
gingerbeerlime Jun 4, 2025
5e1d50c
Merge pull request #147 from vue-pivottable/ts-helper
Seungwoo321 Jun 4, 2025
d986bfc
chore: modify lint and format rule
Seungwoo321 Jun 4, 2025
1cef16c
Merge pull request #149 from vue-pivottable/fix/eslint-and-style-format
Seungwoo321 Jun 4, 2025
8ef8d7b
Merge branch 'main' into develop
Seungwoo321 Jun 9, 2025
31276ca
refactor: migrate useProvideFilterBox and VFilterBox to TypeScript #156"
gingerbeerlime Jun 10, 2025
546d968
refactor: migrate VDraggableAttribute to TypeScript
gingerbeerlime Jun 11, 2025
0bc142f
refactor: migrate VDragAndDropCell to TypeScript
gingerbeerlime Jun 11, 2025
937b86a
refactor: migrate VDropDown to TypeScript
gingerbeerlime Jun 11, 2025
cc0b9fa
refactor: migrate VRendererCell to TypeScript
gingerbeerlime Jun 11, 2025
603ae86
chore: restore valueModel initialization in VDropDown
gingerbeerlime Jun 11, 2025
084e2d2
chore: delete unused code
gingerbeerlime Jun 11, 2025
10574b4
Merge pull request #162 from vue-pivottable/ts/pivot-ui
Seungwoo321 Jun 12, 2025
38b646f
feat: 변경사항 자동 커밋
Seungwoo321 Jun 12, 2025
2aee633
Merge branch 'develop' into refactor/typed-props-main
Seungwoo321 Jun 12, 2025
7abfc37
feat: add TypeScript support to pivottable components
Seungwoo321 Jun 18, 2025
c9c13b6
refactor: migrate VAggregatorCell to TypeScript
gingerbeerlime Jun 18, 2025
2e79ef7
Merge pull request #166 from vue-pivottable/feat/typescript-pivottable
gingerbeerlime Jun 18, 2025
f56f937
Merge pull request #167 from vue-pivottable/ts/pivot-ui
gingerbeerlime Jun 18, 2025
2fe1d27
fix: fix type error
gingerbeerlime Jun 18, 2025
6426f5b
fix: fix type error
gingerbeerlime Jun 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ dist-ssr
*.sw?

# vscode
.history
.history
reference
34 changes: 22 additions & 12 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { defineConfig } from 'eslint/config'
import standardjs from '@seungwoo321/eslint-plugin-standard-js'
import tseslint from 'typescript-eslint'
import pluginVue from 'eslint-plugin-vue'

export default defineConfig([
Expand All @@ -14,21 +15,29 @@ export default defineConfig([
]
},
{
files: ['**/*.{js,mjs,cjs,vue}', 'eslint.config.js'],
files: ['**/*.vue'],
languageOptions: {
parser: require.resolve('vue-eslint-parser'),
parserOptions: {
parser: require.resolve('@typescript-eslint/parser'),
ecmaVersion: 2020,
sourceType: 'module',
extraFileExtensions: ['.vue']
}
},
plugins: {
'vue': pluginVue,
'@typescript-eslint': tseslint
}
},
{
files: ['**/*.{js,mjs,cjs,vue,ts}', 'eslint.config.js'],
extends: [
...standardjs.configs.recommended,
...standardjs.configs.base,
...tseslint.configs.recommended,
...pluginVue.configs['flat/strongly-recommended']
],
rules: {
'@stylistic/space-before-function-paren': [
'error',
{
anonymous: 'always',
named: 'never',
asyncArrow: 'always'
}
],
'@stylistic/quote-props': ['error', 'consistent'],
'vue/html-self-closing': [
'error',
{
Expand All @@ -49,7 +58,8 @@ export default defineConfig([
ignores: ['pre', 'textarea', 'div'],
externalIgnores: []
}
]
],
'@typescript-eslint/no-explicit-any': 'off'
}
}
])
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/vue-pivottable.es.js",
"require": "./dist/vue-pivottable.umd.js"
},
Expand All @@ -13,6 +14,8 @@
},
"main": "./dist/vue-pivottable.umd.js",
"module": "./dist/vue-pivottable.es.js",
"types": "./dist/types/index.d.ts",
"source": "./src/index.ts",
"files": [
"dist",
"LICENSE",
Expand Down Expand Up @@ -70,9 +73,12 @@
"@semantic-release/npm": "^12.0.1",
"@seungwoo321/eslint-plugin-standard-js": "^1.0.1",
"@seungwoo321/prettier-config": "^1.0.1",
"@types/node": "^22.15.21",
"@types/papaparse": "^5.3.16",
"@vitejs/plugin-vue": "^5.2.1",
"@vue-pivottable/lazy-table-renderer": "workspace:*",
"@vue-pivottable/plotly-renderer": "workspace:*",
"@vue/tsconfig": "^0.7.0",
"concurrently": "^9.1.2",
"conventional-changelog": "^6.0.0",
"conventional-changelog-cli": "^5.0.0",
Expand All @@ -82,10 +88,13 @@
"papaparse": "^5.5.2",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.33.1",
"vite": "^6.3.4",
"vite-plugin-dts": "^4.5.3",
"vite-plugin-static-copy": "^2.3.1",
"vue": "^3.2.0"
"vue": "^3.2.0",
"vue-tsc": "^2.2.10"
},
"packageManager": "pnpm@9.12.2"
}
8 changes: 6 additions & 2 deletions packages/lazy-table-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/lazy-table-renderer.es.js",
"require": "./dist/lazy-table-renderer.umd.js"
},
Expand All @@ -13,6 +14,7 @@
},
"main": "./dist/lazy-table-renderer.umd.js",
"module": "./dist/lazy-table-renderer.es.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist",
"LICENSE",
Expand Down Expand Up @@ -45,13 +47,15 @@
"build": "vite build",
"lint": "eslint ."
},
"dependencies": {},
"peerDependencies": {
"vue": "^3.2.0",
"vue-pivottable": "latest"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.1",
"vite": "^6.3.4"
"@vue/tsconfig": "^0.7.0",
"typescript": "^5.8.3",
"vite": "^6.3.4",
"vue-tsc": "^2.2.10"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default markRaw({
'Lazy Table': defineComponent({
name: 'VueLazyTable',
props: { ...PivotUtilities.defaultProps },
setup(props) {
setup (props) {
return () =>
h(LazyPivottableRenderer, {
...props,
Expand Down
12 changes: 12 additions & 0 deletions packages/lazy-table-renderer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"noEmit": true,
"baseUrl": ".",
"paths": {
"vue-pivottable": ["../../src"]
}
},
"include": ["src/**/*"],
"exclude": ["dist", "node_modules"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { resolve } from 'path'
import dts from 'vite-plugin-dts'
import vue from '@vitejs/plugin-vue'

export default defineConfig(({ command, mode, ssrBuild }) => {
export default defineConfig(() => {
return {
plugins: [
vue(),
dts({
include: ['src/**/*.{js,ts,vue,d.ts}'],
outDir: 'dist',
include: ['src'],
outDir: 'dist/types',
staticImport: false,
insertTypesEntry: true,
rollupTypes: true
Expand All @@ -18,9 +18,10 @@ export default defineConfig(({ command, mode, ssrBuild }) => {
publicDir: false,
build: {
lib: {
entry: resolve(__dirname, 'src/index.js'),
entry: resolve(__dirname, 'src/index.ts'),
name: 'LazyTableRenderer',
fileName: (format) => `lazy-table-renderer.${format}.js`
fileName: (format) => `lazy-table-renderer.${format}.js`,
formats: ['es', 'umd']
},
rollupOptions: {
external: ['vue'],
Expand Down
7 changes: 6 additions & 1 deletion packages/plotly-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/plotly-renderer.es.js",
"require": "./dist/plotly-renderer.umd.js"
},
Expand All @@ -12,6 +13,7 @@
},
"main": "./dist/plotly-renderer.umd.js",
"module": "./dist/plotly-renderer.es.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist",
"LICENSE",
Expand Down Expand Up @@ -47,6 +49,9 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.1",
"vite": "^6.3.4"
"@vue/tsconfig": "^0.7.0",
"typescript": "^5.8.3",
"vite": "^6.3.4",
"vue-tsc": "^2.2.10"
}
}
12 changes: 12 additions & 0 deletions packages/plotly-renderer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"noEmit": true,
"baseUrl": ".",
"paths": {
"vue-pivottable": ["../../src"]
}
},
"include": ["src/**/*"],
"exclude": ["dist", "node_modules"]
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { defineConfig } from 'vite'
import path, { resolve } from 'path'
import { resolve } from 'path'
import dts from 'vite-plugin-dts'
import vue from '@vitejs/plugin-vue'

export default defineConfig(({ command, mode, ssrBuild }) => {
export default defineConfig(() => {
return {
plugins: [
vue(),
dts({
include: ['src/**/*.{js,ts,vue,d.ts}'],
outDir: 'dist',
include: ['src'],
outDir: 'dist/types',
staticImport: false,
insertTypesEntry: true,
rollupTypes: true
Expand All @@ -18,9 +18,10 @@ export default defineConfig(({ command, mode, ssrBuild }) => {
publicDir: false,
build: {
lib: {
entry: resolve(__dirname, 'src/index.js'),
entry: resolve(__dirname, 'src/index.ts'),
name: 'PlotlyRenderer',
fileName: (format) => `plotly-renderer.${format}.js`
fileName: (format) => `plotly-renderer.${format}.js`,
formats: ['es', 'umd']
},
rollupOptions: {
external: ['vue'],
Expand All @@ -37,7 +38,8 @@ export default defineConfig(({ command, mode, ssrBuild }) => {
},
resolve: {
alias: {
'vue-plotly': path.resolve(__dirname, 'node_modules/vue-plotly')
'vue-pivottable': resolve(__dirname, '../../src'),
'vue-plotly': resolve(__dirname, 'node_modules/vue-plotly')
}
}
}
Expand Down
Loading