BREAKING CHANGE(package): migrate package to the @git.zone scope and ESM-based tooling

This commit is contained in:
2026-03-24 18:58:12 +00:00
parent 7999e00965
commit b04961e6a2
18 changed files with 9778 additions and 242 deletions

View File

@@ -1,127 +0,0 @@
# gitzone ci_default
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
cache:
paths:
- .npmci_cache/
key: '$CI_BUILD_STAGE'
stages:
- security
- test
- release
- metadata
# ====================
# security stage
# ====================
mirror:
stage: security
script:
- npmci git mirror
tags:
- lossless
- docker
- notpriv
audit:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stage: security
script:
- npmci npm prepare
- npmci command npm install --ignore-scripts
- npmci command npm config set registry https://registry.npmjs.org
- npmci command npm audit --audit-level=high
tags:
- lossless
- docker
- notpriv
# ====================
# test stage
# ====================
testStable:
stage: test
script:
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- lossless
- docker
- priv
testBuild:
stage: test
script:
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci command npm run build
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- lossless
- docker
- notpriv
release:
stage: release
script:
- npmci node install stable
- npmci npm publish
only:
- tags
tags:
- lossless
- docker
- notpriv
# ====================
# metadata stage
# ====================
codequality:
stage: metadata
allow_failure: true
script:
- npmci command npm install -g tslint typescript
- npmci npm prepare
- npmci npm install
- npmci command "tslint -c tslint.json ./ts/**/*.ts"
tags:
- lossless
- docker
- priv
trigger:
stage: metadata
script:
- npmci trigger
only:
- tags
tags:
- lossless
- docker
- notpriv
pages:
stage: metadata
script:
- npmci node install lts
- npmci command npm install -g @gitzone/tsdoc
- npmci npm prepare
- npmci npm install
- npmci command tsdoc
tags:
- lossless
- docker
- notpriv
only:
- tags
artifacts:
expire_in: 1 week
paths:
- public
allow_failure: true

22
.smartconfig.json Normal file
View File

@@ -0,0 +1,22 @@
{
"@git.zone/cli": {
"projectType": "npm",
"module": {
"githost": "gitlab.com",
"gitscope": "gitzone",
"gitrepo": "tscoverage",
"shortDescription": "get coverage information for gitzone projects",
"npmPackagename": "@git.zone/tscoverage",
"license": "MIT",
"description": "get coverage information for gitzone projects"
},
"release": {
"registries": [
"https://verdaccio.lossless.digital",
"https://registry.npmjs.org"
],
"accessLevel": "public"
}
},
"@ship.zone/szci": {}
}

4
.vscode/launch.json vendored
View File

@@ -8,7 +8,7 @@
"args": [
"${relativeFile}"
],
"runtimeArgs": ["-r", "@gitzone/tsrun"],
"runtimeArgs": ["-r", "@git.zone/tsrun"],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"internalConsoleOptions": "openOnSessionStart"
@@ -20,7 +20,7 @@
"args": [
"test/test.ts"
],
"runtimeArgs": ["-r", "@gitzone/tsrun"],
"runtimeArgs": ["-r", "@git.zone/tsrun"],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"internalConsoleOptions": "openOnSessionStart"

View File

