@pokt/vite-plugin-git-info
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@pokt/vite-plugin-git-info

页面显示 git 信息; 开发时 - 不重启 dev server 情况下 - 更新 git info

Features

  • [x] sync git-info on change
    • [x] sync to js via hmr api
  • [ ] js runtime adapt
    • [x] prepare initial git-info
  • [ ] enable adapters
    • [ ] auto inject for vue3
      • [ ] virtual module?
    • [ ] auto inject for vue2
    • [ ] auto inject for react
    • [ ] auto inject for raw js
  • [ ] webpack?
  • [x] inject floating info UX
    • [x] import a webcomponent as overlay wrapper
  • 项目中可引用的虚拟模块
    • [x] import gitInfo from "virtual:git-info:vue";
    • [ ] import gitInfo from "virtual:git-info";

Development

# 本地开发 
# 1. 先构建依赖的仓库
# 2. 启动本项目 - 
#   2.1 本项目显示内容 - 当前内容为 vue 引用已构建的 lit-element
#   TODO 改为纯 lit-element?
pnpm dev:lib 
#   2.1 本项目显示内容 - 当前内容为 vue 引用已构建的 lit-element
pnpm dev

# 本项目单独测试 client 部分
pnpm dev:client

Readme

Keywords

Package Sidebar

Install

npm i @pokt/vite-plugin-git-info

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

36.3 kB

Total Files

20

Last publish

Collaborators

  • songlary