Skip to content

Commit 601e9cc

Browse files
authored
Merge pull request #250 from msgpack/remove-tsconfig-paths
Remove tsconfig paths
2 parents d53dba2 + a752401 commit 601e9cc

26 files changed

+27
-33
lines changed

.mocharc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict';
22

33
require("ts-node/register");
4-
require("tsconfig-paths/register");
54

65
module.exports = {
76
diff: true,

karma.conf.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
const path = require("path");
21
// const webpack = require("webpack");
32

43
// eslint-disable-next-line import/no-default-export
@@ -37,9 +36,6 @@ export default function configure(config: any) {
3736

3837
resolve: {
3938
extensions: [".ts", ".tsx", ".mjs", ".js", ".json", ".wasm"],
40-
alias: {
41-
"@msgpack/msgpack": path.resolve(__dirname, "src"),
42-
},
4339
},
4440
module: {
4541
rules: [

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
"rimraf": "latest",
8383
"ts-loader": "latest",
8484
"ts-node": "latest",
85-
"tsconfig-paths": "latest",
8685
"typescript": "latest",
8786
"webpack": "latest",
8887
"webpack-cli": "latest"

test/CachedKeyDecoder.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import assert from "assert";
2-
import { CachedKeyDecoder, KeyDecoder } from "../src/CachedKeyDecoder";
2+
import { CachedKeyDecoder } from "../src/CachedKeyDecoder";
33
import { utf8EncodeJs, utf8Count } from "../src/utils/utf8";
4+
import type { KeyDecoder } from "../src/CachedKeyDecoder";
45

56
function tryDecode(keyDecoder: KeyDecoder, str: string): string {
67
const byteLength = utf8Count(str);

test/ExtensionCodec.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import assert from "assert";
22
import util from "util";
3-
import { encode, decode, ExtensionCodec, decodeAsync } from "../src";
3+
import { encode, decode, ExtensionCodec, decodeAsync } from "../src/index";
44

55
describe("ExtensionCodec", () => {
66
context("timestamp", () => {

test/bigint64.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import assert from "assert";
2-
import { encode, decode } from "../src";
2+
import { encode, decode } from "../src/index";
33

44
describe("useBigInt64: true", () => {
55
before(function () {

test/codec-bigint.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import assert from "assert";
2-
import { encode, decode, ExtensionCodec, DecodeError } from "../src";
2+
import { encode, decode, ExtensionCodec, DecodeError } from "../src/index";
33

44
// There's a built-in `useBigInt64: true` option, but a custom codec might be
55
// better if you'd like to encode bigint to reduce the size of binaries.

test/codec-float.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import assert from "assert";
2-
import { decode } from "../src";
32
import * as ieee754 from "ieee754";
3+
import { decode } from "../src/index";
44

55
const FLOAT32_TYPE = 0xca;
66
const FLOAT64_TYPE = 0xcb;

test/codec-timestamp.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
decodeTimestampExtension,
88
decodeTimestampToTimeSpec,
99
encodeTimestampExtension,
10-
} from "../src";
10+
} from "../src/index";
1111

1212
const TIME = 1556636810389;
1313

0 commit comments

Comments
 (0)