Skip to content

Add npm prepare script#2473

Merged
marvinhagemeister merged 6 commits intomasterfrom
prepare-script
Apr 16, 2020
Merged

Add npm prepare script#2473
marvinhagemeister merged 6 commits intomasterfrom
prepare-script

Conversation

@andrewiggins
Copy link
Copy Markdown
Member

This prepare scripts all Preact to be installed directly from github. In order for this to work on Windows I needed to replace the Linux only cp command with a cross platform alternative. I just went with cpy-cli from sindresorhus. Open to other suggestions.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2020

Size Change: 0 B

Total Size: 39.2 kB

ℹ️ View Unchanged
Filename Size Change
compat/dist/compat.js 3.12 kB 0 B
compat/dist/compat.module.js 3.14 kB 0 B
compat/dist/compat.umd.js 3.17 kB 0 B
debug/dist/debug.js 3 kB 0 B
debug/dist/debug.module.js 2.98 kB 0 B
debug/dist/debug.umd.js 3.08 kB 0 B
devtools/dist/devtools.js 185 B 0 B
devtools/dist/devtools.module.js 194 B 0 B
devtools/dist/devtools.umd.js 260 B 0 B
dist/preact.js 3.83 kB 0 B
dist/preact.min.js 3.83 kB 0 B
dist/preact.module.js 3.84 kB 0 B
dist/preact.umd.js 3.88 kB 0 B
hooks/dist/hooks.js 1.05 kB 0 B
hooks/dist/hooks.module.js 1.08 kB 0 B
hooks/dist/hooks.umd.js 1.12 kB 0 B
test-utils/dist/testUtils.js 437 B 0 B
test-utils/dist/testUtils.module.js 439 B 0 B
test-utils/dist/testUtils.umd.js 515 B 0 B

compressed-size-action

@github-actions
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 99.801% when pulling d548311 on prepare-script into c317a96 on master.

@andrewiggins
Copy link
Copy Markdown
Member Author

andrewiggins commented Apr 15, 2020

@JoviDeCroock I forgot about #2451. Do you think you could pull out that copy script into a separate PR so I can build on it here? (I'm using cpy-cli in this PR, which I should probably replace with your script)

@ForsakenHarmony
Copy link
Copy Markdown
Member

I thought we discussed not using cpy-cli because it expands to 181 dependencies 👀

@andrewiggins
Copy link
Copy Markdown
Member Author

@ForsakenHarmony Yea, that's right. I forgot about our discussion related to #2451 😅 - replacing it with Jovi's script now

Copy link
Copy Markdown
Member

@JoviDeCroock JoviDeCroock left a comment

Choose a reason for hiding this comment

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

That script looks really good 😄 hehe great work Andre!

Copy link
Copy Markdown
Member

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

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

Sweet 👍

@marvinhagemeister marvinhagemeister merged commit d997846 into master Apr 16, 2020
@marvinhagemeister marvinhagemeister deleted the prepare-script branch April 16, 2020 14: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.

4 participants