Skip to content

Commit

Permalink
Merge branch 'master' into fix-typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iosh authored Sep 16, 2024
2 parents 39ecaa5 + fcf1158 commit 943036f
Show file tree
Hide file tree
Showing 22 changed files with 3,622 additions and 5,074 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.3/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_size = 2
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = false
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install Dependencies
run: yarn

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn changeset:publish
version: yarn changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/test-Windows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Unit Test(Windows)
on:
pull_request:
branches: [master]
jobs:
ut-windows:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
os: [windows-latest] # windows-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 25

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Yarn
run: npm install yarn -g

- name: Install Dependencies
run: yarn install

- name: Test
run: yarn run test
32 changes: 32 additions & 0 deletions .github/workflows/test-macOS.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Unit Test(macOS)
on:
pull_request:
branches: [master]
jobs:
ut-mac:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
os: [macos-latest] # macos-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 25

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Yarn
run: npm install yarn -g

- name: Install Dependencies
run: yarn install

- name: Test
run: yarn run test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ results
npm-debug.log
node_modules
TODO.md
package-lock.json
1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Usage: nrm [options] [command]
* [yarn](https://yarnpkg.com)
* [cnpm](http://cnpmjs.org)
* [nodejitsu](https://www.nodejitsu.com)
* [taobao](http://npm.taobao.org/)
* [taobao](https://npmmirror.com)

## Related Projects

Expand Down
Loading

0 comments on commit 943036f

Please sign in to comment.