Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 0 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
node_modules/
npm-debug.log
yarn-error.log
lerna-debug.log
./build-storybook.log
coverage/
.yarnclean
.babel-cache
__build__
.vscode
Expand All @@ -16,15 +14,6 @@ __build__
.env.test
.tmp/

# Local Netlify folder
.netlify

tsconfig.build.tsbuildinfo

.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
8 changes: 5 additions & 3 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ module.exports = {
},
// https://commitlint.js.org/reference/rules.html
rules: {
'header-max-length': [2, 'always', 150]
'header-max-length': [0, 'always', 150], // 0 === rule is disabled
'subject-max-length': [2, 'always', 150]
},

// https://cz-git.qbb.sh/config/
Expand All @@ -83,9 +84,10 @@ module.exports = {
defaultScope: getChangedPackages(),
skipQuestions: ['footerPrefix', 'confirmCommit'],
// If more than 3 packages are selected display 'many', e.g. `refactor(many): some message`
formatMessageCB: ({ scope, defaultMessage }) =>
scope.split(',').length > 3
formatMessageCB: ({ scope, defaultMessage }) => {
return scope.split(',').length > 3
? defaultMessage.replace(scope, 'many')
: defaultMessage
}
}
}
4 changes: 2 additions & 2 deletions cypress/component/Alerts.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import React from 'react'
import { Alert } from '../../packages/ui'

import { Alert } from '@instructure/ui'

import '../support/component'
import 'cypress-real-events'
Expand Down
4 changes: 2 additions & 2 deletions cypress/component/AppNav.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import React from 'react'
import { AppNav } from '../../packages/ui'

import { AppNav } from '@instructure/ui'

import '../support/component'
import 'cypress-real-events'
Expand Down
6 changes: 3 additions & 3 deletions cypress/component/ColorIndicator.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import React from 'react'
import { ColorIndicator } from '../../packages/ui'

import { ColorIndicator } from '@instructure/ui'

import '../support/component'
import 'cypress-real-events'

import { colorToRGB, colorToHex8 } from '../../packages/ui-color-utils'
import { colorToRGB, colorToHex8 } from '@instructure/ui-color-utils'

const colorTestCases = {
'3 digit hex': '#069',
Expand Down
6 changes: 3 additions & 3 deletions cypress/component/ColorMixer.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import React from 'react'
import { ColorMixer } from '../../packages/ui'

import { ColorMixer } from '@instructure/ui'

import '../support/component'
import 'cypress-real-events'

import { colorToHex8 } from '../../packages/ui-color-utils'
import { colorToHex8 } from '@instructure/ui-color-utils'

const testValue = {
value: '#09918B'
Expand Down
6 changes: 3 additions & 3 deletions cypress/component/ColorPicker.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import React from 'react'

import {
ColorPicker,
ColorMixer,
ColorPreset,
ColorContrast,
Button
} from '../../packages/ui'
} from '@instructure/ui'

import '../support/component'
import 'cypress-real-events'

import { colorToRGB, color2hex } from '../../packages/ui-color-utils'
import { colorToRGB, color2hex } from '@instructure/ui-color-utils'

const colorPreset = [
'#ffffff',
Expand Down
6 changes: 3 additions & 3 deletions cypress/component/ColorPreset.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import React from 'react'
import { ColorPreset } from '../../packages/ui'

import { ColorPreset } from '@instructure/ui'

import '../support/component'
import 'cypress-real-events'

import { colorToRGB } from '../../packages/ui-color-utils'
import { colorToRGB } from '@instructure/ui-color-utils'

const testValue = {
colors: [
Expand Down
4 changes: 2 additions & 2 deletions cypress/component/DateInput.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
import React from 'react'

import 'cypress-real-events'

import '../support/component'
import { DateInput, Calendar } from '../../packages/ui'
import { DateInput, Calendar } from '@instructure/ui'

const weekdayLabels = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']

Expand Down
Loading
Loading