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

57 Коммитов

Автор SHA1 Сообщение Дата
renovate[bot] 57013d2191
fix(deps): update eslint (major) (#3394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2024-10-17 14:41:52 +00:00
Tommy Nguyen 00247a777b
chore: replace depcheck with knip (#3354) 2024-09-17 06:31:26 +00:00
React Native SDK Bot 756ddeba67
RELEASING: Releasing 44 package(s) (#3342)
Releases:
  @rnx-kit/third-party-notices@2.0.0
  @rnx-kit/cli@0.18.0
  @rnx-kit/metro-plugin-cyclic-dependencies-detector@2.0.0
  @rnx-kit/react-native-error-trace-decorator@2.0.0
  @rnx-kit/esbuild-plugin-import-path-remapper@3.0.0
  @rnx-kit/babel-plugin-import-path-remapper@2.0.0
  @rnx-kit/babel-preset-metro-react-native@2.0.0
  @rnx-kit/metro-plugin-duplicates-checker@3.0.0
  @rnx-kit/react-native-test-app-msal@4.0.0
  @rnx-kit/react-native-lazy-index@4.0.0
  @rnx-kit/tools-react-native@2.0.0
  @rnx-kit/typescript-service@2.0.0
  @rnx-kit/commitlint-lite@2.0.0
  @rnx-kit/metro-serializer@2.0.0
  @rnx-kit/tools-language@3.0.0
  @rnx-kit/metro-service@4.0.0
  @rnx-kit/metro-config@2.0.0
  @rnx-kit/bundle-diff@2.0.0
  @rnx-kit/align-deps@3.0.0
  @rnx-kit/tools-node@3.0.0
  @rnx-kit/tsconfig@2.0.0
  @rnx-kit/console@2.0.0
  @react-native-webapis/battery-status@0.2.0
  @react-native-webapis/web-storage@0.3.0
  @rnx-kit/esbuild-bundle-analyzer@0.3.0
  @rnx-kit/metro-serializer-esbuild@0.2.0
  @rnx-kit/rn-changelog-generator@0.5.0
  @rnx-kit/metro-plugin-typescript@0.5.0
  @rnx-kit/metro-resolver-symlinks@0.2.0
  @rnx-kit/react-native-auth@0.3.0
  @rnx-kit/react-native-host@0.5.0
  @rnx-kit/patcher-rnmacos@0.2.0
  @rnx-kit/tools-filesystem@0.1.0
  @rnx-kit/tools-workspaces@0.2.0
  @rnx-kit/eslint-plugin@0.8.0
  @rnx-kit/tools-android@0.2.0
  @rnx-kit/tools-windows@0.2.0
  @rnx-kit/jest-preset@0.2.0
  @rnx-kit/tools-apple@0.2.0
  @rnx-kit/tools-shell@0.2.0
  @rnx-kit/polyfills@0.2.0
  @rnx-kit/config@0.7.0
  @rnx-kit/build@0.7.1
  @rnx-kit/eslint-config@0.0.4

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-11 08:59:50 +02:00
Tommy Nguyen 3afb5fad17
fix: bump minimum Node version to 16.17 (#3339)
`tsconfig` is also updated according to
https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping#node-16
2024-09-10 18:02:14 +00:00
renovate[bot] 2d09aefaec
chore(deps): update dependency tsx to v4.16.5 (#3269)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2024-08-12 10:58:05 +02:00
Tommy Nguyen 7c32438a29
fix(metro-serializer-esbuild): bump esbuild to 0.21.x (#3235) 2024-07-19 21:53:46 +02:00
Tommy Nguyen b9625034ad
ci: bump Node to v20 to satisfy Yarn (#3007) 2024-03-18 13:19:51 +01:00
Tommy Nguyen 1eb8c143af
fix(eslint-plugin): bump `typescript-eslint` to v7 (#3002) 2024-03-12 15:30:53 +01:00
renovate[bot] 80d3829271
fix(deps): update dependency esbuild to v0.20.0 (#2944)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2024-01-31 18:09:03 +00:00
Tommy Nguyen bf893a2e82
feat(tsconfig): base TypeScript configs for working with Node (#2886) 2023-12-18 12:05:07 +01:00
Tommy Nguyen 2ba27400c9
feat(eslint-preset)!: migrate to flat config (#2813)
BREAKING CHANGE: ESLint 8.23+ and its new config system is now required

Read more about ESLint's new config system, flat config, here:
https://eslint.org/blog/2022/08/new-config-system-part-2/
2023-11-24 11:52:09 +01:00
Tommy Nguyen 589ea67e75
chore: bump `@types/node` to v20 (#2825) 2023-11-15 17:08:18 +00:00
Tommy Nguyen 91b10ad1c9
chore: move Jest config to break circular dependency (#2787) 2023-11-06 16:39:51 +01:00
Tommy Nguyen f4cf8828f5
chore: migrate to ESLint flat config (#2782)
Migrating to the new flat config format addresses numerous issues with
pnpm setups, especially with how plugins are resolved.
2023-11-03 14:02:18 +01:00
Tommy Nguyen 067e2ed747
chore: fix phantom dependencies (#2778) 2023-11-02 11:23:00 +01:00
Tommy Nguyen d8f53ed736
fix: bump esbuild to 0.19 series (#2604) 2023-08-14 09:28:49 +00:00
renovate[bot] 469cf51153
chore(deps): update dependency prettier to v3 (#2528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
2023-07-11 09:58:39 +00:00
Tommy Nguyen af8ad7f77c
fix(metro-serializer-esbuild): bump esbuild for tsconfig fixes (#2460) 2023-06-14 08:56:20 +02:00
Tommy Nguyen 616a959a04
chore: use Jest version from align-deps (#2459) 2023-06-13 10:23:35 +01:00
Tommy Nguyen a98b0421e8
chore: bump react-native to 0.71 (#2337) 2023-04-14 12:46:34 +02:00
Tommy Nguyen 9f24106cda
docs: automate removal of badges from READMEs (#2324) 2023-04-14 08:24:28 +02:00
Tommy Nguyen 1f0ac0953d
chore: bump typescript to 5.0.2 (#2292) 2023-03-20 10:26:35 +01:00
Tommy Nguyen 0e733235a0
chore: bump Yarn to 3.4.1 (#2196) 2023-02-13 12:05:27 +01:00
github-actions[bot] bfcad00c7b
RELEASING: Releasing 3 package(s) (#2107)
Releases:
  @rnx-kit/cli@0.15.4
  @rnx-kit/esbuild-plugin-import-path-remapper@2.0.0
  @rnx-kit/metro-serializer-esbuild@0.1.18

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-16 15:34:11 +01:00
Tommy Nguyen e1a215d069
chore: bump esbuild to 0.17.0 (#2105) 2023-01-16 15:08:29 +01:00
Tommy Nguyen aeb1e5b5da
fix(metro-serializer-esbuild): enable arrow functions and generators when targeting Hermes (#1812) 2022-08-22 13:07:12 +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 38a1065ead
fix(metro-serializer-esbuild): default to the new `hermes` target (#1706) 2022-06-30 17:00:27 +02: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
github-actions[bot] 1b261dea03
Version Packages (#1176)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-03 09:22:25 +01:00
steffenvv 4fce2cf907
Do not remap externals in esbuild-plugin-import-path-remapper (#1171)
Co-authored-by: Steffen Viken Valvåg <stvikenv@microsoft.com>
2022-03-03 08:29:53 +01:00
Tommy Nguyen aacdd38479
chore: cleanup of issues found by Yarn (#1167) 2022-03-02 10:29:20 +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 b47fc9425e
chore: clean up Beachball artifacts in change logs (#924) 2021-12-02 16:31:54 +00:00
Tommy Nguyen 9cfe0d73fc
chore: migrate from Beachball to Changesets (#880)
- `change` remains mostly the same. The difference now is that we select
  the packages that should have the same change log entry. Where we used
  to specify `--type none`, we can do `yarn change --empty` instead.
- `publish:beachball` was split into `version:changesets` (for bumping
  version numbers) and `publish:changesets` (actually publishing).
2021-11-30 20:34:07 +01:00
React Native Bot 06a9974767 📦 applying package updates [skip ci] 2021-11-30 17:24:14 +00:00
React Native Bot 224bb2e7c1 📦 applying package updates [skip ci] 2021-11-18 20:51:05 +00:00
Tommy Nguyen 856118d45b
chore: replace just-scripts (#869)
We are replacing just-scripts to:

1. Make it easier to add/modify commands as we work with our own tools
2. Remove the confusion from having two Just configs and not consuming
   the defined tasks within the scripts package
3. Reduce the overhead of managing transitive (dated) dependencies
2021-11-18 20:43:56 +00:00
React Native Bot 69cdab93e7 📦 applying package updates ***NO_CI*** 2021-11-09 19:26:57 +00:00
React Native Bot 7d2673629e 📦 applying package updates ***NO_CI*** 2021-11-09 19:26:33 +00:00
Tommy Nguyen 83db2a2f3d
chore(security): scope internal scripts package to prevent hijacking (#830)
We don't publish `rnx-kit-scripts` and are using Yarn workspaces to
consume the package internally within the repository. Since we are using
Yarn Classic, it does not understand `workspace:*` version syntax, which
would've ensured that we will always resolve to a package within the
workspace, but have to rely on `*` or matching exact version number. We
are only using exact version number in one package, but that would've
been enough to trigger an exploit if the version number of
`rnx-kit-scripts` changed for any reason.

To mitigate this, the package has been moved under the `@rnx-kit` scope
to prevent us from consuming malware. I've also made sure that we are
using `*` everywhere, and added a CI step to scan `yarn.lock` for
packages that should've come from the repository. In the future, when we
migrate to npm or some later version of Yarn, we should start using
`workspace:*` instead.
2021-11-09 20:21:15 +01:00
React Native Bot e233f45305 📦 applying package updates ***NO_CI*** 2021-11-05 19:24:49 +00:00
React Native Bot 5856c2d375 📦 applying package updates ***NO_CI*** 2021-11-05 07:33:42 +00:00
React Native Bot 8572d4a476 📦 applying package updates ***NO_CI*** 2021-11-03 18:15:40 +00:00
React Native Bot d2a9ce7f03 📦 applying package updates ***NO_CI*** 2021-11-01 13:46:13 +00:00
Adam Foxman b4558421f2
Normalize package.json properties - main, types (#783)
* Normalize main and types fields across all packages which use them.

* Change files
2021-11-01 14:37:36 +01:00
React Native Bot 6be02d15d7 📦 applying package updates ***NO_CI*** 2021-10-29 12:14:32 +00:00
React Native Bot cb5a541558 📦 applying package updates ***NO_CI*** 2021-10-29 10:31:10 +00:00
React Native Bot 80e951a2e4 📦 applying package updates ***NO_CI*** 2021-10-29 08:51:30 +00:00
React Native Bot 25c32ee52e 📦 applying package updates ***NO_CI*** 2021-10-22 18:31:09 +00:00