Skip to content

Commit dffb03e

Browse files
authored
Merge pull request #56 from vue-pivottable/chore/build
chore: add LICENSE and update package.json
2 parents 805a583 + c9768b2 commit dffb03e

File tree

8 files changed

+365
-23
lines changed

8 files changed

+365
-23
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 vue-pivottable
3+
Copyright (c) 2025 vue-pivottable (https://github.com/vue-pivottable)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

package.json

+11-6
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"main": "./dist/vue-pivottable.umd.js",
1313
"module": "./dist/vue-pivottable.es.js",
1414
"files": [
15-
"dist"
15+
"dist",
16+
"LICENSE",
17+
"README.md"
1618
],
1719
"repository": {
1820
"type": "git",
@@ -43,28 +45,31 @@
4345
"url": "https://github.com/vue-pivottable/vue3-pivottable/issues"
4446
},
4547
"scripts": {
48+
"clean": "rimraf dist packages/*/dist",
4649
"dev": "vite",
4750
"build": "vite build",
4851
"preview": "vite preview",
4952
"lint": "eslint",
50-
"build:all": "pnpm build && pnpm -r --filter './packages/*' build",
51-
"dev:all": "pnpm -r --parallel run dev"
53+
"build:all": "pnpm clean && pnpm build && pnpm -r --filter './packages/*' build",
54+
"dev:all": "concurrently \"pnpm dev\" \"pnpm -r --parallel run dev\""
5255
},
5356
"dependencies": {
5457
"vue": "^3.5.13",
5558
"vue-draggable-next": "^2.2.1"
5659
},
5760
"devDependencies": {
58-
"@vue-pivottable/lazy-table-renderer": "workspace:*",
5961
"@eslint/js": "^9.21.0",
6062
"@vitejs/plugin-vue": "^5.2.1",
63+
"@vue-pivottable/lazy-table-renderer": "workspace:*",
64+
"concurrently": "^9.1.2",
6165
"eslint": "^9.21.0",
6266
"eslint-plugin-import": "^2.31.0",
6367
"eslint-plugin-vue": "^9.32.0",
6468
"globals": "^16.0.0",
69+
"papaparse": "^5.5.2",
70+
"rimraf": "^6.0.1",
6571
"vite": "^6.1.0",
6672
"vite-plugin-dts": "^4.5.3",
67-
"vite-plugin-static-copy": "^2.3.1",
68-
"papaparse": "^5.5.2"
73+
"vite-plugin-static-copy": "^2.3.1"
6974
}
7075
}

packages/lazy-table-renderer/LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Seungwoo, Lee <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

packages/lazy-table-renderer/package.json

+13-8
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"main": "./dist/lazy-table-renderer.umd.js",
1313
"module": "./dist/lazy-table-renderer.es.js",
1414
"files": [
15-
"dist"
15+
"dist",
16+
"LICENSE",
17+
"README.md"
1618
],
1719
"repository": {
1820
"type": "git",
@@ -28,19 +30,22 @@
2830
"vue3-pivottable",
2931
"@vue-pivottable/lazy-table-renderer"
3032
],
31-
"homepage": "https://github.com/vue-pivottable/vue3-pivottable",
33+
"sideEffects": [
34+
"*.css",
35+
"*.vue"
36+
],
37+
"homepage": "https://github.com/vue-pivottable/vue3-pivottable/tree/main/packages/lazy-table-renderer",
3238
"author": "Seungwoo, Lee <[email protected]>",
3339
"license": "MIT",
3440
"scripts": {
35-
"dev": "vite",
36-
"build": "vite build",
37-
"preview": "vite preview"
41+
"build": "vite build"
3842
},
39-
"dependencies": {
40-
"vue-pivottable": "workspace:*",
41-
"vue": "^3.5.13"
43+
"peerDependencies": {
44+
"vue": "^3.2.0",
45+
"vue-pivottable": "^1.0.0-alpha.0"
4246
},
4347
"devDependencies": {
48+
"vue-pivottable": "workspace:*",
4449
"@vitejs/plugin-vue": "^5.2.1",
4550
"vite": "^6.1.0"
4651
}

packages/lazy-table-renderer/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { PivotUtilities } from 'vue-pivottable'
55
export default markRaw({
66
'Lazy Table': defineComponent({
77
name: 'vue-lazy-table',
8+
props: { ...PivotUtilities.defaultProps },
89
setup(props) {
910
return () =>
1011
h(LazyPivottableRenderer, {
11-
...PivotUtilities.defaultProps,
1212
...props,
1313
chunkSize: 50,
1414
bufferSize: 1

packages/lazy-table-renderer/vite.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export default defineConfig(({ command, mode, ssrBuild }) => {
2727
output: {
2828
exports: 'named',
2929
globals: {
30-
vue: 'Vue'
30+
'vue': 'Vue',
31+
'vue-pivottable': 'VuePivottable'
3132
}
3233
}
3334
},

0 commit comments

Comments
 (0)