New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@activity-com/anchor-navigation

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activity-com/anchor-navigation

锚点导航

latest
npmnpm
Version
1.5.0
Version published
Maintainers
1
Created
Source

@xmc/anchor-navigation

Command

yarn start              # 启动调试,Editor & 页面
yarn build              # 打包
yarn pub                # 发布 ☞ 依次执行:检测代码 Git 状态 & Build & 自动更新版本号 & 更新 CHANGELOG & 发布组件(发布后还需管理员审核组件)
yarn pub -r             # 发布,支持选择版本(推荐:首次发布新组件,或需要指定版本时使用)
yarn upgrade:core       # 升级组件开发核心依赖(@xmly/activity-maker-core、@xmly/activity-maker-actions 等)
yarn commit             # commit 提交(推荐,替代 git commit)

Documentation

  • 组件开发者文档
  • create-component-app

Construction

├── .cca/                       # 调试工具的缓存目录(用于安装远程组件)
├── .vscode/                    # vscode 默认配置(推荐 git 提交)
├── dist/                       # 组件打包输出
├── node_modules/
├── src/                        # 源码
│   ├── components/                 # 复用组件代码(推荐提取 node/preview 复用组件到 components,仅留下逻辑部分在 node/preview,减少重复代码)
│   ├── node/                       # 组件渲染代码(SSR 服务端渲染,需要包含组件的完整功能)
│   ├── preview/                    # preview 编辑预览代码
│   ├── setting/                    # setting 配置
│   ├── default-props.ts            # 组件配置的默认值(forms props)—— 合适、恰当的默认 forms props,会有助于运营同学理解“你的组件怎样配置”
│   ├── setupProxy.js               # 接口调试 proxy(可删除)
│   ├── type.ts                     # form props TS 类型定义(仅用于定义 props)
│   └── typings.d.ts                # TS 全局类型定义(相当于 React 项目的 react-app-env.d.ts)
├── .env.development            # yarn start:editor 环境变量
├── .env.node.development       # yarn start:node 环境变量
├── .gitignore
├── .yarnrc
├── CHANGELOG.md
├── README.md
├── package.json
├── tsconfig.json
└── yarn.lock

FAQs

Package last updated on 22 Aug 2023

Did you know?

Socket

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.

Install

Related posts