vue-pdfiy 0.0.0 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/deploy.yml +36 -15
- package/README.md +4 -0
- package/docs/plugins/table-builder-api-refrences.md +430 -430
- package/docs/plugins/table-builder-hooks.md +294 -294
- package/package.json +9 -1
- package/plan.md +279 -279
|
@@ -1,58 +1,55 @@
|
|
|
1
|
-
# Sample workflow for building and deploying a VitePress site to GitHub Pages
|
|
2
|
-
#
|
|
3
1
|
name: Deploy VitePress site to Pages
|
|
4
2
|
|
|
5
3
|
on:
|
|
6
|
-
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
|
|
7
|
-
# using the `master` branch as the default branch.
|
|
8
4
|
push:
|
|
9
5
|
branches: [main]
|
|
10
|
-
|
|
11
|
-
# Allows you to run this workflow manually from the Actions tab
|
|
12
6
|
workflow_dispatch:
|
|
13
7
|
|
|
14
|
-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
15
8
|
permissions:
|
|
16
|
-
contents:
|
|
9
|
+
contents: write
|
|
17
10
|
pages: write
|
|
18
11
|
id-token: write
|
|
19
12
|
|
|
20
|
-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
|
21
|
-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
|
22
13
|
concurrency:
|
|
23
14
|
group: pages
|
|
24
15
|
cancel-in-progress: false
|
|
25
16
|
|
|
26
17
|
jobs:
|
|
27
|
-
# Build job
|
|
28
18
|
build:
|
|
29
19
|
runs-on: ubuntu-latest
|
|
30
20
|
steps:
|
|
31
21
|
- name: Checkout
|
|
32
|
-
uses: actions/checkout@
|
|
22
|
+
uses: actions/checkout@v4
|
|
33
23
|
with:
|
|
34
|
-
fetch-depth: 0
|
|
24
|
+
fetch-depth: 0
|
|
25
|
+
|
|
35
26
|
- uses: oven-sh/setup-bun@v1
|
|
27
|
+
|
|
36
28
|
- name: Setup Pages
|
|
37
29
|
uses: actions/configure-pages@v4
|
|
30
|
+
|
|
38
31
|
- name: Remove node_modules
|
|
39
32
|
run: rm -rf node_modules
|
|
33
|
+
|
|
40
34
|
- name: Remove .vitepress/dist
|
|
41
35
|
run: rm -rf .vitepress/dist
|
|
36
|
+
|
|
42
37
|
- name: Install dependencies
|
|
43
|
-
run: bun install
|
|
38
|
+
run: bun install
|
|
39
|
+
|
|
44
40
|
- name: Build Vue Project
|
|
45
41
|
run: bun run build
|
|
42
|
+
|
|
46
43
|
- name: Build with VitePress
|
|
47
44
|
run: bun run docs:build
|
|
48
45
|
env:
|
|
49
46
|
BASE: /${{ github.event.repository.name }}/
|
|
47
|
+
|
|
50
48
|
- name: Upload artifact
|
|
51
49
|
uses: actions/upload-pages-artifact@v3
|
|
52
50
|
with:
|
|
53
51
|
path: .vitepress/dist
|
|
54
52
|
|
|
55
|
-
# Deployment job
|
|
56
53
|
deploy:
|
|
57
54
|
environment:
|
|
58
55
|
name: github-pages
|
|
@@ -64,3 +61,27 @@ jobs:
|
|
|
64
61
|
- name: Deploy to GitHub Pages
|
|
65
62
|
id: deployment
|
|
66
63
|
uses: actions/deploy-pages@v4
|
|
64
|
+
|
|
65
|
+
publish:
|
|
66
|
+
needs: deploy
|
|
67
|
+
runs-on: ubuntu-latest
|
|
68
|
+
steps:
|
|
69
|
+
- name: Checkout # ← was missing
|
|
70
|
+
uses: actions/checkout@v4
|
|
71
|
+
|
|
72
|
+
- name: Setup Node # ← was missing
|
|
73
|
+
uses: actions/setup-node@v3
|
|
74
|
+
with:
|
|
75
|
+
node-version: '18'
|
|
76
|
+
registry-url: 'https://registry.npmjs.org'
|
|
77
|
+
|
|
78
|
+
- name: Install dependencies # ← was missing
|
|
79
|
+
run: npm install
|
|
80
|
+
|
|
81
|
+
- name: Bump version
|
|
82
|
+
run: npm version patch --no-git-tag-version
|
|
83
|
+
|
|
84
|
+
- name: Publish to npm
|
|
85
|
+
run: npm publish --access public
|
|
86
|
+
env:
|
|
87
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
A powerful Vue 3 composable for creating PDF documents with jsPDF and jsPDF-AutoTable. Build PDFs programmatically with a clean, fluent API.
|
|
4
4
|
|
|
5
|
+
|
|
6
|
+
[](https://www.npmjs.com/package/vue-pdfiy)
|
|
7
|
+
[](https://www.npmjs.com/package/vue-pdfiy)
|
|
8
|
+
|
|
5
9
|
## Features
|
|
6
10
|
|
|
7
11
|
- 📄 **Simple PDF Creation** - Create PDFs with ease using Vue 3 composables
|