-
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.
feat: add pnpm binary and use pnpm for bootstrapping
- Loading branch information
Showing
10 changed files
with
4,887 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ Thumbs.db | |
# Node | ||
node_modules | ||
npm-debug.log | ||
pnpm-lock.yaml | ||
package-lock.json | ||
|
||
# TypeScript | ||
|
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,4 +1,4 @@ | ||
public-hoist-pattern[]=* | ||
package-lock=false | ||
lockfile=false | ||
lockfile=true | ||
prefer-frozen-lockfile=true |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
export PATH="$SCRIPT_DIR:$PATH" | ||
|
||
# Force npm to use its builtin node-gyp | ||
unset npm_config_node_gyp | ||
|
||
"$SCRIPT_DIR"/../node_modules/.bin/pnpm $@ |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@echo off | ||
setlocal EnableDelayedExpansion | ||
|
||
set "PATH=%~dp0;%PATH%" | ||
|
||
:: Force npm to use its builtin node-gyp | ||
set npm_config_node_gyp= | ||
|
||
"%~dp0\..\node_modules\.bin\pnpm.cmd" %* |
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
Oops, something went wrong.