Skip to content

Commit 54be8b7

Browse files
committed
feat: new updated version of the multi-semantic-release lib
fix: fixed all eslint and prettier error, added new tests feat: added github pipelines fix: file filter fix: added missing pnpm version into package.json fix: fixed wrong export and found package audits fix: fixed package.json to use the correct version for chai fix: fixed clean-path on windows fix: fixed node version and change testTimeout fix: validate package.json test: debug test: debug test: fix more windows paths test: fix more windows paths style: clean up fix: windows is not supported fix: added latest node version
1 parent 9963fb0 commit 54be8b7

File tree

314 files changed

+30501
-12125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

314 files changed

+30501
-12125
lines changed

.czrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"path": "cz-conventional-changelog"
3+
}
4+

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# https://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_size = 4
9+
indent_style = space
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[*.mdx]
14+
insert_final_newline = false

.eslintignore

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
/node_modules/
2-
/coverage/
1+
node_modules
2+
vitest.config.ts
3+
.prettierrc.cjs
4+
_meta.*.json
5+
6+
coverage
7+
__fixtures__
8+
9+
.github/ISSUE_TEMPLATE

.eslintrc.cjs

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
// eslint-disable-next-line import/no-commonjs
2+
const { defineConfig } = require("@anolilab/eslint-config/define-config");
3+
// eslint-disable-next-line import/no-commonjs
4+
const globals = require("@anolilab/eslint-config/globals");
5+
6+
/** @ts-check */
7+
module.exports = defineConfig({
8+
env: {
9+
// Your environments (which contains several predefined global variables)
10+
// Most environments are loaded automatically if our rules are added
11+
},
12+
extends: ["@anolilab/eslint-config"],
13+
globals: {
14+
...globals.es2021,
15+
// Your global variables (setting to false means it's not allowed to be reassigned)
16+
// myGlobal: false
17+
},
18+
ignorePatterns: ["!**/*"],
19+
overrides: [
20+
{
21+
files: ["**/*.js", "**/*.jsx", "**/*.mjs", "**/*.cjs"],
22+
// Set parserOptions.project for the project to allow TypeScript to create the type-checker behind the scenes when we run linting
23+
parserOptions: {},
24+
rules: {},
25+
},
26+
{
27+
files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts", "**/*.js", "**/*.jsx"],
28+
// Set parserOptions.project for the project to allow TypeScript to create the type-checker behind the scenes when we run linting
29+
parserOptions: {},
30+
rules: {},
31+
},
32+
{
33+
files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
34+
// Set parserOptions.project for the project to allow TypeScript to create the type-checker behind the scenes when we run linting
35+
parserOptions: {},
36+
rules: {
37+
"security/detect-object-injection": "off",
38+
},
39+
},
40+
{
41+
files: ["**/*.test.js"],
42+
rules: {
43+
"security/detect-non-literal-fs-filename": "off",
44+
},
45+
},
46+
{
47+
files: ["**/*.js"],
48+
rules: {
49+
"func-style": "off",
50+
"no-underscore-dangle": "off",
51+
},
52+
},
53+
{
54+
files: ["**/*.mdx"],
55+
rules: {
56+
"jsx-a11y/anchor-has-content": "off",
57+
// @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/917
58+
"jsx-a11y/heading-has-content": "off",
59+
},
60+
},
61+
],
62+
parserOptions: {
63+
ecmaVersion: 2021,
64+
sourceType: "module",
65+
},
66+
root: true,
67+
rules: {
68+
// Customize your rules
69+
},
70+
});

.eslintrc.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @prisis

