From 89b20c211c282483977546e07e490218cbf94f01 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 15 Apr 2026 16:03:23 +0000 Subject: [PATCH] @hypermod Upgrade dependency @types/jscodeshift from ^0.11.6 to ^1.0.0 | Hypermod.io --- .../@atlaskit__avatar/src/18.0.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__avatar/src/18.0.0/transform.ts | 1 + .../@atlaskit__avatar/src/19.0.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__avatar/src/19.0.0/transform.ts | 1 + .../src/11.0.0/__tests__/elevate-stateless-to-default.spec.ts | 1 + .../src/11.0.0/__tests__/remove-has-separator.spec.ts | 1 + .../src/11.0.0/__tests__/rename-breadcrumbs.spec.ts | 1 + .../src/11.0.0/__tests__/transform.spec.ts | 1 + .../src/11.0.0/motions/elevate-stateless-to-default.ts | 1 + .../src/11.0.0/motions/remove-has-separator.ts | 1 + .../src/11.0.0/motions/rename-breadcrumbs.ts | 1 + community/@atlaskit__breadcrumbs/src/11.0.0/transform.ts | 1 + .../@atlaskit__button/src/15.0.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__button/src/15.0.0/transform.ts | 1 + .../@atlaskit__button/src/15.1.1/__tests__/transform.spec.ts | 1 + community/@atlaskit__button/src/15.1.1/transform.ts | 1 + .../src/11.0.0/__tests__/flatten-certain-inner-props.spec.ts | 1 + .../src/11.0.0/__tests__/remove-inner-props.spec.ts | 1 + .../@atlaskit__calendar/src/11.0.0/__tests__/transform.spec.ts | 1 + .../src/11.0.0/motions/flatten-certain-inner-props.ts | 1 + .../src/11.0.0/motions/remove-inner-props.ts | 1 + community/@atlaskit__calendar/src/11.0.0/transform.ts | 1 + .../@atlaskit__checkbox/src/12.0.0/__tests__/transform.spec.ts | 1 + .../@atlaskit__checkbox/src/12.0.0/motions/remove-imports.ts | 1 + .../@atlaskit__checkbox/src/12.0.0/motions/remove-props.ts | 1 + .../@atlaskit__checkbox/src/12.0.0/motions/rename-import.ts | 1 + .../@atlaskit__checkbox/src/12.0.0/motions/rename-inputRef.ts | 1 + community/@atlaskit__checkbox/src/12.0.0/transform.ts | 1 + .../@atlaskit__icon/src/21.2.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__icon/src/21.2.0/transform.ts | 1 + community/@atlaskit__menu/src/0.7.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__menu/src/0.7.0/transform.ts | 1 + .../@atlaskit__popper/src/5.0.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__popper/src/5.0.0/constants.ts | 1 + .../@atlaskit__popper/src/5.0.0/motions/update-modifier-prop.ts | 1 + community/@atlaskit__popper/src/5.0.0/motions/update-offset.ts | 1 + .../@atlaskit__popper/src/5.0.0/motions/update-render-props.ts | 1 + community/@atlaskit__popper/src/5.0.0/transform.ts | 1 + .../@atlaskit__popup/src/1.0.0/__tests__/transform.spec.ts | 1 + .../src/1.0.0/motions/update-boundaries-props.ts | 1 + community/@atlaskit__popup/src/1.0.0/motions/update-offset.ts | 1 + .../@atlaskit__popup/src/1.0.0/motions/update-render-props.ts | 1 + community/@atlaskit__popup/src/1.0.0/transform.ts | 1 + .../src/9.0.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__progress-indicator/src/9.0.0/transform.ts | 1 + .../@atlaskit__range/src/4.0.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__range/src/4.0.0/transform.ts | 1 + .../src/6.0.0/__tests__/change-appearance-prop.ts | 1 + .../src/6.0.0/__tests__/map-actions-prop.ts | 1 + .../src/6.0.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__section-message/src/6.0.0/constants.ts | 1 + .../src/6.0.0/motions/change-appearance-prop.ts | 1 + .../src/6.0.0/motions/map-actions-prop.ts | 1 + community/@atlaskit__section-message/src/6.0.0/transform.ts | 1 + community/@atlaskit__section-message/src/6.0.0/utils.ts | 1 + .../src/0.8.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__side-navigation/src/0.8.0/transform.ts | 1 + .../@atlaskit__spinner/src/13.0.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__spinner/src/13.0.0/transform.ts | 1 + .../src/11.0.0/__tests__/add-isRemovable-flag.spec.ts | 1 + .../src/11.0.0/__tests__/rename-remove-button-text.spec.ts | 1 + .../src/11.0.0/__tests__/replace-import-statement.spec.ts | 1 + community/@atlaskit__tag/src/11.0.0/__tests__/transform.spec.ts | 1 + .../@atlaskit__tag/src/11.0.0/motions/add-isRemovable-flag.ts | 1 + .../src/11.0.0/motions/rename-remove-button-text.ts | 1 + .../src/11.0.0/motions/replace-import-statements.ts | 1 + community/@atlaskit__tag/src/11.0.0/transform.ts | 1 + .../@atlaskit__textarea/src/4.0.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__textarea/src/4.0.0/transform.ts | 1 + .../src/5.0.0/__tests__/remove-imports.spec.ts | 1 + .../src/5.0.0/__tests__/remove-prop.spec.ts | 1 + .../src/5.0.0/__tests__/rename-imports.spec.ts | 1 + .../@atlaskit__textfield/src/5.0.0/__tests__/transform.spec.ts | 1 + .../@atlaskit__textfield/src/5.0.0/motions/remove-imports.ts | 1 + .../@atlaskit__textfield/src/5.0.0/motions/remove-props.ts | 1 + .../@atlaskit__textfield/src/5.0.0/motions/rename-imports.ts | 1 + community/@atlaskit__textfield/src/5.0.0/transform.ts | 1 + .../@atlaskit__toggle/src/11.0.0/__tests__/transform.spec.ts | 1 + community/@atlaskit__toggle/src/11.0.0/transform.ts | 1 + .../src/12.0.0/__tests__/elevate-stateless.spec.ts | 1 + .../src/12.0.0/__tests__/rename-togglestateless.spec.ts | 1 + .../@atlaskit__toggle/src/12.0.0/__tests__/transform.spec.ts | 1 + .../@atlaskit__toggle/src/12.0.0/motions/elevate-stateless.ts | 1 + .../src/12.0.0/motions/rename-togglestateless.ts | 1 + community/@atlaskit__toggle/src/12.0.0/transform.ts | 1 + community/@emotion__monorepo/src/11.0.0/transform.spec.ts | 1 + community/@emotion__monorepo/src/11.0.0/transform.ts | 1 + .../src/styled-to-emotion-10/transform.spec.ts | 1 + .../@emotion__monorepo/src/styled-to-emotion-10/transform.ts | 1 + .../src/defineInlineTest-to-applyTransform/transform.spec.ts | 1 + .../src/defineInlineTest-to-applyTransform/transform.ts | 1 + community/javascript/src/remove-console-log/transform.spec.ts | 1 + community/javascript/src/remove-console-log/transform.ts | 1 + community/javascript/src/remove-debugger/transform.spec.ts | 1 + community/javascript/src/remove-debugger/transform.ts | 1 + community/javascript/src/remove-unused-vars/transform.spec.ts | 1 + community/javascript/src/remove-unused-vars/transform.ts | 1 + community/javascript/src/sort-object-props/transform.spec.ts | 1 + community/javascript/src/sort-object-props/transform.ts | 1 + community/javascript/src/var-to-let/transform.spec.ts | 1 + community/javascript/src/var-to-let/transform.ts | 1 + community/memoize-one/src/5.0.0/transform.spec.ts | 1 + community/memoize-one/src/5.0.0/transform.ts | 1 + community/react/src/add-react-import/transform.spec.ts | 1 + community/react/src/add-react-import/transform.ts | 1 + community/react/src/create-element-to-jsx/transform.spec.ts | 1 + community/react/src/create-element-to-jsx/transform.ts | 1 + community/react/src/error-boundaries/transform.spec.ts | 1 + community/react/src/error-boundaries/transform.ts | 1 + .../react/src/remove-default-props/motions/getNewParams.ts | 1 + .../motions/moveDefaultPropsToArrowFunctionExpression.ts | 1 + .../motions/moveDefaultPropsToFunctionDeclaration.ts | 1 + .../motions/removeDefaultPropsAssignment.ts | 1 + community/react/src/remove-default-props/transform.spec.ts | 1 + community/react/src/remove-default-props/transform.ts | 1 + community/react/src/remove-prop-types/transform.spec.ts | 1 + community/react/src/remove-prop-types/transform.ts | 1 + community/react/src/rename-unsafe-lifecycles/transform.spec.ts | 1 + community/react/src/rename-unsafe-lifecycles/transform.ts | 1 + community/react/src/sort-jsx-props/transform.spec.ts | 1 + community/react/src/sort-jsx-props/transform.ts | 1 + community/react/src/use-string-literal-props/transform.spec.ts | 1 + community/react/src/use-string-literal-props/transform.ts | 1 + packages/cli-alias/src/index.ts | 1 + packages/cli/src/errors.ts | 1 + packages/cli/src/fetchers/app.ts | 1 + packages/cli/src/fetchers/npm.ts | 1 + packages/cli/src/index.ts | 1 + packages/cli/src/init.ts | 1 + packages/cli/src/list.spec.ts | 1 + packages/cli/src/list.ts | 1 + packages/cli/src/main.spec.ts | 1 + packages/cli/src/main.ts | 1 + packages/cli/src/prompt.ts | 1 + packages/cli/src/resolvers/app.ts | 1 + packages/cli/src/resolvers/local.ts | 1 + packages/cli/src/resolvers/npm.ts | 1 + packages/cli/src/utils/file-system.ts | 1 + packages/cli/src/utils/merge-configs.ts | 1 + packages/cli/src/utils/module-loader.ts | 1 + packages/cli/src/utils/package-names.ts | 1 + packages/cli/src/validate.ts | 1 + packages/core/src/index.ts | 1 + packages/core/src/runner.ts | 1 + packages/core/src/types.ts | 1 + packages/fetcher/src/index.spec.ts | 1 + packages/fetcher/src/index.ts | 1 + packages/initializer/src/index.ts | 1 + .../initializer/template/codemods/codemod/transform.spec.ts | 1 + packages/initializer/template/codemods/codemod/transform.ts | 1 + packages/types/src/index.ts | 1 + packages/utils/src/comments.ts | 1 + packages/utils/src/imports.spec.ts | 1 + packages/utils/src/imports.ts | 1 + packages/utils/src/index.ts | 1 + packages/utils/src/jsx.ts | 1 + packages/utils/src/motions.ts | 1 + packages/utils/src/nodes.spec.ts | 1 + packages/utils/src/nodes.ts | 1 + packages/utils/src/testing.ts | 1 + packages/validator/src/index.spec.ts | 1 + packages/validator/src/index.ts | 1 + scripts/initialize-preset.ts | 1 + scripts/initialize.ts | 1 + scripts/sync.ts | 1 + scripts/validate.ts | 1 + yarn.lock | 2 +- 167 files changed, 167 insertions(+), 1 deletion(-) 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 86a7e8fdc..46ba12a05 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. jest.autoMockOff(); import { applyTransform } from '@hypermod/utils'; diff --git a/community/@atlaskit__avatar/src/18.0.0/transform.ts b/community/@atlaskit__avatar/src/18.0.0/transform.ts index 5e4bc1415..06b66e98a 100644 --- a/community/@atlaskit__avatar/src/18.0.0/transform.ts +++ b/community/@atlaskit__avatar/src/18.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, ASTPath, diff --git a/community/@atlaskit__avatar/src/19.0.0/__tests__/transform.spec.ts b/community/@atlaskit__avatar/src/19.0.0/__tests__/transform.spec.ts index 4a74eef30..563aeee5c 100644 --- a/community/@atlaskit__avatar/src/19.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__avatar/src/19.0.0/__tests__/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import * as transformer from '../transform'; const defineInlineTest = require('jscodeshift/dist/testUtils').defineInlineTest; diff --git a/community/@atlaskit__avatar/src/19.0.0/transform.ts b/community/@atlaskit__avatar/src/19.0.0/transform.ts index 12555585c..c2737c2c0 100644 --- a/community/@atlaskit__avatar/src/19.0.0/transform.ts +++ b/community/@atlaskit__avatar/src/19.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, FileInfo, Options } from 'jscodeshift'; import { diff --git a/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/elevate-stateless-to-default.spec.ts b/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/elevate-stateless-to-default.spec.ts index 3473f09f1..092b73ae6 100644 --- a/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/elevate-stateless-to-default.spec.ts +++ b/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/elevate-stateless-to-default.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; import elevateStatelessToDefault from '../motions/elevate-stateless-to-default'; diff --git a/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/remove-has-separator.spec.ts b/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/remove-has-separator.spec.ts index 7fbee7fe3..a5f325bd4 100644 --- a/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/remove-has-separator.spec.ts +++ b/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/remove-has-separator.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; import removeHasSeparator from '../motions/remove-has-separator'; diff --git a/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/rename-breadcrumbs.spec.ts b/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/rename-breadcrumbs.spec.ts index 2c9731e02..b1dedfba6 100644 --- a/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/rename-breadcrumbs.spec.ts +++ b/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/rename-breadcrumbs.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; import renameBreadcrumbs from '../motions/rename-breadcrumbs'; diff --git a/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/transform.spec.ts b/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/transform.spec.ts index 8341d0aac..4b4d37163 100644 --- a/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__breadcrumbs/src/11.0.0/__tests__/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__breadcrumbs/src/11.0.0/motions/elevate-stateless-to-default.ts b/community/@atlaskit__breadcrumbs/src/11.0.0/motions/elevate-stateless-to-default.ts index 9a647c54c..bb40d4265 100644 --- a/community/@atlaskit__breadcrumbs/src/11.0.0/motions/elevate-stateless-to-default.ts +++ b/community/@atlaskit__breadcrumbs/src/11.0.0/motions/elevate-stateless-to-default.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath, ImportDeclaration, ImportSpecifier } from 'jscodeshift'; type Nullable = T | null; diff --git a/community/@atlaskit__breadcrumbs/src/11.0.0/motions/remove-has-separator.ts b/community/@atlaskit__breadcrumbs/src/11.0.0/motions/remove-has-separator.ts index e3d3ebcfa..b415909f1 100644 --- a/community/@atlaskit__breadcrumbs/src/11.0.0/motions/remove-has-separator.ts +++ b/community/@atlaskit__breadcrumbs/src/11.0.0/motions/remove-has-separator.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath, Collection, Node } from 'jscodeshift'; import { insertCommentToStartOfFile, diff --git a/community/@atlaskit__breadcrumbs/src/11.0.0/motions/rename-breadcrumbs.ts b/community/@atlaskit__breadcrumbs/src/11.0.0/motions/rename-breadcrumbs.ts index 68876103c..44f92174c 100644 --- a/community/@atlaskit__breadcrumbs/src/11.0.0/motions/rename-breadcrumbs.ts +++ b/community/@atlaskit__breadcrumbs/src/11.0.0/motions/rename-breadcrumbs.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath, ImportDeclaration, diff --git a/community/@atlaskit__breadcrumbs/src/11.0.0/transform.ts b/community/@atlaskit__breadcrumbs/src/11.0.0/transform.ts index 9818ac4c4..9f150c365 100644 --- a/community/@atlaskit__breadcrumbs/src/11.0.0/transform.ts +++ b/community/@atlaskit__breadcrumbs/src/11.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { hasImportDeclaration, applyMotions } from '@hypermod/utils'; diff --git a/community/@atlaskit__button/src/15.0.0/__tests__/transform.spec.ts b/community/@atlaskit__button/src/15.0.0/__tests__/transform.spec.ts index 3209ed86f..1024f8406 100644 --- a/community/@atlaskit__button/src/15.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__button/src/15.0.0/__tests__/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import transformer from '../transform'; diff --git a/community/@atlaskit__button/src/15.0.0/transform.ts b/community/@atlaskit__button/src/15.0.0/transform.ts index b4ceca324..0315ecd60 100644 --- a/community/@atlaskit__button/src/15.0.0/transform.ts +++ b/community/@atlaskit__button/src/15.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, FileInfo, 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 ad3d6d5fc..6158ccb38 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; const applyTransform = require('jscodeshift/dist/testUtils').applyTransform; diff --git a/community/@atlaskit__button/src/15.1.1/transform.ts b/community/@atlaskit__button/src/15.1.1/transform.ts index a1a6d433e..211f6f175 100644 --- a/community/@atlaskit__button/src/15.1.1/transform.ts +++ b/community/@atlaskit__button/src/15.1.1/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, Collection, 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 ac669697b..9a4c0f0a0 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; 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 568c6e1e2..a2261f768 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; 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 bb0f9ba50..69b697f61 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__calendar/src/11.0.0/motions/flatten-certain-inner-props.ts b/community/@atlaskit__calendar/src/11.0.0/motions/flatten-certain-inner-props.ts index 97f97d82e..b035228e8 100644 --- a/community/@atlaskit__calendar/src/11.0.0/motions/flatten-certain-inner-props.ts +++ b/community/@atlaskit__calendar/src/11.0.0/motions/flatten-certain-inner-props.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Collection, Node, ObjectExpression } from 'jscodeshift'; import { getJSXAttributes, diff --git a/community/@atlaskit__calendar/src/11.0.0/motions/remove-inner-props.ts b/community/@atlaskit__calendar/src/11.0.0/motions/remove-inner-props.ts index ae300f960..d8c090e10 100644 --- a/community/@atlaskit__calendar/src/11.0.0/motions/remove-inner-props.ts +++ b/community/@atlaskit__calendar/src/11.0.0/motions/remove-inner-props.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Collection, Node } from 'jscodeshift'; import { insertCommentToStartOfFile, diff --git a/community/@atlaskit__calendar/src/11.0.0/transform.ts b/community/@atlaskit__calendar/src/11.0.0/transform.ts index 82ffc5b04..2a284972c 100644 --- a/community/@atlaskit__calendar/src/11.0.0/transform.ts +++ b/community/@atlaskit__calendar/src/11.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { applyMotions, hasImportDeclaration } from '@hypermod/utils'; 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 c18dce0d2..a48446d07 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__checkbox/src/12.0.0/motions/remove-imports.ts b/community/@atlaskit__checkbox/src/12.0.0/motions/remove-imports.ts index 871288c48..00796da09 100644 --- a/community/@atlaskit__checkbox/src/12.0.0/motions/remove-imports.ts +++ b/community/@atlaskit__checkbox/src/12.0.0/motions/remove-imports.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Node, Collection } from 'jscodeshift'; import { insertCommentToStartOfFile, diff --git a/community/@atlaskit__checkbox/src/12.0.0/motions/remove-props.ts b/community/@atlaskit__checkbox/src/12.0.0/motions/remove-props.ts index 5dbc23d17..c6809eaa7 100644 --- a/community/@atlaskit__checkbox/src/12.0.0/motions/remove-props.ts +++ b/community/@atlaskit__checkbox/src/12.0.0/motions/remove-props.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Node, Collection } from 'jscodeshift'; import { insertCommentToStartOfFile, diff --git a/community/@atlaskit__checkbox/src/12.0.0/motions/rename-import.ts b/community/@atlaskit__checkbox/src/12.0.0/motions/rename-import.ts index 6a05e9c59..a4bff039f 100644 --- a/community/@atlaskit__checkbox/src/12.0.0/motions/rename-import.ts +++ b/community/@atlaskit__checkbox/src/12.0.0/motions/rename-import.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ImportDefaultSpecifier, ImportSpecifier, diff --git a/community/@atlaskit__checkbox/src/12.0.0/motions/rename-inputRef.ts b/community/@atlaskit__checkbox/src/12.0.0/motions/rename-inputRef.ts index ad53da092..10ed6c024 100644 --- a/community/@atlaskit__checkbox/src/12.0.0/motions/rename-inputRef.ts +++ b/community/@atlaskit__checkbox/src/12.0.0/motions/rename-inputRef.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Node, Collection } from 'jscodeshift'; import { getImportSpecifierName, getJSXAttributes } from '@hypermod/utils'; diff --git a/community/@atlaskit__checkbox/src/12.0.0/transform.ts b/community/@atlaskit__checkbox/src/12.0.0/transform.ts index b0fa3d7ca..e5c649a1d 100644 --- a/community/@atlaskit__checkbox/src/12.0.0/transform.ts +++ b/community/@atlaskit__checkbox/src/12.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { applyMotions, hasImportDeclaration } from '@hypermod/utils'; diff --git a/community/@atlaskit__icon/src/21.2.0/__tests__/transform.spec.ts b/community/@atlaskit__icon/src/21.2.0/__tests__/transform.spec.ts index b99b543ad..e599e1a2a 100644 --- a/community/@atlaskit__icon/src/21.2.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__icon/src/21.2.0/__tests__/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__icon/src/21.2.0/transform.ts b/community/@atlaskit__icon/src/21.2.0/transform.ts index 9956d1d5f..df05c5540 100644 --- a/community/@atlaskit__icon/src/21.2.0/transform.ts +++ b/community/@atlaskit__icon/src/21.2.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, FileInfo, 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 4e3a30e6a..0e517ca44 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. const defineInlineTest = require('jscodeshift/dist/testUtils').defineInlineTest; import * as transformer from '../transform'; diff --git a/community/@atlaskit__menu/src/0.7.0/transform.ts b/community/@atlaskit__menu/src/0.7.0/transform.ts index 3a40cf819..901b9a144 100644 --- a/community/@atlaskit__menu/src/0.7.0/transform.ts +++ b/community/@atlaskit__menu/src/0.7.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, FileInfo, Options } from 'jscodeshift'; import { NodePath } from 'ast-types/lib/node-path'; import { 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 914a4a14f..79dd4aa03 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. const defineInlineTest = require('jscodeshift/dist/testUtils').defineInlineTest; import transformer from '../transform'; diff --git a/community/@atlaskit__popper/src/5.0.0/constants.ts b/community/@atlaskit__popper/src/5.0.0/constants.ts index c4415c84a..0b562ef06 100644 --- a/community/@atlaskit__popper/src/5.0.0/constants.ts +++ b/community/@atlaskit__popper/src/5.0.0/constants.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. export const messageForUsingExpression = ` Popper.js has been upgraded from 1.14.1 to 2.4.2, and as a result the offset prop has changed to be an array. e.g '0px 8px' -> [0, 8] diff --git a/community/@atlaskit__popper/src/5.0.0/motions/update-modifier-prop.ts b/community/@atlaskit__popper/src/5.0.0/motions/update-modifier-prop.ts index 090d12d96..85b51b94c 100644 --- a/community/@atlaskit__popper/src/5.0.0/motions/update-modifier-prop.ts +++ b/community/@atlaskit__popper/src/5.0.0/motions/update-modifier-prop.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Collection, JSXElement } from 'jscodeshift'; import { insertCommentToStartOfFile, hasJSXAttributes } from '@hypermod/utils'; import { NodePath } from 'ast-types/lib/node-path'; diff --git a/community/@atlaskit__popper/src/5.0.0/motions/update-offset.ts b/community/@atlaskit__popper/src/5.0.0/motions/update-offset.ts index 13277d9e4..052a5be87 100644 --- a/community/@atlaskit__popper/src/5.0.0/motions/update-offset.ts +++ b/community/@atlaskit__popper/src/5.0.0/motions/update-offset.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath, JSXElement, diff --git a/community/@atlaskit__popper/src/5.0.0/motions/update-render-props.ts b/community/@atlaskit__popper/src/5.0.0/motions/update-render-props.ts index 45c8e3e4b..92d6beb46 100644 --- a/community/@atlaskit__popper/src/5.0.0/motions/update-render-props.ts +++ b/community/@atlaskit__popper/src/5.0.0/motions/update-render-props.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath, JSXElement, Collection } from 'jscodeshift'; export default function updateRenderProps( diff --git a/community/@atlaskit__popper/src/5.0.0/transform.ts b/community/@atlaskit__popper/src/5.0.0/transform.ts index 8060ff288..37e3d167f 100644 --- a/community/@atlaskit__popper/src/5.0.0/transform.ts +++ b/community/@atlaskit__popper/src/5.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { hasImportDeclaration, getImportSpecifierName } from '@hypermod/utils'; 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 c489c0a88..97b1cf6bd 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. const applyTransform = require('jscodeshift/dist/testUtils').applyTransform; import transformer from '../transform'; diff --git a/community/@atlaskit__popup/src/1.0.0/motions/update-boundaries-props.ts b/community/@atlaskit__popup/src/1.0.0/motions/update-boundaries-props.ts index 03d2fc298..1248d08ec 100644 --- a/community/@atlaskit__popup/src/1.0.0/motions/update-boundaries-props.ts +++ b/community/@atlaskit__popup/src/1.0.0/motions/update-boundaries-props.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath, JSXElement, Collection } from 'jscodeshift'; import { hasJSXAttributes, diff --git a/community/@atlaskit__popup/src/1.0.0/motions/update-offset.ts b/community/@atlaskit__popup/src/1.0.0/motions/update-offset.ts index a80094990..0e552eda3 100644 --- a/community/@atlaskit__popup/src/1.0.0/motions/update-offset.ts +++ b/community/@atlaskit__popup/src/1.0.0/motions/update-offset.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath, JSXElement, Collection } from 'jscodeshift'; import { getJSXAttributes, insertCommentToStartOfFile } from '@hypermod/utils'; diff --git a/community/@atlaskit__popup/src/1.0.0/motions/update-render-props.ts b/community/@atlaskit__popup/src/1.0.0/motions/update-render-props.ts index 45c8e3e4b..92d6beb46 100644 --- a/community/@atlaskit__popup/src/1.0.0/motions/update-render-props.ts +++ b/community/@atlaskit__popup/src/1.0.0/motions/update-render-props.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath, JSXElement, Collection } from 'jscodeshift'; export default function updateRenderProps( diff --git a/community/@atlaskit__popup/src/1.0.0/transform.ts b/community/@atlaskit__popup/src/1.0.0/transform.ts index 5e0524d10..0a8b177a7 100644 --- a/community/@atlaskit__popup/src/1.0.0/transform.ts +++ b/community/@atlaskit__popup/src/1.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { hasImportDeclaration, 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 4ce3ae0dd..a9d040908 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__progress-indicator/src/9.0.0/transform.ts b/community/@atlaskit__progress-indicator/src/9.0.0/transform.ts index 2d6662894..bf7013b5f 100644 --- a/community/@atlaskit__progress-indicator/src/9.0.0/transform.ts +++ b/community/@atlaskit__progress-indicator/src/9.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, FileInfo, Options } from 'jscodeshift'; import { hasImportDeclaration, hasImportSpecifier } from '@hypermod/utils'; 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 60c3f482a..9fbc67cd6 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__range/src/4.0.0/transform.ts b/community/@atlaskit__range/src/4.0.0/transform.ts index 76f799b6c..abebd1c82 100644 --- a/community/@atlaskit__range/src/4.0.0/transform.ts +++ b/community/@atlaskit__range/src/4.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { getDefaultImportSpecifierName, diff --git a/community/@atlaskit__section-message/src/6.0.0/__tests__/change-appearance-prop.ts b/community/@atlaskit__section-message/src/6.0.0/__tests__/change-appearance-prop.ts index c209b290d..b6252a74b 100644 --- a/community/@atlaskit__section-message/src/6.0.0/__tests__/change-appearance-prop.ts +++ b/community/@atlaskit__section-message/src/6.0.0/__tests__/change-appearance-prop.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; diff --git a/community/@atlaskit__section-message/src/6.0.0/__tests__/map-actions-prop.ts b/community/@atlaskit__section-message/src/6.0.0/__tests__/map-actions-prop.ts index a99d2eab2..6491a347e 100644 --- a/community/@atlaskit__section-message/src/6.0.0/__tests__/map-actions-prop.ts +++ b/community/@atlaskit__section-message/src/6.0.0/__tests__/map-actions-prop.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; diff --git a/community/@atlaskit__section-message/src/6.0.0/__tests__/transform.spec.ts b/community/@atlaskit__section-message/src/6.0.0/__tests__/transform.spec.ts index 31a6bf104..4eb7d55df 100644 --- a/community/@atlaskit__section-message/src/6.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__section-message/src/6.0.0/__tests__/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__section-message/src/6.0.0/constants.ts b/community/@atlaskit__section-message/src/6.0.0/constants.ts index c8d24a3cb..442502fe6 100644 --- a/community/@atlaskit__section-message/src/6.0.0/constants.ts +++ b/community/@atlaskit__section-message/src/6.0.0/constants.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. export const SECTION_MESSAGE_PACKAGE_NAME = '@atlaskit/section-message'; export const APPEARANCE_PROP_NAME = 'appearance'; export const APPEARANCE_OLD_TO_NEW_MAPPING: { diff --git a/community/@atlaskit__section-message/src/6.0.0/motions/change-appearance-prop.ts b/community/@atlaskit__section-message/src/6.0.0/motions/change-appearance-prop.ts index 4bcce28ba..b8821d6df 100644 --- a/community/@atlaskit__section-message/src/6.0.0/motions/change-appearance-prop.ts +++ b/community/@atlaskit__section-message/src/6.0.0/motions/change-appearance-prop.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { JSXAttribute, Node } from 'jscodeshift'; import { Collection } from 'jscodeshift/src/Collection'; diff --git a/community/@atlaskit__section-message/src/6.0.0/motions/map-actions-prop.ts b/community/@atlaskit__section-message/src/6.0.0/motions/map-actions-prop.ts index d7585325c..0f0c4cf36 100644 --- a/community/@atlaskit__section-message/src/6.0.0/motions/map-actions-prop.ts +++ b/community/@atlaskit__section-message/src/6.0.0/motions/map-actions-prop.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath, ImportDeclaration, diff --git a/community/@atlaskit__section-message/src/6.0.0/transform.ts b/community/@atlaskit__section-message/src/6.0.0/transform.ts index 776f9d2fb..c76a33453 100644 --- a/community/@atlaskit__section-message/src/6.0.0/transform.ts +++ b/community/@atlaskit__section-message/src/6.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { applyMotions, hasImportDeclaration } from '@hypermod/utils'; diff --git a/community/@atlaskit__section-message/src/6.0.0/utils.ts b/community/@atlaskit__section-message/src/6.0.0/utils.ts index 2136a0446..fd77d7c05 100644 --- a/community/@atlaskit__section-message/src/6.0.0/utils.ts +++ b/community/@atlaskit__section-message/src/6.0.0/utils.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Collection, CallExpression } from 'jscodeshift'; function isCallExpressionCalleeImportType(callee: CallExpression['callee']) { 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 0bda6f245..dec47da67 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__side-navigation/src/0.8.0/transform.ts b/community/@atlaskit__side-navigation/src/0.8.0/transform.ts index 8d0e39e42..220542d42 100644 --- a/community/@atlaskit__side-navigation/src/0.8.0/transform.ts +++ b/community/@atlaskit__side-navigation/src/0.8.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, Collection, FileInfo, Options } from 'jscodeshift'; import { hasDefaultImportSpecifier, 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 3cf442780..ed8058c85 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import transformer from '../transform'; const defineInlineTest = require('jscodeshift/dist/testUtils').defineInlineTest; diff --git a/community/@atlaskit__spinner/src/13.0.0/transform.ts b/community/@atlaskit__spinner/src/13.0.0/transform.ts index 428df0091..9b601a149 100644 --- a/community/@atlaskit__spinner/src/13.0.0/transform.ts +++ b/community/@atlaskit__spinner/src/13.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, Collection, FileInfo, Options } from 'jscodeshift'; import { diff --git a/community/@atlaskit__tag/src/11.0.0/__tests__/add-isRemovable-flag.spec.ts b/community/@atlaskit__tag/src/11.0.0/__tests__/add-isRemovable-flag.spec.ts index 9d7ab38c9..79fd2c646 100644 --- a/community/@atlaskit__tag/src/11.0.0/__tests__/add-isRemovable-flag.spec.ts +++ b/community/@atlaskit__tag/src/11.0.0/__tests__/add-isRemovable-flag.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; 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 613a4c54e..6e1ecfbf2 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; diff --git a/community/@atlaskit__tag/src/11.0.0/__tests__/replace-import-statement.spec.ts b/community/@atlaskit__tag/src/11.0.0/__tests__/replace-import-statement.spec.ts index d08059f82..472015e03 100644 --- a/community/@atlaskit__tag/src/11.0.0/__tests__/replace-import-statement.spec.ts +++ b/community/@atlaskit__tag/src/11.0.0/__tests__/replace-import-statement.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; diff --git a/community/@atlaskit__tag/src/11.0.0/__tests__/transform.spec.ts b/community/@atlaskit__tag/src/11.0.0/__tests__/transform.spec.ts index 4f105eace..ec6a9924a 100644 --- a/community/@atlaskit__tag/src/11.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__tag/src/11.0.0/__tests__/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__tag/src/11.0.0/motions/add-isRemovable-flag.ts b/community/@atlaskit__tag/src/11.0.0/motions/add-isRemovable-flag.ts index 4789c8cfc..799563491 100644 --- a/community/@atlaskit__tag/src/11.0.0/motions/add-isRemovable-flag.ts +++ b/community/@atlaskit__tag/src/11.0.0/motions/add-isRemovable-flag.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { JSXAttribute } from 'jscodeshift'; import { getJSXAttributes, diff --git a/community/@atlaskit__tag/src/11.0.0/motions/rename-remove-button-text.ts b/community/@atlaskit__tag/src/11.0.0/motions/rename-remove-button-text.ts index b0204be67..0c8582411 100644 --- a/community/@atlaskit__tag/src/11.0.0/motions/rename-remove-button-text.ts +++ b/community/@atlaskit__tag/src/11.0.0/motions/rename-remove-button-text.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core from 'jscodeshift'; import { getJSXAttributes, diff --git a/community/@atlaskit__tag/src/11.0.0/motions/replace-import-statements.ts b/community/@atlaskit__tag/src/11.0.0/motions/replace-import-statements.ts index b5f9bd0a5..a0bd30038 100644 --- a/community/@atlaskit__tag/src/11.0.0/motions/replace-import-statements.ts +++ b/community/@atlaskit__tag/src/11.0.0/motions/replace-import-statements.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core from 'jscodeshift'; import { getImportDeclaration } from '@hypermod/utils'; diff --git a/community/@atlaskit__tag/src/11.0.0/transform.ts b/community/@atlaskit__tag/src/11.0.0/transform.ts index 2c9ff1eb6..01199950b 100644 --- a/community/@atlaskit__tag/src/11.0.0/transform.ts +++ b/community/@atlaskit__tag/src/11.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { applyMotions, hasImportDeclaration } from '@hypermod/utils'; diff --git a/community/@atlaskit__textarea/src/4.0.0/__tests__/transform.spec.ts b/community/@atlaskit__textarea/src/4.0.0/__tests__/transform.spec.ts index 26668df3b..376047eb8 100644 --- a/community/@atlaskit__textarea/src/4.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__textarea/src/4.0.0/__tests__/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__textarea/src/4.0.0/transform.ts b/community/@atlaskit__textarea/src/4.0.0/transform.ts index 5eb964d16..de001ff3c 100644 --- a/community/@atlaskit__textarea/src/4.0.0/transform.ts +++ b/community/@atlaskit__textarea/src/4.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { getDefaultImportSpecifierName, diff --git a/community/@atlaskit__textfield/src/5.0.0/__tests__/remove-imports.spec.ts b/community/@atlaskit__textfield/src/5.0.0/__tests__/remove-imports.spec.ts index 50f3e2046..d4acfb86c 100644 --- a/community/@atlaskit__textfield/src/5.0.0/__tests__/remove-imports.spec.ts +++ b/community/@atlaskit__textfield/src/5.0.0/__tests__/remove-imports.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; 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 6ec288395..40da54cd2 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; diff --git a/community/@atlaskit__textfield/src/5.0.0/__tests__/rename-imports.spec.ts b/community/@atlaskit__textfield/src/5.0.0/__tests__/rename-imports.spec.ts index 0d160832b..98d892ed4 100644 --- a/community/@atlaskit__textfield/src/5.0.0/__tests__/rename-imports.spec.ts +++ b/community/@atlaskit__textfield/src/5.0.0/__tests__/rename-imports.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; diff --git a/community/@atlaskit__textfield/src/5.0.0/__tests__/transform.spec.ts b/community/@atlaskit__textfield/src/5.0.0/__tests__/transform.spec.ts index f425223c0..55d9b14e2 100644 --- a/community/@atlaskit__textfield/src/5.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__textfield/src/5.0.0/__tests__/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__textfield/src/5.0.0/motions/remove-imports.ts b/community/@atlaskit__textfield/src/5.0.0/motions/remove-imports.ts index 1c44455c4..78afb539b 100644 --- a/community/@atlaskit__textfield/src/5.0.0/motions/remove-imports.ts +++ b/community/@atlaskit__textfield/src/5.0.0/motions/remove-imports.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Collection, Node } from 'jscodeshift'; import { insertCommentToStartOfFile, diff --git a/community/@atlaskit__textfield/src/5.0.0/motions/remove-props.ts b/community/@atlaskit__textfield/src/5.0.0/motions/remove-props.ts index 89ffbdb67..1d22727b8 100644 --- a/community/@atlaskit__textfield/src/5.0.0/motions/remove-props.ts +++ b/community/@atlaskit__textfield/src/5.0.0/motions/remove-props.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Collection, Node } from 'jscodeshift'; import { insertCommentToStartOfFile, diff --git a/community/@atlaskit__textfield/src/5.0.0/motions/rename-imports.ts b/community/@atlaskit__textfield/src/5.0.0/motions/rename-imports.ts index c50cbfc1b..2ace5fc19 100644 --- a/community/@atlaskit__textfield/src/5.0.0/motions/rename-imports.ts +++ b/community/@atlaskit__textfield/src/5.0.0/motions/rename-imports.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Collection } from 'jscodeshift'; import { getImportDeclaration, getImportSpecifierName } from '@hypermod/utils'; diff --git a/community/@atlaskit__textfield/src/5.0.0/transform.ts b/community/@atlaskit__textfield/src/5.0.0/transform.ts index c15102c86..139683400 100644 --- a/community/@atlaskit__textfield/src/5.0.0/transform.ts +++ b/community/@atlaskit__textfield/src/5.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { applyMotions, hasImportDeclaration } from '@hypermod/utils'; 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 cea46faca..ca8a8458c 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 @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__toggle/src/11.0.0/transform.ts b/community/@atlaskit__toggle/src/11.0.0/transform.ts index d50610a12..1dbb4cbf3 100644 --- a/community/@atlaskit__toggle/src/11.0.0/transform.ts +++ b/community/@atlaskit__toggle/src/11.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, Collection, FileInfo, Options } from 'jscodeshift'; import { getDefaultImportSpecifierName, diff --git a/community/@atlaskit__toggle/src/12.0.0/__tests__/elevate-stateless.spec.ts b/community/@atlaskit__toggle/src/12.0.0/__tests__/elevate-stateless.spec.ts index 3d00f3e8a..b993ca285 100644 --- a/community/@atlaskit__toggle/src/12.0.0/__tests__/elevate-stateless.spec.ts +++ b/community/@atlaskit__toggle/src/12.0.0/__tests__/elevate-stateless.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; import elevateStateless from '../motions/elevate-stateless'; diff --git a/community/@atlaskit__toggle/src/12.0.0/__tests__/rename-togglestateless.spec.ts b/community/@atlaskit__toggle/src/12.0.0/__tests__/rename-togglestateless.spec.ts index db8ac790b..5b1bc4ede 100644 --- a/community/@atlaskit__toggle/src/12.0.0/__tests__/rename-togglestateless.spec.ts +++ b/community/@atlaskit__toggle/src/12.0.0/__tests__/rename-togglestateless.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import { API, FileInfo, Options } from 'jscodeshift'; import renameToggleStateless from '../motions/rename-togglestateless'; diff --git a/community/@atlaskit__toggle/src/12.0.0/__tests__/transform.spec.ts b/community/@atlaskit__toggle/src/12.0.0/__tests__/transform.spec.ts index 0c0203510..3c3b6fec5 100644 --- a/community/@atlaskit__toggle/src/12.0.0/__tests__/transform.spec.ts +++ b/community/@atlaskit__toggle/src/12.0.0/__tests__/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import transformer from '../transform'; diff --git a/community/@atlaskit__toggle/src/12.0.0/motions/elevate-stateless.ts b/community/@atlaskit__toggle/src/12.0.0/motions/elevate-stateless.ts index f47a26fc3..65c4d45aa 100644 --- a/community/@atlaskit__toggle/src/12.0.0/motions/elevate-stateless.ts +++ b/community/@atlaskit__toggle/src/12.0.0/motions/elevate-stateless.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core from 'jscodeshift'; import { getImportDeclaration } from '@hypermod/utils'; diff --git a/community/@atlaskit__toggle/src/12.0.0/motions/rename-togglestateless.ts b/community/@atlaskit__toggle/src/12.0.0/motions/rename-togglestateless.ts index d239e6280..ed7bf7337 100644 --- a/community/@atlaskit__toggle/src/12.0.0/motions/rename-togglestateless.ts +++ b/community/@atlaskit__toggle/src/12.0.0/motions/rename-togglestateless.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath, Collection, Identifier } from 'jscodeshift'; import { getImportDeclaration, diff --git a/community/@atlaskit__toggle/src/12.0.0/transform.ts b/community/@atlaskit__toggle/src/12.0.0/transform.ts index 577208c9d..9ccfbb693 100644 --- a/community/@atlaskit__toggle/src/12.0.0/transform.ts +++ b/community/@atlaskit__toggle/src/12.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { hasImportDeclaration } from '@hypermod/utils'; diff --git a/community/@emotion__monorepo/src/11.0.0/transform.spec.ts b/community/@emotion__monorepo/src/11.0.0/transform.spec.ts index 07eb6cb3a..fe4e4f6f0 100644 --- a/community/@emotion__monorepo/src/11.0.0/transform.spec.ts +++ b/community/@emotion__monorepo/src/11.0.0/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/@emotion__monorepo/src/11.0.0/transform.ts b/community/@emotion__monorepo/src/11.0.0/transform.ts index 6af47723b..eecb80a2c 100644 --- a/community/@emotion__monorepo/src/11.0.0/transform.ts +++ b/community/@emotion__monorepo/src/11.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { hasImportDeclaration, renameImportDeclaration } from '@hypermod/utils'; diff --git a/community/@emotion__monorepo/src/styled-to-emotion-10/transform.spec.ts b/community/@emotion__monorepo/src/styled-to-emotion-10/transform.spec.ts index e41c22948..05246de3c 100644 --- a/community/@emotion__monorepo/src/styled-to-emotion-10/transform.spec.ts +++ b/community/@emotion__monorepo/src/styled-to-emotion-10/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; jest.autoMockOff(); diff --git a/community/@emotion__monorepo/src/styled-to-emotion-10/transform.ts b/community/@emotion__monorepo/src/styled-to-emotion-10/transform.ts index 92ab2e3f7..1ae3ccfb6 100644 --- a/community/@emotion__monorepo/src/styled-to-emotion-10/transform.ts +++ b/community/@emotion__monorepo/src/styled-to-emotion-10/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { FileInfo, API, diff --git a/community/hypermod/src/defineInlineTest-to-applyTransform/transform.spec.ts b/community/hypermod/src/defineInlineTest-to-applyTransform/transform.spec.ts index 7aa0e349f..f93bb67ee 100644 --- a/community/hypermod/src/defineInlineTest-to-applyTransform/transform.spec.ts +++ b/community/hypermod/src/defineInlineTest-to-applyTransform/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/hypermod/src/defineInlineTest-to-applyTransform/transform.ts b/community/hypermod/src/defineInlineTest-to-applyTransform/transform.ts index e59841cf4..21492cefd 100644 --- a/community/hypermod/src/defineInlineTest-to-applyTransform/transform.ts +++ b/community/hypermod/src/defineInlineTest-to-applyTransform/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { API, FileInfo, Options, Collection } from 'jscodeshift'; import { hasImportSpecifier } from '@hypermod/utils'; diff --git a/community/javascript/src/remove-console-log/transform.spec.ts b/community/javascript/src/remove-console-log/transform.spec.ts index f823281db..e3e390c44 100644 --- a/community/javascript/src/remove-console-log/transform.spec.ts +++ b/community/javascript/src/remove-console-log/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/javascript/src/remove-console-log/transform.ts b/community/javascript/src/remove-console-log/transform.ts index 398ed060d..5e0467588 100644 --- a/community/javascript/src/remove-console-log/transform.ts +++ b/community/javascript/src/remove-console-log/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; export default function transformer( diff --git a/community/javascript/src/remove-debugger/transform.spec.ts b/community/javascript/src/remove-debugger/transform.spec.ts index d4d44f2f9..c316ab41d 100644 --- a/community/javascript/src/remove-debugger/transform.spec.ts +++ b/community/javascript/src/remove-debugger/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/javascript/src/remove-debugger/transform.ts b/community/javascript/src/remove-debugger/transform.ts index 477e8f51b..f0d36ae42 100644 --- a/community/javascript/src/remove-debugger/transform.ts +++ b/community/javascript/src/remove-debugger/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; export default function transformer( diff --git a/community/javascript/src/remove-unused-vars/transform.spec.ts b/community/javascript/src/remove-unused-vars/transform.spec.ts index 8afb9bc6a..d4da20fed 100644 --- a/community/javascript/src/remove-unused-vars/transform.spec.ts +++ b/community/javascript/src/remove-unused-vars/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/javascript/src/remove-unused-vars/transform.ts b/community/javascript/src/remove-unused-vars/transform.ts index b1ce80af4..96113ee4d 100644 --- a/community/javascript/src/remove-unused-vars/transform.ts +++ b/community/javascript/src/remove-unused-vars/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; import { isDecendantOfType } from '@hypermod/utils'; diff --git a/community/javascript/src/sort-object-props/transform.spec.ts b/community/javascript/src/sort-object-props/transform.spec.ts index 59bc5906f..c5ee8b292 100644 --- a/community/javascript/src/sort-object-props/transform.spec.ts +++ b/community/javascript/src/sort-object-props/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/javascript/src/sort-object-props/transform.ts b/community/javascript/src/sort-object-props/transform.ts index 6d86439a7..56d622ae1 100644 --- a/community/javascript/src/sort-object-props/transform.ts +++ b/community/javascript/src/sort-object-props/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, diff --git a/community/javascript/src/var-to-let/transform.spec.ts b/community/javascript/src/var-to-let/transform.spec.ts index 34c0c69f1..385bd58dd 100644 --- a/community/javascript/src/var-to-let/transform.spec.ts +++ b/community/javascript/src/var-to-let/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/javascript/src/var-to-let/transform.ts b/community/javascript/src/var-to-let/transform.ts index 1cf7d6e17..790b43412 100644 --- a/community/javascript/src/var-to-let/transform.ts +++ b/community/javascript/src/var-to-let/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; export default function transformer( diff --git a/community/memoize-one/src/5.0.0/transform.spec.ts b/community/memoize-one/src/5.0.0/transform.spec.ts index 5bff1543c..4d707ccef 100644 --- a/community/memoize-one/src/5.0.0/transform.spec.ts +++ b/community/memoize-one/src/5.0.0/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; import prettier from 'prettier'; diff --git a/community/memoize-one/src/5.0.0/transform.ts b/community/memoize-one/src/5.0.0/transform.ts index 6559a70ec..c1dfb149c 100644 --- a/community/memoize-one/src/5.0.0/transform.ts +++ b/community/memoize-one/src/5.0.0/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { hasImportDeclaration, getDefaultImportSpecifierName, diff --git a/community/react/src/add-react-import/transform.spec.ts b/community/react/src/add-react-import/transform.spec.ts index d27da02dc..5b0daa980 100644 --- a/community/react/src/add-react-import/transform.spec.ts +++ b/community/react/src/add-react-import/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/react/src/add-react-import/transform.ts b/community/react/src/add-react-import/transform.ts index 9c9fed882..d44088ab3 100644 --- a/community/react/src/add-react-import/transform.ts +++ b/community/react/src/add-react-import/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; export default function transformer( diff --git a/community/react/src/create-element-to-jsx/transform.spec.ts b/community/react/src/create-element-to-jsx/transform.spec.ts index 463d0b17f..9e5bd240f 100644 --- a/community/react/src/create-element-to-jsx/transform.spec.ts +++ b/community/react/src/create-element-to-jsx/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/react/src/create-element-to-jsx/transform.ts b/community/react/src/create-element-to-jsx/transform.ts index ccc56374f..22e41c9b3 100644 --- a/community/react/src/create-element-to-jsx/transform.ts +++ b/community/react/src/create-element-to-jsx/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options, Collection } from 'jscodeshift'; const hasModule = (j: any, path: Collection, module: string) => diff --git a/community/react/src/error-boundaries/transform.spec.ts b/community/react/src/error-boundaries/transform.spec.ts index 406b4d96f..0e246d3a6 100644 --- a/community/react/src/error-boundaries/transform.spec.ts +++ b/community/react/src/error-boundaries/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/react/src/error-boundaries/transform.ts b/community/react/src/error-boundaries/transform.ts index bd0079201..094a11c47 100644 --- a/community/react/src/error-boundaries/transform.ts +++ b/community/react/src/error-boundaries/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; export default function transformer( diff --git a/community/react/src/remove-default-props/motions/getNewParams.ts b/community/react/src/remove-default-props/motions/getNewParams.ts index 033deb332..87425b80f 100644 --- a/community/react/src/remove-default-props/motions/getNewParams.ts +++ b/community/react/src/remove-default-props/motions/getNewParams.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { JSCodeshift, FunctionDeclaration, diff --git a/community/react/src/remove-default-props/motions/moveDefaultPropsToArrowFunctionExpression.ts b/community/react/src/remove-default-props/motions/moveDefaultPropsToArrowFunctionExpression.ts index 791288ac1..99e0c9178 100644 --- a/community/react/src/remove-default-props/motions/moveDefaultPropsToArrowFunctionExpression.ts +++ b/community/react/src/remove-default-props/motions/moveDefaultPropsToArrowFunctionExpression.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { Collection, JSCodeshift } from 'jscodeshift'; import { getNewParams } from './getNewParams'; diff --git a/community/react/src/remove-default-props/motions/moveDefaultPropsToFunctionDeclaration.ts b/community/react/src/remove-default-props/motions/moveDefaultPropsToFunctionDeclaration.ts index a6d4bdcb5..89451e90e 100644 --- a/community/react/src/remove-default-props/motions/moveDefaultPropsToFunctionDeclaration.ts +++ b/community/react/src/remove-default-props/motions/moveDefaultPropsToFunctionDeclaration.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { JSCodeshift, Collection } from 'jscodeshift'; import { getNewParams } from './getNewParams'; diff --git a/community/react/src/remove-default-props/motions/removeDefaultPropsAssignment.ts b/community/react/src/remove-default-props/motions/removeDefaultPropsAssignment.ts index b95a8f5bb..5401f8f7e 100644 --- a/community/react/src/remove-default-props/motions/removeDefaultPropsAssignment.ts +++ b/community/react/src/remove-default-props/motions/removeDefaultPropsAssignment.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { JSCodeshift } from 'jscodeshift'; import { Collection } from 'jscodeshift/src/Collection'; diff --git a/community/react/src/remove-default-props/transform.spec.ts b/community/react/src/remove-default-props/transform.spec.ts index 6674c1417..de01e9cb1 100644 --- a/community/react/src/remove-default-props/transform.spec.ts +++ b/community/react/src/remove-default-props/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/react/src/remove-default-props/transform.ts b/community/react/src/remove-default-props/transform.ts index 0ceccdde4..6b92d6cbf 100644 --- a/community/react/src/remove-default-props/transform.ts +++ b/community/react/src/remove-default-props/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { FileInfo, API } from 'jscodeshift'; import { applyMotions } from '@hypermod/utils'; diff --git a/community/react/src/remove-prop-types/transform.spec.ts b/community/react/src/remove-prop-types/transform.spec.ts index f83c2bee1..61d6a8c3a 100644 --- a/community/react/src/remove-prop-types/transform.spec.ts +++ b/community/react/src/remove-prop-types/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/react/src/remove-prop-types/transform.ts b/community/react/src/remove-prop-types/transform.ts index c2de44d8c..dd06b2788 100644 --- a/community/react/src/remove-prop-types/transform.ts +++ b/community/react/src/remove-prop-types/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; export default function transformer( diff --git a/community/react/src/rename-unsafe-lifecycles/transform.spec.ts b/community/react/src/rename-unsafe-lifecycles/transform.spec.ts index ea5b76e44..330675f03 100644 --- a/community/react/src/rename-unsafe-lifecycles/transform.spec.ts +++ b/community/react/src/rename-unsafe-lifecycles/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/react/src/rename-unsafe-lifecycles/transform.ts b/community/react/src/rename-unsafe-lifecycles/transform.ts index 39d423212..6b2afa64e 100644 --- a/community/react/src/rename-unsafe-lifecycles/transform.ts +++ b/community/react/src/rename-unsafe-lifecycles/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; const DEPRECATED_APIS = Object.create(null); diff --git a/community/react/src/sort-jsx-props/transform.spec.ts b/community/react/src/sort-jsx-props/transform.spec.ts index 33a2db5c6..b7daf5697 100644 --- a/community/react/src/sort-jsx-props/transform.spec.ts +++ b/community/react/src/sort-jsx-props/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/react/src/sort-jsx-props/transform.ts b/community/react/src/sort-jsx-props/transform.ts index 6644a8fdc..3ef48ca3c 100644 --- a/community/react/src/sort-jsx-props/transform.ts +++ b/community/react/src/sort-jsx-props/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; export default function transformer( diff --git a/community/react/src/use-string-literal-props/transform.spec.ts b/community/react/src/use-string-literal-props/transform.spec.ts index 5b8fc3bb8..5c8a9c1cc 100644 --- a/community/react/src/use-string-literal-props/transform.spec.ts +++ b/community/react/src/use-string-literal-props/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/community/react/src/use-string-literal-props/transform.ts b/community/react/src/use-string-literal-props/transform.ts index b25836147..884bd0f3a 100644 --- a/community/react/src/use-string-literal-props/transform.ts +++ b/community/react/src/use-string-literal-props/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; export default function transformer( diff --git a/packages/cli-alias/src/index.ts b/packages/cli-alias/src/index.ts index 769c40bde..1581422cb 100644 --- a/packages/cli-alias/src/index.ts +++ b/packages/cli-alias/src/index.ts @@ -1 +1,2 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import '@hypermod/cli'; diff --git a/packages/cli/src/errors.ts b/packages/cli/src/errors.ts index 9421254fd..dfb35b59c 100644 --- a/packages/cli/src/errors.ts +++ b/packages/cli/src/errors.ts @@ -1,2 +1,3 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. export class InvalidUserInputError extends Error {} export class InvalidConfigError extends Error {} diff --git a/packages/cli/src/fetchers/app.ts b/packages/cli/src/fetchers/app.ts index 40688305c..080ca222f 100644 --- a/packages/cli/src/fetchers/app.ts +++ b/packages/cli/src/fetchers/app.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import fs from 'fs-extra'; import ora from 'ora'; import chalk from 'chalk'; diff --git a/packages/cli/src/fetchers/npm.ts b/packages/cli/src/fetchers/npm.ts index 1b68933be..377a55456 100644 --- a/packages/cli/src/fetchers/npm.ts +++ b/packages/cli/src/fetchers/npm.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import ora from 'ora'; import chalk from 'chalk'; diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index cb05650b8..c9563e071 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import path from 'path'; import { readFileSync } from 'fs'; import chalk from 'chalk'; diff --git a/packages/cli/src/init.ts b/packages/cli/src/init.ts index 691a637a7..3e86878ef 100644 --- a/packages/cli/src/init.ts +++ b/packages/cli/src/init.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import path from 'path'; import chalk from 'chalk'; import { diff --git a/packages/cli/src/list.spec.ts b/packages/cli/src/list.spec.ts index 60ece0b2b..c5d03f101 100644 --- a/packages/cli/src/list.spec.ts +++ b/packages/cli/src/list.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. jest.mock('live-plugin-manager'); import chalk from 'chalk'; diff --git a/packages/cli/src/list.ts b/packages/cli/src/list.ts index 607bf22e4..d27a60ec0 100644 --- a/packages/cli/src/list.ts +++ b/packages/cli/src/list.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import chalk from 'chalk'; import { PluginManager } from 'live-plugin-manager'; diff --git a/packages/cli/src/main.spec.ts b/packages/cli/src/main.spec.ts index 2230532bd..082383604 100644 --- a/packages/cli/src/main.spec.ts +++ b/packages/cli/src/main.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. jest.mock('globby'); jest.mock('live-plugin-manager'); jest.mock('find-up'); diff --git a/packages/cli/src/main.ts b/packages/cli/src/main.ts index 7362149db..a7ec951c2 100644 --- a/packages/cli/src/main.ts +++ b/packages/cli/src/main.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import path from 'path'; import chalk from 'chalk'; import { PluginManager, PluginManagerOptions } from 'live-plugin-manager'; diff --git a/packages/cli/src/prompt.ts b/packages/cli/src/prompt.ts index 3750c1ac0..68f5a433e 100644 --- a/packages/cli/src/prompt.ts +++ b/packages/cli/src/prompt.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import inquirer from 'inquirer'; import { Config } from '@hypermod/types'; diff --git a/packages/cli/src/resolvers/app.ts b/packages/cli/src/resolvers/app.ts index 2afeece0a..302b604b4 100644 --- a/packages/cli/src/resolvers/app.ts +++ b/packages/cli/src/resolvers/app.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import path from 'path'; import { fetchHmPkg } from '../fetchers/app'; diff --git a/packages/cli/src/resolvers/local.ts b/packages/cli/src/resolvers/local.ts index 2bce58c53..77f3457a1 100644 --- a/packages/cli/src/resolvers/local.ts +++ b/packages/cli/src/resolvers/local.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import chalk from 'chalk'; import findUp from 'find-up'; import inquirer from 'inquirer'; diff --git a/packages/cli/src/resolvers/npm.ts b/packages/cli/src/resolvers/npm.ts index 399f6d7b7..8712bac18 100644 --- a/packages/cli/src/resolvers/npm.ts +++ b/packages/cli/src/resolvers/npm.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import inquirer from 'inquirer'; import semver from 'semver'; diff --git a/packages/cli/src/utils/file-system.ts b/packages/cli/src/utils/file-system.ts index 0251072a6..766a7e085 100644 --- a/packages/cli/src/utils/file-system.ts +++ b/packages/cli/src/utils/file-system.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import fs from 'fs-extra'; import findUp from 'find-up'; diff --git a/packages/cli/src/utils/merge-configs.ts b/packages/cli/src/utils/merge-configs.ts index 66ecdaf8e..1ec9b8a25 100644 --- a/packages/cli/src/utils/merge-configs.ts +++ b/packages/cli/src/utils/merge-configs.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { ConfigMeta } from '@hypermod/fetcher'; interface TransformedConfig { diff --git a/packages/cli/src/utils/module-loader.ts b/packages/cli/src/utils/module-loader.ts index 09a58e67c..4a4cf9cf0 100644 --- a/packages/cli/src/utils/module-loader.ts +++ b/packages/cli/src/utils/module-loader.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import path from 'path'; import fs from 'fs-extra'; import { installPackage } from '@antfu/install-pkg'; diff --git a/packages/cli/src/utils/package-names.ts b/packages/cli/src/utils/package-names.ts index 2ffa46844..a2d45c1a5 100644 --- a/packages/cli/src/utils/package-names.ts +++ b/packages/cli/src/utils/package-names.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. export function getHypermodPackageName(packageName: string) { return `@hypermod/mod-${packageName.replace('@', '').replace('/', '__')}`; } diff --git a/packages/cli/src/validate.ts b/packages/cli/src/validate.ts index e05f7e9ee..8f500903c 100644 --- a/packages/cli/src/validate.ts +++ b/packages/cli/src/validate.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import chalk from 'chalk'; import { isValidConfigAtPath } from '@hypermod/validator'; diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 2a4a918bf..efcce23b2 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -1,2 +1,3 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. export type { Flags } from './types'; export { run } from './runner'; diff --git a/packages/core/src/runner.ts b/packages/core/src/runner.ts index 85ccf9005..ab4fb3972 100644 --- a/packages/core/src/runner.ts +++ b/packages/core/src/runner.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import child_process from 'child_process'; import chalk from 'chalk'; import fs from 'graceful-fs'; diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 4f132442e..c0c0c9926 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { FileInfo, API, Options } from 'jscodeshift'; type Actions = 'status' | 'update' | 'free' | 'report'; diff --git a/packages/fetcher/src/index.spec.ts b/packages/fetcher/src/index.spec.ts index cab513d3f..a5d9ca99e 100644 --- a/packages/fetcher/src/index.spec.ts +++ b/packages/fetcher/src/index.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. jest.mock('globby'); import fs from 'fs'; diff --git a/packages/fetcher/src/index.ts b/packages/fetcher/src/index.ts index 2df16fd11..a2e9080d7 100644 --- a/packages/fetcher/src/index.ts +++ b/packages/fetcher/src/index.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. /* eslint-disable @typescript-eslint/no-var-requires */ import fs from 'fs'; import path from 'path'; diff --git a/packages/initializer/src/index.ts b/packages/initializer/src/index.ts index d4d091145..87fed40c0 100644 --- a/packages/initializer/src/index.ts +++ b/packages/initializer/src/index.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import fs from 'fs-extra'; import path from 'path'; import semver from 'semver'; diff --git a/packages/initializer/template/codemods/codemod/transform.spec.ts b/packages/initializer/template/codemods/codemod/transform.spec.ts index 25ceb9f7e..0038ced4d 100644 --- a/packages/initializer/template/codemods/codemod/transform.spec.ts +++ b/packages/initializer/template/codemods/codemod/transform.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { applyTransform } from '@hypermod/utils'; import * as transformer from './transform'; diff --git a/packages/initializer/template/codemods/codemod/transform.ts b/packages/initializer/template/codemods/codemod/transform.ts index 6a5cdeed3..95700499f 100644 --- a/packages/initializer/template/codemods/codemod/transform.ts +++ b/packages/initializer/template/codemods/codemod/transform.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo, Options } from 'jscodeshift'; export default function transformer( diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 0d5954d4a..cb4919c2e 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. export interface Config { /** * Targets represent the packages that the hypermod package is providing transforms to. diff --git a/packages/utils/src/comments.ts b/packages/utils/src/comments.ts index 7ec9773a8..7e34a0b31 100644 --- a/packages/utils/src/comments.ts +++ b/packages/utils/src/comments.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTNode } from 'jscodeshift'; import { Collection } from 'jscodeshift/src/Collection'; diff --git a/packages/utils/src/imports.spec.ts b/packages/utils/src/imports.spec.ts index 91c7adabe..715c31ca4 100644 --- a/packages/utils/src/imports.spec.ts +++ b/packages/utils/src/imports.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo } from 'jscodeshift'; import { applyTransform } from '@hypermod/utils'; diff --git a/packages/utils/src/imports.ts b/packages/utils/src/imports.ts index af019658e..7593564ce 100644 --- a/packages/utils/src/imports.ts +++ b/packages/utils/src/imports.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { Collection, ImportSpecifier, diff --git a/packages/utils/src/index.ts b/packages/utils/src/index.ts index 5aaf42b4b..c24f060cf 100644 --- a/packages/utils/src/index.ts +++ b/packages/utils/src/index.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. export * from './imports'; export * from './nodes'; export * from './jsx'; diff --git a/packages/utils/src/jsx.ts b/packages/utils/src/jsx.ts index 521eb934e..5ee9916f5 100644 --- a/packages/utils/src/jsx.ts +++ b/packages/utils/src/jsx.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTPath } from 'jscodeshift'; export function getJSXAttributes( diff --git a/packages/utils/src/motions.ts b/packages/utils/src/motions.ts index 707b6a21e..def18830e 100644 --- a/packages/utils/src/motions.ts +++ b/packages/utils/src/motions.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core from 'jscodeshift'; interface MotionCallback { diff --git a/packages/utils/src/nodes.spec.ts b/packages/utils/src/nodes.spec.ts index 58fba0ae0..0a75e88ee 100644 --- a/packages/utils/src/nodes.spec.ts +++ b/packages/utils/src/nodes.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import { API, FileInfo } from 'jscodeshift'; import { applyTransform, isDecendantOfType } from '@hypermod/utils'; diff --git a/packages/utils/src/nodes.ts b/packages/utils/src/nodes.ts index 38e5fc100..7072a839e 100644 --- a/packages/utils/src/nodes.ts +++ b/packages/utils/src/nodes.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import core, { ASTNode, ASTPath } from 'jscodeshift'; /** diff --git a/packages/utils/src/testing.ts b/packages/utils/src/testing.ts index cdbdb034c..b0a14fddc 100644 --- a/packages/utils/src/testing.ts +++ b/packages/utils/src/testing.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import jscodeshift, { FileInfo } from 'jscodeshift'; type Parser = 'babel' | 'babylon' | 'flow' | 'ts' | 'tsx'; diff --git a/packages/validator/src/index.spec.ts b/packages/validator/src/index.spec.ts index 0a9d1a1dc..a092d0f59 100644 --- a/packages/validator/src/index.spec.ts +++ b/packages/validator/src/index.spec.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. jest.mock('fs-extra'); jest.mock('@hypermod/fetcher'); diff --git a/packages/validator/src/index.ts b/packages/validator/src/index.ts index 2e1b69edb..677794f95 100644 --- a/packages/validator/src/index.ts +++ b/packages/validator/src/index.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import semver from 'semver'; import { Config } from '@hypermod/types'; diff --git a/scripts/initialize-preset.ts b/scripts/initialize-preset.ts index 98999b142..a98e8cfb2 100644 --- a/scripts/initialize-preset.ts +++ b/scripts/initialize-preset.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import chalk from 'chalk'; import path from 'path'; diff --git a/scripts/initialize.ts b/scripts/initialize.ts index eae72f357..72a4b7f9c 100644 --- a/scripts/initialize.ts +++ b/scripts/initialize.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import chalk from 'chalk'; import path from 'path'; diff --git a/scripts/sync.ts b/scripts/sync.ts index c333e7250..030f468ca 100644 --- a/scripts/sync.ts +++ b/scripts/sync.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import fs from 'fs-extra'; import junk from 'junk'; import path from 'path'; diff --git a/scripts/validate.ts b/scripts/validate.ts index 8618b52af..b5a3480ea 100644 --- a/scripts/validate.ts +++ b/scripts/validate.ts @@ -1,3 +1,4 @@ +// hypermod: Run "tsc" to verify the updated @types/jscodeshift@1.0.0 types. import fs, { lstatSync, existsSync } from 'fs-extra'; import junk from 'junk'; import path from 'path'; diff --git a/yarn.lock b/yarn.lock index 6c2360c13..7dccd8d06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6188,7 +6188,7 @@ js-yaml@^4.1.0: jscodeshift@^17.3.0: version "17.3.0" - resolved "https://packages.atlassian.com/api/npm/npm-remote/jscodeshift/-/jscodeshift-17.3.0.tgz#b9ea1d8d1c9255103bfc4cb42ddb46e18cb2415c" + resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-17.3.0.tgz#b9ea1d8d1c9255103bfc4cb42ddb46e18cb2415c" integrity sha512-LjFrGOIORqXBU+jwfC9nbkjmQfFldtMIoS6d9z2LG/lkmyNXsJAySPT+2SWXJEoE68/bCWcxKpXH37npftgmow== dependencies: "@babel/core" "^7.24.7"