diff --git a/package.json b/package.json index f801475..88eb50a 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "type": "git", "url": "https://github.com/mcdata-dev/mcdata-data.git" }, + "type": "module", "author": { "name": "McData Development", "url": "https://github.com/mcdata-dev" diff --git a/src/index.ts b/src/index.ts index b9f82de..e98325f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,3 +6,4 @@ export * from './colors'; export * from './dimensions'; export * from './effects'; export * from './types'; +export * from './games'; diff --git a/tests/alphabet.test.ts b/tests/alphabet.test.ts index 1a9bb2b..efcc5b8 100644 --- a/tests/alphabet.test.ts +++ b/tests/alphabet.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest'; -import { alphabet } from '../src/alphabet'; +import { alphabet } from '../src'; describe('Test alphabet datastructure', (): void => { test('Test metadata', (): void => { diff --git a/tests/armor.test.ts b/tests/armor.test.ts index f1c9684..cacb44c 100644 --- a/tests/armor.test.ts +++ b/tests/armor.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest'; -import { armor } from '../src/armor'; +import { armor } from '../src'; describe('Test armor datastructure', (): void => { test('Test metadata', (): void => { diff --git a/tests/biomes.test.ts b/tests/biomes.test.ts index 3af9c52..38b0fc1 100644 --- a/tests/biomes.test.ts +++ b/tests/biomes.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect, expectTypeOf } from 'vitest'; -import { biomes } from '../src/biomes'; +import { biomes } from '../src'; import { Dimension, Precipitation, StructureTag } from '../src/types'; describe('Test biome datastructure', (): void => { diff --git a/tests/colors.test.ts b/tests/colors.test.ts index 5e3c06a..ceb5df6 100644 --- a/tests/colors.test.ts +++ b/tests/colors.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest'; -import { colors } from '../src/colors'; +import { colors } from '../src'; describe('Test color datastructure', (): void => { test('Test metadata', (): void => { diff --git a/tests/dimensions.test.ts b/tests/dimensions.test.ts index c763e1b..e4df82d 100644 --- a/tests/dimensions.test.ts +++ b/tests/dimensions.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect, expectTypeOf } from 'vitest'; -import { dimensions } from '../src/dimensions'; +import { dimensions } from '../src'; import { BiomeTag } from '../src/types'; describe('Test dimension datastructure', (): void => { diff --git a/tests/effects.test.ts b/tests/effects.test.ts index 7600ce5..49ee1ca 100644 --- a/tests/effects.test.ts +++ b/tests/effects.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect, expectTypeOf } from 'vitest'; -import { effects } from '../src/effects'; +import { effects } from '../src'; describe('Test effect datastructure', (): void => { test('Test metadata', (): void => { diff --git a/tests/games.test.ts b/tests/games.test.ts index e675a9a..a0e2e80 100644 --- a/tests/games.test.ts +++ b/tests/games.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect, expectTypeOf } from 'vitest'; -import { games } from '../src/games'; +import { games } from '../src'; describe('Test game datastructure', (): void => { test('Test metadata', (): void => { diff --git a/tests/versions.test.ts b/tests/versions.test.ts index 952aa23..d1b13f5 100644 --- a/tests/versions.test.ts +++ b/tests/versions.test.ts @@ -1,5 +1,5 @@ import { describe, test, expect } from 'vitest'; -import { versions } from '../src/versions'; +import { versions } from '../src'; describe('Test version datastructure', (): void => { test('Test metadata', (): void => {