0.0.14 • Published 3 years ago

@web.dev-lify/web.dev-lify v0.0.14

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
3 years ago

web.dev-lify

Helper script for the migration of content from Web Fundamentals over to web.dev.

Usage

Pass a Web Fundamentals URL:

$ npx @web.dev-lify/web.dev-lify -u https://developers.google.com/web/updates/capabilities

If this fails, pass a raw GitHub URL:

$ npx @web.dev-lify/web.dev-lify -u https://raw.githubusercontent.com/google/WebFundamentals/master/src/content/en/updates/capabilities.md

Make sure to run this from the web.dev root folder. The output of the script is twofold:

[ Markdown of the article to migrate                                    ]
----------
[ Bash commands to bootstrap your web.dev PR that perform these steps:  ]
[ - Create a folder.                                                    ]
[ - Copy images over from WebFu.                                        ]
[ - Create an index.md file.                                            ]
[ You then just need to copy the Markdown part in the index.md file.    ]

Parameters:

NameRequiredDescriptionExample
-uyesThe URL from Web Fundamentals to web.dev-lifyhttps://developers.google.com/web/updates/capabilities
-onoThe desired output format, accepts webfundamentals (Web Fundamentals flavor) and web.dev (web.dev flavor, default)web.dev

License

Apache 2.0

0.0.14

3 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.5

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

1.0.0

5 years ago