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

[pull] main from gregberge:main #1

Open
wants to merge 70 commits into
base: main
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 1, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

emlai and others added 3 commits October 1, 2022 09:32
* Run `npm install`

* Add "@svgr/babel-preset" to "@svgr/core" dependencies
@pull pull bot added the ⤵️ pull label Oct 1, 2022
joshkel and others added 26 commits October 5, 2022 18:05
This updates the "Repository" links on npmjs.com package pages; right now, following those links gives a redirect, "Branch master was renamed to main."
Installing @svgr/core with Yarn Modern (Yarn 2+) gives the following warning:

```
➤ YN0002: │ @svgr/core@npm:6.4.0 doesn't provide @babel/core (p0b84c), requested by @svgr/babel-preset
```

Fixes #785
docs(a11y): revert #750 and add accessibility documentation for `svgProps` override
docs: document remix configuration
The new installation instructions are for a more advanced configuration than originally appeared in these docs, but the original did not actually work in Next 13, and the workaround took nearly as much code, so I've stuck with the slightly longer config here.
* Allow specifying `jsxRuntimeImport` in config, see #801

I need to have a config which isn't currently supported

* Allow specifying a single specifier for custom imports, see #801

`hyperapp-jsx-pragma` uses the default export so we need to `import h from "hyperapp-jsx-pragma"`, not `import { h } from "hyperapp-jsx-pragma"`
BREAKING CHANGE: svgr now requires Node.js v14+
BREAKING CHANGE: plugin-jsx is no longer included by default in core
Joe Gores and others added 23 commits April 20, 2023 09:32
BREAKING CHANGE: index template now receives an array of objects containing both the created
component path (`path`) and the original SVG path (`originalPath`)
Generate `import type` as opposed to `import` when the typescript flag is present.
Accomplished this by adding `importKind` parameter to the `getOrCreateImport` method.
When updating the imports of react-native-svg there is no check on the importKind. This would cause a wrong update import and a crash in the cli.
Fixed next.config.js example to a working version per this:
#860 (comment)

Co-authored-by: Jari Mustonen <[email protected]>
* Update nextjs docs for TypeScript support instructions

* Add declaration for SVG module with '*.svg?url' import method, from next/image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.