python-jupyter-ydoc/create_node_modules.sh
Benjamin Greiner d46332090e - Update to 3.0.3
* Fix missing nbformat version #304 (@fcollonval)
  * Increase pycrdt compatible version range #307 (@davidbrochart)
  * Fix stream output #294 (@davidbrochart)
  * Fix tests #288 (@davidbrochart)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=27
2025-01-29 17:00:16 +00:00

20 lines
431 B
Bash

#!/bin/sh
#
# Script to create node_modules.tar.xz for the tests.
# Adapted from .github/workflows/test.yml
# Execute this in an extracted github archive/cloned repository
# Note: The pathname MUST NOT include any ':' as is common
# in checked out obs package directories.
# requires: yarn
pushd javascript
yarn
yarn build
popd
tar cJf node_modules.tar.xz \
node_modules \
javascript/lib \
javascript/tsconfig.tsbuildinfo