Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

972 B
Raw Blame
import { readFileSync } from 'node:fs';

import { describe, expect, it } from 'vitest';

const packageJson = JSON.parse(
	readFileSync(new URL('../package.json', import.meta.url), 'utf8'),
);
const routeManifest = JSON.parse(
	readFileSync(new URL('../vercel.json', import.meta.url), 'utf8'),
);

describe('production deployment target', () => {
	it('routes the generic deploy command through the guarded GCP pipeline', () => {
		expect(packageJson.scripts.deploy).toBe('npm run deploy:gcp:full');
		expect(packageJson.scripts.deploy).not.toContain('vercel');
	});

	it('keeps automatic Vercel Git deployments disabled', () => {
		expect(routeManifest.git?.deploymentEnabled).toBe(false);
	});

	it('gives the legacy full-build orchestrator a provider-neutral command', () => {
		expect(packageJson.scripts['build:production']).toBe(
			'node scripts/build-vercel.mjs',
		);
		expect(packageJson.scripts['build:vercel']).toBe(
			'npm run build:production',
		);
	});
});