Skip to content

Instantly share code, notes, and snippets.

@DreamShaded
Last active September 20, 2023 07:47
Show Gist options
  • Save DreamShaded/b30c27150ebc7d32909c207d9da56a50 to your computer and use it in GitHub Desktop.
Save DreamShaded/b30c27150ebc7d32909c207d9da56a50 to your computer and use it in GitHub Desktop.

Общее

https://github.com/DreamShaded/Chamomile-UI - пример UI-кита

https://github.com/DreamShaded/Chamomile-app - пример использования пакета

https://docs.google.com/presentation/d/1eAHG6JU1k2V3AG1J3VG2C_5Tx0pfsglKpccwBgTj_v8/edit?usp=sharing - презентация доклада

https://blog.logrocket.com/using-npm-to-create-javascript-icon-libraries/ - упаковка иконок в npm-пакет

https://jivancic.com/posts/build-a-component-library.html - минималистичный билд пошагово

https://t.me/hacknote_js/39 - доклад Никиты Балихина из ГПБ

Какие бывают модули, как с ними жить, зачем mjs, cjs, mts и тп

https://v8.dev/features/modules

https://www.typescriptlang.org/docs/handbook/esm-node.html

https://github.com/dherman/defense-of-dot-js/blob/f31319be735b21739756b87d551f6711bd7aa283/proposal.md

https://blog.isquaredsoftware.com/2023/08/esm-modernization-lessons/

Документация по экспорту точек входа в npm пакет:

https://nodejs.org/api/packages.html#packages_exports

https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing -

Образцы юай китов:

https://vuetifyjs.com/en/

https://www.vexipui.com/

Установка гит-репозиториев как npm-пакетов:

https://gitpkg.vercel.app/

https://stackoverflow.com/questions/22988876/install-npm-module-from-gitlab-private-repository

Документация по три-шейкингу:

https://webpack.js.org/guides/tree-shaking/

https://esbuild.github.io/api/#tree-shaking (для vite это дефолтный билдер)

Язьдесь:

https://t.me/DreamShaded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment