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

Check for existing import-map and npm package before POSTing og PUTing alias #277

Merged
merged 2 commits into from
Oct 12, 2021

Conversation

mfolkeseth
Copy link
Contributor

@mfolkeseth mfolkeseth commented Oct 11, 2021

To follow up on #276, I realised forgot to take into account that aliases can be made for npm scoped packages and import-maps as well. Sorry about that 😅

This PR handles logic for both these types as well as tests for existing npm packages and import-maps.

The source has been tested locally together with the service repository. After this PR is merged and released it should be a breeze to make a new releases of @eik/service and @eik/cli 😃

@trygve-lie
Copy link
Contributor

Great :) I was just looking into the service module.

You might wonder why there is a core and service module and the reason for this is that we at one point would like to provide Eik as a standalone service which can run in a container but also be able to run the server side part of Eik on ex AWS lambda or GCS cloud functions.

@trygve-lie
Copy link
Contributor

lgtm 👍

@trygve-lie trygve-lie merged commit a6c65ef into eik-lib:master Oct 12, 2021
github-actions bot pushed a commit that referenced this pull request Oct 12, 2021
## [1.2.25](v1.2.24...v1.2.25) (2021-10-12)

### Bug Fixes

* Check for existing import-map and npm package before POSTing og PUTing alias ([#277](#277)) ([a6c65ef](a6c65ef))
@github-actions
Copy link

🎉 This PR is included in version 1.2.25 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants