@tsed/objection 7.0.0-beta.2 → 7.0.0-beta.20
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/lib/cjs/domain/interfaces.js +3 -0
- package/lib/cjs/domain/interfaces.js.map +1 -0
- package/lib/cjs/index.js +19 -17
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/utils/connect.js +1 -1
- package/lib/cjs/utils/connect.js.map +1 -1
- package/lib/esm/components/createBooleanColumn.js +1 -1
- package/lib/esm/components/createIdColumn.js +1 -1
- package/lib/esm/components/createNumberColumn.js +1 -1
- package/lib/esm/components/createStringColumn.js +1 -1
- package/lib/esm/decorators/decimal.js +1 -1
- package/lib/esm/decorators/entity.js +1 -1
- package/lib/esm/decorators/idColumn.js +2 -2
- package/lib/esm/domain/interfaces.js +2 -0
- package/lib/esm/domain/interfaces.js.map +1 -0
- package/lib/esm/index.js +19 -17
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/package.json +3 -0
- package/lib/esm/services/ObjectionConnection.js +1 -1
- package/lib/esm/utils/createColumns.js +6 -6
- package/lib/types/domain/interfaces.d.ts +8 -0
- package/lib/types/index.d.ts +10 -12
- package/package.json +43 -21
- package/readme.md +8 -9
- package/tsconfig.compile.esm.json +1 -12
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/domain/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import {Knex} from \"knex\";\n\ndeclare global {\n namespace TsED {\n interface Configuration {\n knex: Knex.Config;\n }\n }\n}\n"]}
|
package/lib/cjs/index.js
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @file Automatically generated by barrelsby.
|
|
4
|
+
*/
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
const tslib_1 = require("tslib");
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
(0, tslib_1.__exportStar)(require("./utils/getColumnCtx"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./components/createBooleanColumn"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./components/createIdColumn"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./components/createNumberColumn"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./components/createStringColumn"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./decorators/columnOptions"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./decorators/decimal"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./decorators/entity"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./decorators/idColumn"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./domain/ColumnOpts"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./domain/interfaces"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./services/ColumnTypesContainer"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./services/ObjectionConnection"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./utils/connect"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./utils/createColumns"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./utils/defineStaticGetter"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./utils/getColumnCtx"), exports);
|
|
21
23
|
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,2EAAiD;AACjD,sEAA4C;AAC5C,0EAAgD;AAChD,0EAAgD;AAChD,qEAA2C;AAC3C,+DAAqC;AACrC,8DAAoC;AACpC,gEAAsC;AACtC,8DAAoC;AACpC,8DAAoC;AACpC,0EAAgD;AAChD,yEAA+C;AAC/C,0DAAgC;AAChC,gEAAsC;AACtC,qEAA2C;AAC3C,+DAAqC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./components/createBooleanColumn\";\nexport * from \"./components/createIdColumn\";\nexport * from \"./components/createNumberColumn\";\nexport * from \"./components/createStringColumn\";\nexport * from \"./decorators/columnOptions\";\nexport * from \"./decorators/decimal\";\nexport * from \"./decorators/entity\";\nexport * from \"./decorators/idColumn\";\nexport * from \"./domain/ColumnOpts\";\nexport * from \"./domain/interfaces\";\nexport * from \"./services/ColumnTypesContainer\";\nexport * from \"./services/ObjectionConnection\";\nexport * from \"./utils/connect\";\nexport * from \"./utils/createColumns\";\nexport * from \"./utils/defineStaticGetter\";\nexport * from \"./utils/getColumnCtx\";\n"]}
|
package/lib/cjs/utils/connect.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createConnection = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const knex_1 =
|
|
5
|
+
const knex_1 = tslib_1.__importDefault(require("knex"));
|
|
6
6
|
const objection_1 = require("objection");
|
|
7
7
|
function createConnection(connectionOptions) {
|
|
8
8
|
const connection = (0, knex_1.default)(connectionOptions);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/utils/connect.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/utils/connect.ts"],"names":[],"mappings":";;;;AAAA,wDAAgC;AAChC,yCAAgC;AAEhC,SAAgB,gBAAgB,CAAC,iBAA8B;IAC7D,MAAM,UAAU,GAAG,IAAA,cAAI,EAAC,iBAAiB,CAAC,CAAC;IAC3C,iBAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAEvB,OAAO,UAAU,CAAC;AACpB,CAAC;AALD,4CAKC","sourcesContent":["import knex, {Knex} from \"knex\";\nimport {Model} from \"objection\";\n\nexport function createConnection(connectionOptions: Knex.Config): Knex {\n const connection = knex(connectionOptions);\n Model.knex(connection);\n\n return connection;\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useDecorators } from "@tsed/core";
|
|
2
2
|
import { Property } from "@tsed/schema";
|
|
3
|
-
import { defineStaticGetter } from "../utils/defineStaticGetter";
|
|
4
|
-
import { ColumnOptions } from "./columnOptions";
|
|
3
|
+
import { defineStaticGetter } from "../utils/defineStaticGetter.js";
|
|
4
|
+
import { ColumnOptions } from "./columnOptions.js";
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
7
7
|
* @param type
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/domain/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import {Knex} from \"knex\";\n\ndeclare global {\n namespace TsED {\n interface Configuration {\n knex: Knex.Config;\n }\n }\n}\n"]}
|
package/lib/esm/index.js
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export * from "./components/createBooleanColumn";
|
|
5
|
-
export * from "./components/
|
|
6
|
-
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./decorators/
|
|
9
|
-
export * from "./decorators/
|
|
10
|
-
export * from "./decorators/
|
|
11
|
-
export * from "./
|
|
12
|
-
|
|
13
|
-
export * from "./
|
|
14
|
-
|
|
15
|
-
export * from "./
|
|
16
|
-
export * from "./utils/
|
|
17
|
-
export * from "./utils/
|
|
1
|
+
/**
|
|
2
|
+
* @file Automatically generated by barrelsby.
|
|
3
|
+
*/
|
|
4
|
+
export * from "./components/createBooleanColumn.js";
|
|
5
|
+
export * from "./components/createIdColumn.js";
|
|
6
|
+
export * from "./components/createNumberColumn.js";
|
|
7
|
+
export * from "./components/createStringColumn.js";
|
|
8
|
+
export * from "./decorators/columnOptions.js";
|
|
9
|
+
export * from "./decorators/decimal.js";
|
|
10
|
+
export * from "./decorators/entity.js";
|
|
11
|
+
export * from "./decorators/idColumn.js";
|
|
12
|
+
export * from "./domain/ColumnOpts.js";
|
|
13
|
+
export * from "./domain/interfaces.js";
|
|
14
|
+
export * from "./services/ColumnTypesContainer.js";
|
|
15
|
+
export * from "./services/ObjectionConnection.js";
|
|
16
|
+
export * from "./utils/connect.js";
|
|
17
|
+
export * from "./utils/createColumns.js";
|
|
18
|
+
export * from "./utils/defineStaticGetter.js";
|
|
19
|
+
export * from "./utils/getColumnCtx.js";
|
|
18
20
|
//# sourceMappingURL=index.js.map
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./components/createBooleanColumn\";\nexport * from \"./components/createIdColumn\";\nexport * from \"./components/createNumberColumn\";\nexport * from \"./components/createStringColumn\";\nexport * from \"./decorators/columnOptions\";\nexport * from \"./decorators/decimal\";\nexport * from \"./decorators/entity\";\nexport * from \"./decorators/idColumn\";\nexport * from \"./domain/ColumnOpts\";\nexport * from \"./domain/interfaces\";\nexport * from \"./services/ColumnTypesContainer\";\nexport * from \"./services/ObjectionConnection\";\nexport * from \"./utils/connect\";\nexport * from \"./utils/createColumns\";\nexport * from \"./utils/defineStaticGetter\";\nexport * from \"./utils/getColumnCtx\";\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Configuration, registerProvider } from "@tsed/di";
|
|
2
|
-
import { createConnection } from "../utils/connect";
|
|
2
|
+
import { createConnection } from "../utils/connect.js";
|
|
3
3
|
export const OBJECTION_CONNECTION = Symbol.for("DEFAULT_CONNECTION");
|
|
4
4
|
registerProvider({
|
|
5
5
|
provide: OBJECTION_CONNECTION,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { getProperties } from "@tsed/schema";
|
|
2
|
-
import "../components/createBooleanColumn";
|
|
3
|
-
import "../components/createIdColumn";
|
|
4
|
-
import "../components/createNumberColumn";
|
|
5
|
-
import "../components/createStringColumn";
|
|
6
|
-
import { ColumnTypesContainer } from "../services/ColumnTypesContainer";
|
|
7
|
-
import { getColumnCtx } from "./getColumnCtx";
|
|
2
|
+
import "../components/createBooleanColumn.js";
|
|
3
|
+
import "../components/createIdColumn.js";
|
|
4
|
+
import "../components/createNumberColumn.js";
|
|
5
|
+
import "../components/createStringColumn.js";
|
|
6
|
+
import { ColumnTypesContainer } from "../services/ColumnTypesContainer.js";
|
|
7
|
+
import { getColumnCtx } from "./getColumnCtx.js";
|
|
8
8
|
/**
|
|
9
9
|
* @ignore
|
|
10
10
|
*/
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
interface Configuration {
|
|
5
|
-
knex: Knex.Config;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export * from "./components/createStringColumn";
|
|
10
|
-
export * from "./components/createIdColumn";
|
|
1
|
+
/**
|
|
2
|
+
* @file Automatically generated by barrelsby.
|
|
3
|
+
*/
|
|
11
4
|
export * from "./components/createBooleanColumn";
|
|
5
|
+
export * from "./components/createIdColumn";
|
|
12
6
|
export * from "./components/createNumberColumn";
|
|
13
|
-
export * from "./
|
|
7
|
+
export * from "./components/createStringColumn";
|
|
8
|
+
export * from "./decorators/columnOptions";
|
|
14
9
|
export * from "./decorators/decimal";
|
|
10
|
+
export * from "./decorators/entity";
|
|
15
11
|
export * from "./decorators/idColumn";
|
|
16
|
-
export * from "./decorators/columnOptions";
|
|
17
12
|
export * from "./domain/ColumnOpts";
|
|
13
|
+
export * from "./domain/interfaces";
|
|
14
|
+
export * from "./services/ColumnTypesContainer";
|
|
18
15
|
export * from "./services/ObjectionConnection";
|
|
19
16
|
export * from "./utils/connect";
|
|
20
17
|
export * from "./utils/createColumns";
|
|
18
|
+
export * from "./utils/defineStaticGetter";
|
|
21
19
|
export * from "./utils/getColumnCtx";
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/objection",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.20",
|
|
4
4
|
"description": "Objection.js package for Ts.ED framework",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/cjs/index.js",
|
|
8
|
+
"module": "./lib/esm/index.js",
|
|
8
9
|
"typings": "./lib/types/index.d.ts",
|
|
9
10
|
"exports": {
|
|
10
11
|
"types": "./lib/types/index.d.ts",
|
|
@@ -13,44 +14,65 @@
|
|
|
13
14
|
"default": "./lib/esm/index.js"
|
|
14
15
|
},
|
|
15
16
|
"scripts": {
|
|
16
|
-
"build": "yarn run build:esm && yarn run build:cjs",
|
|
17
|
+
"build": "yarn barrels && yarn run build:esm && yarn run build:cjs",
|
|
17
18
|
"build:cjs": "tsc --build tsconfig.compile.json",
|
|
18
19
|
"build:esm": "tsc --build tsconfig.compile.esm.json",
|
|
20
|
+
"barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
|
|
19
21
|
"test": "cross-env NODE_ENV=test yarn jest"
|
|
20
22
|
},
|
|
21
23
|
"dependencies": {
|
|
22
|
-
"tslib": "2.
|
|
24
|
+
"tslib": "2.4.0"
|
|
23
25
|
},
|
|
24
26
|
"devDependencies": {
|
|
25
|
-
"@tsed/ajv": "7.0.0-beta.
|
|
26
|
-
"@tsed/core": "7.0.0-beta.
|
|
27
|
-
"@tsed/di": "7.0.0-beta.
|
|
28
|
-
"@tsed/json-mapper": "7.0.0-beta.
|
|
29
|
-
"@tsed/schema": "7.0.0-beta.
|
|
27
|
+
"@tsed/ajv": "7.0.0-beta.20",
|
|
28
|
+
"@tsed/core": "7.0.0-beta.20",
|
|
29
|
+
"@tsed/di": "7.0.0-beta.20",
|
|
30
|
+
"@tsed/json-mapper": "7.0.0-beta.20",
|
|
31
|
+
"@tsed/schema": "7.0.0-beta.20",
|
|
30
32
|
"knex": "^0.95.11",
|
|
31
|
-
"mssql": "^7.2.1",
|
|
32
|
-
"mysql": "^2.18.1",
|
|
33
|
-
"mysql2": "^2.3.0",
|
|
34
33
|
"objection": "^2.2.15",
|
|
35
|
-
"oracledb": "^5.2.0",
|
|
36
|
-
"pg": "^8.7.1",
|
|
37
|
-
"sqlite": "^4.0.23",
|
|
38
34
|
"sqlite3": "^5.0.2"
|
|
39
35
|
},
|
|
40
36
|
"peerDependencies": {
|
|
41
|
-
"@tsed/ajv": "^7.0.0-beta.
|
|
42
|
-
"@tsed/core": "^7.0.0-beta.
|
|
43
|
-
"@tsed/di": "^7.0.0-beta.
|
|
44
|
-
"@tsed/json-mapper": "^7.0.0-beta.
|
|
45
|
-
"@tsed/schema": "^7.0.0-beta.
|
|
37
|
+
"@tsed/ajv": "^7.0.0-beta.20",
|
|
38
|
+
"@tsed/core": "^7.0.0-beta.20",
|
|
39
|
+
"@tsed/di": "^7.0.0-beta.20",
|
|
40
|
+
"@tsed/json-mapper": "^7.0.0-beta.20",
|
|
41
|
+
"@tsed/schema": "^7.0.0-beta.20",
|
|
46
42
|
"knex": ">=0.94.0",
|
|
47
43
|
"objection": ">=2.0.0"
|
|
48
44
|
},
|
|
45
|
+
"peerDependenciesMeta": {
|
|
46
|
+
"@tsed/ajv": {
|
|
47
|
+
"optional": false
|
|
48
|
+
},
|
|
49
|
+
"@tsed/core": {
|
|
50
|
+
"optional": false
|
|
51
|
+
},
|
|
52
|
+
"@tsed/di": {
|
|
53
|
+
"optional": false
|
|
54
|
+
},
|
|
55
|
+
"@tsed/json-mapper": {
|
|
56
|
+
"optional": false
|
|
57
|
+
},
|
|
58
|
+
"@tsed/schema": {
|
|
59
|
+
"optional": false
|
|
60
|
+
},
|
|
61
|
+
"knex": {
|
|
62
|
+
"optional": false
|
|
63
|
+
},
|
|
64
|
+
"objection": {
|
|
65
|
+
"optional": false
|
|
66
|
+
}
|
|
67
|
+
},
|
|
49
68
|
"repository": "https://github.com/tsedio/tsed",
|
|
50
69
|
"bugs": {
|
|
51
70
|
"url": "https://github.com/tsedio/tsed/issues"
|
|
52
71
|
},
|
|
53
|
-
"homepage": "https://github.com/tsedio/tsed/tree/
|
|
72
|
+
"homepage": "https://github.com/tsedio/tsed/tree/beta/packages/orm/objection",
|
|
54
73
|
"author": "Romain Lenzotti",
|
|
55
|
-
"license": "MIT"
|
|
74
|
+
"license": "MIT",
|
|
75
|
+
"publishConfig": {
|
|
76
|
+
"tag": "beta"
|
|
77
|
+
}
|
|
56
78
|
}
|
package/readme.md
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
[](https://badge.fury.io/js/%40tsed%2Fcommon)
|
|
12
12
|
[](https://github.com/semantic-release/semantic-release)
|
|
13
13
|
[](https://github.com/prettier/prettier)
|
|
14
|
-
[](https://github.com/sponsors/romakita)
|
|
15
|
+
[](https://opencollective.com/tsed)
|
|
15
16
|
|
|
16
17
|
</div>
|
|
17
18
|
|
|
@@ -32,8 +33,8 @@ A package of Ts.ED framework. See website: https://tsed.io/tutorials/objection.h
|
|
|
32
33
|
## Feature
|
|
33
34
|
|
|
34
35
|
Currently, `@tsed/objection` allows you:
|
|
35
|
-
|
|
36
|
-
- Configure one database connection via the `@Configuration` decorator.
|
|
36
|
+
|
|
37
|
+
- Configure one database connection via the `@Configuration` decorator.
|
|
37
38
|
- Databases will be initialized when the server starts during the server's `OnInit` phase.
|
|
38
39
|
- Declare a Model from a class with annotation,
|
|
39
40
|
|
|
@@ -69,27 +70,25 @@ import "@tsed/objection"; // don't forget to add this line!
|
|
|
69
70
|
@Configuration({
|
|
70
71
|
// ...
|
|
71
72
|
knex: {
|
|
72
|
-
client:
|
|
73
|
-
connection:
|
|
73
|
+
client: "sqlite3",
|
|
74
|
+
connection: ":memory:"
|
|
74
75
|
}
|
|
75
76
|
})
|
|
76
77
|
class Server {}
|
|
77
78
|
```
|
|
78
79
|
|
|
79
|
-
|
|
80
80
|
## Contributors
|
|
81
|
+
|
|
81
82
|
Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
|
|
82
83
|
|
|
83
84
|
<a href="https://github.com/tsedio/ts-express-decorators/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
|
|
84
85
|
|
|
85
|
-
|
|
86
86
|
## Backers
|
|
87
87
|
|
|
88
88
|
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
|
|
89
89
|
|
|
90
90
|
<a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/backers.svg?width=890"></a>
|
|
91
91
|
|
|
92
|
-
|
|
93
92
|
## Sponsors
|
|
94
93
|
|
|
95
94
|
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
|
|
@@ -98,7 +97,7 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
|
|
|
98
97
|
|
|
99
98
|
The MIT License (MIT)
|
|
100
99
|
|
|
101
|
-
Copyright (c) 2016 -
|
|
100
|
+
Copyright (c) 2016 - 2022 Romain Lenzotti
|
|
102
101
|
|
|
103
102
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
104
103
|
|
|
@@ -8,16 +8,5 @@
|
|
|
8
8
|
"declaration": true,
|
|
9
9
|
"declarationDir": "./lib/types"
|
|
10
10
|
},
|
|
11
|
-
"exclude": [
|
|
12
|
-
"node_modules",
|
|
13
|
-
"test",
|
|
14
|
-
"lib",
|
|
15
|
-
"benchmark",
|
|
16
|
-
"coverage",
|
|
17
|
-
"spec",
|
|
18
|
-
"**/*.benchmark.ts",
|
|
19
|
-
"**/*.spec.ts",
|
|
20
|
-
"keys",
|
|
21
|
-
"jest.config.js"
|
|
22
|
-
]
|
|
11
|
+
"exclude": ["node_modules", "test", "lib", "benchmark", "coverage", "spec", "**/*.benchmark.ts", "**/*.spec.ts", "keys", "jest.config.js"]
|
|
23
12
|
}
|