-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: release build(core): handle the prestart
- Loading branch information
Showing
7 changed files
with
59 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { cleanPackageExports } from '../config/packages.mts'; | ||
import { executor } from '../utils/executor.mts'; | ||
import * as log from '../utils/log.mts'; | ||
import { copyAssets, copyExternalAssets } from './utils/assets.mts'; | ||
import { | ||
compileAllBaseStyle, | ||
compileBaseStyle, | ||
prebuiltThemes | ||
} from './utils/core-style.utils.mts'; | ||
import { bundleLocalization } from './utils/localization.mts'; | ||
|
||
executor(`Postbuild @igo2/core`, async () => { | ||
await cleanPackageExports('core'); | ||
log.success(`✔ Cleaning package.json exports`); | ||
|
||
await prebuiltThemes(); | ||
|
||
await compileBaseStyle(); | ||
|
||
await compileAllBaseStyle(); | ||
|
||
await bundleLocalization(); | ||
|
||
await copyExternalAssets(); | ||
await copyAssets(); | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { executor } from '../utils/executor.mts'; | ||
import { copyAssets, copyExternalAssets } from './utils/assets.mts'; | ||
import { | ||
compileAllBaseStyle, | ||
compileBaseStyle, | ||
prebuiltThemes | ||
} from './utils/core-style.utils.mts'; | ||
import { bundleLocalization } from './utils/localization.mts'; | ||
|
||
executor(`Prepare the base for @igo2/core`, async () => { | ||
await prebuiltThemes(); | ||
|
||
await compileBaseStyle(); | ||
|
||
await compileAllBaseStyle(); | ||
|
||
await bundleLocalization(); | ||
|
||
await copyExternalAssets(); | ||
|
||
await copyAssets(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters