Граф коммитов

26 Коммитов

Автор SHA1 Сообщение Дата
Tommy Nguyen bb5ecf0d6b
fix(metro-serializer-esbuild): include `ReactFabric-prod.js` by default (#2962) 2024-02-09 17:31:53 +01:00
Tommy Nguyen 1088382a94
feat(metro-serializer-esbuild): add `drop` and `pure` options (#2828) 2023-11-16 20:06:29 +01:00
Tommy Nguyen 49d0f49133
fix(metro-serializer-esbuild): add support for `metafile` (#2458) 2023-06-22 16:54:43 +02:00
Tommy Nguyen 6c4b70c370
fix(metro-serializer-esbuild): add more options to control minification (#2413) 2023-05-09 13:46:45 +00:00
Tommy Nguyen 9f24106cda
docs: automate removal of badges from READMEs (#2324) 2023-04-14 08:24:28 +02:00
Tommy Nguyen 1119ca46a7
docs(metro-serializer-esbuild): add notes about dev server (#2197) 2023-02-13 11:37:06 +01:00
Tommy Nguyen 3d738d8c00
docs: update code examples for more clarity (#2038) 2022-11-16 10:23:44 +00:00
Tommy Nguyen d87656e139
docs(metro-serializer-esbuild): correct dev server workaround (#2017)
I forgot to account for the additional changes made to
`metro.config.js`, applying `esbuildTransformerConfig`. This config does
not work with dev server. We still need two separate config files (or
some other mechanism to conditionally apply `esbuildTransformerConfig`).
2022-11-07 19:01:19 +01:00
Tommy Nguyen 8147a812bc
fix(metro-serializer-esbuild): use esbuild only for prod (#1987) 2022-11-03 09:10:40 +01:00
Tommy Nguyen fc6e46c09b
docs(metro-serializer-esbuild): document ESM support in Metro (#1919) 2022-10-05 16:41:03 +01:00
Tommy Nguyen d71505951e
feat(cli): add support for "Random Access Module" bundle (#1850) 2022-09-17 12:56:35 +02:00
Tommy Nguyen f80cff5a42
fix: use `esbuild` transform profile when `metro-serializer-esbuild` is used (#1871) 2022-09-07 07:41:44 +00:00
Tommy Nguyen 42b6b6a524
fix(metro-serializer-esbuild): removing `"use strict";` breaks source maps (#1869) 2022-09-06 19:23:24 +02:00
Tommy Nguyen 61151646d4
fix(metro-serializer-esbuild): fix source maps not pointing to source (#1856) 2022-08-31 11:48:42 +02:00
Tommy Nguyen 8c325887f7
fix(metro-serializer-esbuild): default to the new `hermes` target (retry) (#1761)
The `hermes` target was fixed in esbuild 0.14.49.
2022-07-25 12:00:35 +02:00
Tommy Nguyen 7f0a738d74
docs(metro-serializer-esbuild): document options (#1745) 2022-07-18 11:40:10 +02:00
Adam Foxman e352f4c1ca
Transition tree shaking out of experimental mode (#1473)
* Deprecate command-line parameter --experimental-tree-shake in favor of --tree-shake. For now, accept --experimental-tree-shake, but only use it when --tree-shake isn't given. Update documentation.

* Deprecate experimental_treeShake from config, using treeShake as the replacement property.

When reading config, if experimental_treeShake is given but treeShake is absent, assign experimental_treeShake to treeShake and print a deprecation warning.

Update tests and documentation. Update the test-app configuration.

* docs(changeset): Transition tree shaking from experimental to production. Deprecate experimental config/cmdline props, while still supporting them for this major version. They will be removed on the next major version bump.

* Update changeset

* Add deprecation warning when command-line parameter --experimental-tree-shake is used. Update test-app to use --tree-shake.

* Add a beta tag and message
2022-05-09 11:58:18 -07:00
Adam Foxman 90fd005aae
Website Update (#1439)
* Final draft of getting started

* Final draft of introduction page

* Update menu and tab styling.

* update vscode recommended extension list to include markdown

* formatting

* minor language/tone update

* Add a note about meta capabilities

* refine intro of getting started guide

* Add prettier formatting for MDX files.

* Refine getting started page. Factor out code and text fragments which are useful on other pages.

* fix link styling in admonition blocks

* write the depenedency management how-to guide

* Darken the background for light-mode inline "code" blocks

* docs(changeset): Another round of additions and refinments to the documentation website.

* further refine light-mode code-box shadows

* Add missing "tool for that" link

* Update type-safety to show new "moduleSuffixes" option in version 4.7.

* Minor tweaks to dependency-management guide. Remove unneeded includes. Text polish. Fix link to PR page in rnx-kit.

* Add a guide on bundling. Include placeholder pages for some tools which the bundling guide links to.

* Add placeholder pages to left nav.

* Fix tree shaking references. Don't use the hyphen.

* docs(changeset): Fix references to tree shaking. Remove the hyphen.

* docs(changeset): Add bundling guide. Polish existing web pages. Add placeholder pages for some tools packages (needed by bundling guide).

* remove old change file

* Start with all side-bar categories expanded to make content more discoverable.

* Remove warning banner

* Add arch overview page. Add dep-check arch page (material from dep-check README and DESIGN files). Add empty dep-check tool page, since it is referenced in dep-check arch page.

* Make the code of conduct more approachable by using sentences instead of bullet points.

* Copy and polish the text from Contributing.md to the website. Once the site goes live, the contributing page will be a mostly-empty redirect to the site. The site has better rendering capabilities, and will generate a side-nav rather than relying on a TOC at the top of the document.

* Add a resources page. Also add an "image with text" for that page. Fix link styling so its less restrictive. Add twitter logo.

* fix changeset

* Remove hyphen from pull request.

* Remove links which don't add value to the current article/guide (e.g. they can be googled easily, as needed). Keep links to content that is not covered but critically important. Also, keep links that refer to the rnx-kit repo.

* Remove unneeded outbound links

* PR feedback

* Remove old changesets

* Re-add changefiles

* update change files

* use code-block titles instead of top-line comments in dependency management arch doc

* Create a docusaurus plugin which lets us process markdown files in the monorepo, outside of the docsite project. Create an MDX plugin to remove ranges of markdown based on start/end comments, and add that plugin to the docusaurus plugin.

* Add a website page for each publish package's README. Exclude the badges and title. Replace the title with the package name, but without @rnx-kit (which crowds out the left nav).

* Change README-include approach from using JSX imports to using a remark plugin.

* Fix plugin paths. Update contributing so it appears in both the normal location in the source tree and on the web site.

* Change styling for selected left-nav items. Stop using bold as it changes the text-width significantly, causing a shift in the word-wrapping.

* Update the tools and architecture overview pages. Move all tools pages from a 'packages' parent dir to a 'tools' parent dir.

* Refine resources page. Add discord profile link

* Tweak the text at the top of the getting started page

* Add the first blog post announcing the launch

* docs(changeset): Website and README updates

* Change file

* Update docsite/src/components/Image.tsx

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>

Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2022-05-02 15:03:22 +00:00
Tommy Nguyen a50e4a3146
fix(metro-serializer-esbuild): bump esbuild to 0.14.10 (#980) 2022-01-05 21:43:54 +01:00
Tommy Nguyen 3c831c6482
feat(metro-serializer-esbuild): bump esbuild to 0.13.4 (#705) 2021-10-11 20:05:16 +02:00
Tommy Nguyen d69aab7154
fix(babel-preset-metro-react-native): add `esbuild` transform profile (#637) 2021-09-21 14:39:25 +02:00
Tommy Nguyen c5a3002186
docs(metro-serializer-esbuild): add known limitations (#411) 2021-07-20 09:40:44 +00:00
Tommy Nguyen a650a6ce49
docs(metro-serializer-esbuild): metro-serializer-esbuild requires Metro 0.66.1 (#383) 2021-07-09 16:13:39 +02:00
Tommy Nguyen 47010d66d8
chore: add badges for build status and version (#382) 2021-07-09 12:18:53 +00:00
Tommy Nguyen 1af7bdb784
fix(metro-serializer-esbuild): use the new unstable_disableModuleWrapping flag (#320)
We recently landed a change adding `unstable_disableModuleWrapping` flag
to Metro which disables transformation of `require()` statements. This
change is to use the new flag, and remove most of the hackery to make
esbuild work.
2021-06-25 16:06:02 +02:00
Tommy Nguyen 9ce445ef02
feat: experimental @rnx-kit/metro-serializer-esbuild (#292) 2021-06-15 15:07:24 +02:00