mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
Note: this should not be necessary. Nx/Vite should build all of this for us. Something in our build configuration fails to do this, which causes us to need to build these packages.
57 lines
1.2 KiB
Bash
Executable File
57 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
#
|
|
# If you get errors like this:
|
|
#
|
|
# x Build failed in 342ms
|
|
# error during build:
|
|
# [commonjs--resolver] Failed to resolve entry for package "@storyteller/api".
|
|
# The package may have incorrect main/module/exports specified in its package.json.
|
|
# ...
|
|
#
|
|
# Run this script!
|
|
#
|
|
|
|
echo 'TEMPORARY HACK: Build internal dependencies of editor3d since nx is not finding them...'
|
|
|
|
# A 'clean' will remove nx
|
|
npm install
|
|
|
|
# TODO: Temp commented out
|
|
nx build "@storyteller/api"
|
|
nx build "@storyteller/ui-gallery-modal"
|
|
nx build "@storyteller/tauri-events"
|
|
nx build "@storyteller/ui-pricing-modal"
|
|
nx build "@storyteller/ui-loading"
|
|
nx build "@storyteller/ui-promptbox"
|
|
nx build "@storyteller/ui-model-selector"
|
|
nx build "@storyteller/ui-login-modal"
|
|
nx build "@storyteller/ui-badge"
|
|
nx build "@storyteller/ui-settings-modal"
|
|
nx build "@storyteller/ui-menu-icon-selector"
|
|
nx build "@storyteller/provider-billing-modal"
|
|
nx build "@storyteller/provider-setup-modal"
|
|
nx build "@storyteller/ui-button-dropdown"
|
|
nx build "@storyteller/ui-create-3d-modal"
|
|
nx build "@storyteller/ui-button-icon"
|
|
nx build "@storyteller/ui-upload-modal"
|
|
|
|
# CANNOT FIND
|
|
nx build "@sparkjsdev/spark"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|