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

Alpha release of the hds-js #1203

Merged
merged 6 commits into from
Jan 4, 2024
Merged

Alpha release of the hds-js #1203

merged 6 commits into from
Jan 4, 2024

Conversation

NikoHelle
Copy link
Contributor

Description

Related Issue

Closes #

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Add to changelog

  • Added needed line to changelog

No need for manual lists.

Tried also plugin "rollup-plugin-auto-external", but it messes up imports by using sometimes "import '../.../node_modules/x" instead of "import x"

It also breaks regular expressions in extrenals-list and babel runtimes are not included.

Note: babel/runtime/* are not imported anymore in lib/index.js. Downshift includes them.
index.ts includes all files to bundle

base-package.json is the skeleton for dynamically created package.json
The package is built to the "output"-folder.

Renamed "base-package.json" so the "lerna version" works with hds-js
Added checks to make sure react or css is not included in the hds-js bundle.

Also warns/throws if a node_module is bundled.
All packages are published the same way - from "lib" with package.json in the root.

So hds-js must use same structure or "lerna publish" won't work.
@NikoHelle NikoHelle merged commit 65acb5f into 3.4.0-alpha.0 Jan 4, 2024
6 checks passed
@NikoHelle NikoHelle deleted the hds-1742-hds-js branch January 4, 2024 10:53
@NikoHelle NikoHelle restored the hds-1742-hds-js branch January 4, 2024 10:53
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.

1 participant