Skip to content

feat: support plugin path for clientConfig and serverConfig #477

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

Merged
merged 3 commits into from
Dec 21, 2022

Conversation

rchl
Copy link
Member

@rchl rchl commented Dec 19, 2022

Adds support for passing a path to a plugin (file that exports a function) for clientConfig and serverConfig options. Allows to configure options that would otherwise be impossible to handle due to serialization of options that Nuxt requires.

Resolves #385
Resolves #410
Resolves #343
Resolves #226

@codecov
Copy link

codecov bot commented Dec 19, 2022

Codecov Report

Merging #477 (8f24fda) into main (acb2aaf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #477   +/-   ##
=======================================
  Coverage   69.23%   69.23%           
=======================================
  Files           1        1           
  Lines          52       52           
  Branches       21       21           
=======================================
  Hits           36       36           
  Misses         13       13           
  Partials        3        3           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@rchl rchl changed the title feat: support passing plugin path for clientConfig and serverConfig feat: support plugin path for clientConfig and serverConfig Dec 21, 2022
@rchl rchl merged commit 63e698a into main Dec 21, 2022
@rchl rchl deleted the feat/config-import branch December 21, 2022 09:28
rchl added a commit that referenced this pull request Dec 21, 2022
* fix/tree-shake:
  feat: enable tree shaking of Sentry SDK debug code
  chore(lint): enable linting for more files within the repo
  chore(deps): update lock file
  fix(deps): update sentry dependencies to ^7.28.0 (#478)
  docs: minor updates about dependencies and lazy+tracing
  feat: support plugin path for clientConfig and serverConfig (#477)
  feat(tracing): enable Vue Router instrumentation by default (#476)
  Revert "feat(tracing): enable Vue Router instrumentation by default"
  feat(tracing): enable Vue Router instrumentation by default
  chore(lint): tweak eslint ignore directives for generated plugin files
  chore(deps): update devdependency sentry-testkit to v5
  chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12
  chore(deps): update sentry dependencies to ^7.27.0 (#474)
  feat!: update Sentry SDK from v6 to v7 (#461)
  docs: add information about enriching events (#473)
  fix: gracefully handle Nuxt versions without Runtime Config (#472)
rchl added a commit to rtibaldo/sentry-module that referenced this pull request Jan 19, 2023
…module-builder-original

* rtibaldo-rewrite-module-builder: (39 commits)
  migrate to module-builder
  chore: release 7.0.2
  fix(deps): update sentry dependencies to ^7.29.0 (nuxt-community#482)
  chore(deps): update all non-major dependencies
  fix: not able to resolve un-hoisted client-side dependencies (nuxt-community#486)
  chore: release 7.0.1
  fix: more accurate type for `serverConfig` option (nuxt-community#484)
  chore: remove dead badge from the readme
  chore(docs): build documentation on every change
  chore: release 7.0.0
  feat: enable tree shaking of Sentry SDK debug code (nuxt-community#481)
  chore(lint): enable linting for more files within the repo
  chore(deps): update lock file
  fix(deps): update sentry dependencies to ^7.28.0 (nuxt-community#478)
  docs: minor updates about dependencies and lazy+tracing
  feat: support plugin path for clientConfig and serverConfig (nuxt-community#477)
  feat(tracing): enable Vue Router instrumentation by default (nuxt-community#476)
  Revert "feat(tracing): enable Vue Router instrumentation by default"
  feat(tracing): enable Vue Router instrumentation by default
  chore(lint): tweak eslint ignore directives for generated plugin files
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant