Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ dist-ssr
*.sw?

# vscode
.history
reference
.history
34 changes: 12 additions & 22 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
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 @@ -15,29 +14,21 @@ export default defineConfig([
]
},
{
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'],
files: ['**/*.{js,mjs,cjs,vue}', 'eslint.config.js'],
extends: [
...standardjs.configs.base,
...tseslint.configs.recommended,
...standardjs.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 @@ -58,8 +49,7 @@ export default defineConfig([
ignores: ['pre', 'textarea', 'div'],
externalIgnores: []
}
],
'@typescript-eslint/no-explicit-any': 'off'
]
}
}
])
11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": "",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/vue-pivottable.es.js",
"require": "./dist/vue-pivottable.umd.js"
},
Expand All @@ -14,8 +13,6 @@
},
"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 @@ -73,12 +70,9 @@
"@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 @@ -88,13 +82,10 @@
"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-tsc": "^2.2.10"
"vue": "^3.2.0"
},
"packageManager": "pnpm@9.12.2"
}
8 changes: 2 additions & 6 deletions packages/lazy-table-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": "",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/lazy-table-renderer.es.js",
"require": "./dist/lazy-table-renderer.umd.js"
},
Expand All @@ -14,7 +13,6 @@
},
"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 @@ -47,15 +45,13 @@
"build": "vite build",
"lint": "eslint ."
},
"dependencies": {},
"peerDependencies": {
"vue": "^3.2.0",
"vue-pivottable": "latest"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.2.1",
"@vue/tsconfig": "^0.7.0",
"typescript": "^5.8.3",
"vite": "^6.3.4",
"vue-tsc": "^2.2.10"
"vite": "^6.3.4"
}
}
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: 0 additions & 12 deletions packages/lazy-table-renderer/tsconfig.json

This file was deleted.

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

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { defineConfig } from 'vite'
import { resolve } from 'path'
import path, { resolve } from 'path'
import dts from 'vite-plugin-dts'
import vue from '@vitejs/plugin-vue'

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