From 89c6c8103b3ed4b6ec8c1dc76f1e7382adb02611 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet <pietervdvn@posteo.net> Date: Sat, 8 Feb 2025 21:51:17 +0100 Subject: [PATCH] Update links in package, add more explanation --- README.md | 3 +++ package.json | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a3aba0a..7fd3074 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,9 @@ export default class SomeClass { } ``` +Running `doctest-ts-improved <directory>` will create a copy of all `.ts`-files, containing the runner code. The new files will be named `<original-filename>.doctest.ts`. +To ignore a (group of) files, add `--ignore filename.ts` or `--ignore <directory>/*.ts`. Multiple `--ignore`-flags can be given. + # License MIT diff --git a/package.json b/package.json index 37a28ef..35cd833 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "http://json.schemastore.org/package", "name": "doctest-ts-improved", - "version": "0.8.6", + "version": "0.9.0", "description": "doctest support for typescript with Mocha", "main": "src/main.ts", "bin": { @@ -16,19 +16,19 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/pietervdvn/doctest-ts.git" + "url": "forgejo@source.mapcomplete.org:MapComplete/doctest-ts.git" }, "keywords": [ "doctest", "typescript", "testing" ], - "author": "Dan Rosén", + "author": "Dan Rosén, Pieter Vander Vennet", "license": "MIT", "bugs": { - "url": "https://github.com/pietervdvn/doctest-ts/issues" + "url": "https://source.mapcomplete.org/MapComplete/doctest-ts/issues" }, - "homepage": "https://github.com/pietervdvn/doctest-ts#readme", + "homepage": "https://source.mapcomplete.org/MapComplete/doctest-ts", "dependencies": { "@types/chai": "^4.3.0", "chai": "^4.3.6",