.github/CODE_OF_CONDUCT.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8+
9+
## Our Standards
10+
11+
Examples of behavior that contributes to a positive environment for our community include:
12+
13+
- Demonstrating empathy and kindness toward other people
14+
- Being respectful of differing opinions, viewpoints, and experiences
15+
- Giving and gracefully accepting constructive feedback
16+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17+
- Focusing on what is best not just for us as individuals, but for the overall community
18+
19+
Examples of unacceptable behavior include:
20+
21+
- The use of sexualized language or imagery, and sexual attention or
22+
advances of any kind
23+
- Trolling, insulting or derogatory comments, and personal or political attacks
24+
- Public or private harassment
25+
- Publishing others' private information, such as a physical or email
26+
address, without their explicit permission
27+
- Other conduct which could reasonably be considered inappropriate in a
28+
professional setting
29+
30+
## Enforcement Responsibilities
31+
32+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33+
34+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35+
36+
## Scope
37+
38+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39+
40+
## Enforcement
41+
42+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [[email protected]](mailto:[email protected]). All complaints will be reviewed and investigated promptly and fairly.
43+
44+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45+
46+
## Enforcement Guidelines
47+
48+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49+
50+
### 1. Correction
51+
52+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53+
54+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55+
56+
### 2. Warning
57+
58+
**Community Impact**: A violation through a single incident or series of actions.
59+
60+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61+
62+
### 3. Temporary Ban
63+
64+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65+
66+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67+
68+
### 4. Permanent Ban
69+
70+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71+
72+
**Consequence**: A permanent ban from any sort of public interaction within the community.
73+
74+
## Attribution
75+
76+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77+
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78+
79+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80+
81+
[homepage]: https://www.contributor-covenant.org
82+
83+
For answers to common questions about this code of conduct, see the FAQ at
84+
https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: "prisis"

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
name: "\U0001F41E Bug report"
2+
description: "Report an issue"
3+
labels: ["s: pending triage", "c: bug"]
4+
body:
5+
- type: "markdown"
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
10+
- type: "checkboxes"
11+
id: "checkboxes"
12+
attributes:
13+
label: "Pre-Checks"
14+
description: "Before submitting the issue, please make sure you do the following"
15+
options:
16+
- label: "Follow our [Code of Conduct](https://github.com/anolilab/multi-semantic-release/blob/main/.github/CODE_OF_CONDUCT.md)."
17+
required: true
18+
- label: "Read the [Contributing Guidelines](https://github.com/anolilab/multi-semantic-release/blob/main/.github/CONTRIBUTING.md)."
19+
required: true
20+
- label: "Check that there isn't [already an issue](https://github.com/anolilab/multi-semantic-release/issues) that reports the same bug to avoid creating a duplicate."
21+
required: true
22+
- label: "Make sure this is a Visulima issue and not related to a combination with another package."
23+
required: true
24+
- label: "Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/anolilab/multi-semantic-release/discussions)."
25+
required: true
26+
- label: "The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug."
27+
required: true
28+
- label: "I am willing to provide a PR."
29+
30+
- type: "textarea"
31+
id: "bug-description"
32+
attributes:
33+
label: "Describe the bug"
34+
description: "A clear and concise description of what the bug is."
35+
placeholder: "I am doing ... What I expect is ... What actually happening is ..."
36+
validations:
37+
required: true
38+
39+
- type: "textarea"
40+
id: "reproduction"
41+
attributes:
42+
label: "Minimal reproduction code"
43+
description: |
44+
An URL to some git repository or gist that reproduces this issue. [Wtf is a minimum reproduction?](https://jmcdo29.github.io/wtf-is-a-minimum-reproduction)
45+
Alternatively you could write the code sample directly here with [markdown support.](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks)
46+
placeholder: "https://github.com/... or ``` code ```"
47+
48+
- type: "textarea"
49+
id: "additional-context"
50+
attributes:
51+
label: "Additional Context"
52+
description: |
53+
Anything else relevant?
54+
**Tip:** You can attach images, recordings or log files by clicking this area to highlight it and then dragging files in.
55+
56+
- type: "textarea"
57+
id: "environment-info"
58+
attributes:
59+
label: "Environment Info"
60+
description: "Output of `npx envinfo --system --npmPackages '@anolilab/*' --binaries --browsers`"
61+
render: "shell"
62+
placeholder: |
63+
System:
64+
OS: _
65+
CPU: _
66+
Memory: _ / _
67+
Container: Yes/No
68+
Shell: _
69+
Binaries:
70+
Node: _ - /usr/bin/node
71+
Yarn: _ - /usr/bin/yarn
72+
npm: _ - /usr/bin/npm
73+
npmPackages:
74+
@anolilab/*: _ => _
75+
validations:
76+
required: true
77+
78+
- type: "checkboxes"
79+
id: "module-system"
80+
attributes:
81+
label: "Which module system do you use?"
82+
options:
83+
- label: "CJS"
84+
- label: "ESM"
85+
86+
- type: "dropdown"
87+
id: "package-manager"
88+
attributes:
89+
label: "Used Package Manager"
90+
description: "Select the used package manager"
91+
options:
92+
- "npm"
93+
- "yarn"
94+
- "pnpm"
95+
- "other"
96+
validations:
97+
required: true

0 commit comments

Comments
 (0)