tsds-validate 1.0.21 → 1.0.23
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.cjs
CHANGED
|
@@ -35,8 +35,8 @@ function worker(_args, options, callback) {
|
|
|
35
35
|
queue.defer(_crossspawncb.default.bind(null, depcheck, [], options));
|
|
36
36
|
queue.defer(_tsdsbiome.default.bind(null, [], options));
|
|
37
37
|
queue.defer(_crossspawncb.default.bind(null, sortPackageJSON, [], options));
|
|
38
|
-
queue.defer(_tsdstypedoc.default.bind(null, [], options));
|
|
39
38
|
queue.defer(_tsdsbuild.default.bind(null, [], options));
|
|
39
|
+
queue.defer(_tsdstypedoc.default.bind(null, [], options));
|
|
40
40
|
queue.await(callback);
|
|
41
41
|
} catch (err) {
|
|
42
42
|
console.log(err.message);
|
package/dist/cjs/command.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-dev-stack/packages/tsds-validate/src/command.ts"],"sourcesContent":["import path from 'path';\nimport url from 'url';\nimport spawn from 'cross-spawn-cb';\nimport Queue from 'queue-cb';\nimport resolveBin from 'resolve-bin-sync';\nimport format from 'tsds-biome';\nimport build from 'tsds-build';\nimport { wrapWorker } from 'tsds-lib';\nimport docs from 'tsds-typedoc';\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.cjs'));\n\nfunction worker(_args, options, callback) {\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(spawn.bind(null, sortPackageJSON, [], options));\n queue.defer(
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-dev-stack/packages/tsds-validate/src/command.ts"],"sourcesContent":["import path from 'path';\nimport url from 'url';\nimport spawn from 'cross-spawn-cb';\nimport Queue from 'queue-cb';\nimport resolveBin from 'resolve-bin-sync';\nimport format from 'tsds-biome';\nimport build from 'tsds-build';\nimport { wrapWorker } from 'tsds-lib';\nimport docs from 'tsds-typedoc';\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.cjs'));\n\nfunction worker(_args, options, callback) {\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(spawn.bind(null, sortPackageJSON, [], options));\n queue.defer(build.bind(null, [], 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, options, callback) {\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;;;2DAlCP;0DACD;mEACE;8DACA;qEACK;gEACJ;gEACD;uBACS;kEACV;;;;;;AAEjB,IAAMC,QAAQ,CAACC,QAAQC,QAAQ,CAACC,IAAI,CAACC,KAAK,CAAC,IAAI,CAAC,EAAE;AAClD,IAAMC,UAAUL,QAAQ,KAAK,UAAU;AACvC,IAAMM,YAAYC,aAAI,CAACC,OAAO,CAAC,OAAOC,eAAe,cAAcC,YAAG,CAACC,aAAa,CAAC,uDAAmBF;AACxG,IAAMG,OAAOL,aAAI,CAACM,IAAI,CAACP,WAAW;AAClC,IAAMQ,gBAAgBC,IAAAA,mBAAU,EAACR,aAAI,CAACM,IAAI,CAACD,MAAM,OAAO;AAExD,SAASI,OAAOC,KAAK,EAAEC,OAAO,EAAEC,QAAQ;IACtC,IAAI;QACF,IAAMC,WAAWC,IAAAA,uBAAU,EAAC;QAC5B,IAAMC,kBAAkBD,IAAAA,uBAAU,EAAC;QAEnC,IAAME,QAAQ,IAAIC,gBAAK,CAAC;QACxBD,MAAME,KAAK,CAACC,qBAAK,CAACC,IAAI,CAAC,MAAMP,UAAU,EAAE,EAAEF;QAC3CK,MAAME,KAAK,CAACG,kBAAM,CAACD,IAAI,CAAC,MAAM,EAAE,EAAET;QAClCK,MAAME,KAAK,CAACC,qBAAK,CAACC,IAAI,CAAC,MAAML,iBAAiB,EAAE,EAAEJ;QAClDK,MAAME,KAAK,CAACI,kBAAK,CAACF,IAAI,CAAC,MAAM,EAAE,EAAET;QACjCK,MAAME,KAAK,CAACK,oBAAI,CAACH,IAAI,CAAC,MAAM,EAAE,EAAET;QAChCK,MAAMQ,KAAK,CAACZ;IACd,EAAE,OAAOa,KAAK;QACZC,QAAQC,GAAG,CAACF,IAAIG,OAAO;QACvB,OAAOhB,SAASa;IAClB;AACF;AAEe,SAASjC,QAAQqC,IAAI,EAAElB,OAAO,EAAEC,QAAQ;IACrDd,YAAY,UAAUS,cAAcT,SAAS+B,MAAMlB,SAASC,YAAYH,OAAOoB,MAAMlB,SAASC;AAChG"}
|
package/dist/esm/command.mjs
CHANGED
|
@@ -20,8 +20,8 @@ function worker(_args, options, callback) {
|
|
|
20
20
|
queue.defer(spawn.bind(null, depcheck, [], options));
|
|
21
21
|
queue.defer(format.bind(null, [], options));
|
|
22
22
|
queue.defer(spawn.bind(null, sortPackageJSON, [], options));
|
|
23
|
-
queue.defer(docs.bind(null, [], options));
|
|
24
23
|
queue.defer(build.bind(null, [], options));
|
|
24
|
+
queue.defer(docs.bind(null, [], options));
|
|
25
25
|
queue.await(callback);
|
|
26
26
|
} catch (err) {
|
|
27
27
|
console.log(err.message);
|
package/dist/esm/command.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-dev-stack/packages/tsds-validate/src/command.ts"],"sourcesContent":["import path from 'path';\nimport url from 'url';\nimport spawn from 'cross-spawn-cb';\nimport Queue from 'queue-cb';\nimport resolveBin from 'resolve-bin-sync';\nimport format from 'tsds-biome';\nimport build from 'tsds-build';\nimport { wrapWorker } from 'tsds-lib';\nimport docs from 'tsds-typedoc';\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.cjs'));\n\nfunction worker(_args, options, callback) {\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(spawn.bind(null, sortPackageJSON, [], options));\n queue.defer(
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/typescript/ts-dev-stack/packages/tsds-validate/src/command.ts"],"sourcesContent":["import path from 'path';\nimport url from 'url';\nimport spawn from 'cross-spawn-cb';\nimport Queue from 'queue-cb';\nimport resolveBin from 'resolve-bin-sync';\nimport format from 'tsds-biome';\nimport build from 'tsds-build';\nimport { wrapWorker } from 'tsds-lib';\nimport docs from 'tsds-typedoc';\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.cjs'));\n\nfunction worker(_args, options, callback) {\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(spawn.bind(null, sortPackageJSON, [], options));\n queue.defer(build.bind(null, [], 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, options, callback) {\n version !== 'local' ? workerWrapper(version, args, options, callback) : worker(args, options, callback);\n}\n"],"names":["path","url","spawn","Queue","resolveBin","format","build","wrapWorker","docs","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,UAAU,OAAO;AACxB,OAAOC,SAAS,MAAM;AACtB,OAAOC,WAAW,iBAAiB;AACnC,OAAOC,WAAW,WAAW;AAC7B,OAAOC,gBAAgB,mBAAmB;AAC1C,OAAOC,YAAY,aAAa;AAChC,OAAOC,WAAW,aAAa;AAC/B,SAASC,UAAU,QAAQ,WAAW;AACtC,OAAOC,UAAU,eAAe;AAEhC,MAAMC,QAAQ,CAACC,QAAQC,QAAQ,CAACC,IAAI,CAACC,KAAK,CAAC,IAAI,CAAC,EAAE;AAClD,MAAMC,UAAUL,QAAQ,KAAK,UAAU;AACvC,MAAMM,YAAYf,KAAKgB,OAAO,CAAC,OAAOC,eAAe,cAAchB,IAAIiB,aAAa,CAAC,YAAYjB,GAAG,IAAIgB;AACxG,MAAME,OAAOnB,KAAKoB,IAAI,CAACL,WAAW;AAClC,MAAMM,gBAAgBd,WAAWP,KAAKoB,IAAI,CAACD,MAAM,OAAO;AAExD,SAASG,OAAOC,KAAK,EAAEC,OAAO,EAAEC,QAAQ;IACtC,IAAI;QACF,MAAMC,WAAWtB,WAAW;QAC5B,MAAMuB,kBAAkBvB,WAAW;QAEnC,MAAMwB,QAAQ,IAAIzB,MAAM;QACxByB,MAAMC,KAAK,CAAC3B,MAAM4B,IAAI,CAAC,MAAMJ,UAAU,EAAE,EAAEF;QAC3CI,MAAMC,KAAK,CAACxB,OAAOyB,IAAI,CAAC,MAAM,EAAE,EAAEN;QAClCI,MAAMC,KAAK,CAAC3B,MAAM4B,IAAI,CAAC,MAAMH,iBAAiB,EAAE,EAAEH;QAClDI,MAAMC,KAAK,CAACvB,MAAMwB,IAAI,CAAC,MAAM,EAAE,EAAEN;QACjCI,MAAMC,KAAK,CAACrB,KAAKsB,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,IAAI,EAAEb,OAAO,EAAEC,QAAQ;IACrDX,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.0.
|
|
3
|
+
"version": "1.0.23",
|
|
4
4
|
"description": "Development stack for TypeScript libraries",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"c8",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"version": ""
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"cross-spawn-cb": "^2.1.
|
|
40
|
+
"cross-spawn-cb": "^2.1.14",
|
|
41
41
|
"depcheck": "^1.4.7",
|
|
42
42
|
"queue-cb": "^1.4.13",
|
|
43
43
|
"resolve-bin-sync": "^0.1.8",
|