
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
npm install gitone-ui --registry=http://192.168.100.228:60081
main.js 中:
import { BasicTable... } from 'gitone-ui/dist/vue2'
import 'gitone-ui/dist/vue2/index.css'
Vue.component('BasicTable', BasicTable)
main.js 中:
import { BasicTable... } from 'gitone-ui/dist/vue3'
import 'gitone-ui/dist/vue3/index.css'
app.component('BasicTable', BasicTable)
yarn run build 或 npm run build
npm publish --registry=http://192.168.100.228:60081 --message "发布信息...."
1、npm link : 构建全局link
# 切换到引入此组件的项目
npm uninstall gitone-ui
# 修改package.json gitone-ui 组件包地址 file:../../gitone-components/packages/vue2
2、npm run build
3、npm link 此组件名称(gitone-ui)
# 修改代码 需要重新打包 热更新
4、npm run build
gitone-components
├─ packages/
│ ├─ vue2/ # Vue2组件
│ │ ├─ src/ # 组件源码
│ │ │ ├─ api # api文件
│ │ │ ├─ assets # 静态资源
│ │ │ ├─ components/ # 组件文件
│ │ │ └─ index.js # Vue2专用入口
│ │ ├─ vite.config.js # vue2构建配置
│ │ └─ package.json # vue2配置
│ ├─ vue3/ # Vue3组件
│ │ ├─ src/ # 组件源码
│ │ │ ├─ api # api文件
│ │ │ ├─ assets # 静态资源
│ │ │ ├─ components/ # 组件文件
│ │ │ └─ index.js # Vue3专用入口
│ │ ├─ vite.config.js # vue3构建配置
│ │ └─ package.json # vue2配置
├─ dist/ # 构建输出目录
│ ├─ vue2/ # Vue2构建结果
│ └─ vue3/ # Vue3构建结果
├─ package.json # 主包配置
└─ vite.config.js # 统一构建配置
FAQs
```text npm install gitone-ui --registry=http://192.168.100.228:60081 ``` # 使用组件
We found that gitone-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.