Skip to content

Commit

Permalink
Update all dependencies to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed Nov 11, 2022
1 parent 636b93f commit fa2c86f
Show file tree
Hide file tree
Showing 14 changed files with 11,512 additions and 15,710 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dist/
.eslintrc.js
24 changes: 15 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ module.exports = {
root: true,
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint"
"prettier"
],
parser: "@typescript-eslint/parser",
parserOptions: {
Expand All @@ -18,28 +16,36 @@ module.exports = {
plugins: ["@typescript-eslint"],
rules: {
"@typescript-eslint/no-floating-promises": ["error", { ignoreVoid: true }],
"@typescript-eslint/interface-name-prefix": [
"error",
{ prefixWithI: "always" }
],
"@typescript-eslint/no-unused-vars": ["warn", { args: "none" }],
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/ban-ts-ignore": "warn",
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/triple-slash-reference": "warn",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "interface",
"format": ["PascalCase"],
"custom": {
"regex": "^I[A-Z]",
"match": true
}
}
],
"no-inner-declarations": "off",
"no-prototype-builtins": "off",
"no-control-regex": "warn",
"no-undef": "warn",
"no-case-declarations": "warn",
"no-useless-escape": "off",
"prefer-const": "off"
"prefer-const": "off",
"no-unused-vars": "off"
}
};
62 changes: 36 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,45 +58,45 @@ possibility of automatically activating the `test` environment on all shells.
| [Caching environments](#caching-environments) | [![Caching Env Example Status][caching-env-badge]][caching-env] |

[ex1]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-1.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-1.yml
[ex1-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%201:%20Basic%20usage/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%201:%20Basic%20usage
[ex2]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-2.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-2.yml
[ex2-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%202:%20Other%20shells/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%202:%20Other%20shells
[ex3]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-3.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-3.yml
[ex3-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%203:%20Other%20options/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%203:%20Other%20options
[ex4]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-4.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-4.yml
[ex4-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%204:%20Channels/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%204:%20Channels
[ex5]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-5.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-5.yml
[ex5-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%205:%20Custom%20installer/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%205:%20Custom%20installer
[ex6]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-6.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-6.yml
[ex6-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%206:%20Mamba/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%206:%20Mamba
[caching]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/caching-example.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/caching-example.yml
[caching-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Caching%20Example/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Caching%20Example
[caching-env]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/caching-envs-example.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/caching-envs-example.yml
[caching-env-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Caching%20Env%20Example/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Caching%20Env%20Example
[ex7]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-7.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-7.yml
[ex7-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%207:%20Explicit%20Environment%20Specification/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%207:%20Explicit%20Environment%20Specification
[ex10]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-10.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-10.yml
[ex10-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%2010:%20Miniforge,%20etc/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%2010:%20Miniforge,%20etc

## Other Workflows

Expand All @@ -107,17 +107,17 @@ possibility of automatically activating the `test` environment on all shells.
| Workflow Status | [![Linting Status][linting-badge]][linting] | [![Catch Invalid Environments Status][ex8-badge]][ex8] | [![Handle Empty Channels Status][ex9-badge]][ex9] |

[linting]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/lint.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/lint.yml
[linting-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Linting/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Linting
[ex8]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-8.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-8.yml
[ex8-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%208:%20Catch%20invalid%20environment%20files/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%208:%20Catch%20invalid%20environment%20files
[ex9]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-9.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-9.yml
[ex9-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%209:%20Empty%20Channels%20in%20file%20dont%20crash%20setup/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%209:%20Empty%20Channels%20in%20file%20dont%20crash%20setup

## Environment activation

Expand Down Expand Up @@ -747,6 +747,16 @@ for project history, or
[CONTRIBUTING](https://github.com/conda-incubator/setup-miniconda/blob/master/CONTRIBUTING.md)
to get started adding features you need.

## Contributors

Thanks to all the contributors that make this awesome project possible!

<a href = "https://github.com/conda-incubator/setup-miniconda/graphs/contributors">
<img src = "https://contrib.rocks/image?repo=conda-incubator/setup-miniconda"/>
</a>

_Made with [contributors-img](https://contrib.rocks)._

## License

The scripts and documentation in this project are released under the
Expand Down
32 changes: 30 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,46 @@
# Release

- Update the `version` in [package.json](./package.json).
- Update dependencies

```bash
npm update @actions/core @actions/exec @actions/io @actions/tool-cache get-hrefs js-yaml semver --save
```

- Ensure the [CHANGELOG](./CHANGELOG.md) is up-to-date.

- Update the `version` in [package.json](./package.json).

- If this release is a major version, update all the example YAML in the
[README](./README.md), e.g. `2.0.0` would need `@v1` -> `@v2`.
[README](./README.md), e.g. `3.0.0` would need `@v2` -> `@v3`.

- Run the [build](./CONTRIBUTING.md#build).

- All contributions currently go to the `develop` branch. To make a new
releasecheckout to the `main` branch and merge with `develop` and then proceed
with the release process. We also keep the `master` branch until `v3` is
released with a wrtning so we also merge this with develop.

```bash
git checkout develop
git pull origin develop
git checkout master
git pull origin master
git merge develop
git push origin master
git checkout main
git pull origin main
git merge develop
git push origin main
```

- Create a new named tag:

```bash
git tag -a vX.Y.Z -m 'Release version vX.Y.Z'
```

Replace `X.Y.Z` by the appropriate version number.

- Point the old `vX` tag to latest `vX.Y.Z` tag:

```bash
Expand All @@ -24,3 +50,5 @@ git tag -a vX -m 'Release version vX.Y.Z'
git push origin --tags
git push origin master
```

Replace `X.Y.Z` by the appropriate version number.
Loading

0 comments on commit fa2c86f

Please sign in to comment.