npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bcy-nss

v1.1.0

Published

护理管理系统脚手架

Readme

护理管理系统 vue3_1

基于宇道/若依脚手架改造

提交规范

  • feat 新功能(feature 缩写)
  • fix 解决 BUG
  • refactor 重构:既不修复 bug 也不添加功能的代码更改
  • perf 性能:改进性能的代码更改(performance 缩写)
  • docs 文档修改
  • test 添加缺失的测试或更正现有的测试
  • build 影响构建系统或外部依赖的更改(例子:gulp, broccoli, npm)
  • ci 对 CI 配置文件和脚本的更改

备注:

提交信息加上模块前缀 比如质控 quality-feat: 新功能

分支命名:参考护理管理工作群提出的分支规范

代码格式化

代码格式化下载 ESLint 插件和 Prettier - Code formatter 插件,可以保存时自动格式化代码

工具

引入了 tailwindcss,可以使用原子类快速构建页面,下载 Tailwind CSS IntelliSense 插件,可以快速提示类名,插件要额外配置一个东西才能实时生效,配置 quickSuggestions 的 strings 项的值为 on。

特殊文件夹

admin 放配置页面,business 放业务页面

命名

vue 组件文件命名要首字母大写,变量命名用驼峰,css 类名用中划线连接

整合流程

统一入口,统一实例,原子项目放入 modules 文件夹

将子项目 src 复制进主项目 modules 文件夹,修改名字为对应模块名,模块命名参考部署文档,比如质控模块名为 quality

在 quality 文件夹内搜索,批量修改文件引用路径

模块命名:质控(quality) 档案(document) 敏感指标(sensitive) 护士长手册(manual) 排班(scheduling) 满意度调查(survey) 不良事件(adverseEvent) 标准与制度(standard)

文件夹

@/api/ 只能引子目录 比如转换成@/modules/quality/api/,以下引子目录同理

@/assets/ 先引子目录,后续改成部分引子目录,公共部分引主目录

@/components/ 先引子目录,后续改成部分引子目录,公共部分引主目录

@/directive/ 先引子目录,后续改成部分引子目录,公共部分引主目录

@/hooks/ 先引子目录,后续改成引主目录

@/layout/ 只能引主目录

@/plugins/ 先引子目录,后续看下优化掉这个目录

@/router/ 只能引主目录 需要合并常量路由 路由要避免重名 需要修改路由初始化逻辑 命名加前缀防止模块重名

@/store/ 模块只能引子目录 实例只能引主目录 需要合并 store 具体模块要自己的 store 需要拆出来,单独引入到主 store store 的变量要避免重名,公用 state 在子目录中去除,再抽到主目录中去

@/utils/ 先引子目录,后续改成引主目录

@/views/ 只能引子目录

备注:有些是路径写 src 开头的不是@,src 的也得搜一下,不然会漏了

文件

@/App.vue 只能引主目录

@/main.js 只能引主目录

@/permission.js 只能引主目录

@/settings.js 只能引主目录

合并文件到主目录

合并 src/store/modules/permission.js

合并 router,store,main.js,permission.js,settings.js,package.json

合并 assets 里面的全局注册样式到主目录的 assets,包括一些全局样式和 iconfont 文件

为避免重名

路由路径要加上模块名作为前缀,用下划线隔开 (可以通过数据库批量加 path 的模块名前缀,也可以去大后台手动改)

store 也需要加上模块名作为前缀

路由路径都加上模块前缀后,之前通过写死路径进行跳转的地方都需要修改 (可以全局搜 push 和 replace,修改死路径)

抽公共资源

先保证能顺利跑起来,跑起来之后,抽公共资源到主目录,assets,components,directive,hooks,utils

后续实现

根据命令行动态生成配置文件,打包时根据所需模块,更改文件引入,import.meta.glob,文件合并,依赖包合并,现在初步方案是打包前先执行预置脚本修改入口文件内容从而实现不同模块的按需打包

档案管理接口文档

http://192.168.1.17:8082/nursing-management/doc.html#/%E6%A0%87%E5%87%86%E4%B8%8E%E5%88%B6%E5%BA%A6/%E5%88%B6%E5%BA%A6%E4%B8%8E%E6%A0%87%E5%87%86-%E5%B7%A5%E4%BD%9C%E8%81%8C%E8%B4%A3%E4%BF%A1%E6%81%AF%E8%A1%A8%E7%AE%A1%E7%90%86/addUsingPOST_22