@russ-b/nestjs-common-tools 2.0.0 → 2.0.2

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/README.md CHANGED
@@ -28,7 +28,6 @@ This package uses subpath exports for most features.
28
28
  | `@russ-b/nestjs-common-tools/logger` | logger builder and logger-related interfaces/types |
29
29
  | `@russ-b/nestjs-common-tools/pagination` | pagination DTOs, response builders, and errors |
30
30
  | `@russ-b/nestjs-common-tools/common/util` | generic utility helpers |
31
- | `@russ-b/nestjs-common-tools/common/pagination` | legacy compatibility alias for `pagination` |
32
31
  | `@russ-b/nestjs-common-tools/common/filters` | shared filter exports |
33
32
 
34
33
  ## Pagination
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@russ-b/nestjs-common-tools",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "NestJS utility tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,6 +11,7 @@
11
11
  "scripts": {
12
12
  "build": "node -e \"const fs = require('fs'); fs.rmSync('dist', { recursive: true, force: true }); fs.rmSync('tsconfig.tsbuildinfo', { force: true });\" && tsc",
13
13
  "test": "jest",
14
+ "prepublishOnly": "npm test",
14
15
  "prepare": "npm run build",
15
16
  "lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
16
17
  "format": "prettier --write \"src/**/*.ts\""
@@ -43,10 +44,6 @@
43
44
  "types": "./dist/common/util/index.d.ts",
44
45
  "default": "./dist/common/util/index.js"
45
46
  },
46
- "./common/pagination": {
47
- "types": "./dist/common/pagination/index.d.ts",
48
- "default": "./dist/common/pagination/index.js"
49
- },
50
47
  "./common/filters": {
51
48
  "types": "./dist/common/filters/index.d.ts",
52
49
  "default": "./dist/common/filters/index.js"
@@ -87,9 +84,6 @@
87
84
  "common/util": [
88
85
  "dist/common/util/index.d.ts"
89
86
  ],
90
- "common/pagination": [
91
- "dist/common/pagination/index.d.ts"
92
- ],
93
87
  "common/filters": [
94
88
  "dist/common/filters/index.d.ts"
95
89
  ],
@@ -1 +0,0 @@
1
- export * from '../../pagination';
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("../../pagination"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/pagination/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,mDAAiC"}