@tsslint/config 1.0.13 → 1.0.14
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/index.js +3 -4
- package/lib/build.d.ts +0 -2
- package/lib/build.js +1 -2
- package/lib/watch.d.ts +0 -2
- package/lib/watch.js +1 -2
- package/package.json +4 -4
- package/lib/types.js +0 -3
package/index.js
CHANGED
|
@@ -14,18 +14,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
17
|
+
exports.defineRule = defineRule;
|
|
18
|
+
exports.definePlugin = definePlugin;
|
|
19
|
+
exports.defineConfig = defineConfig;
|
|
18
20
|
__exportStar(require("@tsslint/types"), exports);
|
|
19
21
|
function defineRule(rule) {
|
|
20
22
|
return rule;
|
|
21
23
|
}
|
|
22
|
-
exports.defineRule = defineRule;
|
|
23
24
|
function definePlugin(plugin) {
|
|
24
25
|
return plugin;
|
|
25
26
|
}
|
|
26
|
-
exports.definePlugin = definePlugin;
|
|
27
27
|
function defineConfig(config) {
|
|
28
28
|
return config;
|
|
29
29
|
}
|
|
30
|
-
exports.defineConfig = defineConfig;
|
|
31
30
|
//# sourceMappingURL=index.js.map
|
package/lib/build.d.ts
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
1
|
import type { Config } from '@tsslint/types';
|
|
4
2
|
export declare function buildConfigFile(configFilePath: string, createHash?: (path: string) => string, logger?: Pick<typeof console, 'log' | 'warn' | 'error'>): Promise<Config>;
|
package/lib/build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.buildConfigFile =
|
|
3
|
+
exports.buildConfigFile = buildConfigFile;
|
|
4
4
|
const watch_1 = require("./watch");
|
|
5
5
|
function buildConfigFile(configFilePath, createHash, logger) {
|
|
6
6
|
return new Promise((resolve, reject) => {
|
|
@@ -14,5 +14,4 @@ function buildConfigFile(configFilePath, createHash, logger) {
|
|
|
14
14
|
}, false, createHash, logger);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
exports.buildConfigFile = buildConfigFile;
|
|
18
17
|
//# sourceMappingURL=build.js.map
|
package/lib/watch.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
1
|
import esbuild = require('esbuild');
|
|
4
2
|
import type { Config } from '@tsslint/types';
|
|
5
3
|
export declare function watchConfigFile(configFilePath: string, onBuild: (config: Config | undefined, result: esbuild.BuildResult) => void, watch?: boolean, createHash?: (path: string) => string, logger?: Pick<typeof console, 'log' | 'warn' | 'error'>): Promise<esbuild.BuildContext<{
|
package/lib/watch.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.watchConfigFile =
|
|
3
|
+
exports.watchConfigFile = watchConfigFile;
|
|
4
4
|
const esbuild = require("esbuild");
|
|
5
5
|
const _path = require("path");
|
|
6
6
|
const fs = require("fs");
|
|
@@ -92,5 +92,4 @@ async function watchConfigFile(configFilePath, onBuild, watch = true, createHash
|
|
|
92
92
|
}
|
|
93
93
|
return ctx;
|
|
94
94
|
}
|
|
95
|
-
exports.watchConfigFile = watchConfigFile;
|
|
96
95
|
//# sourceMappingURL=watch.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsslint/config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"directory": "packages/config"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@tsslint/types": "1.0.
|
|
16
|
-
"esbuild": "^0.
|
|
15
|
+
"@tsslint/types": "1.0.14",
|
|
16
|
+
"esbuild": "^0.23.0"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "84ea99432b44827a79ac034896202652bf21c912"
|
|
19
19
|
}
|
package/lib/types.js
DELETED