Skip to content

Commit

Permalink
fix type packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Jan 19, 2024
1 parent fa1a8a3 commit b6a0396
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 11 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,25 @@
]
},
"dependencies": {
"@babel/core": "^7.21.8",
"@babel/preset-env": "^7.21.5",
"@babel/parser": "^7.23.6",
"codemod-cli": "^3.2.0",
"debug": "^4.1.1",
"ember-codemods-telemetry-helpers": "^3.0.0",
"ember-template-recast": "^6.1.4"
"ember-template-recast": "^6.1.4",
"zod": "^3.22.4"
},
"devDependencies": {
"@tsconfig/node16": "^1.0.4",
"@tsconfig/strictest": "^2.0.1",
"@types/babel__core": "^7.20.5",
"@types/chalk": "^2.2.0",
"@types/common-tags": "^1.8.0",
"@types/debug": "^4.1.8",
"@types/jscodeshift": "^0.11.6",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"ast-types": "^0.14.2",
"babel-plugin-htmlbars-inline-precompile": "^3.0.1",
"chalk": "^4.1.1",
"common-tags": "^1.8.0",
Expand Down
22 changes: 16 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion transforms/no-implicit-this/helpers/options.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getOptions as getCLIOptions } from 'codemod-cli';
import fs from 'node:fs';
import path from 'node:path';
import { ZodError, ZodType, z } from 'zod';
import { type ZodError, type ZodType, z } from 'zod';
import { Telemetry, getTelemetry } from './telemetry';

export interface Options {
Expand Down
2 changes: 1 addition & 1 deletion transforms/no-implicit-this/helpers/tagged-templates.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ASTNode } from 'ast-types';
import type { ASTNode } from 'ast-types';
import { NodePath } from 'ast-types/lib/node-path';

const TEMPLATE_TAG_IMPORTS = [
Expand Down

0 comments on commit b6a0396

Please sign in to comment.