-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test also against older version of typescript
- Loading branch information
Showing
4 changed files
with
40 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,19 +15,25 @@ PACKAGE_FILE=$(ls ace-*.tgz | sort -V | tail -n 1) | |
mv "$PACKAGE_FILE" ace-code-latest.tgz | ||
|
||
|
||
# Install the ace package from the npm pack result | ||
# npm install "../../$PACKAGE_FILE" | ||
|
||
cd demo/test_package | ||
|
||
# Clean up previous installation | ||
rm -rf node_modules/ace-code | ||
rm -rf node_modules | ||
rm -f package-lock.json | ||
|
||
|
||
# Install the ace package from the npm pack result | ||
npm i ../../ace-code-latest.tgz | ||
|
||
# Install TypeScript | ||
npm install | ||
npm i typescript@latest | ||
rm index.js | ||
npm run build | ||
npm run test | ||
|
||
# Run TypeScript type checking | ||
# Install old version of TypeScript | ||
npm i [email protected] | ||
rm index.js | ||
npm run build | ||
npm run test | ||
|
||
|
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