@ts-dev-tools/core 1.5.35 → 1.5.37
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/dist/bin.js +1 -1
- package/dist/install/command.js +1 -1
- package/dist/install/migrations/20201024173398-init.js +1 -1
- package/dist/install/migrations/20220617100200-prettier-cache.js +1 -1
- package/dist/services/GitService.js +1 -1
- package/dist/services/MigrationsService.d.ts +2 -2
- package/dist/services/MigrationsService.js +1 -1
- package/dist/services/PackageJson.d.ts +4 -4
- package/dist/services/PluginService.d.ts +1 -1
- package/dist/tests/cli.js +1 -1
- package/dist/tests/project.js +1 -1
- package/package.json +11 -11
package/dist/bin.js
CHANGED
|
@@ -15,7 +15,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
15
15
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
16
16
|
function step(op) {
|
|
17
17
|
if (f) throw new TypeError("Generator is already executing.");
|
|
18
|
-
while (_) try {
|
|
18
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
19
19
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
20
20
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
21
21
|
switch (op[0]) {
|
package/dist/install/command.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type Migration = {
|
|
2
2
|
fullname: string;
|
|
3
3
|
shortname: string;
|
|
4
4
|
path: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type MigrationUpFunction = (absoluteProjectDir: string) => Promise<void>;
|
|
7
7
|
export declare class MigrationsService {
|
|
8
8
|
static MIGRATION_BUILT_PATH: string;
|
|
9
9
|
static executeMigrations(absoluteProjectDir: string, currentVersion: string | undefined): Promise<void>;
|
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PackageJson as PackageJsonType } from "type-fest";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type JsonArray = boolean[] | number[] | string[] | JsonFileData[] | Date[];
|
|
3
|
+
export type AnyJson = boolean | number | string | JsonFileData | Date | JsonArray | JsonArray[];
|
|
4
|
+
export type JsonFileData = {
|
|
5
5
|
[key: string]: AnyJson | undefined;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type PackageJsonContent = JsonFileData & PackageJsonType;
|
|
8
8
|
export declare class PackageJson {
|
|
9
9
|
private path;
|
|
10
10
|
private content?;
|
package/dist/tests/cli.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
package/dist/tests/project.js
CHANGED
|
@@ -14,7 +14,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
14
14
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
15
|
function step(op) {
|
|
16
16
|
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
18
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
19
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
20
|
switch (op[0]) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-dev-tools/core",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.37",
|
|
4
4
|
"description": "TS dev tools Core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"linter",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"url": "https://github.com/escemi-tech/ts-dev-tools/issues"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@commitlint/cli": "^17.
|
|
48
|
-
"@commitlint/config-conventional": "^17.
|
|
47
|
+
"@commitlint/cli": "^17.2.0",
|
|
48
|
+
"@commitlint/config-conventional": "^17.2.0",
|
|
49
49
|
"@types/jest": "^28.1.7",
|
|
50
|
-
"@types/node": "^18.
|
|
51
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
52
|
-
"@typescript-eslint/parser": "^5.
|
|
53
|
-
"eslint": "^8.
|
|
50
|
+
"@types/node": "^18.11.9",
|
|
51
|
+
"@typescript-eslint/eslint-plugin": "^5.43.0",
|
|
52
|
+
"@typescript-eslint/parser": "^5.43.0",
|
|
53
|
+
"eslint": "^8.27.0",
|
|
54
54
|
"eslint-config-prettier": "^8.5.0",
|
|
55
55
|
"eslint-plugin-import": "^2.26.0",
|
|
56
|
-
"eslint-plugin-jest": "^27.
|
|
56
|
+
"eslint-plugin-jest": "^27.1.5",
|
|
57
57
|
"eslint-plugin-node": "^11.1.0",
|
|
58
|
-
"eslint-plugin-promise": "^6.
|
|
58
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
59
59
|
"import-sort-style-module": "^6.0.0",
|
|
60
60
|
"jest": "^28.1.3",
|
|
61
61
|
"lint-staged": "^13.0.3",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
64
64
|
"pretty-quick": "^3.1.3",
|
|
65
65
|
"ts-jest": "^28.0.8",
|
|
66
|
-
"typescript": "^4.
|
|
66
|
+
"typescript": "^4.9.3"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"pinst": "^3.0.0"
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"github-actions"
|
|
117
117
|
]
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "a7a0c9ae82736d2792c94b891e6422b159e55181"
|
|
120
120
|
}
|