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 exports #543

Merged
merged 2 commits into from Jun 16, 2023
Merged

Fix package exports #543

merged 2 commits into from Jun 16, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jun 14, 2023

Fix package exports to support typescript projects with nodenext or node16 module resolution.

Also move some parts of the package.json to the to (group metadata).

… module resolution to import the package

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@@ -2,17 +2,30 @@
"name": "@nextcloud/initial-state",
"version": "2.0.0",
"description": "Access data from the nextcloud server-side initial state API within apps.",
"homepage": "https://github.com/nextcloud/nextcloud-initial-state#readme",
"author": "Christoph Wurst",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure about that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can undo this, it just "hurt my eye" that the package.json was like meta data -> scripts -> metadata -> dependencies 😅

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not actively maintaining this package so I think it would not make a lot of sense to list me as the author

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did just move it, not added it 😉
You already were mentioned as author.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh

Copy link
Contributor

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should have scrolled further

@ChristophWurst ChristophWurst merged commit ab5d62d into master Jun 16, 2023
5 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix/package-exports branch June 16, 2023 17:27
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.

None yet

2 participants