x-carrier build --framework nx --target app:build x-carrier test --framework gradle --project :core x-carrier cache clear Example adapter for Nx:
// adapters/nx.ts export class NxAdapter implements BuilderAdapter async build(target: string) await runCommand(`npx nx run $target:build --skip-nx-cache=false`); async getCacheKey(): Promise<string> return hashFile('nx.json', 'package-lock.json');
Use a remote cache (S3, Redis, GCS) to store build outputs:
"input": "src/**/*.ts": "abc123", "tsconfig.json": "def456" , "output": "dist/": "789xyz"
x-carrier build --framework nx --target app:build x-carrier test --framework gradle --project :core x-carrier cache clear Example adapter for Nx:
// adapters/nx.ts export class NxAdapter implements BuilderAdapter async build(target: string) await runCommand(`npx nx run $target:build --skip-nx-cache=false`); async getCacheKey(): Promise<string> return hashFile('nx.json', 'package-lock.json');
Use a remote cache (S3, Redis, GCS) to store build outputs:
"input": "src/**/*.ts": "abc123", "tsconfig.json": "def456" , "output": "dist/": "789xyz"
Don't have an account yet? Sign up for free
Please enter your username or email address. You will receive a link to create a new password via email. Remember now? Back to login
Already have an account? Log in