Files
artcraft/frontend/build_modules.sh
Brandon Thomas 0004726a36 ArtCraft Desktop (fresh start)
This is a fresh start for the `artcraft` repo.

The old monorepo, which included our web API gateway, job services, SRE
tools, various frontends, and more has moved to `artcraft-services`

You can find the full git history here:

https://github.com/storytold/artcraft-services

This change was motivated by the fact that the entire git history was
hundreds of gigabytes in size, which is unwieldy for anyone not in the
core team that doesn't care about support services outside of the core
artcraft app.

We wanted to keep this repo in its well-known place since we already
have users and activity here.

Please update your remotes to either `artcraft-services` or make a fresh
clone of this repo.

History can be found at the artcraft-services repo.
2026-09-11 14:19:51 -04:00

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 artcraft 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"