Skip to content

Commit

Permalink
Adding starter build tasks (#10)
Browse files Browse the repository at this point in the history
* - Adding starter build tasks
  • Loading branch information
frgarc authored Feb 27, 2024
1 parent dc331c8 commit c1fb500
Show file tree
Hide file tree
Showing 41 changed files with 1,042 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "Adding new tasks: bundle, cleanCollateral, copy, updateWorld, mcaddon, watch",
"packageName": "@minecraft/core-build-tasks",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "- Updating headers at math library",
"packageName": "@minecraft/math",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "Adding header dependency.",
"packageName": "eslint-plugin-minecraft-linting",
"email": "[email protected]",
"dependentChangeType": "patch"
}
3 changes: 2 additions & 1 deletion libraries/math/src/general/clamp.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) Mojang AB. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

/**
* Clamps the passed in number to the passed in min and max values.
Expand Down
3 changes: 2 additions & 1 deletion libraries/math/src/general/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright (c) Mojang AB. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

export * from './clamp';
3 changes: 2 additions & 1 deletion libraries/math/src/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) Mojang AB. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { describe, expect, it } from 'vitest';

Expand Down
3 changes: 2 additions & 1 deletion libraries/math/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) Mojang AB. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

export * from './vector3';
export * from './general';
3 changes: 2 additions & 1 deletion libraries/math/src/vector3/coreHelpers.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) Mojang AB. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { Vector2, Vector3 } from '@minecraft/server';
import { describe, expect, it } from 'vitest';
Expand Down
3 changes: 2 additions & 1 deletion libraries/math/src/vector3/coreHelpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) Mojang AB. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import type { Vector2, Vector3 } from '@minecraft/server';
import { clampNumber } from '../general/clamp';
Expand Down
3 changes: 2 additions & 1 deletion libraries/math/src/vector3/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) Mojang AB. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

export * from './coreHelpers';
export * from './vectorWrapper';
3 changes: 2 additions & 1 deletion libraries/math/src/vector3/vectorWrapper.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) Mojang AB. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import type { Vector3 } from '@minecraft/server';
import { describe, expect, it } from 'vitest';
Expand Down
3 changes: 2 additions & 1 deletion libraries/math/src/vector3/vectorWrapper.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) Mojang AB. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import type { Vector2, Vector3 } from '@minecraft/server';
import { Vector2Utils, Vector3Utils } from './coreHelpers';
Expand Down
Loading

0 comments on commit c1fb500

Please sign in to comment.