From b27b682dfb92c799f09399955bef9ddcd4bd06ad Mon Sep 17 00:00:00 2001 From: Rushi Vishavadia Date: Sat, 27 Aug 2022 13:41:18 +0530 Subject: [PATCH] Annotate components --- babel.config.js | 1 + package-lock.json | 11 +++++++++++ package.json | 1 + 3 files changed, 13 insertions(+) diff --git a/babel.config.js b/babel.config.js index b35c286db..7108775d2 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,4 @@ module.exports = { presets: [["@babel/preset-env", { targets: { node: "current" } }]], + plugins: [["@fullstory/babel-plugin-annotate-react"]], }; diff --git a/package-lock.json b/package-lock.json index 04cab7051..081823d78 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "2.0.0-76", "license": "MIT", "dependencies": { + "@fullstory/babel-plugin-annotate-react": "^2.2.1", "@headlessui/react": "^1.4.0", "@tailwindcss/forms": "^0.4.0", "@tailwindcss/line-clamp": "^0.3.1", @@ -2154,6 +2155,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@fullstory/babel-plugin-annotate-react": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@fullstory/babel-plugin-annotate-react/-/babel-plugin-annotate-react-2.2.1.tgz", + "integrity": "sha512-rvx4vYWOUzTLlI21phrBdssass1Wfsdj3dAeDlUjoiwe1cxq02RiN4zbvoRvyVqYs5eyJkO+DwjimTk2nOhE0Q==" + }, "node_modules/@gar/promisify": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz", @@ -29771,6 +29777,11 @@ } } }, + "@fullstory/babel-plugin-annotate-react": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@fullstory/babel-plugin-annotate-react/-/babel-plugin-annotate-react-2.2.1.tgz", + "integrity": "sha512-rvx4vYWOUzTLlI21phrBdssass1Wfsdj3dAeDlUjoiwe1cxq02RiN4zbvoRvyVqYs5eyJkO+DwjimTk2nOhE0Q==" + }, "@gar/promisify": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz", diff --git a/package.json b/package.json index d67c65fb5..5ddcfc97e 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "test": "xola-lint && jest" }, "dependencies": { + "@fullstory/babel-plugin-annotate-react": "^2.2.1", "@headlessui/react": "^1.4.0", "@tailwindcss/forms": "^0.4.0", "@tailwindcss/line-clamp": "^0.3.1",