@@ -1,7 +1,7 @@
{
"json.schemas": [
{
"fileMatch": ["/npmextra.json"],
"fileMatch": ["/.smartconfig.json"],
"schema": {
"type": "object",
"properties": {

View File

@@ -1,4 +0,0 @@
# Contribution Guide
This module is developed on the fabulous GitLab.com:
https://gitlab.com/pushrocks/npmts

342
changelog.md Normal file
View File

@@ -0,0 +1,342 @@
# Changelog
## 2026-03-24 - 10.0.0 - BREAKING CHANGE(package)
migrate package to the @git.zone scope and ESM-based tooling
- rename the published package from @gitzone/tscoverage to @git.zone/tscoverage
- switch CLI entrypoints from CommonJS require() to ESM dynamic imports and set package type to module
- update build, test, and runtime tooling to the @git.zone toolchain and replace npmextra.json with .smartconfig.json
## 2020-06-03 - 9.0.1 - core
Applied a core fix update.
- Updated core behavior.
## 2020-06-03 - 9.0.2 - release
Version-only release with no additional relevant changes.
- Summarizes trivial release tagging after 9.0.1.
## 2020-06-03 - 9.0.0 - core
Applied a core fix update.
- Updated core behavior.
## 2020-06-03 - 1.0.1 - core
Applied a core fix update.
- Updated core behavior.
## 2020-06-03 - 1.0.2 - release
Version-only release with no additional relevant changes.
- Summarizes trivial release tagging after 1.0.1.
## 2018-05-03 - 8.0.35 - build
Improved project automation and dependency maintenance across recent 8.0.x releases.
- Updated dependencies in 8.0.36.
- Added a code quality CI step in 8.0.35.
- Updated build and CI configuration in 8.0.34.
- Updated CI configuration and security policy in 8.0.32-8.0.31.
- Split build and test commands to improve speed in 8.0.30.
## 2018-04-08 - 8.0.29 - maintenance
Applied packaging and security policy updates across 8.0.29-8.0.28.
- Fixed npmextra.json configuration in 8.0.29.
- Updated Snyk policy in 8.0.28.
## 2018-04-08 - 8.0.27 - packaging
Updated package naming and offline behavior across 8.0.27-8.0.26.
- Renamed the npmts package to the @gitzone scope in 8.0.27.
- Added offline runtime support in 8.0.26.
## 2017-11-28 - 8.0.25 - maintenance
Applied internal cleanup and dependency refreshes across 8.0.25-8.0.23.
- Refactored internals in 8.0.25.
- Updated dependencies in 8.0.24 and 8.0.23.
## 2017-10-05 - 8.0.22 - test
Adjusted test library inclusion and platform resilience across 8.0.22-8.0.20.
- Changed library inclusion for tests in 8.0.22.
- Updated dependencies and CI behavior in 8.0.21.
- Improved operation when npms.io is unavailable in 8.0.20.
## 2017-09-08 - 8.0.18 - infrastructure
Enhanced mirroring and tracking support across 8.0.18-8.0.17.
- Updated tracking domains in 8.0.18.
- Added a mirror stage in 8.0.17.
## 2017-08-16 - 8.0.7 - maintenance
Delivered a series of small maintenance improvements across 8.0.16-8.0.7.
- Updated documentation, CI, analytics, and dependencies.
- Improved update logging.
- Fixed smartupdate execution.
- Refreshed tooling and package integrations.
## 2017-07-30 - 8.0.3 - docs
Introduced documentation and usability updates across 8.0.3-8.0.0.
- Updated to the latest smartsystem in 8.0.3.
- Improved highlighting and removed the old changelog in 8.0.2.
- Updated docs and description in 8.0.1.
- Added docs in 8.0.0.
## 2017-07-28 - 7.2.10 - test
Improved test handling and coverage support across 7.2.10-7.2.4.
- Updated test file loading approach in 7.2.10.
- Fixed module test import recognition in 7.2.9.
- Added smart replacer in 7.2.8.
- Updated the --nocoverage option in 7.2.7.
- Added proper sourcemap tracing for coverage in 7.2.4.
## 2017-07-18 - 7.2.3 - dependencies
Dependency-only maintenance updates across 7.2.3-7.2.0.
- Updated and upgraded dependencies with no major functional changes.
## 2017-06-30 - 7.1.9 - test
Expanded test execution options and developer controls across 7.1.9-7.1.1.
- Added support for SHELL PATH distributions in tests in 7.1.9.
- Fixed the --nochecks option in 7.1.6.
- Added better test run configuration in 7.1.4.
- Added --nochecks and --nocoverage CLI options in 7.1.3.
- Added coverage and merge options in 7.1.2.
- Added smarterror in 7.1.1.
## 2017-05-13 - 7.1.0 - cleanup
Removed obsolete cleanup code.
- Simplified legacy cleanup behavior.
## 2017-05-04 - 7.0.18 - test
Improved test, coverage, and build workflows across 7.0.18-7.0.1.
- Added sourcemap support for tests in 7.0.18.
- Ensured coverage percentage is properly detected in 7.0.16.
- Fixed smartgulp and related pathing issues in 7.0.15-7.0.14.
- Replaced gulp in 7.0.13.
- Updated runtime standards and environment variable handling in 7.0.8-7.0.7.
- Fixed coverage calculation in 7.0.2.
- Added support for picking up all .ts files in .test/ in 7.0.1.
## 2017-03-26 - 7.0.0 - test
Corrected test execution behavior.
- Tests now execute correctly.
- Improved README documentation.
## 2017-03-04 - 6.1.15 - test
Modernized the test stack and project integrations across 6.1.15-6.1.0.
- Switched to tap in 6.1.15.
- Added smartanalytics in 6.1.15.
- Fixed README and project metadata in 6.1.13-6.1.12.
- Shifted branding and updated dependencies in 6.1.9-6.1.5.
- Fixed testing for rxjs in 6.1.4.
- Replaced q with smartq and added ES2015 iterable support in 6.1.2.
- Fixed lib inclusion for tests in 6.1.1.
- Improved ES5 transpilation behavior in 6.1.0.
## 2017-01-15 - 6.0.0 - migration
Migrated the project away from Babel to TypeScript.
- Removed Babel-based compilation.
- Adopted TypeScript as the main toolchain.
## 2016-12-18 - 5.5.12 - maintenance
Improved tooling, logging, and modularization across 5.5.12-5.5.0.
- Removed TypeDoc in 5.5.12.
- Added a new npmpage in 5.5.10.
- Reduced unnecessary logging and fixed transpilation edge cases in 5.5.9-5.5.8.
- Improved feedback messages and error catching in 5.5.6-5.5.5.
- Fixed minor issues and version display in 5.5.1-5.5.0.
## 2016-10-21 - 5.4.49 - architecture
Restructured the CLI and module architecture across 5.4.49-5.4.35.
- Modularized the project and moved the CLI into its own file in 5.4.49.
- Improved CLI path discovery and CLI fixes in 5.4.47-5.4.46.
- Added smartstream and updated npmextra integration in 5.4.37-5.4.36.
- Added a --watch option in 5.4.35.
## 2016-09-15 - 5.4.34 - compatibility
Improved TypeScript, documentation, and platform compatibility across 5.4.34-5.4.13.
- Upgraded tsn and cleaned up promise handling for TypeScript compilation.
- Added decorator and reflect metadata support via dependency updates.
- Fixed checks, typedoc integration, and type issues.
- Removed Travis/AppVeyor and added GitLab Pages support.
- Improved npmpage compatibility and project cleaning.
- Updated branding and project page generation.
## 2016-08-13 - 5.4.5 - cli
Expanded CLI and dependency analysis features across 5.4.5-5.3.27.
- Added --nodocs option in 5.4.5.
- Improved local Babel plugin resolution in 5.4.4.
- Added missing devDependency detection in 5.4.3.
- Added typings field checks and dependency checks in 5.4.0-5.3.28.
- Fixed compiler option parsing in 5.3.27.
## 2016-07-19 - 5.3.26 - coverage
Improved coverage, test, and documentation tooling across 5.3.26-5.3.11.
- Improved coverage reporting and output behavior.
- Fixed asset handling, dependency issues, tests, and Istanbul integration.
- Switched to npmextra and improved performance by skipping HTML coverage reports.
- Introduced TypeDoc and completed the move to ES6.
- Restructured internal project layout.
## 2016-07-11 - 5.3.8 - docs
Expanded documentation tooling and source map handling across 5.3.8-5.3.7.
- Switched to EsDoc in 5.3.8.
- Updated sourcemap handling in 5.3.7.
## 2016-07-01 - 5.3.6 - maintenance
Prepared the tool for broader usage across 5.3.6-5.2.0.
- Removed debug code and fixed npm variant issues.
- Integrated tsn and readied the project for wider adoption.
- Added --notest support and fixed it.
- Improved console output and CI setup.
- Added legacy test support and separate test compilation.
## 2016-05-31 - 5.1.19 - ci
Significant CI, packaging, and project maintenance updates across 5.1.19-5.1.15.
- Expanded and fixed GitLab CI configuration.
- Added pages support and improved GitLab compatibility.
- Added changelog and contribution guide.
- Fixed package.json and added .npmignore.
- Updated repository URLs and publishing behavior.
## 2016-05-25 - 5.1.14 - dependencies
Improved module integrations and CLI test behavior across 5.1.14-5.1.5.
- Updated smartstring and typings-global integration.
- Added and updated the early module.
- Improved CLI pipe clearing for tests.
- Improved log output and console support.
- Fixed promise chain behavior.
- Added AppVeyor and updated related CI files.
- Switched to beautylog.ora.
## 2016-04-30 - 5.1.4 - typescript
Improved TypeScript defaults and declaration handling across 5.1.4-5.0.2.
- Brought dependencies up to date in 5.1.4.
- Fixed declaration file issues in 5.1.3.
- Made TypeScript modules fully typed by default in 5.1.0.
- Added tsconfig-based tsOptions and declaration file handling in 5.0.4.
- Improved compatibility for projects outside npmts conventions in 5.0.3.
- Restored working behavior in 5.0.2.
## 2016-04-04 - 5.0.1 - dependencies
Dependency-only maintenance across 5.0.1-4.0.2.
- Updated dependencies and internal descriptions with no major feature changes.
## 2016-04-02 - 4.0.1 - coverage
Improved coverage publishing and reporting across 4.0.1-3.6.8.
- Added a codecov badge and updated log messaging in 4.0.1.
- Enabled coverage publishing on every Travis run in 4.0.0.
- Switched from Coveralls to Codecov in 3.6.10.
- Improved coverage failure handling in 3.6.8.
## 2016-03-26 - 3.6.6 - logging
Refined logging, execution flow, and publishing behavior across 3.6.6-3.6.0.
- Added better test log identifiers in 3.6.6.
- Fixed a small promise error in 3.6.5.
- Improved execution order in 3.6.3.
- Fixed doPublish in 3.6.2.
- Made options handling easier in 3.6.1.
- Fixed a small error in 3.6.0.
## 2016-03-23 - 3.5.0 - release
Improved release detection, cleanup, and CLI handling across 3.5.0-3.3.0.
- Correctly determined release builds in 3.5.0.
- Added cleanup and visual polish in 3.5.0.
- Improved CLI option handling and added ship support in 3.4.1.
- Updated developer dependencies and cosmetics in 3.4.0.
- Switched to gulp-typings in 3.3.2.
- Added optional docs publishing in 3.3.1.
- Fixed CLI calls in 3.3.0.
## 2016-02-23 - 3.2.2 - build
Improved build setup, configuration handling, and test preparation across 3.2.2-3.0.0.
- Installed typings before compilation and hid git console output in 3.2.2.
- Fixed config travel, repo path, and environment variable handling in 3.2.1.
- Updated module system usage and added new test files in 3.1.2-3.1.0.
- Improved TypeScript compilation and sourcemap handling in 3.0.3-3.0.2.
- Disabled declaration files temporarily in 3.0.1.
- Fixed coverage issues in 3.0.0.
## 2016-02-17 - 2.4.1 - defaults
Improved defaults, module settings, and source map support across 2.4.1-2.2.0.
- Updated default behavior and tests in 2.4.1.
- Switched to CommonJS as the default module format in 2.4.0.
- Added sourcemap support in 2.3.2.
- Fixed compile script behavior in 2.3.1.
- Updated build target from ES3 to ES5 in 2.2.4.
- Added badges and greeting improvements in 2.2.3-2.2.2.
- Re-added test.ts to the default build process in 2.2.1.
- Fixed initial coveralls value in 2.2.0.
## 2016-02-09 - 2.1.10 - coverage
Expanded coverage and configuration support across 2.1.10-2.0.0.
- Fixed coverage path handling and added a coverage badge in 2.1.10.
- Fixed config travel and task name scoping in 2.1.9-2.1.8.
- Refined paths and coverage failure thresholds in 2.1.7-2.1.6.
- Added coveralls configuration and code coverage in 2.1.5.
- Improved recursive typings handling and path behavior in 2.1.1-2.1.0.
- Added config file support in 2.0.3.
- Fixed timing errors caused by missing stream returns in 2.0.1.
- Ensured mocha tests run properly in 2.0.0.
## 2016-01-31 - 1.0.12 - test
Major update to testing and project structure.
- Added mocha integration.
- Restructured the project.
- Included broader test workflow improvements.
## 2016-01-25 - 1.0.10 - ci
Improved CI detection and plugin handling across 1.0.10-1.0.7.
- Fixed CI detection in 1.0.10.
- Updated plugins in 1.0.11.
- Added tsd handling in 1.0.7.
## 2016-01-18 - 1.0.5 - docs
Early documentation and project setup updates across 1.0.9-1.0.0.
- Improved logging and general project information.
- Added Travis support.
- Added declaration file generation in 1.0.3.
- Restructured code and created development documentation in 1.0.1.
- Improved .gitignore in 1.0.0.
## 2016-01-14 - 0.0.7 - bootstrap
Initial project bootstrapping and early setup across 0.0.7-0.0.0.
- Added .gitignore and package.json.
- Added initial bin handling.
- Reached a working first implementation.
- Included assorted cleanup and update commits.

7
cli.js
View File

@@ -1,4 +1,7 @@
#!/usr/bin/env node
process.env.CLI_CALL = 'true';
const cliTool = require('./dist_ts/index');
cliTool.runCli();
import('./dist_ts/index.js').then((cliTool) => {
if (cliTool.runCli) {
cliTool.runCli();
}
});

View File

@@ -1,5 +1,8 @@
#!/usr/bin/env node
process.env.CLI_CALL = 'true';
require('@gitzone/tsrun');
const cliTool = require('./ts/index');
cliTool.runCli();
import('@git.zone/tsrun');
import('./ts/index.js').then((cliTool) => {
if (cliTool.runCli) {
cliTool.runCli();
}
});

View File

@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2016 Lossless GmbH
Copyright (c) 2016 Task Venture Capital GmbH
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@@ -1,16 +0,0 @@
{
"npmci": {
"npmAccessLevel": "public"
},
"gitzone": {
"projectType": "npm",
"module": {
"githost": "gitlab.com",
"gitscope": "gitzone",
"gitrepo": "tscoverage",
"shortDescription": "get coverage information for gitzone projects",
"npmPackagename": "@gitzone/tscoverage",
"license": "MIT"
}
}
}

28
package-lock.json generated
View File

@@ -1,5 +1,5 @@
{
"name": "@gitzone/tscoverage",
"name": "@git.zone/tscoverage",
"version": "9.0.2",
"lockfileVersion": 1,
"requires": true,
@@ -1063,9 +1063,9 @@
"to-fast-properties": "^2.0.0"
}
},
"@gitzone/tsbuild": {
"@git.zone/tsbuild": {
"version": "2.1.24",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbuild/-/tsbuild-2.1.24.tgz",
"resolved": "https://verdaccio.lossless.one/@git.zone%2ftsbuild/-/tsbuild-2.1.24.tgz",
"integrity": "sha512-VBLZtedG8G3AFnQdYvUoyVEIUuZkwsQRcpSADbDe9Sq9cRrtBoD2M8aaY4Kn8TBGUl1Kqbpge2xSnutkQ5xpHQ==",
"dev": true,
"requires": {
@@ -1078,9 +1078,9 @@
"typescript": "^3.5.2"
}
},
"@gitzone/tsbundle": {
"@git.zone/tsbundle": {
"version": "1.0.69",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbundle/-/tsbundle-1.0.69.tgz",
"resolved": "https://verdaccio.lossless.one/@git.zone%2ftsbundle/-/tsbundle-1.0.69.tgz",
"integrity": "sha512-ncug4QrZKD0Xyjt5linq+9mUex8MV26oycbECXANTYNp7DPx6F1QJxMJWNDAO2+b+kvuv+1D+qufB1AuOyBClg==",
"dev": true,
"requires": {
@@ -1118,9 +1118,9 @@
}
}
},
"@gitzone/tsrun": {
"@git.zone/tsrun": {
"version": "1.2.12",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.12.tgz",
"resolved": "https://verdaccio.lossless.one/@git.zone%2ftsrun/-/tsrun-1.2.12.tgz",
"integrity": "sha512-xR+Ry3dj1L4fR72cYgEAmlE9colXXSPNg0i2jRJFudGO7ZqeGn+mPDOXmg/g7RbEd1wa9uJepgsOy4IlC9JB+g==",
"dev": true,
"requires": {
@@ -1129,14 +1129,14 @@
"typescript": "^3.9.3"
}
},
"@gitzone/tstest": {
"@git.zone/tstest": {
"version": "1.0.33",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftstest/-/tstest-1.0.33.tgz",
"resolved": "https://verdaccio.lossless.one/@git.zone%2ftstest/-/tstest-1.0.33.tgz",
"integrity": "sha512-89TMWrLT20HBWX2gRSwj7/wrGiemhwCcVfdQZy/d2wm2ERS/j0U63OkDtzwYhB583xnfFUCHmon4QFzzgqFZpw==",
"dev": true,
"requires": {
"@gitzone/tsbundle": "^1.0.69",
"@gitzone/tsrun": "^1.2.12",
"@git.zone/tsbundle": "^1.0.69",
"@git.zone/tsrun": "^1.2.12",
"@pushrocks/consolecolor": "^2.0.1",
"@pushrocks/smartbrowser": "^1.0.17",
"@pushrocks/smartfile": "^7.0.6",
@@ -1147,13 +1147,13 @@
"figures": "^3.0.0"
}
},
"@gitzone/tswatch": {
"@git.zone/tswatch": {
"version": "1.0.46",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftswatch/-/tswatch-1.0.46.tgz",
"resolved": "https://verdaccio.lossless.one/@git.zone%2ftswatch/-/tswatch-1.0.46.tgz",
"integrity": "sha512-6idhXyAunGETAtO1FurTi6/A84VAXxlk+BitJKgHKR9zGojJZeT6/8K8ZRkk9mGGDtVV2/6bm1ndpsTvdD03wg==",
"dev": true,
"requires": {
"@gitzone/tsrun": "^1.2.8",
"@git.zone/tsrun": "^1.2.8",
"@pushrocks/early": "^3.0.3",
"@pushrocks/lik": "^4.0.0",
"@pushrocks/smartchok": "^1.0.23",

View File

@@ -1,7 +1,8 @@
{
"name": "@gitzone/tscoverage",
"name": "@git.zone/tscoverage",
"version": "9.0.2",
"description": "get coverage information for gitzone projects",
"type": "module",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"bin": {
@@ -9,7 +10,7 @@
},
"scripts": {
"test": "(tstest test/)",
"build": "(tsbuild --web)"
"build": "(tsbuild)"
},
"repository": {
"type": "git",
@@ -25,16 +26,13 @@
"url": "https://gitlab.com/gitzone/npmts/issues"
},
"homepage": "https://gitlab.com/gitzone/npmts#readme",
"dependencies": {},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.24",
"@gitzone/tsbundle": "^1.0.69",
"@gitzone/tstest": "^1.0.33",
"@gitzone/tswatch": "^1.0.46",
"@pushrocks/tapbundle": "^3.2.1",
"@types/node": "^10.0.3",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0"
"@git.zone/tsbuild": "^4.3.0",
"@git.zone/tsbundle": "^2.9.3",
"@git.zone/tsrun": "^2.0.1",
"@git.zone/tstest": "^3.5.1",
"@git.zone/tswatch": "^3.3.1",
"@types/node": "^25.5.0"
},
"private": true,
"files": [
@@ -46,7 +44,7 @@
"dist_ts_web/**/*",
"assets/**/*",
"cli.js",
"npmextra.json",
".smartconfig.json",
"readme.md"
]
}

9288
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,39 +1,77 @@
# @gitzone/tscoverage
get coverage information for gitzone projects
# @git.zone/tscoverage
## Availabililty and Links
* [npmjs.org (npm package)](https://www.npmjs.com/package/@gitzone/tscoverage)
* [gitlab.com (source)](https://gitlab.com/gitzone/tscoverage)
* [github.com (source mirror)](https://github.com/gitzone/tscoverage)
* [docs (typedoc)](https://gitzone.gitlab.io/tscoverage/)
A CLI tool for collecting and reporting test coverage information for TypeScript projects in the gitzone ecosystem.
## Status for master
## Issue Reporting and Security
Status Category | Status Badge
-- | --
GitLab Pipelines | [![pipeline status](https://gitlab.com/gitzone/tscoverage/badges/master/pipeline.svg)](https://lossless.cloud)
GitLab Pipline Test Coverage | [![coverage report](https://gitlab.com/gitzone/tscoverage/badges/master/coverage.svg)](https://lossless.cloud)
npm | [![npm downloads per month](https://badgen.net/npm/dy/@gitzone/tscoverage)](https://lossless.cloud)
Snyk | [![Known Vulnerabilities](https://badgen.net/snyk/gitzone/tscoverage)](https://lossless.cloud)
TypeScript Support | [![TypeScript](https://badgen.net/badge/TypeScript/>=%203.x/blue?icon=typescript)](https://lossless.cloud)
node Support | [![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
Code Style | [![Code Style](https://badgen.net/badge/style/prettier/purple)](https://lossless.cloud)
PackagePhobia (total standalone install weight) | [![PackagePhobia](https://badgen.net/packagephobia/install/@gitzone/tscoverage)](https://lossless.cloud)
PackagePhobia (package size on registry) | [![PackagePhobia](https://badgen.net/packagephobia/publish/@gitzone/tscoverage)](https://lossless.cloud)
BundlePhobia (total size when bundled) | [![BundlePhobia](https://badgen.net/bundlephobia/minzip/@gitzone/tscoverage)](https://lossless.cloud)
Platform support | [![Supports Windows 10](https://badgen.net/badge/supports%20Windows%2010/yes/green?icon=windows)](https://lossless.cloud) [![Supports Mac OS X](https://badgen.net/badge/supports%20Mac%20OS%20X/yes/green?icon=apple)](https://lossless.cloud)
For reporting bugs, issues, or security vulnerabilities, please visit [community.foss.global/](https://community.foss.global/). This is the central community hub for all issue reporting. Developers who sign and comply with our contribution agreement and go through identification can also get a [code.foss.global/](https://code.foss.global/) account to submit Pull Requests directly.
## Usage
## 📦 Install
tscoverage will run tests while computing coverage for your gitzone project.
Install globally for CLI usage:
## Contribution
```bash
pnpm install -g @git.zone/tscoverage
```
We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can [contribute one time](https://lossless.link/contribute-onetime) or [contribute monthly](https://lossless.link/contribute). :)
Or as a dev dependency in your project:
For further information read the linked docs at the top of this readme.
```bash
pnpm install --save-dev @git.zone/tscoverage
```
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
## 🚀 Usage
[![repo-footer](https://lossless.gitlab.io/publicrelations/repofooter.svg)](https://maintainedby.lossless.com)
### CLI
Run `tscoverage` in your gitzone TypeScript project directory to execute tests and generate a coverage report:
```bash
tscoverage
```
This will run your project's test suite and produce a coverage report, giving you visibility into which parts of your codebase are exercised by tests.
### Programmatic
You can also import `tscoverage` in your own scripts:
```typescript
import * as tscoverage from '@git.zone/tscoverage';
```
## 🛠️ Development
This project uses the standard `@git.zone` toolchain:
```bash
# Install dependencies
pnpm install
# Build the project
pnpm run build
# Run tests
pnpm test
```
## License and Legal Information
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [license.md](./license.md) file.
**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.
### Trademarks
This project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH or third parties, and are not included within the scope of the MIT license granted herein.
Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines or the guidelines of the respective third-party owners, and any usage must be approved in writing. Third-party trademarks used herein are the property of their respective owners and used only in a descriptive manner, e.g. for an implementation of an API or similar.
### Company Information
Task Venture Capital GmbH
Registered at District Court Bremen HRB 35230 HB, Germany
For any legal inquiries or further information, please contact us via email at hello@task.vc.
By using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.

View File

@@ -1,7 +1,7 @@
import { tap, expect } from '@pushrocks/tapbundle';
import { tap, expect } from '@git.zone/tstest/tapbundle';
tap.test('should run a test', async () => {
console.log('hi there');
});
tap.start();
export default tap.start();

8
ts/00_commitinfo_data.ts Normal file
View File

@@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @push.rocks/commitinfo
*/
export const commitinfo = {
name: '@git.zone/tscoverage',
version: '10.0.0',
description: 'get coverage information for gitzone projects'
}

View File

@@ -1,13 +1,11 @@
{
"compilerOptions": {
"declaration": true,
"module": "commonjs",
"target": "ES6",
"outDir": "./dist/"
},
"exclude": [
"./node_modules",
"./test",
"./dist"
]
}
"compilerOptions": {
"esModuleInterop": true,
"baseUrl": "."
},
"exclude": [
"node_modules",
"test",
"dist_ts"
]
}

View File

@@ -1,17 +0,0 @@
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"semicolon": [true, "always"],
"no-console": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"member-ordering": {
"options":{
"order": [
"static-method"
]
}
}
},
"defaultSeverity": "warning"
}