Skip to content

Commit a154b93

Browse files
Merge pull request #5 from webdevnerdstuff/dev
Dev
2 parents 3fa4925 + d665ef8 commit a154b93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+3059
-1434
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
node_modules
33
# don't lint build output (make sure it's set to your correct build folder name)
44
dist
5+
6+
.eslintrc.js

.eslintrc.js

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ module.exports = {
1111
'prettier',
1212
'./.eslintrc-auto-import.json',
1313
],
14+
ignorePatterns: [
15+
".eslintrc.js",
16+
],
1417
overrides: [
1518
{
1619
files: [
@@ -25,7 +28,7 @@ module.exports = {
2528
Entry: true,
2629
},
2730
parserOptions: {
28-
parser: "@typescript-eslint/parser",
31+
parser: '@typescript-eslint/parser',
2932
},
3033
plugins: [
3134
'@typescript-eslint',
@@ -40,14 +43,15 @@ module.exports = {
4043
},
4144
},
4245
rules: {
43-
"@typescript-eslint/ban-types": [
44-
"error",
46+
'@typescript-eslint/ban-ts-comment': 0,
47+
'@typescript-eslint/ban-types': [
48+
'error',
4549
{
46-
"extendDefaults": true,
47-
"types": {
48-
"{}": false
50+
'extendDefaults': true,
51+
'types': {
52+
'{}': false,
4953
}
50-
}
54+
},
5155
],
5256
'@typescript-eslint/no-empty-function': 0,
5357
'brace-style': ['error', 'stroustrup'],
@@ -66,7 +70,7 @@ module.exports = {
6670
'linebreak-style': 0,
6771
'max-len': 0,
6872
'no-else-return': ['error', { allowElseIf: true }],
69-
'no-console': ['warn', { allow: ['warn', 'error', 'info'] }],
73+
'no-console': ['warn', { allow: ['warn', 'error', 'info', 'trace'] }],
7074
'no-const-assign': 'error',
7175
'no-debugger': 0,
7276
'no-new': 0,
@@ -132,6 +136,13 @@ module.exports = {
132136
'vue/no-v-for-template-key': 0,
133137
'vue/no-v-html': 0,
134138
'vue/singleline-html-element-content-newline': 0,
139+
'vue/sort-keys': ['error', 'asc', {
140+
caseSensitive: true,
141+
ignoreChildrenOf: ['model', 'defineProps'],
142+
ignoreGrandchildrenOf: ['computed', 'directives', 'inject', 'props', 'watch', 'defineProps'],
143+
minKeys: 2,
144+
natural: true,
145+
}],
135146
'vue/valid-template-root': 0,
136147
},
137148
};

.github/workflows/main.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@ jobs:
1616
build:
1717
runs-on: ubuntu-latest
1818

19-
strategy:
20-
matrix:
21-
node-version: [19]
19+
# strategy:
20+
# matrix:
21+
# node-version: [19]
2222

23-
steps:
24-
- uses: actions/checkout@v3
23+
# steps:
24+
# - uses: actions/checkout@v3
2525

26-
- name: Use Node.js ${{ matrix.node-version }}
27-
uses: actions/setup-node@v3
28-
with:
29-
node-version: ${{ matrix.node-version }}
26+
# - name: Use Node.js ${{ matrix.node-version }}
27+
# uses: actions/setup-node@v3
28+
# with:
29+
# node-version: ${{ matrix.node-version }}
3030

31-
- name: Build
32-
run: |
33-
git config --global user.email "webdevnerdstuff@gmail.com"
34-
git config --global user.name "WebDevNerdStuff"
35-
mkdir docs
36-
npm install --g gh-pages
37-
npm i
38-
npm run build
39-
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
40-
npm run deploy -u "github-actions-bot <support+actions@github.com>"
41-
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
# - name: Build
32+
# run: |
33+
# git config --global user.email "webdevnerdstuff@gmail.com"
34+
# git config --global user.name "WebDevNerdStuff"
35+
# mkdir docs
36+
# npm install --g gh-pages
37+
# npm i
38+
# npm run build:docs
39+
# git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
40+
# npm run deploy -u "github-actions-bot <support+actions@github.com>"
41+
# env:
42+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ lerna-debug.log*
99

1010
node_modules
1111
dist
12+
docs
1213
dist-ssr
1314
*.local
1415

1516
# Editor directories and files
1617
.vscode/*
18+
.history/*
1719
!.vscode/extensions.json
1820
.idea
1921
.DS_Store

README.md

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,46 @@
1-
# Vuetify Drilldown Table (alpha)
1+
<p align="center">
2+
<img alt="Vuetify Logo" width="100" src="https://raw.githubusercontent.com/webdevnerdstuff/vuetify-drilldown-table/main/src/assets/vuetify-logo.svg">
3+
</p>
24

5+
<p>
6+
<h1 align="center">Vuetify Drilldown Table (alpha)</h1>
7+
</p>
38

4-
## Development Playground
5-
`pnpm i && pnpm play`
6-
7-
Playground file can be found in `./src/playground/PlaygroundPage.vue`
9+
<p align="center">
10+
<a href="https://www.npmjs.com/package/vuetify-drilldown-table">
11+
<img src="https://img.shields.io/npm/v/vuetify-drilldown-table?color=1867c0&logo=npm" alt="NPM Package">
12+
</a>
13+
&nbsp;
14+
<a href="https://github.com/webdevnerdstuff/vuetify-drilldown-table">
15+
<img src="https://img.shields.io/badge/GitHub-WebDevNerdStuff-brightgreen.svg?logo=github" alt="@WebDevNerdStuff">
16+
</a>
17+
</p>
818

919

1020
## Description
1121

12-
TBD
22+
The `vuetify-drilldown-table` component extends the functionality of the Vuetify 3 [v-data-table](https://vuetifyjs.com/en/components/data-tables/basics/) to recursively drilldown into child tables.
23+
24+
25+
## Development Playground
26+
27+
The `vuetify-drilldown-table` is still a work in progress as `v-data-table` is still in Vuetify Laps. If you would like to test the component out, you can clone the repo and run the following commands:
28+
29+
`pnpm i && pnpm play`
30+
31+
This will open up a Playground page that loads the file `./src/playground/PlaygroundPage.vue`. You can edit this file to test out the component.
1332

1433

1534
## Installation
35+
1636
Using [pnpm](https://pnpm.io/):
1737
```
18-
pnpm add [tbd]
38+
pnpm add vuetify-drilldown-table
1939
```
2040

2141
Using npm:
2242
```
23-
npm i [tbd]
43+
npm i vuetify-drilldown-table
2444
```
2545

2646
## Documentation
@@ -44,6 +64,6 @@ Copyright (c) 2023 WebDevNerdStuff
4464
Licensed under the [MIT license](https://github.com/webdevnerdstuff/vuetify-drilldown-table/blob/master/LICENSE.md).
4565

4666

47-
<!-- ## Legal
67+
## Legal
4868

49-
Vuetify and the Vuetify logo are trademarks of Vuetify. This component was not created or endorsed by Vuetify. -->
69+
Vuetify and the Vuetify logo are trademarks of Vuetify. This component was not created or endorsed by Vuetify.

package.json

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@
33
"version": "0.0.0-alpha1",
44
"description": "The vuetify-drilldown-table",
55
"private": false,
6-
"main": "dist/vuetify-drilldown-table.js",
6+
"main": "dist/vuetify-drilldown-table.cjs.js",
77
"module": "dist/vuetify-drilldown-table.es.js",
88
"types": "dist/types/index.d.ts",
99
"scripts": {
1010
"dev": "vite",
1111
"watch": "pnpm dev",
1212
"play": "sh src/playground/configs/build.sh && NODE_ENV=playground vite",
1313
"bundle": "rollup -c --bundleConfigAsCjs",
14-
"build": "vue-tsc && vite build",
14+
"build": "vue-tsc && vite build --config vite.build.config.ts",
15+
"build:docs": "vite build",
1516
"predeploy": "npm run build",
1617
"deploy": "gh-pages -d docs",
17-
"prepublishOnly": "npm run bundle",
18+
"prepublishOnly": "npm run build",
1819
"lint": "eslint src/**/*.{ts,vue} --max-warnings 10",
1920
"prepare": "husky install"
2021
},
@@ -66,59 +67,62 @@
6667
],
6768
"dependencies": {
6869
"vue": "^3.2.47",
69-
"vuetify": "3.1.15"
70+
"vuetify": "3.2.2"
7071
},
7172
"devDependencies": {
72-
"@babel/core": "^7.21.4",
73-
"@babel/eslint-parser": "^7.21.3",
73+
"@babel/core": "^7.21.8",
74+
"@babel/eslint-parser": "^7.21.8",
7475
"@mdi/font": "^7.2.96",
7576
"@rollup/plugin-alias": "^5.0.0",
7677
"@rollup/plugin-commonjs": "^24.1.0",
7778
"@rollup/plugin-json": "^6.0.0",
7879
"@rollup/plugin-node-resolve": "^15.0.2",
7980
"@rollup/plugin-terser": "^0.4.1",
80-
"@types/node": "^18.15.13",
81-
"@typescript-eslint/eslint-plugin": "^5.59.0",
82-
"@typescript-eslint/parser": "^5.59.0",
83-
"@vitejs/plugin-vue": "^4.1.0",
81+
"@types/node": "^18.16.3",
82+
"@typescript-eslint/eslint-plugin": "^5.59.2",
83+
"@typescript-eslint/parser": "^5.59.2",
84+
"@vitejs/plugin-vue": "^4.2.1",
8485
"@vue/cli-plugin-babel": "^5.0.8",
8586
"@vue/cli-plugin-eslint": "^5.0.8",
8687
"@vue/cli-service": "^5.0.8",
8788
"@vue/compiler-sfc": "^3.2.47",
88-
"@vue/eslint-config-typescript": "^11.0.2",
89+
"@vue/eslint-config-typescript": "^11.0.3",
8990
"autoprefixer": "^10.4.14",
90-
"eslint": "^8.38.0",
91+
"eslint": "^8.39.0",
9192
"eslint-config-prettier": "^8.8.0",
9293
"eslint-plugin-import": "^2.27.5",
9394
"eslint-plugin-prettier": "^4.2.1",
9495
"eslint-plugin-vue": "^9.11.0",
9596
"gh-pages": "^5.0.0",
9697
"husky": "^8.0.3",
97-
"lint-staged": "^13.2.1",
98+
"lint-staged": "^13.2.2",
9899
"pinia": "^2.0.35",
99100
"postcss": "^8.4.23",
100101
"postcss-html": "^1.5.0",
101102
"postcss-scss": "^4.0.6",
102-
"prettier": "^2.8.7",
103+
"prettier": "^2.8.8",
103104
"roboto-fontface": "^0.10.0",
104-
"rollup": "^3.20.7",
105+
"rollup": "^3.21.4",
105106
"rollup-plugin-polyfill-node": "^0.12.0",
106107
"rollup-plugin-postcss": "^4.0.2",
107108
"rollup-plugin-scss": "^4.0.0",
108109
"rollup-plugin-typescript2": "^0.34.1",
109-
"sass": "^1.62.0",
110-
"stylelint": "^15.5.0",
110+
"sass": "^1.62.1",
111+
"stylelint": "^15.6.1",
111112
"stylelint-config-standard": "^33.0.0",
112113
"stylelint-order": "^6.0.3",
113-
"stylelint-scss": "^4.6.0",
114+
"stylelint-scss": "^5.0.0",
114115
"typescript": "^5.0.4",
115116
"unplugin-auto-import": "^0.15.3",
116-
"vite": "^4.3.1",
117+
"vite": "^4.3.4",
117118
"vite-plugin-babel": "^1.1.3",
119+
"vite-plugin-css-injected-by-js": "^3.1.0",
120+
"vite-plugin-dts": "^2.3.0",
118121
"vite-plugin-eslint": "^1.8.1",
122+
"vite-plugin-static-copy": "^0.14.0",
119123
"vite-plugin-stylelint": "^4.3.0",
120124
"vite-plugin-vuetify": "^1.0.2",
121-
"vue-tsc": "^1.4.2",
125+
"vue-tsc": "^1.6.3",
122126
"vue3-code-block": "^2.1.0",
123127
"webfontloader": "^1.6.28"
124128
}

0 commit comments

Comments
 (0)