Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: build cortex binary #726

Merged
merged 9 commits into from
Jun 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove update notifier
louis-menlo committed Jun 21, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 718664fdd830f0336a9ec2a0c2a48373c5d7aefd
1 change: 0 additions & 1 deletion cortex-js/package.json
Original file line number Diff line number Diff line change
@@ -62,7 +62,6 @@
"systeminformation": "^5.22.11",
"typeorm": "^0.3.20",
"ulid": "^2.3.0",
"update-notifier": "^5.0.0",
"uuid": "^9.0.1",
"yaml": "^2.4.2"
},
11 changes: 0 additions & 11 deletions cortex-js/src/command.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env node
import { CommandFactory } from 'nest-commander';
import { CommandModule } from './command.module';
import updateNotifier from 'update-notifier';
import packageJson from './../package.json';
import { TelemetryUsecases } from './usecases/telemetry/telemetry.usecases';
import { TelemetrySource } from './domain/telemetry/telemetry.interface';
import { AsyncLocalStorage } from 'async_hooks';
@@ -34,15 +32,6 @@ async function bootstrap() {
contextService!.set('source', TelemetrySource.CLI);
return CommandFactory.runApplication(app);
});

const notifier = updateNotifier({
pkg: packageJson,
updateCheckInterval: 1000 * 60 * 60, // 1 hour
shouldNotifyInNpmScript: true,
});
notifier.notify({
isGlobal: true,
});
}

bootstrap();