monaco-editor-core.sh 695 B

12345678910111213141516171819202122232425262728293031323334
  1. #!/bin/bash
  2. set -e
  3. # cwd must be the vscode repository.
  4. yarn --frozen-lockfile --network-timeout 180000
  5. yarn playwright-install
  6. yarn gulp hygiene
  7. yarn valid-layers-check
  8. yarn --cwd build compile
  9. yarn eslint
  10. yarn monaco-compile-check
  11. yarn --max_old_space_size=4095 compile
  12. yarn test-browser --browser chromium
  13. yarn gulp editor-distro
  14. mkdir typings-test
  15. cd typings-test
  16. yarn init -yp
  17. ../node_modules/.bin/tsc --init
  18. echo "import '../out-monaco-editor-core';" > a.ts
  19. ../node_modules/.bin/tsc --noEmit
  20. cd ..
  21. cd test/monaco
  22. yarn run esm-check
  23. yarn run bundle-webpack
  24. yarn run compile
  25. yarn test
  26. cd ../..
  27. # npm package is now in dependencies/vscode/out-monaco-editor-core, ready to be published