@ktarmyshov/npm-typescript-template 0.0.3 → 0.0.5

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.
Files changed (2) hide show
  1. package/README.md +7 -0
  2. package/package.json +5 -6
package/README.md CHANGED
@@ -1,9 +1,11 @@
1
+ [![NPM Version](https://img.shields.io/npm/v/%40ktarmyshov%2Fnpm-typescript-template)](https://www.npmjs.com/package/@ktarmyshov/npm-typescript-template)
1
2
  [![CI](https://github.com/kt-npm-modules/npm-typescript-template/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/kt-npm-modules/npm-typescript-template/actions/workflows/ci.yml)
2
3
  [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=kt-npm-modules_npm-typescript-template&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=kt-npm-modules_npm-typescript-template)
3
4
  [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=kt-npm-modules_npm-typescript-template&metric=bugs)](https://sonarcloud.io/summary/new_code?id=kt-npm-modules_npm-typescript-template)
4
5
  [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=kt-npm-modules_npm-typescript-template&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=kt-npm-modules_npm-typescript-template)
5
6
  [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=kt-npm-modules_npm-typescript-template&metric=coverage)](https://sonarcloud.io/summary/new_code?id=kt-npm-modules_npm-typescript-template)
6
7
  [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=kt-npm-modules_npm-typescript-template&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=kt-npm-modules_npm-typescript-template)
8
+ [![Socket Badge](https://socket.dev/api/badge/npm/package/@ktarmyshov/npm-typescript-template)](https://socket.dev/npm/package/@ktarmyshov/npm-typescript-template/overview)
7
9
 
8
10
  # npm-typescript-template
9
11
 
@@ -13,3 +15,8 @@ Template repo for an NPM module in typescript
13
15
  - Dependabot updates & auto-generation of changesets
14
16
  - Format on save with eslint in vscode
15
17
  - Monthly auto-release, if only dependabot changes are included
18
+ - Example for checking changes in subpackage folder since last successfull run in the context of `push` or `pull_request` events
19
+
20
+ # Check if subpackage test will run
21
+
22
+ Changes if this changes -
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ktarmyshov/npm-typescript-template",
3
3
  "description": "Template repository for npm packages written in TypeScript",
4
- "version": "0.0.3",
4
+ "version": "0.0.5",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Konstantin Tarmyshov",
@@ -29,6 +29,9 @@
29
29
  "type": "git",
30
30
  "url": "git+https://github.com/kt-npm-modules/npm-typescript-template.git"
31
31
  },
32
+ "bugs": {
33
+ "url": "https://github.com/kt-npm-modules/npm-typescript-template/issues"
34
+ },
32
35
  "type": "module",
33
36
  "types": "./dist/index.d.ts",
34
37
  "exports": {
@@ -41,7 +44,6 @@
41
44
  "scripts": {
42
45
  "build": "rimraf ./dist && tsc --project tsconfig.json && npm run prepack",
43
46
  "build:release": "rimraf ./dist && tsc --project tsconfig-release.json && npm run prepack",
44
- "prepare": "bash ./scripts/npm-link.sh",
45
47
  "prepack": "publint",
46
48
  "format": "prettier --write .",
47
49
  "lint": "prettier --check . && eslint .",
@@ -60,13 +62,10 @@
60
62
  "!examples",
61
63
  "!benchmarks"
62
64
  ],
63
- "bugs": {
64
- "url": "https://github.com/kt-npm-modules/npm-typescript-template/issues"
65
- },
66
65
  "devDependencies": {
67
66
  "@changesets/cli": "^2.28.1",
68
67
  "@eslint/compat": "^1.2.7",
69
- "@types/node": "^22.15.2",
68
+ "@types/node": "^22.15.1",
70
69
  "@vitest/coverage-istanbul": "^3.1.1",
71
70
  "eslint": "^9.22.0",
72
71
  "eslint-config-prettier": "^10.1.2",