@minecraft/core-build-tasks 1.2.1 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +237 -0
- package/CHANGELOG.md +115 -0
- package/README.md +4 -2
- package/lib/index.js +41892 -22
- package/lib/tasks/helpers/getGameDeploymentRootPaths.d.ts +1 -1
- package/lib/tasks/index.d.ts +2 -1
- package/lib/tasks/publishRelease.d.ts +22 -0
- package/lib/tasks/zip.d.ts +1 -1
- package/lib-cjs/index.js +41919 -0
- package/package.json +19 -18
- package/lib/index.js.map +0 -1
- package/lib/index.test.js +0 -11
- package/lib/index.test.js.map +0 -1
- package/lib/platforms/MinecraftProduct.js +0 -15
- package/lib/platforms/MinecraftProduct.js.map +0 -1
- package/lib/platforms/index.js +0 -20
- package/lib/platforms/index.js.map +0 -1
- package/lib/setupEnvironment.js +0 -18
- package/lib/setupEnvironment.js.map +0 -1
- package/lib/tasks/api-extractor.js +0 -35
- package/lib/tasks/api-extractor.js.map +0 -1
- package/lib/tasks/bundle.js +0 -98
- package/lib/tasks/bundle.js.map +0 -1
- package/lib/tasks/bundle.test.js +0 -344
- package/lib/tasks/bundle.test.js.map +0 -1
- package/lib/tasks/clean.js +0 -26
- package/lib/tasks/clean.js.map +0 -1
- package/lib/tasks/cleanCollateral.js +0 -88
- package/lib/tasks/cleanCollateral.js.map +0 -1
- package/lib/tasks/copy.js +0 -41
- package/lib/tasks/copy.js.map +0 -1
- package/lib/tasks/coreLint.js +0 -64
- package/lib/tasks/coreLint.js.map +0 -1
- package/lib/tasks/helpers/copyFiles.js +0 -31
- package/lib/tasks/helpers/copyFiles.js.map +0 -1
- package/lib/tasks/helpers/getGameDeploymentRootPaths.js +0 -65
- package/lib/tasks/helpers/getGameDeploymentRootPaths.js.map +0 -1
- package/lib/tasks/helpers/getOrThrowFromProcess.js +0 -22
- package/lib/tasks/helpers/getOrThrowFromProcess.js.map +0 -1
- package/lib/tasks/helpers/index.js +0 -22
- package/lib/tasks/helpers/index.js.map +0 -1
- package/lib/tasks/index.js +0 -30
- package/lib/tasks/index.js.map +0 -1
- package/lib/tasks/updateWorld.js +0 -26
- package/lib/tasks/updateWorld.js.map +0 -1
- package/lib/tasks/vitest.js +0 -13
- package/lib/tasks/vitest.js.map +0 -1
- package/lib/tasks/watch.js +0 -62
- package/lib/tasks/watch.js.map +0 -1
- package/lib/tasks/zip.js +0 -82
- package/lib/tasks/zip.js.map +0 -1
package/lib/tasks/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@ export * from './clean';
|
|
|
4
4
|
export * from './cleanCollateral';
|
|
5
5
|
export * from './copy';
|
|
6
6
|
export * from './coreLint';
|
|
7
|
-
export * from './helpers';
|
|
7
|
+
export * from './helpers/index';
|
|
8
|
+
export * from './publishRelease';
|
|
8
9
|
export * from './vitest';
|
|
9
10
|
export * from './updateWorld';
|
|
10
11
|
export * from './watch';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration for publishing the release
|
|
3
|
+
*/
|
|
4
|
+
export type PublishReleaseTaskConfig = {
|
|
5
|
+
/**
|
|
6
|
+
* A custom message to include in the release
|
|
7
|
+
*/
|
|
8
|
+
message: string;
|
|
9
|
+
/**
|
|
10
|
+
* Repo Owner/Organization
|
|
11
|
+
*/
|
|
12
|
+
repoOwner: string;
|
|
13
|
+
/**
|
|
14
|
+
* Name of the repository
|
|
15
|
+
*/
|
|
16
|
+
repoName: string;
|
|
17
|
+
/**
|
|
18
|
+
* GitHub token used for creating the release. If not specified, will attempt to use REPO_PAT environment variable
|
|
19
|
+
*/
|
|
20
|
+
token?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare function publishReleaseTask(config: PublishReleaseTaskConfig): () => Promise<void>;
|
package/lib/tasks/zip.d.ts
CHANGED