open-index/open-npm huggingface dataset:
npm package: @marrow/sync-oss
Description: github actions 同步 oss
Latest version: 1.1.1

# @marrow/sync-oss

通过 github actions 同步静态文件到 OSS。

规则：

- master 分支的 push/merge 动作，会进行构建，然后将构建产物（dist 目录）推送到指定的 bucket
- release 分支的 push/merge 动作，会进行构建，然后将构建产物（dist 目录）推送到指定的 bucket（一般是 test- 开头 + 生产环境 bucket 名称）

如果不希望通过默认规则进行上传，请修改生成 sync.js 脚本的内容。

## 安装

```
yarn add @marrow/sync-oss -D
```

## 初始化

> 请事先在阿里云 OSS 上创建好 bucket

```
npx @marrow/sync-oss bucket-name
```

- 生成 github actions 的 yml 文件：.github/workflows/cicd.yml
- 生成 同步脚本：sync.js

## 注意

请不要将任何涉及密钥相关的信息传到 git，github 上可以通过平台的 secret 进行配置，然后通过环境变量读取。
npm package: @mars-games/vue3-test-login-component
Description: This template should help get you started developing with Vue 3 in Vite.
Latest version: 0.0.1

# vue3-test-login-component

This template should help get you started developing with Vue 3 in Vite.

## Recommended IDE Setup

[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).

## Customize configuration

See [Vite Configuration Reference](https://vite.dev/config/).

## Project Setup

```sh
npm install
```

### Compile and Hot-Reload for Development

```sh
npm run dev
```

### Compile and Minify for Production

```sh
npm run build
```

### Run Unit Tests with [Vitest](https://vitest.dev/)

```sh
npm run test:unit
```

### Run End-to-End Tests with [Cypress](https://www.cypress.io/)

```sh
npm run test:e2e:dev
```

This runs the end-to-end tests against the Vite development server.
It is much faster than the production build.

But it's still recommended to test the production build with `test:e2e` before deploying (e.g. in CI environments):

```sh
npm run build
npm run test:e2e
```

### Lint with [ESLint](https://eslint.org/)

```sh
npm run lint
```