Skip to content

Commit

Permalink
feat(types): export all types
Browse files Browse the repository at this point in the history
  • Loading branch information
Honoré Nintunze committed Dec 12, 2020
1 parent e8a6c3b commit 3037041
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .cz-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ module.exports = {
{ value: 'feat', name: 'feat: A new feature' },
{ value: 'fix', name: 'fix: A bug fix' },
{ value: 'docs', name: 'docs: Documentation only changes' },
{
value: 'ui',
name: 'ui: A change in what is displayed but not a change in behavior\n (css, typo, translation, ...)',
},
{
value: 'style',
name:
Expand All @@ -25,8 +21,8 @@ module.exports = {
'refactor: A code change that neither really fixes a bug nor adds a feature\n (move/remove files, implementation, readability, etc)',
},
{
value: 'perf',
name: 'perf: A code change that improves performance',
value: 'improvement',
name: 'improvement: A code change that improves something',
},
{ value: 'test', name: 'test: Adding missing tests' },
{
Expand All @@ -37,14 +33,7 @@ module.exports = {
{ value: 'wip', name: 'WIP: Work in progress' },
],

scopes: [
{ name: 'test' },
{ name: 'docker' },
{ name: 'gitlab' },
{ name: 'build' },
{ name: 'config' },
{ name: 'deployment' },
],
scopes: [{ name: 'test' }, { name: 'types' }, { name: 'lint' }, { name: 'build' }],

allowTicketNumber: false,
isTicketNumberRequired: false,
Expand Down
1 change: 1 addition & 0 deletions src/lib/fine-mq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
} from './types'

export { aliases2mq, json2mq } from './helpers'
export * from './types'

export const getMediaQueryString = (mq: Mq, aliasOrMediaQuery: string): MediaQueryToMatch =>
mq.aliases[aliasOrMediaQuery] || aliasOrMediaQuery
Expand Down

0 comments on commit 3037041

Please sign in to comment.