forked from radian-software/apheleia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Add support for formatters locally installed via yarn 2+ pnp …
…mode (radian-software#200)" This reverts commit 54a192c.
- Loading branch information
1 parent
54a192c
commit 9d48c14
Showing
9 changed files
with
52 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
# Need ruby for gem, need gcc and ruby headers for native gem deps | ||
apt-get install -y ruby ruby-dev gcc | ||
|
||
# Apparently rubygems does not know how to do dependency resolution. | ||
# So we have to manually install an old version of this dependency to | ||
# avoid the latest version getting installed and then failing to build | ||
# because it does not support ruby 2.7 which is what we have. | ||
gem install rbs -v 3.1.3 | ||
# Install the plugin | ||
npm install -g prettier @prettier/plugin-ruby | ||
|
||
# Have to install from source because release not tagged yet | ||
# https://github.com/ruby-syntax-tree/syntax_tree-rbs/pull/34 | ||
# https://stackoverflow.com/a/11767563 | ||
gem install specific_install | ||
gem specific_install -l https://github.com/ruby-syntax-tree/syntax_tree-rbs.git | ||
|
||
# These are required dependencies documented at | ||
# https://www.npmjs.com/package/@prettier/plugin-ruby | ||
gem install prettier_print syntax_tree syntax_tree-haml syntax_tree-rbs | ||
|
||
# Install the plugin | ||
cd /tmp | ||
npm install --save-dev prettier @prettier/plugin-ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
cd /tmp | ||
npm install --save-dev prettier-plugin-svelte prettier | ||
npm install -g prettier-plugin-svelte prettier |