monaco-editor.sh 733 B

123456789101112131415161718192021222324252627282930313233
  1. #!/bin/bash
  2. set -e
  3. # execute `npm install` to pick up local monaco-editor-core
  4. npm install
  5. # Install OS Dependencies for Playwright
  6. sudo npm run playwright-install-deps
  7. # Check prettier
  8. npm run prettier-check
  9. # Build
  10. npm run release
  11. # Run unit tests
  12. npm test
  13. # Compile webpack plugin
  14. npm run compile --prefix webpack-plugin
  15. # Package using webpack plugin
  16. npm run package-for-smoketest-webpack
  17. # Package using esbuild
  18. npm run package-for-smoketest-esbuild
  19. # Package using vite
  20. npm run package-for-smoketest-vite
  21. # Package using parcel
  22. npm run package-for-smoketest-parcel --prefix test/smoke/parcel
  23. # Run smoke test
  24. npm run smoketest
  25. # Build website
  26. npm run build-website
  27. # npm package is now ready to be published in ./release