-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: remove prop-types * test: update pin-external-deps danger check to display package with issue * fix: lint * fix: tests * fix: website lint * fix: more lint * fix: more lint fixed that keep popping up * chore: update changeset * chore: rebase fixes * chore: make these changes minor and remove upgrade guide notice * fix: whoopsie * chore: missing package.json files --------- Co-authored-by: Si Taggart <[email protected]>
- Loading branch information
Showing
380 changed files
with
242 additions
and
2,669 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
--- | ||
'@twilio-paste/codemods': patch | ||
'@twilio-paste/account-switcher': minor | ||
'@twilio-paste/alert': minor | ||
'@twilio-paste/alert-dialog': minor | ||
'@twilio-paste/anchor': minor | ||
'@twilio-paste/avatar': minor | ||
'@twilio-paste/badge': minor | ||
'@twilio-paste/base-radio-checkbox': minor | ||
'@twilio-paste/breadcrumb': minor | ||
'@twilio-paste/button': minor | ||
'@twilio-paste/button-group': minor | ||
'@twilio-paste/callout': minor | ||
'@twilio-paste/card': minor | ||
'@twilio-paste/chat-composer': minor | ||
'@twilio-paste/chat-log': minor | ||
'@twilio-paste/checkbox': minor | ||
'@twilio-paste/code-block': minor | ||
'@twilio-paste/combobox': minor | ||
'@twilio-paste/data-grid': minor | ||
'@twilio-paste/date-picker': minor | ||
'@twilio-paste/description-list': minor | ||
'@twilio-paste/detail-text': minor | ||
'@twilio-paste/disclosure': minor | ||
'@twilio-paste/display-heading': minor | ||
'@twilio-paste/editable-code-block': minor | ||
'@twilio-paste/file-picker': minor | ||
'@twilio-paste/file-uploader': minor | ||
'@twilio-paste/form': minor | ||
'@twilio-paste/heading': minor | ||
'@twilio-paste/help-text': minor | ||
'@twilio-paste/in-page-navigation': minor | ||
'@twilio-paste/inline-code': minor | ||
'@twilio-paste/input': minor | ||
'@twilio-paste/input-box': minor | ||
'@twilio-paste/label': minor | ||
'@twilio-paste/list': minor | ||
'@twilio-paste/menu': minor | ||
'@twilio-paste/minimizable-dialog': minor | ||
'@twilio-paste/modal': minor | ||
'@twilio-paste/pagination': minor | ||
'@twilio-paste/paragraph': minor | ||
'@twilio-paste/popover': minor | ||
'@twilio-paste/product-switcher': minor | ||
'@twilio-paste/progress-steps': minor | ||
'@twilio-paste/radio-button-group': minor | ||
'@twilio-paste/radio-group': minor | ||
'@twilio-paste/screen-reader-only': minor | ||
'@twilio-paste/select': minor | ||
'@twilio-paste/separator': minor | ||
'@twilio-paste/side-modal': minor | ||
'@twilio-paste/sidebar': minor | ||
'@twilio-paste/skeleton-loader': minor | ||
'@twilio-paste/spinner': minor | ||
'@twilio-paste/status': minor | ||
'@twilio-paste/switch': minor | ||
'@twilio-paste/table': minor | ||
'@twilio-paste/tabs': minor | ||
'@twilio-paste/textarea': minor | ||
'@twilio-paste/time-picker': minor | ||
'@twilio-paste/toast': minor | ||
'@twilio-paste/tooltip': minor | ||
'@twilio-paste/topbar': minor | ||
'@twilio-paste/truncate': minor | ||
'@twilio-paste/user-dialog': minor | ||
'@twilio-paste/core': minor | ||
'@twilio-paste/aspect-ratio': minor | ||
'@twilio-paste/flex': minor | ||
'@twilio-paste/grid': minor | ||
'@twilio-paste/media-object': minor | ||
'@twilio-paste/stack': minor | ||
'@twilio-paste/box': minor | ||
'@twilio-paste/combobox-primitive': minor | ||
'@twilio-paste/disclosure-primitive': minor | ||
'@twilio-paste/sibling-box': minor | ||
'@twilio-paste/text': minor | ||
'@twilio-paste/customization': minor | ||
'@twilio-paste/design-tokens': minor | ||
'@twilio-paste/lexical-library': minor | ||
'@twilio-paste/react-spectrum-library': minor | ||
'@twilio-paste/nextjs-template': minor | ||
'@twilio-paste/style-props': minor | ||
'@twilio-paste/token-contrast-checker': minor | ||
--- | ||
|
||
Removed all run-time [prop-type checking](https://www.npmjs.com/package/prop-types)from Paste components. Paste now ships with only TypeScript types. | ||
|
||
**ACTION NEEDED**: None. This should be 100% backwards compatible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
.danger/__tests__/__snapshots__/pin-external-deps.spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`pin external dependencies check getUnPinnedExternalDepsFromPackageJSONFiles() should return an array of all the unpinned external deps across every provided package.json file 1`] = ` | ||
Array [ | ||
Object { | ||
"dep": "lodash", | ||
"name": "mock-package", | ||
}, | ||
] | ||
`; | ||
|
||
exports[`pin external dependencies check getUnPinnedExternalDepsFromPackageJSONFiles() should return an array of all the unpinned external deps across every provided package.json file 2`] = ` | ||
Array [ | ||
Object { | ||
"dep": "csstype", | ||
"name": "mock-package-2", | ||
}, | ||
Object { | ||
"dep": "lodash", | ||
"name": "mock-package-2", | ||
}, | ||
] | ||
`; | ||
|
||
exports[`pin external dependencies check getUnPinnedExternalDepsFromPackageJSONFiles() should return an array of all the unpinned external deps across every provided package.json file 3`] = `Array []`; | ||
|
||
exports[`pin external dependencies check getUnPinnedExternalDepsFromPackageJSONFiles() should return an array of all the unpinned external deps across every provided package.json file 4`] = ` | ||
Array [ | ||
Object { | ||
"dep": "lodash", | ||
"name": "mock-package", | ||
}, | ||
] | ||
`; | ||
|
||
exports[`pin external dependencies check getUnPinnedExternalDepsFromPackageJSONFiles() should return an array of all the unpinned external deps across every provided package.json file 5`] = ` | ||
Array [ | ||
Object { | ||
"dep": "lodash", | ||
"name": "mock-package", | ||
}, | ||
Object { | ||
"dep": "csstype", | ||
"name": "mock-package-2", | ||
}, | ||
Object { | ||
"dep": "lodash", | ||
"name": "mock-package-2", | ||
}, | ||
] | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import * as path from 'path'; | ||
|
||
import {runTests} from '@vscode/test-electron'; | ||
|
||
async function main() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/paste-codemods/transforms/__testfixtures__/barreled-to-unbarreled.input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import {Button, Label, MediaObject, TBodyPropTypes} from '@twilio-paste/core'; | ||
import {Button, Label, MediaObject} from '@twilio-paste/core'; | ||
import {Table} from '@twilio-paste/core'; | ||
import {Button as Stuffin} from '@twilio-paste/core'; | ||
import {Button as Stuff} from '@sendgrid/ui-components'; | ||
import {Input} from '@twilio-paste/core'; | ||
import {Card} from '@twilio-paste/core/dist/card'; | ||
import {Card} from '@twilio-paste/core/dist/card'; |
Oops, something went wrong.