Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(package.json): fix exports #745

Merged
merged 1 commit into from
Jul 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions packages/babel-plugin-add-jsx-attribute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Add JSX attribute",
"version": "6.0.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-add-jsx-attribute",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/babel-plugin-remove-jsx-attribute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Remove JSX attribute",
"version": "6.0.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-remove-jsx-attribute",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/babel-plugin-remove-jsx-empty-expression/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Remove JSX empty expression",
"version": "6.0.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-remove-jsx-empty-expression",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/babel-plugin-replace-jsx-attribute-value/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Replace JSX attribute value",
"version": "6.0.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-replace-jsx-attribute-value",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/babel-plugin-svg-dynamic-title/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Transform SVG by adding a dynamic title element",
"version": "6.0.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-svg-dynamic-title",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/babel-plugin-svg-em-dimensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Transform SVG to use em-based dimensions",
"version": "6.0.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-svg-em-dimensions",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/babel-plugin-transform-react-native-svg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Transform DOM elements into react-native-svg components",
"version": "6.0.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-transform-react-native-svg",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/babel-plugin-transform-svg-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Transform SVG into component",
"version": "6.2.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-transform-svg-component",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "SVGR preset that apply transformations from config",
"version": "6.2.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-preset",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
11 changes: 8 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Transform SVG into React Components.",
"version": "6.2.1",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/core",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand All @@ -20,7 +26,6 @@
"engines": {
"node": ">=10"
},
"types": "./dist/index.d.ts",
"homepage": "https://react-svgr.com",
"funding": {
"type": "github",
Expand Down
10 changes: 8 additions & 2 deletions packages/hast-util-to-babel-ast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Transform HAST to Babel AST (JSX)",
"version": "6.2.1",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/hast-util-to-babel-ast",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/plugin-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Transform SVG into JSX",
"version": "6.2.1",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/plugin-jsx",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/plugin-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Format code using Prettier",
"version": "6.1.2",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/plugin-svgo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "Optimize SVG",
"version": "6.2.0",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/plugin-svgo",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "SVGR Rollup plugin.",
"version": "6.2.1",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/rollup",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 8 additions & 2 deletions packages/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"description": "SVGR webpack loader.",
"version": "6.2.1",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/webpack",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down