profile
viewpoint
Tomasz Cichocinski baransu Warsaw, Poland Have you heard about ReasonML?

baransu/carbon-cli 9

Generate https://carbon.now.sh screenshots from your console 📸 🌈 🦄

baransu/bs-react-navigation 6

Bucklescript bindings to react-navigation

baransu/amble-engine 3

DEPRICATED Electron based 2D HTML5 game engine for web games

baransu/borderguns 2

Top down JavaScript/HTML5 game prototype.

baransu/docker-esy 2

Docker image with esy

baransu/elm-codepress 1

🤘 Present code with style, line by line, side by side

baransu/actors 0

actors 🙌

baransu/amble-2d 0

2D Game Engine written in Rust

baransu/Amble-Engine-3D 0

Amble Engine

startedhaskell/vscode-haskell

started time in 4 days

startedparroty/excheck

started time in 7 days

startedmirage/ke

started time in 7 days

startedjamiebuilds/tinykeys

started time in 7 days

startedreasonbr/reason-async-hook

started time in 7 days

delete branch chatbotizeteam/bs-moment

delete branch : baransu

delete time in 8 days

push eventchatbotizeteam/bs-moment

Tomasz Cichociński

commit sha e48f02e71e700c4eb5a21ccaff024d5595aa024b

durationMillis should accept float instead of int

view details

Tomasz Cichociński

commit sha c835a14a10d2aff17b1041ada0339207cda7d2d2

feat: es6 support

view details

Tomasz Cichociński

commit sha 42f5c047774966488ced087e296a3a00467ee6a2

fix: es6

view details

Tomasz Cichocinski

commit sha 5a83733b8f28d6022fc753c8eb048730921534cd

Merge branch 'master' into baransu

view details

Tomasz Cichocinski

commit sha 304b32e4b26140dac9001b49a78080665198e0c8

Merge pull request #1 from chatbotizeteam/baransu es6 support

view details

push time in 8 days

PR merged chatbotizeteam/bs-moment

es6 support
+15 -10

0 comment

1 changed file

baransu

pr closed time in 8 days

PR opened chatbotizeteam/bs-moment

es6 support
+15 -10

0 comment

1 changed file

pr created time in 8 days

push eventchatbotizeteam/bs-moment

Tomasz Cichocinski

commit sha 3768d07734e4daa8dca7c5813c96c5b7281e2e74

