Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
2525578
Add petite-vue plugins support
ws-rush Jul 16, 2022
b66a6dd
Add `$root` refer to component root element
Aug 29, 2022
980daf5
Change scope of ref with `v-scope`
Aug 29, 2022
53bb85f
Change project name
ws-rushx Feb 17, 2023
f07deba
typo
ws-rushx Feb 17, 2023
765ad2c
Change package name and version
ws-rushx Feb 17, 2023
3b3a1bb
Expose $el to v-scope
ws-rushx Feb 18, 2023
251feaa
Update package and Readme
ws-rushx Feb 18, 2023
c06ead9
Fix refrences
ws-rushx Feb 23, 2023
f66176f
Change release
ws-rushx Feb 23, 2023
579cd71
Support <template> in
ws-rushx Feb 23, 2023
2feafa6
Rename project
ws-rushx May 19, 2023
8fbf6da
Added `watchEffect`
lucafabbian Nov 8, 2023
7cd9f30
Merge pull request #1 from lucafabbian/main
ws-rush May 24, 2024
72ff52c
fix: fix pico-vue dependcies to 3.2.27
ws-rushx Jun 3, 2024
a218db7
deps: update typescript dependcy to 5.4.5
ws-rushx Jun 11, 2024
f50d781
dependcy: upgrade vite to 5.2.13
ws-rushx Jun 11, 2024
c5b0f5d
depndcy: uupdate @vue/reactivity to 3.2.45
ws-rushx Jun 11, 2024
9369a77
dependcy: fix @vue@reactivity version
ws-rushx Jun 11, 2024
de86716
release: pico-vue@1.0.5
ws-rushx Jun 11, 2024
17ae0ab
change: rename project to pocket-vue
ws-rush Sep 23, 2025
3ee6a93
fix: update commits example to use working API endpoint
ws-rush Sep 23, 2025
bc3965e
Merge pull request #5 from ws-rush/fix-exmaple
ws-rush Sep 23, 2025
c907a3d
test: add comprehensive test suite and testing guide
ws-rush Sep 23, 2025
c7e636b
fix: types for { moduleResolution: Node16 }
ws-rush Sep 23, 2025
e0f97a0
chore: update dependencies and build configuration to modern standards
ws-rush Sep 23, 2025
a1d2ec6
Merge pull request #6 from ws-rush/upgrade-deps
ws-rush Sep 23, 2025
fe3ff5f
fix: build command
ws-rush Sep 23, 2025
13a59b9
Merge pull request #7 from ws-rush/fix--build-command
ws-rush Sep 23, 2025
da2ca0b
change: convert 'range' automaticlly to number without need .number m…
ws-rush Sep 23, 2025
ad765c7
chore: typo
ws-rush Sep 23, 2025
f965e5e
fix: todomvc example
ws-rush Sep 23, 2025
a13c956
docs: update CDN links and version information
ws-rush Sep 23, 2025
3b809d0
fix: v-if nested in v-for template tag
ws-rush Sep 23, 2025
3e430cc
Merge pull request #9 from ws-rush/enhances
ws-rush Sep 23, 2025
b69d189
release: v1.0.0
ws-rush Sep 23, 2025
0f496de
Merge pull request #10 from ws-rush/enhances
ws-rush Sep 23, 2025
857258e
fix(v-bind): Enhance reactivity and testing reliability
ws-rush Sep 25, 2025
2bcb8d5
fix(v-bind): correctly remove attributes when value is null/undefined
ws-rush Sep 25, 2025
dd23362
chore: clean unneeded tests
ws-rush Sep 25, 2025
27291f0
fix: package published w/o dist
ws-rush Sep 26, 2025
7bf2d56
release: v1.0.1
ws-rush Sep 26, 2025
8d0e507
fix: elemenate node spesfic code from bundles
ws-rush Sep 26, 2025
3770193
fix(doc): correct cdn links
ws-rush Sep 26, 2025
0e8052b
release: v1.0.2
ws-rush Sep 26, 2025
49ee3ad
config: add types export
ws-rush Sep 26, 2025
ab42316
Merge branch 'main' of https://github.com/ws-rush/pocket-vue into tes…
ws-rush Sep 26, 2025
fb3da69
fix: types generation
ws-rush Sep 26, 2025
ca6493f
fix: types generation
ws-rush Sep 26, 2025
9c8cd8a
release: v1.1.0
ws-rush Sep 26, 2025
675b5c2
release: v1.1.1
ws-rush Sep 26, 2025
56405d9
release: v1.1.2
ws-rush Sep 26, 2025
8649d52
Merge pull request #11 from ws-rush/test-coverage
ws-rush Sep 26, 2025
3e41ba9
chore(deps): upgrade to vitest 4
ws-rush Oct 23, 2025
7e16c0a
feat: migrate tests from happy-dom to browser mode with Playwright
ws-rush Oct 24, 2025
bc88638
fix: make tests compatible with browser mode
ws-rush Oct 24, 2025
23c8cab
feat: enhance test coverage and fix type errors
ws-rush Oct 24, 2025
ad7844b
chore(tests): enhance branch test coverage
ws-rush Oct 24, 2025
017f971
chore(test): enhance tests quality
ws-rush Oct 24, 2025
9e3aa39
chore(tests): enhance tests consistincy
ws-rush Oct 24, 2025
26b685d
Merge pull request #14 from ws-rush/test-coverage
ws-rush Oct 24, 2025
cec5c92
Add DeepWiki badge to README
ws-rush Nov 15, 2025
869367f
feat: add fileName to vite config
google-labs-jules[bot] Nov 17, 2025
00e9262
Merge pull request #15 from ws-rush/fix/cdn-build-issue
ws-rush Nov 17, 2025
305f1ab
Add esm.sh ESM build link to README
ws-rush Nov 17, 2025
631fe43
refactor: whole code base
ws-rush Nov 20, 2025
dc330e0
release: v1.2.0
ws-rush Nov 20, 2025
362c9dc
release: package
ws-rush Nov 20, 2025
2f96aa2
feat: Set up VitePress documentation, including new content pages and…
ws-rush Feb 21, 2026
02978ce
docs: remove outdated statement about fork focus from README.md
ws-rush Feb 21, 2026
8d8f0f3
docs: Phase 2: Core API documentation complete
ws-rush Feb 21, 2026
1dc0df9
docs: Phase 3: Directive documentation complete
ws-rush Feb 21, 2026
2eab7a8
docs: Phase 4: Server-side framework integration guides complete
ws-rush Feb 21, 2026
ff70a50
docs: Phase 5: Examples and cookbook complete
ws-rush Feb 21, 2026
fb116c7
docs: Phase 6: Finalize documentation and fix build issues
ws-rush Feb 21, 2026
024cc4c
test: Enhance ref handling in `walk` and `app` tests, and improve tea…
ws-rush Feb 22, 2026
f9c80e4
docs: Update documentation, rebuild VitePress site, and modify `app.ts`.
ws-rush Feb 22, 2026
42a00c6
feat: Introduce JSR publishing support, define the `App` interface, a…
ws-rush Feb 22, 2026
9a66e56
release: v0.0.1
ws-rush Feb 22, 2026
7fb7309
build: Update Pico-Vue library, type definitions, and rebuild documen…
ws-rush Feb 22, 2026
a9be8c2
release: v0.0.2
ws-rush Feb 22, 2026
1b6e577
feat: automate JSR publishing with a new GitHub Actions workflow and …
ws-rush Feb 22, 2026
a75e9c5
Merge pull request #16 from ws-rush/docs
ws-rush Feb 22, 2026
4d793bb
release: v0.0.3
ws-rush Feb 22, 2026
b929449
ci: fix missing dependencies in jsr-publish workflow by installing pnpm
ws-rush Feb 22, 2026
e08582b
release: v0.0.4
ws-rush Feb 22, 2026
baebcb5
docs: fix inaccurate API docs and add $el support to all directive ex…
ws-rush May 2, 2026
5741100
chore: switch from JSR to npm publishing with @rush/pico-vue
ws-rush May 2, 2026
2948f2d
rename to pocket-vue, switch from JSR to npm
ws-rush May 2, 2026
b079f42
release: v1.2.1
ws-rush May 2, 2026
0add942
fix: correct @vitest/browser-playwright version specifier in package.…
ws-rush May 2, 2026
8bbb07d
docs: update homepage url to pocket-vue.pages.dev
ws-rush May 2, 2026
64da5f6
feat(docs): add compact playground with shareable examples
ws-rush May 2, 2026
5d8e2fa
fix(docs): serve standalone playground without VitePress preload warn…
ws-rush May 2, 2026
137a430
docs: update logo file extension from png to jpg
ws-rush May 2, 2026
0051668
docs!: remove non-functional $data global and clean up legacy files
ws-rush May 2, 2026
6069058
docs: improve README and add CONTRIBUTING guide
ws-rush Jun 4, 2026
f9a4fb2
docs: update documentation URL to pocket-vue.wusaby.com
ws-rush Jun 4, 2026
df10074
docs: fix docs accuracy and navigation
ws-rush Jun 27, 2026
df6a672
feat(docs): replace self-hosted playground with MyLab share links
ws-rush Aug 10, 2026
632a6f7
Merge pull request #17 from ws-rush/feat/playground-mylab-links
ws-rush Aug 10, 2026
698bd46
docs(playground): update MyLab playground domain to byrush.me
ws-rush Aug 12, 2026
3a1b6ac
Merge pull request #18 from ws-rush/feat/playground-mylab-links
ws-rush Aug 12, 2026
2b1f613
docs: update domain to pocket-vue.byrush.me
ws-rush Aug 12, 2026
1d7f839
docs: rename playground to examples
ws-rush Aug 12, 2026
9a01fd9
Merge pull request #19 from ws-rush/feat/update-domain
ws-rush Aug 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 36 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish to npm

