diff --git a/packages/babel-parser/package.json b/packages/babel-parser/package.json index 9e34180bc091..d120d92d1acc 100644 --- a/packages/babel-parser/package.json +++ b/packages/babel-parser/package.json @@ -33,6 +33,9 @@ "engines": { "node": ">=6.0.0" }, + "dependencies": { + "@babel/types": "workspace:^" + }, "devDependencies": { "@babel/code-frame": "workspace:^", "@babel/helper-check-duplicate-nodes": "workspace:^", diff --git a/yarn.lock b/yarn.lock index 77b886d1e377..09d6ad4eea9d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1112,6 +1112,7 @@ __metadata: "@babel/helper-fixtures": "workspace:^" "@babel/helper-string-parser": "workspace:^" "@babel/helper-validator-identifier": "workspace:^" + "@babel/types": "workspace:^" charcodes: ^0.2.0 bin: parser: ./bin/babel-parser.js