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

✨ Add metadata on the generated sources (#526) #540

Merged
merged 1 commit into from
Jan 26, 2020
Merged

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Jan 26, 2020

Why is this PR for?

Expose metadata on the used package:

  • fc.__type will be one of "module" or "commonjs"
  • fc.__version will be the version taken from package.json

Related to #526

In a nutshell

✔️ New feature
❌ Fix an issue
❌ Documentation improvement
❌ Other: please explain

(✔️: yes, ❌: no)

Potential impacts

None

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.06%) to 96.287% when pulling e2aa008 on from-next/version into c2de4fc on master.

@dubzzz dubzzz closed this Jan 26, 2020
@dubzzz dubzzz reopened this Jan 26, 2020
@dubzzz dubzzz merged commit f4abc62 into master Jan 26, 2020
@dubzzz dubzzz deleted the from-next/version branch January 26, 2020 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants