TagsСтатьяProject dateJune 10, 2021CreatedAug 11, 2021 7:13 AMGitHub - lerna/lerna: A tool for managing JavaScript projects with multiple packages.A tool for managing JavaScript projects with multiple packages. Splitting up large codebases into separate independently versioned packages is extremely useful for code sharing. However, making changes across many repositories is messy and difficult to track, and testing across repositories becomes complicated very quickly.github.comСоздаем монорепозиторий с помощью lerna & yarn workspacesЗа последние несколько лет концепция монорепозиториев успешно зарекомендовала себя, так как позволяет значительно упростить процесс разработки модульных программных проектов, таких как инфраструктуры на основе микросервисов. Основные преимущества такого архитектурного подхода очевидны на практике, поэтому предлагаю создать свой тестовый монорепозиторий с нуля, попутно разбираясь в нюансах работы с yarn workspaces и lerna.habr.comYarnWorkspaces are a new way to set up your package architecture that's available by default starting from Yarn 1.0. It allows you to setup multiple packages in such a way that you only need to run yarn install once to install all of them in a single pass.classic.yarnpkg.comnohoist in WorkspacesAs wonderful as yarn workspaces are, the rest of the community hasn't yet fully caught up with the monorepo hoisting scheme. The introducing of the nohoist i...classic.yarnpkg.comDocumentation - Project ReferencesProject references are a new feature in TypeScript 3.0 that allow you to structure your TypeScript programs into smaller pieces. By doing this, you can greatly improve build times, enforce logical separation between components, and organize your code in new and better ways.www.typescriptlang.orgzerollup/packages/ts-transform-paths at master · zerkalica/zerollupHeavily tested and most complete import/require path rewriter for typescript. tsconfig baseUrl + paths alias rewriting in bundles and declaration files. You can use absolute paths in libraries. All them will be rewritted to relative in transpiled js and in d.ts files. Works everywhere, no more tspath, rollup-plugin-alias or webpack resolve alias and other workarounds.github.comKeyword reference for the .gitlab-ci.yml file | GitLabThis document lists the configuration options for your GitLab .gitlab-ci.yml file. When you are editing your .gitlab-ci.yml file, you can validate it with the CI Lint tool. A job is defined as a list of keywords that define the job's behavior.docs.gitlab.com