All Projects → toss → yarn-plugin-workspace-since

toss / yarn-plugin-workspace-since

Licence: other
모노레포를 위한 yarn berry plugin

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to yarn-plugin-workspace-since

Eslint Plugin Monorepo
ESLint Plugin for monorepos
Stars: ✭ 56 (-53.33%)
Mutual labels:  yarn, monorepo
Yerna
A Lerna-like tool for managing Javascript monorepos using Yarn
Stars: ✭ 140 (+16.67%)
Mutual labels:  yarn, monorepo
Vitamin Web
Decathlon Design System libraries for web applications
Stars: ✭ 70 (-41.67%)
Mutual labels:  yarn, monorepo
Lerna Yarn Workspaces Example
How to build TypeScript mono-repo project with yarn and lerna
Stars: ✭ 787 (+555.83%)
Mutual labels:  yarn, monorepo
yall
Yarn/npm for monorepos
Stars: ✭ 27 (-77.5%)
Mutual labels:  yarn, monorepo
Oao
A Yarn-based, opinionated monorepo management tool
Stars: ✭ 796 (+563.33%)
Mutual labels:  yarn, monorepo
Flow Mono Cli
A command line interface that aims to solve a few issues while working with flow typed codebases in a mono-repo.
Stars: ✭ 84 (-30%)
Mutual labels:  yarn, monorepo
Webclient
Monorepo hosting the proton web clients
Stars: ✭ 3,079 (+2465.83%)
Mutual labels:  yarn, monorepo
monorepo-utils
A collection of utilities for monorepo/lerna. Tools for TypeScript project references etc..
Stars: ✭ 143 (+19.17%)
Mutual labels:  yarn, monorepo
introduction-nodejs
Introduction to NodeJS
Stars: ✭ 13 (-89.17%)
Mutual labels:  yarn, monorepo
React Workspaces Playground
⚛️ 🐈 Zero Config Create-React-App Monorepos with Yarn Workspaces, Lerna and React Storybook.
Stars: ✭ 658 (+448.33%)
Mutual labels:  yarn, monorepo
nextjs-monorepo-example
Collection of monorepo tips & tricks
Stars: ✭ 874 (+628.33%)
Mutual labels:  yarn, monorepo
Syncpack
Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm Workspaces
Stars: ✭ 356 (+196.67%)
Mutual labels:  yarn, monorepo
Next Express Monorepo Starter
NextJS, Express and Now as Microservices with Yarn & Lerna Workspaces
Stars: ✭ 50 (-58.33%)
Mutual labels:  yarn, monorepo
Graphql Starter
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI.
Stars: ✭ 3,377 (+2714.17%)
Mutual labels:  yarn, monorepo
Create React App
Yarn Workspaces Monorepo support for Create-React-App / React-Scripts.
Stars: ✭ 76 (-36.67%)
Mutual labels:  yarn, monorepo
monopack
A JavaScript bundler for node.js monorepo-codebased applications.
Stars: ✭ 52 (-56.67%)
Mutual labels:  yarn, monorepo
monoreact
📦 React workspaces implementation
Stars: ✭ 13 (-89.17%)
Mutual labels:  yarn, monorepo
Lrnwebcomponents
@lrnwebcomponents Monorepo for NPM based element definitions
Stars: ✭ 166 (+38.33%)
Mutual labels:  yarn, monorepo
frontend-gradle-plugin
All-in-one Gradle Node plugin, Gradle NPM plugin, Gradle Yarn Berry plugin to build Javascript applications with Gradle: distribution management, built-in tasks.
Stars: ✭ 120 (+0%)
Mutual labels:  yarn, berry

yarn-plugin-workspace-since

since는 yarn berry workspace 플러그인입니다.

Installation

since는 @yarn/plugin-workspace-tools에 의존합니다. 따라서 먼저 workspace-tools를 설치해야 합니다.

$ yarn plugin import https://raw.githubusercontent.com/toss/yarn-plugin-workspace-since/main/bundles/%40yarnpkg/plugin-workspace-since.js

Usage

run

주어진 두 git revision 사이에 변경점이 있는 workspace에 대해서 주어진 명령어를 실행합니다. 변경점은 파생됩니다. "A" workspace에 의존성을 가진 "B" workspace가 있을때 "A", "B" 모두에 대해서 run이 실행됩니다.

변경된 workspace가 없다면 아무것도 실행하지 않습니다.

$ yarn workspaces since run <command> <from> [to]

Arguments

  • command: 실행할 명령어를 지정합니다. commandtest로 지정한다면, 각 workspace 디렉토리에서 yarn test를 실행합니다. package.jsonscripts 에 지정되지 않은 명령어도 실행합니다. 지정한 명령어가 존재하지 않는 경우, 무시합니다.
  • from: 시작 리비전입니다.
  • to: 끝 리비전입니다. 지정하지 않으면 HEAD가 기본값입니다.

Options

  • --jobs: 주어진 숫자만큼 run을 병렬적으로 실행합니다. 지정하지 않으면 1이 기본값입니다.
  • --include: 변경된 workspace 중 run을 실행할 workspace를 glob pattern으로 지정합니다. 지정하지 않으면 모든 workspace를 대상으로 합니다.
  • --ignore: 변경사항이 발생해도 무시할 workspace를 glob pattern으로 지정합니다. 무시된 workspace의 변경점은 파생되지 않습니다.
  • --ignore-errors: true로 지정하면 run 실행 중 에러가 발생했을 때에도 무시하고 실행을 계속합니다.

Examples

main 브랜치와 develop 사이에 변경이 있는 workspace에 대해 test 명령어 실행
$ yarn workspaces since run test main develop
HEAD 바로 이전 커밋과 HEAD 사이에 변경이 있는 workspace에 대해 npm publish 실행
$ yarn workspaces since run 'npm publish' $(git rev-parse HEAD~1)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].