diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7f2c653..bc7ad99 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,9 +27,6 @@ jobs: registry-url: 'https://registry.npmjs.org' cache: 'pnpm' - - name: Ensure npm 11.5.1 or later is installed - run: pnpm install -g npm@latest - - name: Install dependencies run: pnpm install @@ -37,4 +34,4 @@ jobs: run: pnpm build - name: Publish to npm - run: npm publish \ No newline at end of file + run: pnpm publish --no-git-checks \ No newline at end of file diff --git a/README.md b/README.md index 75df5b6..f2a6b37 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Code Quality - Code Quality + Documentation npm package @@ -27,10 +27,10 @@ library security - package size + package size Typescript - Made by Human + Made by Humans

@@ -127,6 +127,6 @@ This project welcomes anyone that have ideas to improve it. - [Start a new thread in Discussions](https://github.com/hesprs/pointeract/discussions/new) if you have feature requests or questions, please avoid posting them in Issues. - [Report a vulnerability](https://github.com/hesprs/pointeract/security/advisories/new) if you find one, please do not disclose it publicly. -## License +## Copyright and License -Pointeract is licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html). \ No newline at end of file +Copyright ©️ 2025-2026 Hesprs (Hēsperus) | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html) \ No newline at end of file diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 7c0a160..24f72dd 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -85,7 +85,10 @@ export default defineConfig({ ], search: { provider: 'local' }, - socialLinks: [{ icon: 'github', link: 'https://github.com/hesprs/pointeract' }], + socialLinks: [ + { icon: 'npm', link: 'https://www.npmjs.com/package/pointeract' }, + { icon: 'github', link: 'https://github.com/hesprs/pointeract' }, + ], editLink: { pattern: 'https://github.com/hesprs/pointeract/edit/main/docs/:path' }, }, markdown: { diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index c2606e8..0a18693 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -5,14 +5,11 @@ import DefaultTheme from 'vitepress/theme'; import { h } from 'vue'; import './style.css'; import 'virtual:group-icons.css'; +import Layout from './layout.vue'; export default { extends: DefaultTheme, - Layout: () => { - return h(DefaultTheme.Layout, null, { - // https://vitepress.dev/guide/extending-default-theme#layout-slots - }); - }, + Layout: Layout, enhanceApp({ app, router, siteData }) { // ... }, diff --git a/docs/.vitepress/theme/layout.vue b/docs/.vitepress/theme/layout.vue new file mode 100644 index 0000000..2f0410f --- /dev/null +++ b/docs/.vitepress/theme/layout.vue @@ -0,0 +1,55 @@ + + + + + \ No newline at end of file diff --git a/package.json b/package.json index 14ba1a6..07f263e 100644 --- a/package.json +++ b/package.json @@ -19,18 +19,19 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/Hesprs/Pointeract.git" + "url": "git+https://github.com/hesprs/pointeract.git" }, "homepage": "https://pointeract.consensia.cc", "bugs": { - "url": "https://github.com/Hesprs/Pointeract/issues" + "url": "https://github.com/hesprs/pointeract/issues" }, "files": ["dist"], "publishConfig": { "provenance": true, "access": "public" }, - "keywords": ["frontend", "pointer-events", "interaction", "TypeScript"], + "keywords": ["frontend", "pointer-events", "interaction", "typescript"], + "sideEffects": false, "author": { "name": "Hēsperus", "email": "hesprs@outlook.com"