Lerna allows you to list local packages that have changed since the last release:
$ cd /path/to/node-app
$ npx lerna changed -p
lerna notice cli v3.20.2
lerna info versioning independent
{ | |
"currencies": [ | |
{ | |
"code": "EUR", | |
"description": "Euro", | |
"symbol": "€", | |
"alignment": "L", | |
"groupingSeparator": ",", | |
"decimalSeparator": ".", | |
"decimals": 2, |
function lerna_lint() { | |
npx lerna exec $(for package_dir in `npx lerna changed -p`; do echo -n " --scope $(basename ${package_dir})"; done) -- yarn lint | |
} | |
function lerna_test() { | |
npx lerna exec $(for package_dir in `npx lerna changed -p`; do echo -n " --scope $(basename ${package_dir})"; done) -- yarn test | |
} | |
function validate() { | |
lerna_lint |
The main goal of the Site Reliability Engineering (SRE) team is to create scalable and highly reliable software systems that fit any particular situation, and feedback mechanisms to provide insight into options for optimising these systems.
The contribution of the SRE team results in strict improvements across the following areas: software development, availability, performance, efficiency, change management, monitoring, emergency response, and capacity planning.
git checkout master \ | |
&& git fetch -p origin \ | |
&& git branch -r --merged master \ | |
| egrep -v "^ *origin/(master|develop|HEAD -> origin/master)$" \ | |
| grep origin | sed 's/origin\///' \ | |
| xargs -n 1 git push --delete origin |
import React, { useState, useEffect } from 'react'; | |
import PropTypes from 'prop-types'; | |
import throttle from 'lodash.throttle'; | |
import { Container, Placeholder } from './scroll-container.styles'; | |
const ScrollContainer = ({ children, mode, offsetTop }) => { | |
const [containerPosition, setContainerPosition] = useState('static'); | |
const [placeholderHeight, setPlaceholderHeight] = useState(null); | |
const placeholderRef = React.useRef(null); |
code --install-extension christian-kohler.path-intellisense | |
code --install-extension davidbwaters.macos-modern-theme | |
code --install-extension dbaeumer.vscode-eslint | |
code --install-extension esbenp.prettier-vscode | |
code --install-extension formulahendry.code-runner | |
code --install-extension jpoissonnier.vscode-styled-components | |
code --install-extension kumar-harsh.graphql-for-vscode | |
code --install-extension mikaelkristiansson87.react-theme-vscode | |
code --install-extension msjsdiag.debugger-for-chrome | |
code --install-extension nemesarial.dust |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/fed/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="robbyrussell" | |
# Set list of themes to pick from when loading at random |
{ | |
"code-runner.executorMap": { | |
"javascript": "node" | |
}, | |
"code-runner.executorMapByGlob": { | |
"*.js": "node" | |
}, | |
"editor.detectIndentation": false, | |
"editor.fontFamily": "Menlo", | |
"editor.fontSize": 12, |