Comments (5)
@XDRAGON2002 no progress, go ahead 🚀
from auto.
Sound like a good feature to me. Would you like to submit a PR?
from auto.
Sorry, I don't think I'll have time ATM. Otherwise I wouldn't mind giving it a look.
from auto.
@snebjorn @hipstersmoothie was there any update on this? If not, I'd take this up.
from auto.
Hi @snebjorn @hipstersmoothie!
I was working on this issue, and apparently after adding the new option, auto is not able to verify/detect this new field:
I can't seem to figure out where I'm going wrong? I've also checked out some other prior PRs doing something similar, and still can't seem to figure out what the cause for this could be.
These are the changes I've made:
const pluginOptions = t.partial({
/** Usernames to exclude from the contributors */
exclude: t.array(t.string),
/** Globs to detect change types by */
types: t.partial(
fromEntries(contributionTypes.map((c) => [c, pattern])) as Record<
Contribution,
typeof pattern
>
),
/** Define custom commit message defaults to "Update contributors [skip ci]" */
commitMessage: t.string,
});
const defaultOptions: IAllContributorsPluginOptions = {
exclude: botList,
types: {
doc: ["**/*.mdx", "**/*.md", "**/docs/**/*", "**/documentation/**/*"],
example: ["**/*.stories*", "**/*.story.*"],
infra: ["**/.circle/**/*", "**/.github/**/*", "**/travis.yml"],
test: ["**/*.test.*", "**/test/**", "**/__tests__/**"],
code: ["**/src/**/*", "**/lib/**/*", "**/package.json", "**/tsconfig.json"],
},
commitMessage: "Update contributors [skip ci]",
};
this.options = {
exclude: [...(defaultOptions.exclude || []), ...(options.exclude || [])],
types: { ...defaultOptions.types, ...options.types },
commitMessage: options.commitMessage || defaultOptions.commitMessage || "",
};
Any pointers? Thanks!
from auto.
Related Issues (20)
- Cannot run auto on apple silicon m1 macs HOT 1
- Ability to only github release in a monorepo
- Gitlab support
- Custom PR description message for canary releases HOT 5
- Have auto ignore commits older than a certain commit HOT 2
- [Question] Why pr-check doesn't have an option to throw an error? HOT 1
- Chrome plugin does not support next/prerelease HOT 1
- auto release breaks due to silent lerna upgrade HOT 2
- Gitea support
- Auto fails to keep the latest prerelease (next) version of independant package after new commit
- auto version skipRelease behaviour HOT 6
- Auto cannot push to a protected branch HOT 1
- Auto not bumping version HOT 2
- Generalise versioning scheme past semver (e.g. calver, unitary, or alphabetical release) HOT 2
- Allow skipped releases to be treated as success HOT 2
- 11.0.2 fails to create github release HOT 4
- [Q or Feature Request] Need to bump version separately from `shipit` - currently get double bump HOT 9
- Error: Working directory is not clean, make sure all files are committed HOT 1
- Default labels conflict with Dependabot HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto.