Skip to content

Commit

Permalink
chore: replaces references to the develop branch with main
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed May 12, 2023
1 parent 145527d commit faaadea
Show file tree
Hide file tree
Showing 37 changed files with 29,003 additions and 18,344 deletions.
2 changes: 1 addition & 1 deletion .dependency-cruiser.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
"moduleSystems": ["cjs", "es6"],

/* prefix for links in html and svg output (e.g. https://github.com/you/yourrepo/blob/develop/) */
"prefix": "https://github.com/sverweij/dependency-cruiser/blob/develop/",
"prefix": "https://github.com/sverweij/dependency-cruiser/blob/main/",

/* if true detect dependencies that only exist before typescript-to-javascript compilation */
"tsPreCompilationDeps": true,
Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ a [FAQ](../doc/faq.md) that might help you out.

- We prefer well documented
**[pull requests](https://help.github.com/articles/creating-a-pull-request/)**
based on the most recent version of the **develop** branch.
based on the most recent version of the **main** branch.
- Code quality
- Dependency-cruiser has a bunch of automated checks (test coverage, depcruise,
linting, code formatting). They also run on the CI, but you can save yourself
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
- it _does_ and I have updated it

- [ ] :balance_scale:
- The contribution will be subject to [The MIT license](https://github.com/sverweij/dependency-cruiser/blob/develop/LICENSE), and I'm OK with that.
- The contribution will be subject to [The MIT license](https://github.com/sverweij/dependency-cruiser/blob/main/LICENSE), and I'm OK with that.
- The contribution is my own original work.
- I am ok with the stuff in [**CONTRIBUTING.md**](https://github.com/sverweij/dependency-cruiser/blob/develop/.github/CONTRIBUTING.md).
- I am ok with the stuff in [**CONTRIBUTING.md**](https://github.com/sverweij/dependency-cruiser/blob/main/.github/CONTRIBUTING.md).
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: ci

on:
push:
branches: [develop, main]
branches: [main]
pull_request:
branches: [develop, main]
branches: [main]
workflow_dispatch:

env:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Dependency cruiser ![Dependency cruiser](https://raw.githubusercontent.com/sverweij/dependency-cruiser/develop/doc/assets/ZKH-Dependency-recolored-160.png)
# Dependency cruiser ![Dependency cruiser](https://raw.githubusercontent.com/sverweij/dependency-cruiser/main/doc/assets/ZKH-Dependency-recolored-160.png)

_Validate and visualise dependencies. With your rules._ JavaScript. TypeScript. CoffeeScript. ES6, CommonJS, AMD.

## What's this do?

![Snazzy dot output to whet your appetite](https://raw.githubusercontent.com/sverweij/dependency-cruiser/develop/doc/assets/sample-dot-output.png)
![Snazzy dot output to whet your appetite](https://raw.githubusercontent.com/sverweij/dependency-cruiser/main/doc/assets/sample-dot-output.png)

This runs through the dependencies in any JavaScript, TypeScript, LiveScript or CoffeeScript project and ...

Expand Down Expand Up @@ -138,7 +138,7 @@ npx depcruise src
This will validate against your rules and shows any violations in an eslint-like format:
![sample err output](https://raw.githubusercontent.com/sverweij/dependency-cruiser/develop/doc/assets/sample-err-output.png)
![sample err output](https://raw.githubusercontent.com/sverweij/dependency-cruiser/main/doc/assets/sample-err-output.png)
There's more ways to report validations; in a graph (like the one on top of this
readme) or in an self-containing `html` file.
Expand All @@ -148,7 +148,7 @@ readme) or in an self-containing `html` file.
documentation.
- dependency-cruiser uses itself to check on itself in its own build process;
see the `depcruise` script in the
[package.json](https://github.com/sverweij/dependency-cruiser/blob/develop/package.json#L76)
[package.json](https://github.com/sverweij/dependency-cruiser/blob/main/package.json#L76)
## I want to know more!
Expand Down Expand Up @@ -192,7 +192,7 @@ You've come to the right place :-) :
## Build status
[![GitHub Workflow Status](https://github.com/sverweij/dependency-cruiser/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/sverweij/dependency-cruiser/actions/workflows/ci.yml)
[![GitHub Workflow Status](https://github.com/sverweij/dependency-cruiser/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sverweij/dependency-cruiser/actions/workflows/ci.yml)
[![coverage](https://gitlab.com/sverweij/dependency-cruiser/badges/master/coverage.svg)](https://gitlab.com/sverweij/dependency-cruiser/builds)
[![Maintainability](https://api.codeclimate.com/v1/badges/93035ef5fba33901d479/maintainability)](https://codeclimate.com/github/sverweij/dependency-cruiser/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/93035ef5fba33901d479/test_coverage)](https://codeclimate.com/github/sverweij/dependency-cruiser/test_coverage)
Expand Down
2 changes: 1 addition & 1 deletion bin/dependency-cruise.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ try {
.addHelpText(
"after",
`${EOL}Other options:` +
`${EOL} see https://github.com/sverweij/dependency-cruiser/blob/develop/doc/cli.md${EOL}`
`${EOL} see https://github.com/sverweij/dependency-cruiser/blob/main/doc/cli.md${EOL}`
)
.version(meta.version)
.arguments("[files-or-directories]")
Expand Down
Loading

0 comments on commit faaadea

Please sign in to comment.