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

@antmjs/upload-tencent

Package Overview
Dependencies
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antmjs/upload-tencent

常用工具

latest
Source
npmnpm
Version
3.0.3
Version published
Maintainers
2
Created
Source

@antmjs/upload-tencent

安装

pnpm add @antmjs/upload-tencent -g

配置

注:在执行该脚本的目录需要添加 antm.config.js 文件
module.exports = {
  uploadTencent: {
    CDN: 'x.xx.com',
    SecretId: '',
    SecretKey: '',
    Bucket: '',
    Region: '',
  },
}

资源上传

注:会自动生成随机串作为目录以防资源被覆盖
antm-upload-tencent upload --help

antm-upload-tencent upload --file-path ./a.png [--exclude-regexp "(.+?).map"]

antm-upload-tencent upload --dir ./ [--exclude-regexp "(.+?).map"]

Bundle 上传

注:通过--target-dir 作为目录以防资源被覆盖
antm-upload-tencent bundle --help

antm-upload-tencent bundle --target-dir \`static/${process.env.API_ENV}/${pkg.name}/${process.env.DEPOLY_VERSION}\` --dir \`./build\` [--exclude-regexp "(.+?).map"]

Keywords

miniprogram

FAQs

Package last updated on 08 Oct 2024

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