tsds-validate 1.2.2 → 1.2.4
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/cjs/command.js +1 -1
- package/dist/cjs/command.js.map +1 -1
- package/dist/esm/command.js +1 -1
- package/dist/esm/command.js.map +1 -1
- package/package.json +3 -3
package/dist/cjs/command.js
CHANGED
|
@@ -34,9 +34,9 @@ function worker(_args, options, callback) {
|
|
|
34
34
|
var queue = new _queuecb.default(1);
|
|
35
35
|
queue.defer(_crossspawncb.default.bind(null, depcheck, [], options));
|
|
36
36
|
queue.defer(_tsdsbiome.default.bind(null, [], options));
|
|
37
|
+
queue.defer(_tsdsbuild.default.bind(null, [], options));
|
|
37
38
|
queue.defer(_crossspawncb.default.bind(null, sortPackageJSON, [], options));
|
|
38
39
|
queue.defer(_tsdstypedoc.default.bind(null, [], options));
|
|
39
|
-
queue.defer(_tsdsbuild.default.bind(null, [], options));
|
|
40
40
|
queue.await(callback);
|
|
41
41
|
} catch (err) {
|
|
42
42
|
console.log(err.message);
|
package/dist/cjs/command.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-dev-stack/packages/tsds-validate/src/command.ts"],"sourcesContent":["import spawn from 'cross-spawn-cb';\nimport path from 'path';\nimport Queue from 'queue-cb';\nimport resolveBin from 'resolve-bin-sync';\nimport format from 'tsds-biome';\nimport build from 'tsds-build';\nimport { type CommandCallback, type CommandOptions, wrapWorker } from 'tsds-lib';\nimport docs from 'tsds-typedoc';\nimport url from 'url';\n\nconst major = +process.versions.node.split('.')[0];\nconst version = major > 18 ? 'local' : 'stable';\nconst __dirname = path.dirname(typeof __filename === 'undefined' ? url.fileURLToPath(import.meta.url) : __filename);\nconst dist = path.join(__dirname, '..');\nconst workerWrapper = wrapWorker(path.join(dist, 'cjs', 'command.js'));\n\nfunction worker(_args: string[], options: CommandOptions, callback: CommandCallback) {\n try {\n const depcheck = resolveBin('depcheck');\n const sortPackageJSON = resolveBin('sort-package-json');\n\n const queue = new Queue(1);\n queue.defer(spawn.bind(null, depcheck, [], options));\n queue.defer(format.bind(null, [], options));\n queue.defer(
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-dev-stack/packages/tsds-validate/src/command.ts"],"sourcesContent":["import spawn from 'cross-spawn-cb';\nimport path from 'path';\nimport Queue from 'queue-cb';\nimport resolveBin from 'resolve-bin-sync';\nimport format from 'tsds-biome';\nimport build from 'tsds-build';\nimport { type CommandCallback, type CommandOptions, wrapWorker } from 'tsds-lib';\nimport docs from 'tsds-typedoc';\nimport url from 'url';\n\nconst major = +process.versions.node.split('.')[0];\nconst version = major > 18 ? 'local' : 'stable';\nconst __dirname = path.dirname(typeof __filename === 'undefined' ? url.fileURLToPath(import.meta.url) : __filename);\nconst dist = path.join(__dirname, '..');\nconst workerWrapper = wrapWorker(path.join(dist, 'cjs', 'command.js'));\n\nfunction worker(_args: string[], options: CommandOptions, callback: CommandCallback) {\n try {\n const depcheck = resolveBin('depcheck');\n const sortPackageJSON = resolveBin('sort-package-json');\n\n const queue = new Queue(1);\n queue.defer(spawn.bind(null, depcheck, [], options));\n queue.defer(format.bind(null, [], options));\n queue.defer(build.bind(null, [], options));\n queue.defer(spawn.bind(null, sortPackageJSON, [], options));\n queue.defer(docs.bind(null, [], options));\n queue.await(callback);\n } catch (err) {\n console.log(err.message);\n return callback(err);\n }\n}\n\nexport default function publish(args: string[], options: CommandOptions, callback: CommandCallback) {\n version !== 'local' ? workerWrapper(version, args, options, callback) : worker(args, options, callback);\n}\n"],"names":["publish","major","process","versions","node","split","version","__dirname","path","dirname","__filename","url","fileURLToPath","dist","join","workerWrapper","wrapWorker","worker","_args","options","callback","depcheck","resolveBin","sortPackageJSON","queue","Queue","defer","spawn","bind","format","build","docs","await","err","console","log","message","args"],"mappings":";;;;+BAkCA;;;eAAwBA;;;mEAlCN;2DACD;8DACC;qEACK;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m/command.js
CHANGED
|
@@ -19,9 +19,9 @@ function worker(_args, options, callback) {
|
|
|
19
19
|
const queue = new Queue(1);
|
|
20
20
|
queue.defer(spawn.bind(null, depcheck, [], options));
|
|
21
21
|
queue.defer(format.bind(null, [], options));
|
|
22
|
+
queue.defer(build.bind(null, [], options));
|
|
22
23
|
queue.defer(spawn.bind(null, sortPackageJSON, [], options));
|
|
23
24
|
queue.defer(docs.bind(null, [], options));
|
|
24
|
-
queue.defer(build.bind(null, [], options));
|
|
25
25
|
queue.await(callback);
|
|
26
26
|
} catch (err) {
|
|
27
27
|
console.log(err.message);
|
package/dist/esm/command.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-dev-stack/packages/tsds-validate/src/command.ts"],"sourcesContent":["import spawn from 'cross-spawn-cb';\nimport path from 'path';\nimport Queue from 'queue-cb';\nimport resolveBin from 'resolve-bin-sync';\nimport format from 'tsds-biome';\nimport build from 'tsds-build';\nimport { type CommandCallback, type CommandOptions, wrapWorker } from 'tsds-lib';\nimport docs from 'tsds-typedoc';\nimport url from 'url';\n\nconst major = +process.versions.node.split('.')[0];\nconst version = major > 18 ? 'local' : 'stable';\nconst __dirname = path.dirname(typeof __filename === 'undefined' ? url.fileURLToPath(import.meta.url) : __filename);\nconst dist = path.join(__dirname, '..');\nconst workerWrapper = wrapWorker(path.join(dist, 'cjs', 'command.js'));\n\nfunction worker(_args: string[], options: CommandOptions, callback: CommandCallback) {\n try {\n const depcheck = resolveBin('depcheck');\n const sortPackageJSON = resolveBin('sort-package-json');\n\n const queue = new Queue(1);\n queue.defer(spawn.bind(null, depcheck, [], options));\n queue.defer(format.bind(null, [], options));\n queue.defer(
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-dev-stack/packages/tsds-validate/src/command.ts"],"sourcesContent":["import spawn from 'cross-spawn-cb';\nimport path from 'path';\nimport Queue from 'queue-cb';\nimport resolveBin from 'resolve-bin-sync';\nimport format from 'tsds-biome';\nimport build from 'tsds-build';\nimport { type CommandCallback, type CommandOptions, wrapWorker } from 'tsds-lib';\nimport docs from 'tsds-typedoc';\nimport url from 'url';\n\nconst major = +process.versions.node.split('.')[0];\nconst version = major > 18 ? 'local' : 'stable';\nconst __dirname = path.dirname(typeof __filename === 'undefined' ? url.fileURLToPath(import.meta.url) : __filename);\nconst dist = path.join(__dirname, '..');\nconst workerWrapper = wrapWorker(path.join(dist, 'cjs', 'command.js'));\n\nfunction worker(_args: string[], options: CommandOptions, callback: CommandCallback) {\n try {\n const depcheck = resolveBin('depcheck');\n const sortPackageJSON = resolveBin('sort-package-json');\n\n const queue = new Queue(1);\n queue.defer(spawn.bind(null, depcheck, [], options));\n queue.defer(format.bind(null, [], options));\n queue.defer(build.bind(null, [], options));\n queue.defer(spawn.bind(null, sortPackageJSON, [], options));\n queue.defer(docs.bind(null, [], options));\n queue.await(callback);\n } catch (err) {\n console.log(err.message);\n return callback(err);\n }\n}\n\nexport default function publish(args: string[], options: CommandOptions, callback: CommandCallback) {\n version !== 'local' ? workerWrapper(version, args, options, callback) : worker(args, options, callback);\n}\n"],"names":["spawn","path","Queue","resolveBin","format","build","wrapWorker","docs","url","major","process","versions","node","split","version","__dirname","dirname","__filename","fileURLToPath","dist","join","workerWrapper","worker","_args","options","callback","depcheck","sortPackageJSON","queue","defer","bind","await","err","console","log","message","publish","args"],"mappings":"AAAA,OAAOA,WAAW,iBAAiB;AACnC,OAAOC,UAAU,OAAO;AACxB,OAAOC,WAAW,WAAW;AAC7B,OAAOC,gBAAgB,mBAAmB;AAC1C,OAAOC,YAAY,aAAa;AAChC,OAAOC,WAAW,aAAa;AAC/B,SAAoDC,UAAU,QAAQ,WAAW;AACjF,OAAOC,UAAU,eAAe;AAChC,OAAOC,SAAS,MAAM;AAEtB,MAAMC,QAAQ,CAACC,QAAQC,QAAQ,CAACC,IAAI,CAACC,KAAK,CAAC,IAAI,CAAC,EAAE;AAClD,MAAMC,UAAUL,QAAQ,KAAK,UAAU;AACvC,MAAMM,YAAYd,KAAKe,OAAO,CAAC,OAAOC,eAAe,cAAcT,IAAIU,aAAa,CAAC,YAAYV,GAAG,IAAIS;AACxG,MAAME,OAAOlB,KAAKmB,IAAI,CAACL,WAAW;AAClC,MAAMM,gBAAgBf,WAAWL,KAAKmB,IAAI,CAACD,MAAM,OAAO;AAExD,SAASG,OAAOC,KAAe,EAAEC,OAAuB,EAAEC,QAAyB;IACjF,IAAI;QACF,MAAMC,WAAWvB,WAAW;QAC5B,MAAMwB,kBAAkBxB,WAAW;QAEnC,MAAMyB,QAAQ,IAAI1B,MAAM;QACxB0B,MAAMC,KAAK,CAAC7B,MAAM8B,IAAI,CAAC,MAAMJ,UAAU,EAAE,EAAEF;QAC3CI,MAAMC,KAAK,CAACzB,OAAO0B,IAAI,CAAC,MAAM,EAAE,EAAEN;QAClCI,MAAMC,KAAK,CAACxB,MAAMyB,IAAI,CAAC,MAAM,EAAE,EAAEN;QACjCI,MAAMC,KAAK,CAAC7B,MAAM8B,IAAI,CAAC,MAAMH,iBAAiB,EAAE,EAAEH;QAClDI,MAAMC,KAAK,CAACtB,KAAKuB,IAAI,CAAC,MAAM,EAAE,EAAEN;QAChCI,MAAMG,KAAK,CAACN;IACd,EAAE,OAAOO,KAAK;QACZC,QAAQC,GAAG,CAACF,IAAIG,OAAO;QACvB,OAAOV,SAASO;IAClB;AACF;AAEA,eAAe,SAASI,QAAQC,IAAc,EAAEb,OAAuB,EAAEC,QAAyB;IAChGX,YAAY,UAAUO,cAAcP,SAASuB,MAAMb,SAASC,YAAYH,OAAOe,MAAMb,SAASC;AAChG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tsds-validate",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "Development stack for TypeScript libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"c8",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"version": ""
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"cross-spawn-cb": "^2.3.
|
|
43
|
+
"cross-spawn-cb": "^2.3.5",
|
|
44
44
|
"depcheck": "^1.4.7",
|
|
45
45
|
"queue-cb": "^1.5.5",
|
|
46
46
|
"resolve-bin-sync": "^0.1.16",
|
|
47
|
-
"sort-package-json": "^3.
|
|
47
|
+
"sort-package-json": "^3.3.1",
|
|
48
48
|
"tsds-lib": "*",
|
|
49
49
|
"tsds-typedoc": "*"
|
|
50
50
|
},
|