Skip to content

Commit

Permalink
chore: upgrade dependencis to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs committed May 6, 2024
1 parent 96e5f17 commit af749f3
Show file tree
Hide file tree
Showing 56 changed files with 4,797 additions and 23,284 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
"Object.entries",
"Object.values",
"Object.assign",
"Object.fromEntries",
"TextEncoder",
"TextDecoder",
"CustomEvent",
"requestAnimationFrame",
"cancelAnimationFrame",
"navigator.sendBeacon",
"Uint8Array"
"Uint8Array",
"Set"
]
},
"env": {
Expand Down
49 changes: 24 additions & 25 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
const {
utils: { getProjects },
} = require('@commitlint/config-nx-scopes');

module.exports = {
extends: ['@commitlint/config-conventional', '@commitlint/config-nx-scopes'],
parserPreset: {
parserOpts: {
referenceActions: null,
issuePrefixes: [],
async function getConfig() {
const {
default: {
utils: { getProjects },
},
},
rules: {
'scope-enum': async ctx => [
2,
'always',
[
...(await getProjects(ctx)),
// Insert custom scopes below:
'release',
'monorepo',
'examples',
'deps',
} = await import('@commitlint/config-nx-scopes');

return {
rules: {
'scope-enum': async ctx => [
2,
'always',
[
...(await getProjects(ctx)),
// Insert custom scopes below:
'release',
'monorepo',
'examples',
'deps',
],
],
],
},
};
},
};
}

module.exports = getConfig();
Loading

0 comments on commit af749f3

Please sign in to comment.