diff --git a/.changeset/hip-dragons-bathe.md b/.changeset/hip-dragons-bathe.md new file mode 100644 index 00000000000..3acea8be1a3 --- /dev/null +++ b/.changeset/hip-dragons-bathe.md @@ -0,0 +1,5 @@ +--- +"@primer/react": minor +--- + +Add support for importing `@primer/react/generated/components.json` to npm package diff --git a/packages/react/package.json b/packages/react/package.json index c63e2f8d411..e01f9339fe0 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -24,7 +24,8 @@ "./test-helpers": { "import": "./lib-esm/test-helpers.js", "require": "./lib/test-helpers.js" - } + }, + "./generated/components.json": "./generated/components.json" }, "typings": "lib/index.d.ts", "sideEffects": [