forked from encoredev/encore
-
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.
all: add TypeScript support (encoredev#1073)
- cli/cmd/encore: `npm install` on app create for TS apps - runtime: tweak gateway caller format - runtime: use automaxprocs - Skip automaxprocs for local dev - Add beta version handling - Tweak gateway handling - dockerbuild: new package - Misc fixes - Prepare builder protocol for TS - Add new runtime config, TS builder - Add TypeScript experiment - runtimes/go: bump aws dependencies - Add TypeScript runtime - Various builder and gateway handling tweaks - Add TypeScript to release process - Fix tests
- Loading branch information
Showing
333 changed files
with
58,695 additions
and
2,870 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
set -eo pipefail | ||
|
||
# Check if `encore-nightly`, `encore-beta` or `encore-develop` are present, and if one of them are, rename it to `encore`. | ||
for binary in encore-nightly encore-beta encore-develop; do | ||
if [ -f "/encore/bin/$binary" ]; then | ||
echo "Renaming $binary to encore..." | ||
mv /encore/bin/$binary /encore/bin/encore | ||
fi | ||
done | ||
|
||
# Sanity check that /ecore/bin/encore exists. | ||
if [ ! -f "/encore/bin/encore" ]; then | ||
echo "ERROR: /encore/bin/encore does not exist. Did you mount the Encore binary directory to /encore/bin?" | ||
exit 1 | ||
fi |
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.