Skip to content

Commit

Permalink
fix(package.json): fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Jul 18, 2022
1 parent 876b1e2 commit 53f7b15
Show file tree
Hide file tree
Showing 16 changed files with 112 additions and 33 deletions.
9 changes: 7 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,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-add-jsx-attribute",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
9 changes: 7 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,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-remove-jsx-attribute",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"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"
}
},
"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
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"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"
}
},
"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
9 changes: 7 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,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-svg-dynamic-title",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
9 changes: 7 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,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-svg-em-dimensions",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
9 changes: 7 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,13 @@
"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"
}
},
"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
9 changes: 7 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,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-plugin-transform-svg-component",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
9 changes: 7 additions & 2 deletions packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/babel-preset",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
10 changes: 7 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/core",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand All @@ -20,7 +25,6 @@
"engines": {
"node": ">=10"
},
"types": "./dist/index.d.ts",
"homepage": "https://react-svgr.com",
"funding": {
"type": "github",
Expand Down
9 changes: 7 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,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/hast-util-to-babel-ast",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
9 changes: 7 additions & 2 deletions packages/plugin-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/plugin-jsx",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
9 changes: 7 additions & 2 deletions packages/plugin-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/plugin-prettier",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
9 changes: 7 additions & 2 deletions packages/plugin-svgo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/plugin-svgo",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
9 changes: 7 additions & 2 deletions packages/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/rollup",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down
9 changes: 7 additions & 2 deletions packages/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"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"
}
},
"repository": "https://github.com/gregberge/svgr/tree/master/packages/webpack",
"author": "Greg Bergé <berge.greg@gmail.com>",
"publishConfig": {
Expand Down

0 comments on commit 53f7b15

Please sign in to comment.