mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
* Implement lint in all js projects * Use yarn workspace * Remove package-lock.json * Fix * Extract common dev dep * Bump
18 lines
688 B
Bash
Executable file
18 lines
688 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -eux
|
|
|
|
YARN_VERSION=1.19.1-1
|
|
|
|
sudo apt-get update
|
|
sudo apt-get install -y htop git wget build-essential inotify-tools
|
|
|
|
# Install Chrome
|
|
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add
|
|
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
|
|
sudo apt-get -y update
|
|
sudo apt-get install -y google-chrome-stable
|
|
|
|
# Install yarn
|
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
|
sudo apt update && sudo apt install -y yarn="$YARN_VERSION"
|