Skip to content

Implement provide/inject & use vite v6 #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
7976247
refactor: delete deno config - incompatible with vue sfc
softbeehive Jan 4, 2025
3098b39
refactor: remove vintage technology
softbeehive Jan 4, 2025
6285b94
refactor: upgrade vite
softbeehive Jan 4, 2025
efb5698
docs(license): use date range
softbeehive Jan 4, 2025
6a5a920
fix(formatting): use biome
softbeehive Jan 6, 2025
bbadbf1
refactor: use vite, clean up dev dependencies
softbeehive Jan 6, 2025
70feade
refactor: update vscode workspace
softbeehive Jan 6, 2025
27ae134
feat: add examples for Payment, Express Checkout, and Card
softbeehive Jan 6, 2025
c72d701
feat: implement provide/inject using composition api
softbeehive Jan 6, 2025
bd3d838
refactor: update github workflow for CI
softbeehive Jan 6, 2025
12bf741
chore: bump package version
softbeehive Jan 6, 2025
7b615a4
fix: use pnpm in github workflow
softbeehive Jan 6, 2025
8d0a933
refactor: import missing element types
softbeehive Jan 6, 2025
e59a4bc
feat: complete payment example for deferred flow
softbeehive Jan 6, 2025
aca033f
refactor: use tailwind to style examples
softbeehive Jan 7, 2025
e1620ce
chore(CardElementLegacy): this tests old integrations without type work
softbeehive Jan 10, 2025
f270a3f
chore: update dev dependencies
softbeehive Jan 10, 2025
6bb2bf7
refactor(tsconfig): sort json keys
softbeehive Jan 10, 2025
c9d05db
fix: typescript issues, forward element events to component
softbeehive Jan 10, 2025
b05d833
fix: typescript issues in examples
softbeehive Jan 10, 2025
0dfb0e8
refactor: update demo title
softbeehive Jan 10, 2025
58a34eb
fix: install stripe-js as dependency
softbeehive Jan 10, 2025
788d356
fix: resolve overload issues
softbeehive Jan 10, 2025
00d9e9a
refactor(examples): make code more readable
softbeehive Jan 10, 2025
834e3ea
refactor: use await in Card example
softbeehive Jan 11, 2025
30b3d83
docs: add readme for how to run demo
softbeehive Jan 11, 2025
15cd6ec
docs: update readme part 1
softbeehive Jan 11, 2025
4c3d823
refactor(examples): use correct links for options
softbeehive Jan 12, 2025
f6fd546
docs: add new quickstart, examples and more
softbeehive Jan 12, 2025
5d6f728
docs: set html syntax in some sections
softbeehive Jan 12, 2025
ea57f32
docs: add links to upgrade guide and older documentation
softbeehive Jan 12, 2025
c686bdc
docs: create upgrade guide
softbeehive Jan 12, 2025
2063017
refactor: improve examples readme
softbeehive Jan 12, 2025
4aac429
docs(readme): fix typo
softbeehive Jan 12, 2025
70d6712
docs: proofread upgrade guide
softbeehive Jan 12, 2025
8385628
docs(readme): update example for vue v3.2 - v3.4
softbeehive Jan 13, 2025
88d57df
refactor(examples): add important comment about vue 3.5
softbeehive Jan 13, 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
42 changes: 22 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
name: Vue Stripe.js CI

on: [push, pull_request]
on:
pull_request:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
ci:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
node-version: ${{ matrix.node-version }}
version: 9

- name: Cache NPM
uses: actions/cache@v2
- name: Use Node.js
uses: actions/setup-node@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
node-version: 20
cache: 'pnpm'

- name: Install dependencies
run: yarn
run: pnpm install

- name: Unit Tests
run: yarn test
- name: Run CI
run: pnpm run ci
22 changes: 21 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
.DS_Store
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar"]
}
25 changes: 12 additions & 13 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
MIT License

Copyright (c) 2021 Oleksandr Bystrikov
Copyright (c) 2021 - present, Oleksandr Bystrikov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading
Loading