durationMillis should accept float instead of int (#50)

view details

dependabot[bot]

commit sha f253e4440ca6fde42da6581420f241ae643f6829

Bump lodash from 4.17.11 to 4.17.15 (#51) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15) Signed-off-by: dependabot[bot] <support@github.com>

view details

Ryan

commit sha 0d476e5d700cfd040fd3ec0845fd5d9608777549

Nullable toJSON, +toISOString (#49)

view details

Jiayu Liu

commit sha 0de073298cc9c97d12cc08d8438827890726782b

v0.4.5

view details

dependabot[bot]

commit sha 12ac5c594ecad56dd435d357d0832c1cba2c1761

Bump handlebars from 4.1.0 to 4.5.3 (#57) Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.5.3. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.5.3) Signed-off-by: dependabot[bot] <support@github.com>

view details

dependabot[bot]

commit sha eaae27c6d0c7a8049a96f2f64bad945834d531fb

Bump acorn from 5.7.3 to 5.7.4 (#59) Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

Alain Armand

commit sha 1105691af22014f75a28bdb914a83b6b5ddca7bf

Update MomentRe.re (#60) Fix bucklescript warnings

view details

Jiayu Liu

commit sha 9510f82ffcf0f097f954016a31c6db14c270222a

v0.5.0

view details

Jiayu Liu

commit sha 7937b931bb3db1eb3a304123951cac9fb377c629

minor yarn update

view details

Jiayu Liu

commit sha 35446318bcedbc65ede775617f02fabf0bff507d

v0.5.1

view details

Jiayu Liu

commit sha 56a587aa5d9a2d18ff12df9177de5ae0d223f964

update travis version (#62)

view details

Jiayu Liu

commit sha d3df3655eb3a9af82dec34856f0d8cc80a9de024

update bs version (#61)

view details

Jiayu Liu

commit sha e4f2838878f12e9833f7fe7549e63ad4016a5b95

v0.6.0

view details

dependabot[bot]

commit sha c6ea4680f25e45b0df9f0e23f3bb7fd91efbaeb3

Bump lodash from 4.17.15 to 4.17.19 (#63) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

Tomasz Cichocinski

commit sha 5a83733b8f28d6022fc753c8eb048730921534cd

Merge branch 'master' into baransu

view details

push time in 8 days

create barnchchatbotizeteam/bs-moment

branch : baransu

created branch time in 8 days

startedlessp/wolfred

started time in 8 days

startedelixir-mint/mint

started time in 11 days

startedrowsncolumns/grid

started time in 11 days

startedphoenixframework/phoenix_pubsub

started time in 13 days

startedNerdyPepper/dijo

started time in 14 days

startedplausible/analytics

started time in 17 days

startedidkjs/phantomtypereason

started time in 17 days

starteddraftbit/re-jest

started time in 18 days

startedgithub/archive-program

started time in 18 days

create barnchcodeheroesdev/tipsi-stripe

branch : update_stipe_version

created branch time in 18 days

startedmulimoen/libuvc-rs

started time in 18 days

starteddaybrush/moveable

started time in 18 days

startedadobe/react-spectrum

started time in 19 days

startedcapnproto/capnproto

started time in 19 days

startedapple/swift

started time in 21 days

startedWhatsApp/erlfmt

started time in 21 days

startedgrain-lang/grain

started time in 25 days

startedathas/raytracers

started time in a month

startedidris-lang/Idris2

started time in a month

startedtwistedfall/opencv-rust

started time in a month

startedlibp2p/rust-libp2p

started time in a month

PR closed baransu/reason-actors-grpc-example

Bump npm from 6.14.4 to 6.14.6 dependencies

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps npm from 6.14.4 to 6.14.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/npm/cli/releases">npm's releases</a>.</em></p> <blockquote> <h2>v6.14.6</h2> <h2>6.14.6 (2020-07-07)</h2> <h3>BUG FIXES</h3> <ul> <li><a href="https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc"><code>a9857b8f6</code></a> chore: remove auth info from logs (<a href="https://github.com/claudiahdz">@claudiahdz</a>)</li> <li><a href="https://github.com/npm/cli/commit/b7ad77598112908d60195d0fbc472b3c84275fd5"><code>b7ad77598</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/1416">#1416</a> fix: wrong <code>npm doctor</code> command result (<a href="https://github.com/vanishcode">@vanishcode</a>)</li> </ul> <h3>DEPENDENCIES</h3> <ul> <li><a href="https://github.com/npm/cli/commit/94eca637756376b949edfb697e179a1fdcc231ee"><code>94eca6377</code></a> <code>npm-registry-fetch@4.0.5</code> (<a href="https://github.com/claudiahdz">@claudiahdz</a>)</li> <li><a href="https://github.com/npm/cli/commit/c49b6ae28791ff7184288be16654f97168aa9705"><code>c49b6ae28</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/1418">#1418</a> <code>spdx-license-ids@3.0.5</code> (<a href="https://github.com/kemitchell">@kemitchell</a>)</li> </ul> <h2>v6.14.5</h2> <h2>6.14.5 (2020-05-04)</h2> <h3>BUG FIXES</h3> <ul> <li><a href="https://github.com/npm/cli/commit/33ec41f18f557146607cb14a7a38c707fce6d42c"><code>33ec41f18</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/758">#758</a> fix: relativize file links when inflating shrinkwrap (<a href="https://github.com/jsnajdr">@jsnajdr</a>)</li> <li><a href="https://github.com/npm/cli/commit/94ed456dfb0b122fd4192429024f034d06c3c454"><code>94ed456df</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/1162">#1162</a> fix: npm init help output (<a href="https://github.com/mum-never-proud">@mum-never-proud</a>)</li> </ul> <h3>DEPENDENCIES</h3> <ul> <li><a href="https://github.com/npm/cli/commit/5587ac01ffd0d2ea830a6bbb67bb34a611ffc409"><code>5587ac01f</code></a> <code>npm-registry-fetch@4.0.4</code> <ul> <li><a href="https://github.com/npm/npm-registry-fetch/commit/fc5d94c39ca218d78df77249ab3a6bf1d9ed9db1"><code>fc5d94c39</code></a> fix: removed default timeout</li> </ul> </li> <li><a href="https://github.com/npm/cli/commit/07a4d8884448359bac485a49c05fd2d23d06834b"><code>07a4d8884</code></a> <code>graceful-fs@4.2.4</code></li> <li><a href="https://github.com/npm/cli/commit/8228d1f2e427ad9adee617266108acd1ee39b4a5"><code>8228d1f2e</code></a> <code>mkdirp@0.5.5</code></li> <li><a href="https://github.com/npm/cli/commit/e6d20831740a84aea766da2a2913cf82a4d56ada"><code>e6d208317</code></a> <code>nopt@4.0.3</code></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/npm/cli/blob/latest/CHANGELOG.md">npm's changelog</a>.</em></p> <blockquote> <h2>6.14.6 (2020-07-07)</h2> <h3>BUG FIXES</h3> <ul> <li><a href="https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc"><code>a9857b8f6</code></a> chore: remove auth info from logs (<a href="https://github.com/claudiahdz">@claudiahdz</a>)</li> <li><a href="https://github.com/npm/cli/commit/b7ad77598112908d60195d0fbc472b3c84275fd5"><code>b7ad77598</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/1416">#1416</a> fix: wrong <code>npm doctor</code> command result (<a href="https://github.com/vanishcode">@vanishcode</a>)</li> </ul> <h3>DEPENDENCIES</h3> <ul> <li><a href="https://github.com/npm/cli/commit/94eca637756376b949edfb697e179a1fdcc231ee"><code>94eca6377</code></a> <code>npm-registry-fetch@4.0.5</code> (<a href="https://github.com/claudiahdz">@claudiahdz</a>)</li> <li><a href="https://github.com/npm/cli/commit/c49b6ae28791ff7184288be16654f97168aa9705"><code>c49b6ae28</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/1418">#1418</a> <code>spdx-license-ids@3.0.5</code> (<a href="https://github.com/kemitchell">@kemitchell</a>)</li> </ul> <h3>DOCUMENTATION</h3> <ul> <li><a href="https://github.com/npm/cli/commit/2e052984b08c09115ed75387fb2c961631d85d77"><code>2e052984b</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/1459">#1459</a> chore(docs): fixed links to cli commands (<a href="https://github.com/claudiahdz">@claudiahdz</a>)</li> <li><a href="https://github.com/npm/cli/commit/0ca3509ca940865392daeeabb39192f7d5af9f5e"><code>0ca3509ca</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/1283">#1283</a> Update npm-link.md (<a href="https://github.com/peterfich">@peterfich</a>)</li> <li><a href="https://github.com/npm/cli/commit/3dd429e9aad760ce2ff9e522b34ebfebd85b460c"><code>3dd429e9a</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/1377">#1377</a> Add note about dropped <code>*</code> filenames (<a href="https://github.com/maxwellgerber">@maxwellgerber</a>)</li> <li><a href="https://github.com/npm/cli/commit/9a2e2e797e5c91e7f4f261583a1906e2c440cc2f"><code>9a2e2e797</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/1429">#1429</a> Fix typo (<a href="https://github.com/seanpoulter">@seanpoulter</a>)</li> </ul> <h2>6.14.5 (2020-05-01)</h2> <h3>BUG FIXES</h3> <ul> <li><a href="https://github.com/npm/cli/commit/33ec41f18f557146607cb14a7a38c707fce6d42c"><code>33ec41f18</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/758">#758</a> fix: relativize file links when inflating shrinkwrap (<a href="https://github.com/jsnajdr">@jsnajdr</a>)</li> <li><a href="https://github.com/npm/cli/commit/94ed456dfb0b122fd4192429024f034d06c3c454"><code>94ed456df</code></a> <a href="https://github-redirect.dependabot.com/npm/cli/pull/1162">#1162</a> fix: npm init help output (<a href="https://github.com/mum-never-proud">@mum-never-proud</a>)</li> </ul> <h3>DEPENDENCIES</h3> <ul> <li><a href="https://github.com/npm/cli/commit/5587ac01ffd0d2ea830a6bbb67bb34a611ffc409"><code>5587ac01f</code></a> <code>npm-registry-fetch@4.0.4</code> <ul> <li><a href="https://github.com/npm/npm-registry-fetch/commit/fc5d94c39ca218d78df77249ab3a6bf1d9ed9db1"><code>fc5d94c39</code></a> fix: removed default timeout</li> </ul> </li> <li><a href="https://github.com/npm/cli/commit/07a4d8884448359bac485a49c05fd2d23d06834b"><code>07a4d8884</code></a> <code>graceful-fs@4.2.4</code></li> <li><a href="https://github.com/npm/cli/commit/8228d1f2e427ad9adee617266108acd1ee39b4a5"><code>8228d1f2e</code></a> <code>mkdirp@0.5.5</code></li> <li><a href="https://github.com/npm/cli/commit/e6d20831740a84aea766da2a2913cf82a4d56ada"><code>e6d208317</code></a> <code>nopt@4.0.3</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/npm/cli/commit/7352eb694dd881ff6ceb41f1ae0973dbb2ad233a"><code>7352eb6</code></a> 6.14.6</li> <li><a href="https://github.com/npm/cli/commit/f8a3f0ee2ed20996a98b43482c61ffe7be4c5652"><code>f8a3f0e</code></a> update AUTHORS</li> <li><a href="https://github.com/npm/cli/commit/ccaaaabfc03c65f4a0bf234113fff912631be00f"><code>ccaaaab</code></a> docs: changelog for 6.14.6</li> <li><a href="https://github.com/npm/cli/commit/94eca637756376b949edfb697e179a1fdcc231ee"><code>94eca63</code></a> npm-registry-fetch@4.0.5</li> <li><a href="https://github.com/npm/cli/commit/a9857b8f6869451ff058789c4631fadfde5bbcbc"><code>a9857b8</code></a> chore: remove auth info from logs</li> <li><a href="https://github.com/npm/cli/commit/479e45c03be7b452cbe346e96c750d36597c3eb6"><code>479e45c</code></a> style: fix lint error with no trailing comma</li> <li><a href="https://github.com/npm/cli/commit/1aec4cb6effefbf51033d3964cce2a909c918c0d"><code>1aec4cb</code></a> test: add test for <code>npm doctor</code> that ping registry returns error</li> <li><a href="https://github.com/npm/cli/commit/b7ad77598112908d60195d0fbc472b3c84275fd5"><code>b7ad775</code></a> fix: wrong <code>npm doctor</code> command result</li> <li><a href="https://github.com/npm/cli/commit/9a2e2e797e5c91e7f4f261583a1906e2c440cc2f"><code>9a2e2e7</code></a> docs: Fix typo</li> <li><a href="https://github.com/npm/cli/commit/c49b6ae28791ff7184288be16654f97168aa9705"><code>c49b6ae</code></a> spdx-license-ids@3.0.5</li> <li>Additional commits viewable in <a href="https://github.com/npm/cli/compare/v6.14.4...v6.14.6">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+79 -97

0 comment

1 changed file

dependabot[bot]

pr closed time in a month

push eventbaransu/reason-actors-grpc-example

dependabot[bot]

commit sha d677ed657b3f775bdf111e894141e42c8addefc1

Bump npm-registry-fetch from 4.0.3 to 4.0.5 Bumps [npm-registry-fetch](https://github.com/npm/registry-fetch) from 4.0.3 to 4.0.5. - [Release notes](https://github.com/npm/registry-fetch/releases) - [Changelog](https://github.com/npm/npm-registry-fetch/blob/latest/CHANGELOG.md) - [Commits](https://github.com/npm/registry-fetch/commits) Signed-off-by: dependabot[bot] <support@github.com>

view details

Tomasz Cichocinski

commit sha 16845811b16bf3562c195247bcf05c5b38de1f25

Merge pull request #7 from baransu/dependabot/npm_and_yarn/npm-registry-fetch-4.0.5 Bump npm-registry-fetch from 4.0.3 to 4.0.5

view details

push time in a month

PR merged baransu/reason-actors-grpc-example

Bump npm-registry-fetch from 4.0.3 to 4.0.5 dependencies

Bumps npm-registry-fetch from 4.0.3 to 4.0.5. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/npm/registry-fetch/commits">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~claudiahdz">claudiahdz</a>, a new releaser for npm-registry-fetch since your current version.</p> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+12 -7

0 comment

1 changed file

dependabot[bot]

pr closed time in a month

startedsstur/react-rte

started time in a month

startedmattgodbolt/path-tracer

started time in a month

startedjaniorca/sphere_dance

started time in a month

startedprismlab/parallel-programming-in-multicore-ocaml

started time in a month

startedcpfair/tapiriik

started time in a month

startedZettlr/Zettlr

started time in a month

startedocaml-multicore/domainslib

started time in a month

startedocaml-multicore/ocaml-multicore

started time in a month

startedBuckleScript/syntax

started time in a month

startedfoambubble/foam

started time in a month

startedroddyyaga/finch

started time in a month

starteddabreegster/abstreet

started time in a month

startedbloodyowl/reason-recoil

started time in 2 months

issue commentreasonml-community/graphql_ppx

Support graphql sdl schemas

My workflow relies on third-party libraries to generate JSON schema from graphql file. I'm not sure if it's crucial to include it into graphql_ppx itself but this reduces number of files you have.

amiralies

comment created time in 2 months

startedmikeal/daily

started time in 2 months

issue commentreasonml-community/graphql_ppx

Support graphql sdl schemas

It's also good pattern to update .graphql schema first (when the backend is in progress and there is no possibility to use introspection query) and write based on that graphql queries. It allows you to have a solid communication interface even when implementation is not ready

amiralies

comment created time in 2 months

startedEduardoRFS/reason-css-parser

started time in 2 months

startedfredwu/opq

started time in 2 months

startedcoinbase/odin

started time in 2 months

startedbloomberg/ppx_string_interpolation

started time in 2 months

startedfiatjaf/jqview

started time in 2 months

startedandreypopp/rrun

started time in 2 months

starteda1studmuffin/SpaceshipGenerator

started time in 2 months

startedpikapkg/snowpack

started time in 2 months

startedbloodyowl/reason-test-framework

started time in 2 months

startedanmonteiro/bucklescript-monorepo

started time in 2 months

starteddamaera/renew

started time in 2 months

startedkrisk/Fuse

started time in 2 months

startedcode-hike/codehike

started time in 2 months

startedjcomellas/kvlists

started time in 2 months

startedlet-def/merlin-extend

started time in 2 months

startedartsy/fresnel

started time in 2 months

startedmusa11971/Music-Bar

started time in 2 months

startedalgolia/docsearch

started time in 2 months

startedSketch-sh/engine

started time in 2 months

startedimbsky/dvm

started time in 2 months

issue commentvitejs/vite

Resolving dependencies without entry point

BuckleScript provides support for ESM output for packages (as well as CommonJS). I’m not sure about single entry point for packages vs deep imports we use atm.

JS output is not intended to be included into version control and compiler during clean compilation generates new JS files thats why we cannot rely on JS entrypoints.

baransu

comment created time in 2 months

issue commentvitejs/vite

Resolving dependencies without entry point

Sorry for not providing an example - here is example repo https://github.com/baransu/vite-issue-247. It's a vite reason-react template with my small addition to present my issue.

It uses 2 Reason (BuckleScript) packages:

  • re-classnames - it contains "main" in package.json which points to non existing *.re file. With only this library everything works perfect as it's ignored during dependencies optimization
  • bs-json - this library doesn't provide "main" in package.json which leads to following error:
(node:93520) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/Users/baransu/Documents/Reason/vite-issue-247/node_modules/@glennsl/bs-json/index.js'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at deps.filter (/Users/baransu/Documents/Reason/vite-issue-247/node_modules/vite/dist/depOptimizer.js:95:44)
    at Array.filter (<anonymous>)
    at Object.optimizeDeps (/Users/baransu/Documents/Reason/vite-issue-247/node_modules/vite/dist/depOptimizer.js:68:32)
(node:93520) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:93520) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

BuckleScript uses deep imports to modules you want to use. Here is an example of App.bs.js imports: https://github.com/baransu/vite-issue-247/blob/2922a7a7a98627de087290de253d60fe0d19380a/src/App.bs.js#L3-L6

baransu

comment created time in 2 months

push eventbaransu/vite-issue-247

Tomasz Cichociński

commit sha 2922a7a7a98627de087290de253d60fe0d19380a

update App.bs.js

view details

push time in 2 months

create barnchbaransu/vite-issue-247

branch : master

created branch time in 2 months

created repositorybaransu/vite-issue-247

created time in 2 months

issue openedvitejs/vite

Resolving dependencies without entry point

<!-- Before you continue...

If you just upgraded Vite and suddenly everything stops working, try opening the Network tab in your browser devtools, tick "disable cache" and refresh the page. -->

Do NOT ignore this template or your issue will have a very high chance to be closed without comment.

Describe the bug

Currently, when resolving dependencies vite looks in package.json for module or entry, otherwise it fallbacks to index.js: https://github.com/vitejs/vite/blob/3f0aff9c58284e26637c480b6f6233c6cfae4c5f/src/node/resolver.ts#L245

This is problematic with BuckleScript compiled modules where ReasonML files are transpiled 1:1 into *.bs.js files without a single "entry" module. Later when using such a package in your application, paths point directly to the module you need without unnecessary reexports.

Right now vite throws an unhandled exception when trying to use such package when index.js is not found: https://github.com/vitejs/vite/blob/3f0aff9c58284e26637c480b6f6233c6cfae4c5f/src/node/depOptimizer.ts#L129

As I understand the solution would be to exclude those packages in vite.config.js but it can be tedious as none of the BuckleScript packages use entry point convention and there is no way to do it using the BuckleScript compiler (but it's outside of the scope of this issue).

Reproduction

System Info

  • required vite version: 0.16.10
  • required Operating System: macOS 10.15.4
  • required Node version: v10.16.3
  • Optional:
    • npm/yarn version
    • Installed vue version (from yarn.lock or package-lock.json)
    • Installed @vue/compiler-sfc version

Logs (Optional if provided reproduction)

  1. Run vite or vite build with the --debug flag.
  2. Provide the error log here.
vite:config config resolved in 169ms +0ms
vite:resolve (node_module entry) commons -> index.js +0ms
(node:87960) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/Users/baransu/Documents/monorepo/node_modules/commons/index.js'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at deps.filter (/Users/baransu/Documents/monorepo/node_modules/vite/dist/depOptimizer.js:95:44)
    at Array.filter (<anonymous>)
    at Object.optimizeDeps (/Users/baransu/Documents/monorepo/node_modules/vite/dist/depOptimizer.js:68:32)
(node:87960) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:87960) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

created time in 2 months

startedairbnb/react-sketchapp

started time in 2 months

startedvuejs/vite

started time in 2 months

startedKhady/modern-ocaml

started time in 2 months

startedjsiebern/re-typescript

started time in 2 months

push eventbaransu/reason-apollo

Tomasz Cichociński

commit sha 78f16a5a7b64acc003c867f37d241156ba2648f4

fix: typo

view details

push time in 3 months

push eventbaransu/reason-apollo

Tomasz Cichociński

commit sha 395523c9f5b6ef56b563c9f5a8bad9156d936cab

feat: add response to networkError

view details

push time in 3 months

push eventbaransu/reason-apollo

Tomasz Cichociński

commit sha e4bc4e30dd5297b5bd9a88beb4d8785738c3a3e0

feat: add response to networkError

view details

push time in 3 months

startedfacebookexperimental/Recoil

started time in 3 months

startedfakenickels/remachine

started time in 3 months

startedEduardoRFS/reason-mobile

started time in 3 months

delete branch reasonml-community/graphql_ppx

delete branch : serialize_fn

delete time in 3 months

MemberEvent
more