mirror of
https://github.com/sern-handler/cli
synced 2026-06-23 08:12:20 +00:00
feat: build app (#112)
* chore: start publish work * chore: more debug... who overwrote! permalink: http://whatthecommit.com/2e6bbd4fd1a21e16039ce52216c3c0b4 * update node version requirement (#106) * update node version requirement * publish progress * progress on publish * style: pretty pretty * chore: some progress i guess? * more progress on publish command * chore: remove magicast * more progress on command data * fix: adding extra fields to json output * fix: stringify again * rest field cli * style: run prettier * chore: friday 5pm permalink: http://whatthecommit.com/502256b954264d50f29967e1fef8394b * prettier and more progress on publish * progress on publishing * config can be function and publishing seems to be working correctly * fix, made mistakes * fix guild command publishing * fix guild ids not publishing correctly * edit correctly * upgrade fire readiers * refactor and separate some stuff * ^ * add default_member_permissions * refator * refactors * publish functionality done * seems like attachment loading works correctly * extrapolate * code splitting and faster startup * fix up bugs * forgot to merge prompts/plugin * remove unneeded esbuild plugin for simple define * build auto generate typings * fix: template dir after switching commands to dynamic imports * update preprocessor * fix: add experimental warning to publish and build * fix vulnerability * oops, false alarm * better sern.build.js config support * chore: remove pnpm lock * cleaner build and also some cli options * fix regression * add more cli options * optimize * no any --------- Co-authored-by: EvolutionX <evolutionx9777@gmail.com>
This commit is contained in:
21
src/types/config.d.ts
vendored
Normal file
21
src/types/config.d.ts
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
export interface sernConfig {
|
||||
language: 'typescript' | 'javascript';
|
||||
paths: {
|
||||
base: string;
|
||||
commands: string;
|
||||
};
|
||||
scripts?: {
|
||||
prepublish?: string;
|
||||
}
|
||||
buildPath: string;
|
||||
rest?: Record<string, Record<string,unknown>>;
|
||||
}
|
||||
|
||||
export interface TheoreticalEnv {
|
||||
DISCORD_TOKEN: string
|
||||
APPLICATION_ID: string,
|
||||
MODE: 'PROD' | 'DEV'
|
||||
[name: string]: string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user