strapi/packages/core/admin/index.d.ts
Josh 116339ad86
refactor: admin build pipeline (#18539)
* chore(admin): refactor admin develop/build pipeline

chore: remove `webpackChunkName` comments

chore: reuse admin tsconfig where possible

chore: add .strapi to gitignore

chore(admin): pack-up

feat(admin): inject commands into strapi from admin for building

feat(admin): move watch command to admin

chore: keep backward compat API available

Update packages/core/admin/_internal/cli/index.ts

docs(admin): document the build & develop process and pipeline

test(admin): fix StrapiApp tests

chore: fix build

* Update skipped_tests.yml

* test(e2e): fix e2e setup

feat: add dependency installation

fix: mjs webpack resolution

* chore: fix server exports

* fix: typescript project type generation

* fix: development watch mode

* fix: connect to hot middleware – anywhere

* Update packages/core/admin/_internal/node/core/monorepo.ts

Co-authored-by: Marc Roig <marc12info@gmail.com>

* fix(admin): theme toggle type export

* chore: fixes

* chore: pr amends

Co-Authored-By: Ben Irvin <ben@innerdvations.com>

---------

Co-authored-by: Marc Roig <marc12info@gmail.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-30 11:36:16 +00:00

23 lines
471 B
TypeScript

interface BuildArgs {
optimize?: boolean;
}
declare const build: (args: BuildArgs) => Promise<void>;
interface CleanArgs {
appDir: string;
buildDestDir: string;
}
declare const clean: (args: CleanArgs) => Promise<void>;
interface WatchAdminArgs {
browser?: string | boolean;
open?: boolean;
polling?: boolean;
}
declare const watchAdmin: (args: WatchAdminArgs) => Promise<void>;
export { build, BuildArgs, clean, CleanArg, watchAdmin, WatchAdminArgs };