@modastar/z-router 0.0.15 → 0.0.16

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.
@@ -0,0 +1,38 @@
1
+ name: Publish Package
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions:
9
+ id-token: write
10
+ contents: read
11
+
12
+ jobs:
13
+ publish:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version: "24"
21
+ registry-url: "https://registry.npmjs.org"
22
+
23
+ - name: Setup pnpm
24
+ uses: pnpm/action-setup@v4
25
+
26
+ - name: Cache pnpm store and node_modules
27
+ uses: actions/cache@v4
28
+ with:
29
+ path: |
30
+ node_modules
31
+ ~/.pnpm-store
32
+ key: ${{ runner.os }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
33
+
34
+ - name: Install dependencies
35
+ run: pnpm install
36
+
37
+ - name: Publish package
38
+ run: pnpm publish --provenance --access public --no-git-checks
package/README.md CHANGED
@@ -0,0 +1,12 @@
1
+ # Z-Router
2
+
3
+ [![npm package][npm-badge]][npm]
4
+
5
+ [npm-badge]: https://img.shields.io/npm/v/@modastar/z-router.svg
6
+ [npm]: https://www.npmjs.org/package/@modastar/z-router
7
+
8
+ Z-Router is a lightweight stack routing library for modern web applications. It provides an easy way to manage navigation and URL handling in your React projects.
9
+
10
+ # License
11
+
12
+ [MIT](LICENSE)