monaco-editor.sh 730 B

1234567891011121314151617181920212223242526272829
  1. #!/bin/bash
  2. set -e
  3. # Install OS Dependencies for Playwright
  4. sudo npm run playwright-install-deps
  5. # Check prettier
  6. npm run prettier-check
  7. # Build
  8. npm run build-monaco-editor
  9. # Run unit tests
  10. npm test
  11. # Compile webpack plugin
  12. npm run compile --prefix webpack-plugin
  13. # Package using webpack plugin
  14. npm run package-for-smoketest-webpack
  15. # Package using esbuild
  16. npm run package-for-smoketest-esbuild
  17. # Package using vite
  18. npm run package-for-smoketest-vite
  19. # Package using parcel
  20. # npm run package-for-smoketest-parcel --prefix test/smoke/parcel
  21. # Disabled for now, as the parcel bundler cannot deal with VS Code process variable
  22. # Run smoke test
  23. npm run smoketest
  24. # npm package is now ready to be published in ./out/monaco-editor