on:
push:
tags:
- "v*"

jobs:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm build

- name: Publish to npm
run: pnpm publish --no-git-checks --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
TODOs.md
node_modules
dist
explorations
explorations

.claude/
conductor/

dist/
AGENTS.md
75 changes: 62 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,74 @@
## [0.4.1](https://github.com/vuejs/petite-vue/compare/v0.4.0...v0.4.1) (2022-01-18)
## [1.2.1](https://github.com/ws-rush/pocket-vue/compare/v0.0.4...v1.2.1) (2026-05-02)

### Bug Fixes
## [0.0.4](https://github.com/ws-rush/pocket-vue/compare/v0.0.3...v0.0.4) (2026-02-22)

## [0.0.3](https://github.com/ws-rush/pocket-vue/compare/v0.0.2...v0.0.3) (2026-02-22)

- custom delimiters in child contexts ([#90](https://github.com/vuejs/petite-vue/issues/90)) ([1bbd4d1](https://github.com/vuejs/petite-vue/commit/1bbd4d1c00c6c19f2ee6740e728fb274101fc6c9))
### Features

# [0.4.0](https://github.com/vuejs/petite-vue/compare/v0.3.0...v0.4.0) (2021-12-10)
- automate JSR publishing with a new GitHub Actions workflow and enhance documentation with JSDoc comments. ([1b6e577](https://github.com/ws-rush/pocket-vue/commit/1b6e577c8033e9d5dbbb4e78d7949c8d01b4c8f9))

### Breaking Changes
## [0.0.2](https://github.com/ws-rush/pocket-vue/compare/v0.0.1...v0.0.2) (2026-02-22)

- require vue: prefix for lifecycle hooks ([a981928](https://github.com/vuejs/petite-vue/commit/a9819283f8504a9c2d0cea4d9d122028eba2d10d))
## [0.0.1](https://github.com/ws-rush/pocket-vue/compare/v1.2.0...v0.0.1) (2026-02-22)

# [0.3.0](https://github.com/vuejs/petite-vue/compare/v0.2.3...v0.3.0) (2021-09-14)
### Features

- Introduce JSR publishing support, define the `App` interface, and refine internal types and directive imports. ([42a00c6](https://github.com/ws-rush/pocket-vue/commit/42a00c6a0c175856eab914e67df31ff322348475))
- Set up VitePress documentation, including new content pages and build output. ([2f96aa2](https://github.com/ws-rush/pocket-vue/commit/2f96aa2b080f2a0077f0f16500a03cc8f2c7d95f))

# [1.2.0](https://github.com/ws-rush/pocket-vue/compare/v1.1.2...v1.2.0) (2025-11-20)

### Bug Fixes

- fix parsing chained modifiers ([15f75e9](https://github.com/vuejs/petite-vue/commit/15f75e94db3ce1d3630d7ffc10e2db4748d94f3e))
- fix v-cloak on toggle ([#71](https://github.com/vuejs/petite-vue/issues/71)) ([f41981b](https://github.com/vuejs/petite-vue/commit/f41981b32ae4832e58223f55c209fd112dfbede7))
- v-for update on move ([#79](https://github.com/vuejs/petite-vue/issues/79)) ([9af4ea3](https://github.com/vuejs/petite-vue/commit/9af4ea35957053665e586556f7ffb90b9077db26))
- **v-model:** ensure v-model listeners are attached before v-on ([06d3aa7](https://github.com/vuejs/petite-vue/commit/06d3aa79b066410fe4e270b1a9dad65cb8d3fb97)), closes [#65](https://github.com/vuejs/petite-vue/issues/65)
- make tests compatible with browser mode ([bc88638](https://github.com/ws-rush/pocket-vue/commit/bc88638710096edd9135d011c887f85ce9198040))

### Features

- bind methods to context ([#74](https://github.com/vuejs/petite-vue/issues/74)) ([167c49d](https://github.com/vuejs/petite-vue/commit/167c49d6940c6f35c6002093d8807ac0e835dcea))
- custom delimiters ([eda903c](https://github.com/vuejs/petite-vue/commit/eda903c0a93fe048219b74b0a44064c87b553ad4))
- add fileName to vite config ([869367f](https://github.com/ws-rush/pocket-vue/commit/869367f849730ec7c641ca9377744610fb0cc08c)), closes [#22](https://github.com/ws-rush/pocket-vue/issues/22)
- enhance test coverage and fix type errors ([23c8cab](https://github.com/ws-rush/pocket-vue/commit/23c8cab256e46a68ccf27a7c840072314ffee11d))
- migrate tests from happy-dom to browser mode with Playwright ([7e16c0a](https://github.com/ws-rush/pocket-vue/commit/7e16c0ad73ff7578a3a397ffe32f1faa42a9d124))

## [1.1.2](https://github.com/ws-rush/pocket-vue/compare/v1.1.1...v1.1.2) (2025-09-26)

## [1.1.1](https://github.com/ws-rush/pocket-vue/compare/v1.0.2...v1.1.1) (2025-09-26)

### Bug Fixes

- types generation ([ca6493f](https://github.com/ws-rush/pocket-vue/commit/ca6493fe9bb86859c0e39450207a5f1897ec14af))
- types generation ([fb3da69](https://github.com/ws-rush/pocket-vue/commit/fb3da690f48ba7ada0ae75115c56f04bccb82410))
- **v-bind:** correctly remove attributes when value is null/undefined ([2bcb8d5](https://github.com/ws-rush/pocket-vue/commit/2bcb8d59ad702714e1367b1a784fc691cc1fe0b4))
- **v-bind:** Enhance reactivity and testing reliability ([857258e](https://github.com/ws-rush/pocket-vue/commit/857258e1b6573070c559aa17026661b7bd6d017f))

# [1.1.0](https://github.com/ws-rush/pocket-vue/compare/v1.0.2...v1.1.0) (2025-09-26)

### Bug Fixes

- types generation ([ca6493f](https://github.com/ws-rush/pocket-vue/commit/ca6493fe9bb86859c0e39450207a5f1897ec14af))
- types generation ([fb3da69](https://github.com/ws-rush/pocket-vue/commit/fb3da690f48ba7ada0ae75115c56f04bccb82410))
- **v-bind:** correctly remove attributes when value is null/undefined ([2bcb8d5](https://github.com/ws-rush/pocket-vue/commit/2bcb8d59ad702714e1367b1a784fc691cc1fe0b4))
- **v-bind:** Enhance reactivity and testing reliability ([857258e](https://github.com/ws-rush/pocket-vue/commit/857258e1b6573070c559aa17026661b7bd6d017f))

## [1.0.2](https://github.com/ws-rush/pocket-vue/compare/v1.0.1...v1.0.2) (2025-09-26)

### Bug Fixes

- **doc:** correct cdn links ([3770193](https://github.com/ws-rush/pocket-vue/commit/37701932a2d9a36799c49d2df82bff28a7c2ecfd))
- elemenate node spesfic code from bundles ([8d0e507](https://github.com/ws-rush/pocket-vue/commit/8d0e507fb313284d5c03545bc90fff741355369c))

## [1.0.1](https://github.com/ws-rush/pocket-vue/compare/v1.0.0...v1.0.1) (2025-09-26)

### Bug Fixes

- package published w/o dist ([27291f0](https://github.com/ws-rush/pocket-vue/commit/27291f048ba2b3deb3842465486a1e310cf027df))

# [1.0.0](https://github.com/ws-rush/pocket-vue/compare/v0.4.1...v1.0.0) (2025-09-23)

### Bug Fixes

- build command ([fe3ff5f](https://github.com/ws-rush/pocket-vue/commit/fe3ff5fb71d6889d11bbc47461683135e7f58990))
- fix pocket-vue dependcies to 3.2.27 ([72ff52c](https://github.com/ws-rush/pocket-vue/commit/72ff52cc479b9c6600104a74e826754294ad45d9))
- todomvc example ([f965e5e](https://github.com/ws-rush/pocket-vue/commit/f965e5e41d0c81dba4d834298a8784f4abf246c2))
- types for { moduleResolution: Node16 } ([c7e636b](https://github.com/ws-rush/pocket-vue/commit/c7e636b19024760177caa616404e2cab8a35dc80))
- update commits example to use working API endpoint ([3ee6a93](https://github.com/ws-rush/pocket-vue/commit/3ee6a93a8ace6c1d757193e0ff71b5cbf0f2abc6))
- v-if nested in v-for template tag ([3b809d0](https://github.com/ws-rush/pocket-vue/commit/3b809d0e08b62c577683e0acec247b02fcff964e))
81 changes: 81 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Contributing to pocket-vue

Thank you for your interest in contributing! This guide will help you get started.

## Development Setup

```bash
# Install dependencies
pnpm install

# Start dev server
pnpm dev

# Run tests (watch mode)
pnpm test

# Run tests once
pnpm test:once

# Type check
pnpm typecheck

# Build
pnpm build
```

## Pull Request Process

1. **Fork** the repository and create your branch from `main`.
2. **Make your changes** and ensure tests pass (`pnpm test:once`).
3. **Run the type checker** (`pnpm typecheck`).
4. **Commit** your changes using [conventional commits](https://www.conventionalcommits.org/):
- `feat:` for new features
- `fix:` for bug fixes
- `docs:` for documentation changes
- `chore:` for maintenance tasks
5. **Open a Pull Request** with a clear description of the change.

## Publishing a Release

Releases are published automatically to npm when a `v*` tag is pushed to GitHub.

### Using the release script (recommended)

```bash
pnpm release
```

This will:

1. Prompt you to select a version increment (`patch`, `minor`, or `major`)
2. Build the package
3. Generate the changelog
4. Commit the version bump and changelog
5. Create a git tag (`vX.Y.Z`)
6. Push the tag — this triggers the GitHub Action that publishes to npm

### Publishing manually

If you need to publish without the release script:

```bash
# Update the version in package.json
npm version patch # or minor / major

# Push the tag to trigger the CI publish
git push origin --tags
```

The GitHub Action (`.github/workflows/npm-publish.yml`) will install dependencies, build, and run `pnpm publish --no-git-checks --access public` using the `NPM_TOKEN` repository secret.

## Reporting Issues

- Use [GitHub Discussions](https://github.com/ws-rush/pocket-vue/discussions) for questions and bug reports.
- Include a minimal reproduction when reporting bugs.

## Code Style

- TypeScript is used throughout the project.
- Follow the existing code style and conventions.
- Keep changes focused and minimal.
Loading