Skip to content

Commit b6a0396

Browse files
committed
fix type packages
1 parent fa1a8a3 commit b6a0396

File tree

4 files changed

+23
-11
lines changed

4 files changed

+23
-11
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,25 @@
4949
]
5050
},
5151
"dependencies": {
52-
"@babel/core": "^7.21.8",
53-
"@babel/preset-env": "^7.21.5",
52+
"@babel/parser": "^7.23.6",
5453
"codemod-cli": "^3.2.0",
5554
"debug": "^4.1.1",
5655
"ember-codemods-telemetry-helpers": "^3.0.0",
57-
"ember-template-recast": "^6.1.4"
56+
"ember-template-recast": "^6.1.4",
57+
"zod": "^3.22.4"
5858
},
5959
"devDependencies": {
6060
"@tsconfig/node16": "^1.0.4",
6161
"@tsconfig/strictest": "^2.0.1",
62+
"@types/babel__core": "^7.20.5",
6263
"@types/chalk": "^2.2.0",
6364
"@types/common-tags": "^1.8.0",
6465
"@types/debug": "^4.1.8",
6566
"@types/jscodeshift": "^0.11.6",
6667
"@types/node": "^20.11.5",
6768
"@typescript-eslint/eslint-plugin": "^5.59.7",
6869
"@typescript-eslint/parser": "^5.59.7",
70+
"ast-types": "^0.14.2",
6971
"babel-plugin-htmlbars-inline-precompile": "^3.0.1",
7072
"chalk": "^4.1.1",
7173
"common-tags": "^1.8.0",

pnpm-lock.yaml

Lines changed: 16 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

transforms/no-implicit-this/helpers/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { getOptions as getCLIOptions } from 'codemod-cli';
22
import fs from 'node:fs';
33
import path from 'node:path';
4-
import { ZodError, ZodType, z } from 'zod';
4+
import { type ZodError, type ZodType, z } from 'zod';
55
import { Telemetry, getTelemetry } from './telemetry';
66

77
export interface Options {

transforms/no-implicit-this/helpers/tagged-templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ASTNode } from 'ast-types';
1+
import type { ASTNode } from 'ast-types';
22
import { NodePath } from 'ast-types/lib/node-path';
33

44
const TEMPLATE_TAG_IMPORTS = [

0 commit comments

Comments
 (0)