tsds-validate 1.1.20 → 1.1.21

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.
@@ -1 +1,2 @@
1
- export default function publish(args: any, options: any, callback: any): void;
1
+ import { type CommandCallback, type CommandOptions } from 'tsds-lib';
2
+ export default function publish(args: string[], options: CommandOptions, callback: CommandCallback): void;
@@ -1 +1,2 @@
1
- export default function publish(args: any, options: any, callback: any): void;
1
+ import { type CommandCallback, type CommandOptions } from 'tsds-lib';
2
+ export default function publish(args: string[], options: CommandOptions, callback: CommandCallback): void;
@@ -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.js'));\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(docs.bind(null, [], options));\n queue.defer(build.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","docs","build","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,oBAAI,CAACF,IAAI,CAAC,MAAM,EAAE,EAAET;QAChCK,MAAME,KAAK,CAACK,kBAAK,CAACH,IAAI,CAAC,MAAM,EAAE,EAAET;QACjCK,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"}
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 { type CommandCallback, type CommandOptions, 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.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(spawn.bind(null, sortPackageJSON, [], options));\n queue.defer(docs.bind(null, [], options));\n queue.defer(build.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","docs","build","await","err","console","log","message","args"],"mappings":";;;;+BAkCA;;;eAAwBA;;;2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,SAASC;AAChG"}
@@ -1 +1,2 @@
1
- export default function publish(args: any, options: any, callback: any): void;
1
+ import { type CommandCallback, type CommandOptions } from 'tsds-lib';
2
+ export default function publish(args: string[], options: CommandOptions, callback: CommandCallback): void;
@@ -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.js'));\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(docs.bind(null, [], options));\n queue.defer(build.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,WA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b,SAASC,YAAYH,OAAOe,MAAMb,SAASC;AAChG"}
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 { type CommandCallback, type CommandOptions, 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.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(spawn.bind(null, sortPackageJSON, [], options));\n queue.defer(docs.bind(null, [], options));\n queue.defer(build.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":["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,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CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsds-validate",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "Development stack for TypeScript libraries",
5
5
  "keywords": [
6
6
  "c8",
@@ -33,24 +33,24 @@
33
33
  "scripts"
34
34
  ],
35
35
  "scripts": {
36
- "build": "cross-env $npm_config_prefix/bin/tsds build",
36
+ "build": "node ../../scripts/build.cjs",
37
37
  "format": "biome check --write --unsafe src/",
38
38
  "test": "",
39
39
  "test:engines": "npm test",
40
40
  "version": ""
41
41
  },
42
42
  "dependencies": {
43
- "cross-spawn-cb": "^2.2.3",
43
+ "cross-spawn-cb": "^2.2.8",
44
44
  "depcheck": "^1.4.7",
45
- "queue-cb": "^1.5.0",
45
+ "queue-cb": "^1.5.2",
46
46
  "resolve-bin-sync": "^0.1.14",
47
47
  "sort-package-json": "^3.2.1",
48
- "tsds-lib": "*"
48
+ "tsds-lib": "*",
49
+ "tsds-typedoc": "*"
49
50
  },
50
51
  "devDependencies": {
51
52
  "@types/mocha": "*",
52
- "@types/node": "*",
53
- "cross-env": "^7.0.3"
53
+ "@types/node": "*"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=0.8"