Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

[1/4] We finally got Google to fix the import issue #52

Closed
WillsterJohnson opened this issue Feb 22, 2023 · 8 comments
Closed

[1/4] We finally got Google to fix the import issue #52

WillsterJohnson opened this issue Feb 22, 2023 · 8 comments

Comments

@WillsterJohnson
Copy link

see this comment

After months of asking, Google have finally taken an interest in shipping code that is valid for execution. They've added .js extensions to their imports! Let's congratulate Google's engineers on implementing what they were taught on day one of their JavaScript education.

I'm not sure if this repo fixes anything else they got wrong, but I've only seen this repo in reference to the imports issue. If that's all this repo fixes, and of course if you trust Google to maintain the use of valid JavaScript, it may be best to direct this lib's users back upstream with a depreaction notice.

@kwaa
Copy link
Member

kwaa commented Feb 28, 2023

The problem still exists. material-foundation/material-color-utilities#79

I tried it locally (pnpm workspace) and it prevented me from installing @material/material-color-utilities.

I'll deprecate this fork - once upstream is fully available, but obviously not yet. so keep the issue open and keep track of news...

@kwaa
Copy link
Member

kwaa commented Feb 28, 2023

I'm not sure if this repo fixes anything else they got wrong

The main differences between this repo and the upstream are:

@WillsterJohnson WillsterJohnson changed the title [Obsolescence] We finally got Google to fix the import issue [1/4] We finally got Google to fix the import issue Feb 28, 2023
@WillsterJohnson
Copy link
Author

Let's see if we can get rid of the pointless postinstall... material-foundation#81
Can't believe Google engineers can't write JavaScript packages.

@kwaa
Copy link
Member

kwaa commented Feb 28, 2023

I really can't understand why upstream doesn't accept external contributions. Maybe I should consider making some bigger changes (and external contributions are warmly welcome).

@rodydavis
Copy link

Please keep in mind the code of conduct on these issues.

We are not accepting upstream at the moment but can make the changes internally. Just added lots of changes from related issues.

@kwaa
Copy link
Member

kwaa commented Mar 1, 2023

We are not accepting upstream at the moment but can make the changes internally. Just added lots of changes from related issues.

Apparently upstream was slow to react. Still doesn't work until latest 0.2.1: I have a question, did they never install this package via npm?

@rodydavis
Copy link

No we usually depend via sub module.

But it will be fixed on 0.2.2 (change is pending internally and will get pushed out)

@kwaa
Copy link
Member

kwaa commented May 16, 2023

Deprecated! Replaced by mcu-extra, which no longer needs to be synchronized with upstream updates.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants