diff --git a/.changeset/fresh-clouds-tease.md b/.changeset/fresh-clouds-tease.md deleted file mode 100644 index 9f3ffde17..000000000 --- a/.changeset/fresh-clouds-tease.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@hypermod/cli': patch -'@codeshift/cli': patch -'@hypermod/core': patch -'@hypermod/fetcher': patch ---- - -Patches issue with app codemod downloads + silences experimental loader logging diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml.disabled similarity index 100% rename from .github/workflows/documentation.yml rename to .github/workflows/documentation.yml.disabled diff --git a/.github/workflows/hypermod.yml b/.github/workflows/hypermod.yml new file mode 100644 index 000000000..6c1aba7e6 --- /dev/null +++ b/.github/workflows/hypermod.yml @@ -0,0 +1,22 @@ +name: Hypermod + +on: + workflow_dispatch: + inputs: + deploymentId: + description: "The deployment ID containing instructions to apply on a repository" + deploymentKey: + description: "The deployment key to authenticate the request" +jobs: + receive_hypermod_event: + permissions: write-all + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run Hypermod CLI + uses: hypermod-io/action@v1 + with: + deploymentId: ${{ inputs.deploymentId }} + deploymentKey: ${{ inputs.deploymentKey }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/community/@atlaskit__avatar/CHANGELOG.md b/community/@atlaskit__avatar/CHANGELOG.md index 6f9817650..be4fae26c 100644 --- a/community/@atlaskit__avatar/CHANGELOG.md +++ b/community/@atlaskit__avatar/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_avatar +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__avatar/package.json b/community/@atlaskit__avatar/package.json index 18d9b053d..c70871845 100644 --- a/community/@atlaskit__avatar/package.json +++ b/community/@atlaskit__avatar/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__avatar", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__avatar/src/18.0.0/__tests__/transform.spec.ts b/community/@atlaskit__avatar/src/18.0.0/__tests__/transform.spec.ts index 42ba3b5ed..86a7e8fdc 100644 --- a/community/@atlaskit__avatar/src/18.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__avatar/src/18.0.0/__tests__/transform.spec.ts @@ -333,9 +333,9 @@ describe('Update AvatarItem props', () => { const App = () => { return ( - () + /> ); } `, @@ -365,9 +365,9 @@ describe('Update AvatarItem props', () => { const App = () => { return ( - () + /> ); } `, @@ -399,9 +399,9 @@ describe('Update AvatarItem props', () => { const App = () => { return ( - () + /> ); } `, diff --git a/community/@atlaskit__breadcrumbs/CHANGELOG.md b/community/@atlaskit__breadcrumbs/CHANGELOG.md index fafcce793..e1c4406db 100644 --- a/community/@atlaskit__breadcrumbs/CHANGELOG.md +++ b/community/@atlaskit__breadcrumbs/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_breadcrumbs +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__breadcrumbs/package.json b/community/@atlaskit__breadcrumbs/package.json index 2a70b736f..e2968052a 100644 --- a/community/@atlaskit__breadcrumbs/package.json +++ b/community/@atlaskit__breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__breadcrumbs", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__button/CHANGELOG.md b/community/@atlaskit__button/CHANGELOG.md index 1b2cae248..57ff784f3 100644 --- a/community/@atlaskit__button/CHANGELOG.md +++ b/community/@atlaskit__button/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_button +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__button/package.json b/community/@atlaskit__button/package.json index 8a7700ecb..90f8ffa5f 100644 --- a/community/@atlaskit__button/package.json +++ b/community/@atlaskit__button/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__button", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__button/src/15.1.1/__tests__/transform.spec.ts b/community/@atlaskit__button/src/15.1.1/__tests__/transform.spec.ts index aba281baf..ad3d6d5fc 100644 --- a/community/@atlaskit__button/src/15.1.1/__tests__/transform.spec.ts +++ b/community/@atlaskit__button/src/15.1.1/__tests__/transform.spec.ts @@ -138,11 +138,13 @@ describe('@atlaskit/button@15.1.1 transform', () => { import { StandardButton, LoadingButton, CustomThemeButton } from '@atlaskit/button'; function App() { - return <> - click me - click me - click me - ; + return ( + <> + click me + click me + click me + + ); } `, }); @@ -154,22 +156,26 @@ describe('@atlaskit/button@15.1.1 transform', () => { import { StandardButton as SB, LoadingButton as LB, CustomThemeButton as CTB } from '@atlaskit/button'; function App() { - return <> - click me - click me - click me - ; + return ( + <> + click me + click me + click me + + ); } `, expected: ` import { StandardButton as SB, LoadingButton as LB, CustomThemeButton as CTB } from '@atlaskit/button'; function App() { - return <> - click me - click me - click me - ; + return ( + <> + click me + click me + click me + + ); } `, }); @@ -204,11 +210,13 @@ describe('@atlaskit/button@15.1.1 transform', () => { import Something from '@atlaskit/foobar'; function App() { - return <> - - click me - - ; + return ( + <> + + click me + + + ); } `, expected: ` @@ -216,11 +224,13 @@ describe('@atlaskit/button@15.1.1 transform', () => { import Something from '@atlaskit/foobar'; function App() { - return <> - - click me - - ; + return ( + <> + + click me + + + ); } `, }); diff --git a/community/@atlaskit__calendar/CHANGELOG.md b/community/@atlaskit__calendar/CHANGELOG.md index 9c3a1e8fd..b4ca4e4cf 100644 --- a/community/@atlaskit__calendar/CHANGELOG.md +++ b/community/@atlaskit__calendar/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_calendar +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__calendar/package.json b/community/@atlaskit__calendar/package.json index f3aa70c8c..2fa047a7a 100644 --- a/community/@atlaskit__calendar/package.json +++ b/community/@atlaskit__calendar/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__calendar", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__calendar/src/11.0.0/__tests__/flatten-certain-inner-props.spec.ts b/community/@atlaskit__calendar/src/11.0.0/__tests__/flatten-certain-inner-props.spec.ts index 157c7f032..ac669697b 100644 --- a/community/@atlaskit__calendar/src/11.0.0/__tests__/flatten-certain-inner-props.spec.ts +++ b/community/@atlaskit__calendar/src/11.0.0/__tests__/flatten-certain-inner-props.spec.ts @@ -46,7 +46,7 @@ describe('Flatten Inner Prop Style As Prop', () => { import Calendar from '@atlaskit/calendar'; const SimpleCalendar = () => { return ( - ( { border: '1px solid red', display: 'inline-block', }} - className={'abc'} />) + className={'abc'} /> ); };" `); @@ -89,11 +89,11 @@ describe('Flatten Inner Prop Style As Prop', () => { import Calendar from '@atlaskit/calendar'; const SimpleCalendar = () => { return ( - () + className={'abc'} /> ); };" `); @@ -127,7 +127,7 @@ describe('Flatten Inner Prop Style As Prop', () => { import Calendar from '@atlaskit/calendar'; const SimpleCalendar = () => { return ( - ( { style={{ border: '1px solid red', display: 'inline-block', - }} />) + }} /> ); };" `); diff --git a/community/@atlaskit__calendar/src/11.0.0/__tests__/remove-inner-props.spec.ts b/community/@atlaskit__calendar/src/11.0.0/__tests__/remove-inner-props.spec.ts index 06ba5a060..568c6e1e2 100644 --- a/community/@atlaskit__calendar/src/11.0.0/__tests__/remove-inner-props.spec.ts +++ b/community/@atlaskit__calendar/src/11.0.0/__tests__/remove-inner-props.spec.ts @@ -135,10 +135,10 @@ describe('Remove innerProps', () => { const SimpleCalendar = () => { return ( - () + defaultSelected={['2020-12-08']} /> ); }" `); diff --git a/community/@atlaskit__calendar/src/11.0.0/__tests__/transform.spec.ts b/community/@atlaskit__calendar/src/11.0.0/__tests__/transform.spec.ts index b45b82268..bb0f9ba50 100644 --- a/community/@atlaskit__calendar/src/11.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__calendar/src/11.0.0/__tests__/transform.spec.ts @@ -46,7 +46,7 @@ describe('@atlaskit/calendar@11.0.0 transform', () => { const SimpleCalendar= () => { return ( - ( { style={{ border: '1px solid red', display: 'inline-block', - }} />) + }} /> ); }" `); @@ -107,7 +107,7 @@ describe('@atlaskit/calendar@11.0.0 transform', () => { const SimpleCalendar= () => { return ( - ( { style={{ border: '1px solid red', display: 'inline-block', - }} />) + }} /> ); }" `); @@ -161,13 +161,13 @@ describe('@atlaskit/calendar@11.0.0 transform', () => { import Calendar from '@atlaskit/calendar'; const SimpleCalendar= () => { return ( - () + testId="the-calendar" /> ); }" `); diff --git a/community/@atlaskit__checkbox/CHANGELOG.md b/community/@atlaskit__checkbox/CHANGELOG.md index 48d78d6ca..70c912ab2 100644 --- a/community/@atlaskit__checkbox/CHANGELOG.md +++ b/community/@atlaskit__checkbox/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_checkbox +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__checkbox/package.json b/community/@atlaskit__checkbox/package.json index 5b0b67ccb..68e32deb4 100644 --- a/community/@atlaskit__checkbox/package.json +++ b/community/@atlaskit__checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__checkbox", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__checkbox/src/12.0.0/__tests__/transform.spec.ts b/community/@atlaskit__checkbox/src/12.0.0/__tests__/transform.spec.ts index 058dca035..c18dce0d2 100644 --- a/community/@atlaskit__checkbox/src/12.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__checkbox/src/12.0.0/__tests__/transform.spec.ts @@ -229,11 +229,11 @@ describe('Update ref prop', () => { let ref = useRef(); return ( - ( { ref = newRef; }} - />) + /> ); }" `); @@ -536,11 +536,11 @@ describe('Remove props', () => { of the checkbox there is now a \`size\` prop. The appearance of Checkbox will have likely changed. */ import React from 'react'; import { Checkbox } from "@atlaskit/checkbox"; import customeTheme from './theme'; const - SimpleCheckbox = () => { return ( ( + SimpleCheckbox = () => { return (
-
) ); } + ); } `); }); it('should remove props when using an aliased name', async () => { diff --git a/community/@atlaskit__icon/CHANGELOG.md b/community/@atlaskit__icon/CHANGELOG.md index 4f8133399..5cfbbc31c 100644 --- a/community/@atlaskit__icon/CHANGELOG.md +++ b/community/@atlaskit__icon/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_icon +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__icon/package.json b/community/@atlaskit__icon/package.json index d19003bea..8aa2e7543 100644 --- a/community/@atlaskit__icon/package.json +++ b/community/@atlaskit__icon/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__icon", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__menu/CHANGELOG.md b/community/@atlaskit__menu/CHANGELOG.md index e1236f967..9cc2f9758 100644 --- a/community/@atlaskit__menu/CHANGELOG.md +++ b/community/@atlaskit__menu/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_menu +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__menu/package.json b/community/@atlaskit__menu/package.json index bdbf80b2a..c82004081 100644 --- a/community/@atlaskit__menu/package.json +++ b/community/@atlaskit__menu/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__menu", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__menu/src/0.7.0/__tests__/transform.spec.ts b/community/@atlaskit__menu/src/0.7.0/__tests__/transform.spec.ts index d007cbc45..4e3a30e6a 100644 --- a/community/@atlaskit__menu/src/0.7.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__menu/src/0.7.0/__tests__/transform.spec.ts @@ -65,9 +65,9 @@ describe('@atlaskit/menu@0.7.0 transform', () => { const App = () => { return ( - (
({ ...styles })}> +
({ ...styles })}> ({})} /> -
) +
); }; `, @@ -156,7 +156,7 @@ describe('@atlaskit/menu@0.7.0 transform', () => { const App = () => { return ( - ( { cssFn={(styles, state) => ({ ...(state.x ? styles : {}), color: 'red' - })} />) + })} /> ); } `, @@ -321,7 +321,7 @@ describe('Updates and removes current styles', () => { const App = () => { return ( - ( { For more info please reach out to #help-design-system-code. */ cssFn={cssFunction} /> - ) + ); }; `, diff --git a/community/@atlaskit__popper/CHANGELOG.md b/community/@atlaskit__popper/CHANGELOG.md index 0fba363eb..b42790456 100644 --- a/community/@atlaskit__popper/CHANGELOG.md +++ b/community/@atlaskit__popper/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_popper +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__popper/package.json b/community/@atlaskit__popper/package.json index 2f73bbc56..3dfd7db38 100644 --- a/community/@atlaskit__popper/package.json +++ b/community/@atlaskit__popper/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__popper", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__popper/src/5.0.0/__tests__/transform.spec.ts b/community/@atlaskit__popper/src/5.0.0/__tests__/transform.spec.ts index e9225c162..914a4a14f 100644 --- a/community/@atlaskit__popper/src/5.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__popper/src/5.0.0/__tests__/transform.spec.ts @@ -49,7 +49,7 @@ describe('@atlaskit/popper@5.0.0 transform', () => { export default () => { customModifiers = {flip: {enabled: true}}; return ( - ( + {({ ref, style, @@ -62,7 +62,7 @@ describe('@atlaskit/popper@5.0.0 transform', () => { )} )} - ) + );}; `, ); @@ -198,14 +198,14 @@ describe('@atlaskit/popper@5.0.0 transform', () => { function numCommaOffset() { return ( - ( + {({ ref, style }) => (
)} - ) + ); } `, @@ -236,14 +236,14 @@ describe('@atlaskit/popper@5.0.0 transform', () => { function numStringOffset() { return ( - ( + {({ ref, style }) => (
)} - ) + ); } `, @@ -274,14 +274,14 @@ describe('@atlaskit/popper@5.0.0 transform', () => { function numOffset() { return ( - ( + {({ ref, style }) => (
)} - ) + ); } `, diff --git a/community/@atlaskit__popup/CHANGELOG.md b/community/@atlaskit__popup/CHANGELOG.md index f7676717c..1ca2ccfcd 100644 --- a/community/@atlaskit__popup/CHANGELOG.md +++ b/community/@atlaskit__popup/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_popup +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__popup/package.json b/community/@atlaskit__popup/package.json index 81c5fa259..7b3e0bce5 100644 --- a/community/@atlaskit__popup/package.json +++ b/community/@atlaskit__popup/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__popup", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__popup/src/1.0.0/__tests__/transform.spec.ts b/community/@atlaskit__popup/src/1.0.0/__tests__/transform.spec.ts index 5d112d38a..c489c0a88 100644 --- a/community/@atlaskit__popup/src/1.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__popup/src/1.0.0/__tests__/transform.spec.ts @@ -252,7 +252,7 @@ describe('Convert offset props', () => { function numCommaOffset() { return ( - ( {}} offset={[5, 8]} @@ -262,13 +262,13 @@ describe('Convert offset props', () => { trigger={triggerProps => (
)} - />) + /> ); } function numStringOffset() { return ( - ( {}} offset={[10, 0]} @@ -278,13 +278,13 @@ describe('Convert offset props', () => { trigger={triggerProps => (
)} - />) + /> ); } function numOffset() { return ( - ( {}} offset={[10, 0]} @@ -294,7 +294,7 @@ describe('Convert offset props', () => { trigger={triggerProps => (
)} - />) + /> ); } `, diff --git a/community/@atlaskit__progress-indicator/CHANGELOG.md b/community/@atlaskit__progress-indicator/CHANGELOG.md index ceaff1abb..16b0124ae 100644 --- a/community/@atlaskit__progress-indicator/CHANGELOG.md +++ b/community/@atlaskit__progress-indicator/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_progress-indicator +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__progress-indicator/package.json b/community/@atlaskit__progress-indicator/package.json index 43d033b57..41af61517 100644 --- a/community/@atlaskit__progress-indicator/package.json +++ b/community/@atlaskit__progress-indicator/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__progress-indicator", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__progress-indicator/src/9.0.0/__tests__/transform.spec.ts b/community/@atlaskit__progress-indicator/src/9.0.0/__tests__/transform.spec.ts index 84bc340fc..4ce3ae0dd 100644 --- a/community/@atlaskit__progress-indicator/src/9.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__progress-indicator/src/9.0.0/__tests__/transform.spec.ts @@ -90,12 +90,12 @@ describe('@atlaskit/progress-indicator@9.0.0 transform', () => { expect(result).toMatchInlineSnapshot(` import { ProgressIndicator } from '@atlaskit/progress-indicator'; const - Component = () =>{ return ( ( + Component = () =>{ return (
-
) ); } +
); } `); }); diff --git a/community/@atlaskit__range/CHANGELOG.md b/community/@atlaskit__range/CHANGELOG.md index 7f32c0d8a..708a8d43c 100644 --- a/community/@atlaskit__range/CHANGELOG.md +++ b/community/@atlaskit__range/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_range +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__range/package.json b/community/@atlaskit__range/package.json index 3f1beef03..967006c3b 100644 --- a/community/@atlaskit__range/package.json +++ b/community/@atlaskit__range/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__range", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__range/src/4.0.0/__tests__/transform.spec.ts b/community/@atlaskit__range/src/4.0.0/__tests__/transform.spec.ts index b21b30893..60c3f482a 100644 --- a/community/@atlaskit__range/src/4.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__range/src/4.0.0/__tests__/transform.spec.ts @@ -70,11 +70,11 @@ describe('@atlaskit/range@4.0.0 transform', () => { let ref = useRef(); return ( - ( { ref = newRef; }} - />) + /> ); }" `); diff --git a/community/@atlaskit__section-message/CHANGELOG.md b/community/@atlaskit__section-message/CHANGELOG.md index 72b7477f5..ff64fd54a 100644 --- a/community/@atlaskit__section-message/CHANGELOG.md +++ b/community/@atlaskit__section-message/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_section-message +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__section-message/package.json b/community/@atlaskit__section-message/package.json index 61267fa09..de1ce5995 100644 --- a/community/@atlaskit__section-message/package.json +++ b/community/@atlaskit__section-message/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__section-message", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__side-navigation/CHANGELOG.md b/community/@atlaskit__side-navigation/CHANGELOG.md index fd9e2f276..77737323d 100644 --- a/community/@atlaskit__side-navigation/CHANGELOG.md +++ b/community/@atlaskit__side-navigation/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_side-navigation +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__side-navigation/package.json b/community/@atlaskit__side-navigation/package.json index 5e9979269..b0c432dd9 100644 --- a/community/@atlaskit__side-navigation/package.json +++ b/community/@atlaskit__side-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__side-navigation", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__side-navigation/src/0.8.0/__tests__/transform.spec.ts b/community/@atlaskit__side-navigation/src/0.8.0/__tests__/transform.spec.ts index d25d9153b..0bda6f245 100644 --- a/community/@atlaskit__side-navigation/src/0.8.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__side-navigation/src/0.8.0/__tests__/transform.spec.ts @@ -81,9 +81,9 @@ describe('@atlaskit/side-navigation@0.8.0 transform', () => { expect(result).toMatchInlineSnapshot(` import { ButtonItem } from '@atlaskit/side-navigation'; const App = () - => { return ( ( + => { return (
({ ...styles, })}> - ({})} />
) ); }; + ({})} />
); }; `); }); @@ -182,7 +182,7 @@ describe('@atlaskit/side-navigation@0.8.0 transform', () => { const App = () => { return ( - ( { cssFn={(styles, state) => ({ ...(state.x ? styles : {}), color: 'red' - })} />) + })} /> ); }" `); @@ -367,7 +367,7 @@ describe('@atlaskit/side-navigation@0.8.0 transform', () => { const App = () => { return ( - ( { For more info please reach out to #help-design-system-code. */ cssFn={cssFunction} /> - ) + ); };" `); diff --git a/community/@atlaskit__spinner/CHANGELOG.md b/community/@atlaskit__spinner/CHANGELOG.md index c8317007e..17a7d13f5 100644 --- a/community/@atlaskit__spinner/CHANGELOG.md +++ b/community/@atlaskit__spinner/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_spinner +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__spinner/package.json b/community/@atlaskit__spinner/package.json index 26628a652..7b942a32c 100644 --- a/community/@atlaskit__spinner/package.json +++ b/community/@atlaskit__spinner/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__spinner", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__spinner/src/13.0.0/__tests__/transform.spec.ts b/community/@atlaskit__spinner/src/13.0.0/__tests__/transform.spec.ts index 3c4614724..3cf442780 100644 --- a/community/@atlaskit__spinner/src/13.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__spinner/src/13.0.0/__tests__/transform.spec.ts @@ -143,13 +143,15 @@ describe('@atlaskit/spinner@13.0.0 transform', () => { import Spinner from '@atlaskit/spinner'; import myValue from './my-value' - return (<> - - - - - - ); + return ( + <> + + + + + + + ); `, }); @@ -177,13 +179,15 @@ describe('@atlaskit/spinner@13.0.0 transform', () => { import value from './value'; - return (<> - - - - - - ); + return ( + <> + + + + + + + ); `, }); }); diff --git a/community/@atlaskit__tag/CHANGELOG.md b/community/@atlaskit__tag/CHANGELOG.md index 855ae0bd9..0ce1e1b72 100644 --- a/community/@atlaskit__tag/CHANGELOG.md +++ b/community/@atlaskit__tag/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_tag +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__tag/package.json b/community/@atlaskit__tag/package.json index 9dc9a67f1..c674031b1 100644 --- a/community/@atlaskit__tag/package.json +++ b/community/@atlaskit__tag/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__tag", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__tag/src/11.0.0/__tests__/rename-remove-button-text.spec.ts b/community/@atlaskit__tag/src/11.0.0/__tests__/rename-remove-button-text.spec.ts index 0ac6dc1e6..613a4c54e 100644 --- a/community/@atlaskit__tag/src/11.0.0/__tests__/rename-remove-button-text.spec.ts +++ b/community/@atlaskit__tag/src/11.0.0/__tests__/rename-remove-button-text.spec.ts @@ -245,11 +245,11 @@ describe('Rename removeButtonText prop to removeButtonLabel prop', () => { [tags, setTags] = useState([ 'Candy canes', 'Tiramisu', 'Gummi bears', 'Wagon Wheels', ]); const handleRemoveRequest = () => true; const handleRemoveComplete = (text: string) => { setTags(tags.filter(str => str !== text)); }; return - ( ( + ( {tags.map(text => ( ))}) ); } export default () => ( + text={text} />))}); } export default () => (
diff --git a/community/@atlaskit__textarea/CHANGELOG.md b/community/@atlaskit__textarea/CHANGELOG.md index fba132255..4d8547895 100644 --- a/community/@atlaskit__textarea/CHANGELOG.md +++ b/community/@atlaskit__textarea/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_textarea +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__textarea/package.json b/community/@atlaskit__textarea/package.json index bbac226ee..638fb70e6 100644 --- a/community/@atlaskit__textarea/package.json +++ b/community/@atlaskit__textarea/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__textarea", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__textfield/CHANGELOG.md b/community/@atlaskit__textfield/CHANGELOG.md index b38a36e12..a8b186c8f 100644 --- a/community/@atlaskit__textfield/CHANGELOG.md +++ b/community/@atlaskit__textfield/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_textfield +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__textfield/package.json b/community/@atlaskit__textfield/package.json index 0b34d251a..5029749e2 100644 --- a/community/@atlaskit__textfield/package.json +++ b/community/@atlaskit__textfield/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__textfield", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__textfield/src/5.0.0/__tests__/remove-prop.spec.ts b/community/@atlaskit__textfield/src/5.0.0/__tests__/remove-prop.spec.ts index 30eae82ed..6ec288395 100644 --- a/community/@atlaskit__textfield/src/5.0.0/__tests__/remove-prop.spec.ts +++ b/community/@atlaskit__textfield/src/5.0.0/__tests__/remove-prop.spec.ts @@ -121,11 +121,11 @@ describe('Remove prop', () => { of the \`theme\` prop. The appearance of TextField will have likely changed. */ import React from 'react'; import Textfield from '@atlaskit/textfield'; import customeTheme from './theme'; const SimpleTextfield = () => { return - ( ( + (
-
) ); } +
); } `); }); diff --git a/community/@atlaskit__toggle/CHANGELOG.md b/community/@atlaskit__toggle/CHANGELOG.md index 5563d4136..f20af76e3 100644 --- a/community/@atlaskit__toggle/CHANGELOG.md +++ b/community/@atlaskit__toggle/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-atlaskit\_\_toggle +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@atlaskit__toggle/package.json b/community/@atlaskit__toggle/package.json index b0da8833e..6fe0bec22 100644 --- a/community/@atlaskit__toggle/package.json +++ b/community/@atlaskit__toggle/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-atlaskit__toggle", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/@atlaskit__toggle/src/11.0.0/__tests__/transform.spec.ts b/community/@atlaskit__toggle/src/11.0.0/__tests__/transform.spec.ts index bb3596ff5..cea46faca 100644 --- a/community/@atlaskit__toggle/src/11.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__toggle/src/11.0.0/__tests__/transform.spec.ts @@ -51,10 +51,10 @@ describe('@atlaskit/toggle@11.0.0 transform', () => { expect(result).toMatchInlineSnapshot(` import React from "react"; import Toggle from "@atlaskit/toggle"; () => - { return ( ( + { return (
-
) ); }; +
); }; `); }); @@ -79,10 +79,10 @@ describe('@atlaskit/toggle@11.0.0 transform', () => { expect(result).toMatchInlineSnapshot(` import React from "react"; import Toggle from "@atlaskit/toggle"; () => - { return ( ( + { return (
-
) ); }; +
); }; `); }); @@ -116,13 +116,13 @@ describe('@atlaskit/toggle@11.0.0 transform', () => { expect(result).toMatchInlineSnapshot(` import React from "react"; import Toggle from "@atlaskit/toggle"; () => { const T = Toggle; const X = Toggle; const Z = Toggle; const FOO = "bar"; - return ( ( + return (
-
) ); }; +
); }; `); }); }); diff --git a/community/@emotion__monorepo/CHANGELOG.md b/community/@emotion__monorepo/CHANGELOG.md index 959bc79af..53a1b0599 100644 --- a/community/@emotion__monorepo/CHANGELOG.md +++ b/community/@emotion__monorepo/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-emotion\_\_monorepo +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/@emotion__monorepo/package.json b/community/@emotion__monorepo/package.json index 88d28ad59..178439215 100644 --- a/community/@emotion__monorepo/package.json +++ b/community/@emotion__monorepo/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-emotion__monorepo", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/hypermod/CHANGELOG.md b/community/hypermod/CHANGELOG.md index 16c8e86a6..51549de95 100644 --- a/community/hypermod/CHANGELOG.md +++ b/community/hypermod/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-hypermod +## 0.1.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.1.1 ### Patch Changes diff --git a/community/hypermod/package.json b/community/hypermod/package.json index 923c9953c..ae52e839f 100644 --- a/community/hypermod/package.json +++ b/community/hypermod/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-hypermod", - "version": "0.1.1", + "version": "0.1.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/javascript/CHANGELOG.md b/community/javascript/CHANGELOG.md index 0d80d41ea..1e1e981a5 100644 --- a/community/javascript/CHANGELOG.md +++ b/community/javascript/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-javascript +## 0.5.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.5.1 ### Patch Changes diff --git a/community/javascript/package.json b/community/javascript/package.json index b1c8333db..710eb1701 100644 --- a/community/javascript/package.json +++ b/community/javascript/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-javascript", - "version": "0.5.1", + "version": "0.5.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/memoize-one/CHANGELOG.md b/community/memoize-one/CHANGELOG.md index 5a15c16ee..4824cb7e1 100644 --- a/community/memoize-one/CHANGELOG.md +++ b/community/memoize-one/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-memoize-one +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/memoize-one/package.json b/community/memoize-one/package.json index d86ff76bb..1a64dc96b 100644 --- a/community/memoize-one/package.json +++ b/community/memoize-one/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-memoize-one", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/community/react/CHANGELOG.md b/community/react/CHANGELOG.md index 1c952087f..2956db957 100644 --- a/community/react/CHANGELOG.md +++ b/community/react/CHANGELOG.md @@ -1,5 +1,13 @@ # @hypermod/mod-react +## 0.4.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + ## 0.4.1 ### Patch Changes diff --git a/community/react/package.json b/community/react/package.json index 506941afb..4588d8644 100644 --- a/community/react/package.json +++ b/community/react/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/mod-react", - "version": "0.4.1", + "version": "0.4.2", "license": "MIT", "source": "src/hypermod.config.js", "main": "dist/hypermod.config.js", @@ -11,11 +11,11 @@ "validate": "hypermod validate ." }, "dependencies": { - "@hypermod/utils": "^0.7.0", - "jscodeshift": "^17.1.2" + "@hypermod/utils": "^0.7.1", + "jscodeshift": "^17.3.0" }, "devDependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.2", "@types/jest": "^29.0.0", "@types/node": "^16.11.0", "jest": "^29.0.0", diff --git a/package.json b/package.json index 34da77c5f..0ec01d2af 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "jest": "^29.0.0", "jest-serializer-html-string": "^1.0.1", "jest-watch-typeahead": "^0.4.2", - "jscodeshift": "^17.1.2", + "jscodeshift": "^17.3.0", "junk": "^3.1.0", "parcel": "^2.8.3", "prettier": "^2.0.0", diff --git a/packages/cli-alias/CHANGELOG.md b/packages/cli-alias/CHANGELOG.md index 349bd8354..8cdd5e820 100644 --- a/packages/cli-alias/CHANGELOG.md +++ b/packages/cli-alias/CHANGELOG.md @@ -1,5 +1,27 @@ # @codeshift/cli +## 0.27.3 + +### Patch Changes + +- Updated dependencies [c1ce817] + - @hypermod/cli@0.27.3 + +## 0.27.2 + +### Patch Changes + +- Updated dependencies [1cfe66f] + - @hypermod/cli@0.27.2 + +## 0.27.1 + +### Patch Changes + +- 432cd18: Patches issue with app codemod downloads + silences experimental loader logging +- Updated dependencies [432cd18] + - @hypermod/cli@0.27.1 + ## 0.27.0 ### Minor Changes diff --git a/packages/cli-alias/package.json b/packages/cli-alias/package.json index 993ee0e15..3f0bd043c 100644 --- a/packages/cli-alias/package.json +++ b/packages/cli-alias/package.json @@ -1,6 +1,6 @@ { "name": "@codeshift/cli", - "version": "0.27.0", + "version": "0.27.3", "source": "src/index.ts", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -15,7 +15,7 @@ "start:dev": "ts-node src/index.ts" }, "dependencies": { - "@hypermod/cli": "^0.27.0", + "@hypermod/cli": "^0.27.3", "ts-node": "^10.9.1" }, "engines": { diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index ec18fa2f6..25c26333e 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,29 @@ # @hypermod/cli +## 0.27.3 + +### Patch Changes + +- c1ce817: Handle 403 errs returned from App PKG fetches + +## 0.27.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/initializer@0.8.1 + - @hypermod/core@0.6.2 + +## 0.27.1 + +### Patch Changes + +- 432cd18: Patches issue with app codemod downloads + silences experimental loader logging +- Updated dependencies [432cd18] + - @hypermod/core@0.6.1 + - @hypermod/fetcher@0.11.1 + ## 0.27.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index a4c66f4d1..c1390543e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/cli", - "version": "0.27.0", + "version": "0.27.3", "source": "src/index.ts", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -18,9 +18,9 @@ }, "dependencies": { "@antfu/install-pkg": "^0.1.1", - "@hypermod/core": "^0.6.0", - "@hypermod/fetcher": "^0.11.0", - "@hypermod/initializer": "^0.8.0", + "@hypermod/core": "^0.6.2", + "@hypermod/fetcher": "^0.11.1", + "@hypermod/initializer": "^0.8.1", "@hypermod/types": "*", "@hypermod/validator": "^0.8.0", "chalk": "^4.1.0", @@ -28,7 +28,7 @@ "find-up": "5.0.0", "fs-extra": "^9.1.0", "inquirer": "^8.2.4", - "jscodeshift": "^17.1.2", + "jscodeshift": "^17.3.0", "live-plugin-manager": "^0.18.1", "lodash": "^4.17.21", "ora": "^5.4.1", diff --git a/packages/cli/src/fetchers/app.ts b/packages/cli/src/fetchers/app.ts index 32917a2ae..40688305c 100644 --- a/packages/cli/src/fetchers/app.ts +++ b/packages/cli/src/fetchers/app.ts @@ -50,6 +50,10 @@ export async function fetchHmPkg(slug: string, dir: string) { throw new Error(`Transform not found: ${slug}`); } + if (res.status === 403) { + throw new Error(`Access forbidden for transform: ${slug}`); + } + if (!res.ok) { throw new Error(`Error fetching transform: ${res.statusText}`); } diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index deb9ffe9f..6df5dd0cb 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,17 @@ # @hypermod/core +## 0.6.2 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error + +## 0.6.1 + +### Patch Changes + +- 432cd18: Patches issue with app codemod downloads + silences experimental loader logging + ## 0.6.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 94730cb82..15d253a06 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/core", - "version": "0.6.0", + "version": "0.6.2", "source": "src/index.ts", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -19,7 +19,7 @@ "@types/write-file-atomic": "^4.0.0", "chalk": "^4.1.0", "graceful-fs": "^4.2.4", - "jscodeshift": "^17.1.2", + "jscodeshift": "^17.3.0", "neo-async": "^2.5.0", "write-file-atomic": "^2.3.0" }, diff --git a/packages/fetcher/CHANGELOG.md b/packages/fetcher/CHANGELOG.md index 1e8ccbb58..f1829b47b 100644 --- a/packages/fetcher/CHANGELOG.md +++ b/packages/fetcher/CHANGELOG.md @@ -1,5 +1,11 @@ # @hypermod/fetcher +## 0.11.1 + +### Patch Changes + +- 432cd18: Patches issue with app codemod downloads + silences experimental loader logging + ## 0.11.0 ### Minor Changes diff --git a/packages/fetcher/package.json b/packages/fetcher/package.json index e0cd8e879..de4a9d7aa 100644 --- a/packages/fetcher/package.json +++ b/packages/fetcher/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/fetcher", - "version": "0.11.0", + "version": "0.11.1", "source": "src/index.ts", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/initializer/CHANGELOG.md b/packages/initializer/CHANGELOG.md index 4e6b55990..fb2dd2b6c 100644 --- a/packages/initializer/CHANGELOG.md +++ b/packages/initializer/CHANGELOG.md @@ -1,5 +1,14 @@ # @hypermod/initializer +## 0.8.1 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error +- Updated dependencies [1cfe66f] + - @hypermod/utils@0.7.1 + - @hypermod/cli@0.27.2 + ## 0.8.0 ### Minor Changes diff --git a/packages/initializer/package.json b/packages/initializer/package.json index 77c73d7f5..d8e32221c 100644 --- a/packages/initializer/package.json +++ b/packages/initializer/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/initializer", - "version": "0.8.0", + "version": "0.8.1", "source": "src/index.ts", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/initializer/src/index.ts b/packages/initializer/src/index.ts index 344edc45d..d4d091145 100644 --- a/packages/initializer/src/index.ts +++ b/packages/initializer/src/index.ts @@ -23,7 +23,7 @@ export function getPackageJson(packageName: string, version = '0.0.0') { }, dependencies: { '@hypermod/utils': `^${utilVersion}`, - jscodeshift: '^17.1.2', + jscodeshift: '^17.3.0', }, devDependencies: { '@hypermod/cli': `^${cliVersion}`, diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index b69b157ef..c218cc6df 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @hypermod/utils +## 0.7.1 + +### Patch Changes + +- 1cfe66f: Bump jscodeshift to fix JSX redundant brackets error + ## 0.7.0 ### Minor Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index ff8781417..b0d23c859 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@hypermod/utils", - "version": "0.7.0", + "version": "0.7.1", "source": "src/index.ts", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -10,6 +10,6 @@ "node": ">=20.17" }, "dependencies": { - "jscodeshift": "^17.1.2" + "jscodeshift": "^17.3.0" } } diff --git a/yarn.lock b/yarn.lock index 70579ae82..6c2360c13 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6186,10 +6186,10 @@ js-yaml@^4.1.0: dependencies: argparse "^2.0.1" -jscodeshift@^17.1.2: - version "17.1.2" - resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-17.1.2.tgz#d77e9d3d08fdbb1548818bc22f653aba7fc21a25" - integrity sha512-uime4vFOiZ1o3ICT4Sm/AbItHEVw2oCxQ3a0egYVy3JMMOctxe07H3SKL1v175YqjMt27jn1N+3+Bj9SKDNgdQ== +jscodeshift@^17.3.0: + version "17.3.0" + resolved "https://packages.atlassian.com/api/npm/npm-remote/jscodeshift/-/jscodeshift-17.3.0.tgz#b9ea1d8d1c9255103bfc4cb42ddb46e18cb2415c" + integrity sha512-LjFrGOIORqXBU+jwfC9nbkjmQfFldtMIoS6d9z2LG/lkmyNXsJAySPT+2SWXJEoE68/bCWcxKpXH37npftgmow== dependencies: "@babel/core" "^7.24.7" "@babel/parser" "^7.24.7" @@ -6206,7 +6206,7 @@ jscodeshift@^17.1.2: micromatch "^4.0.7" neo-async "^2.5.0" picocolors "^1.0.1" - recast "^0.23.9" + recast "^0.23.11" tmp "^0.2.3" write-file-atomic "^5.0.1" @@ -7472,10 +7472,10 @@ recast@^0.20.3, recast@^0.20.4: source-map "~0.6.1" tslib "^2.0.1" -recast@^0.23.9: - version "0.23.9" - resolved "https://registry.yarnpkg.com/recast/-/recast-0.23.9.tgz#587c5d3a77c2cfcb0c18ccce6da4361528c2587b" - integrity sha512-Hx/BGIbwj+Des3+xy5uAtAbdCyqK9y9wbBcDFDYanLS9JnMqf7OeF87HQwUimE87OEc72mr6tkKUKMBBL+hF9Q== +recast@^0.23.11: + version "0.23.11" + resolved "https://packages.atlassian.com/api/npm/npm-remote/recast/-/recast-0.23.11.tgz#8885570bb28cf773ba1dc600da7f502f7883f73f" + integrity sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA== dependencies: ast-types "^0.16.1" esprima "~4.0.0"