@wisemen/address 0.2.8 → 0.2.9

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/.eslintcache ADDED
@@ -0,0 +1 @@
1
+ [{"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/eslint.config.js":"1","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address-column.ts":"2","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address-command.builder.ts":"3","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address-command.ts":"4","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address-response.ts":"5","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address.builder.ts":"6","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address.ts":"7","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/index.ts":"8","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/is-address.validator.ts":"9","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/tests/address-column.integration.test.ts":"10","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/tests/is-address.validator.unit.test.ts":"11","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/tests/sql/address-test.entity.ts":"12","/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/tests/sql/datasource.ts":"13","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/eslint.config.js":"14","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address-column.ts":"15","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address-command.builder.ts":"16","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address-command.ts":"17","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address-response.ts":"18","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address.builder.ts":"19","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address.ts":"20","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/index.ts":"21","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/is-address.validator.ts":"22","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/tests/address-column.integration.test.ts":"23","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/tests/is-address.validator.unit.test.ts":"24","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/tests/sql/address-test.entity.ts":"25","/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/tests/sql/datasource.ts":"26"},{"size":357,"mtime":1768820135069,"results":"27","hashOfConfig":"28"},{"size":887,"mtime":1768819954982,"results":"29","hashOfConfig":"30"},{"size":1035,"mtime":1768819954982,"results":"31","hashOfConfig":"30"},{"size":2013,"mtime":1768819804323,"results":"32","hashOfConfig":"30"},{"size":1420,"mtime":1768819804324,"results":"33","hashOfConfig":"30"},{"size":1352,"mtime":1768819954982,"results":"34","hashOfConfig":"30"},{"size":327,"mtime":1768819804324,"results":"35","hashOfConfig":"30"},{"size":411,"mtime":1768819804324,"results":"36","hashOfConfig":"30"},{"size":2949,"mtime":1768819954982,"results":"37","hashOfConfig":"30"},{"size":5341,"mtime":1768820137303,"results":"38","hashOfConfig":"39"},{"size":4618,"mtime":1768820202242,"results":"40","hashOfConfig":"39"},{"size":283,"mtime":1768820158704,"results":"41","hashOfConfig":"30"},{"size":370,"mtime":1768819804327,"results":"42","hashOfConfig":"30"},{"size":357,"mtime":1772437668794,"results":"43","hashOfConfig":"44"},{"size":887,"mtime":1772437668794,"results":"45","hashOfConfig":"46"},{"size":1599,"mtime":1772437668794,"results":"47","hashOfConfig":"46"},{"size":2013,"mtime":1772437668795,"results":"48","hashOfConfig":"46"},{"size":1420,"mtime":1772437668795,"results":"49","hashOfConfig":"46"},{"size":1606,"mtime":1772437668795,"results":"50","hashOfConfig":"46"},{"size":327,"mtime":1772437668796,"results":"51","hashOfConfig":"46"},{"size":411,"mtime":1772437668796,"results":"52","hashOfConfig":"46"},{"size":3345,"mtime":1772437668796,"results":"53","hashOfConfig":"46"},{"size":5341,"mtime":1772437668797,"results":"54","hashOfConfig":"55"},{"size":7651,"mtime":1772437668797,"results":"56","hashOfConfig":"55"},{"size":283,"mtime":1772437668797,"results":"57","hashOfConfig":"46"},{"size":298,"mtime":1772437668798,"results":"58","hashOfConfig":"46"},{"filePath":"59","messages":"60","suppressedMessages":"61","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"lwlkib",{"filePath":"62","messages":"63","suppressedMessages":"64","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1o8juwo",{"filePath":"65","messages":"66","suppressedMessages":"67","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"68","messages":"69","suppressedMessages":"70","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"71","messages":"72","suppressedMessages":"73","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"74","messages":"75","suppressedMessages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"77","messages":"78","suppressedMessages":"79","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"80","messages":"81","suppressedMessages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"83","messages":"84","suppressedMessages":"85","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","suppressedMessages":"88","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"x22v1o",{"filePath":"89","messages":"90","suppressedMessages":"91","errorCount":2,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"92","messages":"93","suppressedMessages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"95","messages":"96","suppressedMessages":"97","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"98","messages":"99","suppressedMessages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1iw8jzu",{"filePath":"101","messages":"102","suppressedMessages":"103","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1e3n1c0",{"filePath":"104","messages":"105","suppressedMessages":"106","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","suppressedMessages":"109","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"110","messages":"111","suppressedMessages":"112","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"113","messages":"114","suppressedMessages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","suppressedMessages":"118","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"119","messages":"120","suppressedMessages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","suppressedMessages":"124","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"125","messages":"126","suppressedMessages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"6lhz07",{"filePath":"128","messages":"129","suppressedMessages":"130","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","suppressedMessages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","suppressedMessages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/eslint.config.js",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address-column.ts",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address-command.builder.ts",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address-command.ts",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address-response.ts",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address.builder.ts",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/address.ts",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/index.ts",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/is-address.validator.ts",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/tests/address-column.integration.test.ts",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/tests/is-address.validator.unit.test.ts",["137","138"],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/tests/sql/address-test.entity.ts",[],[],"/Users/kobe/Documents/Projects/project-template/node-core/packages/address/lib/tests/sql/datasource.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/eslint.config.js",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address-column.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address-command.builder.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address-command.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address-response.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address.builder.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/address.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/index.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/is-address.validator.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/tests/address-column.integration.test.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/tests/is-address.validator.unit.test.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/tests/sql/address-test.entity.ts",[],[],"/Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address/lib/tests/sql/datasource.ts",[],[],{"ruleId":"139","severity":2,"message":"140","line":137,"column":5,"nodeType":"141","messageId":"142","endLine":137,"endColumn":57},{"ruleId":"143","severity":2,"message":"144","line":137,"column":54,"nodeType":"145","messageId":"146","endLine":137,"endColumn":57,"suggestions":"147"},"@typescript-eslint/no-unsafe-assignment","Unsafe assignment of an `any` value.","AssignmentExpression","anyAssignment","@typescript-eslint/no-explicit-any","Unexpected any. Specify a different type.","TSAnyKeyword","unexpectedAny",["148","149"],{"messageId":"150","fix":"151","desc":"152"},{"messageId":"153","fix":"154","desc":"155"},"suggestUnknown",{"range":"156","text":"157"},"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct.","suggestNever",{"range":"158","text":"159"},"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of.",[4392,4395],"unknown",[4392,4395],"never"]
@@ -0,0 +1,9 @@
1
+
2
+ 
3
+ > @wisemen/address@0.2.9 prebuild /Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address
4
+ > rm -rf ./dist
5
+
6
+
7
+ > @wisemen/address@0.2.9 build /Users/kobe/Documents/Projects/project-template/wisemen-core/packages/address
8
+ > tsc
9
+
@@ -0,0 +1,5 @@
1
+
2
+ 
3
+ > @wisemen/address@0.2.8 lint /Users/kobe/Documents/Projects/project-template/wisemen-core.worktrees/feature-workspace-dependencies/packages/address
4
+ > eslint --cache
5
+
package/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # @wisemen/address
2
+
3
+ ## 0.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9d5cfe0]
8
+ - @wisemen/coordinates@0.0.20
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Wisemen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1 +1 @@
1
- {"version":3,"file":"address-test.entity.js","sourceRoot":"","sources":["../../../lib/tests/sql/address-test.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAIhD,IAAM,WAAW,GAAjB,MAAM,WAAW;IAEtB,EAAE,CAAQ;IAGV,OAAO,CAAgB;CACxB,CAAA;AAJC;IADC,aAAa,EAAE;;uCACN;AAGV;IADC,aAAa,CAAC,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;;4CACT;AALZ,WAAW;IADvB,MAAM,EAAE;GACI,WAAW,CAMvB"}
1
+ {"version":3,"file":"address-test.entity.js","sourceRoot":"","sources":["../../../lib/tests/sql/address-test.entity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAIhD,IAAM,WAAW,GAAjB,MAAM,WAAW;IAEtB,EAAE,CAAQ;IAGV,OAAO,CAAgB;CACxB,CAAA;AAJC;IADC,aAAa,EAAE;;uCACN;AAGV;IADC,aAAa,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACX;AALZ,WAAW;IADvB,MAAM,EAAE;GACI,WAAW,CAMvB"}
@@ -7,6 +7,6 @@ export class AddressTest {
7
7
  @PrimaryColumn()
8
8
  id: number
9
9
 
10
- @AddressColumn({nullable: true})
10
+ @AddressColumn({ nullable: true })
11
11
  address: Address | null
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "@wisemen/address",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
4
7
  "type": "module",
5
8
  "exports": {
6
9
  ".": "./dist/index.js"
@@ -8,37 +11,38 @@
8
11
  "imports": {
9
12
  "#*": "./lib/*"
10
13
  },
11
- "scripts": {
12
- "prebuild": "rm -rf ./dist",
13
- "clean": "rm -rf ./dist",
14
- "build": "tsc",
15
- "pretest": "npm run clean && npm run build",
16
- "test": "node --env-file=.env.test --test ./**/*.test.js",
17
- "lint": "eslint --cache",
18
- "prerelease": "npm run build",
19
- "release": "pnpx release-it"
20
- },
21
14
  "peerDependencies": {
22
- "@nestjs/common": "^11.1.13",
23
- "@nestjs/swagger": "^11.2.6",
24
- "@wisemen/coordinates": "0.0.18",
25
- "@wisemen/validators": "^0.0.21",
26
- "class-transformer": "^0.5.1",
27
- "class-validator": "^0.14.3",
28
- "typeorm": "^0.3.28"
15
+ "@nestjs/common": "11.1.14",
16
+ "@nestjs/swagger": "11.2.6",
17
+ "class-transformer": "0.5.1",
18
+ "class-validator": "0.14.3",
19
+ "typeorm": "0.3.28",
20
+ "@wisemen/coordinates": "0.0.20",
21
+ "@wisemen/validators": "0.0.21"
29
22
  },
30
23
  "devDependencies": {
31
- "@wisemen/eslint-config-nestjs": "^0.2.8",
32
24
  "eslint": "9.39.2",
33
- "eslint-plugin-import-typescript": "^0.0.4",
34
- "eslint-plugin-unicorn": "62.0.0",
35
25
  "expect": "30.2.0",
36
- "typescript": "^5.9.3"
26
+ "typescript": ">=4.8.4 <=5.9.3",
27
+ "pg": "8.18.0",
28
+ "@wisemen/coordinates": "0.0.20",
29
+ "@wisemen/validators": "0.0.21",
30
+ "@wisemen/eslint-config-nestjs": "0.2.10"
37
31
  },
38
32
  "author": "Kobe Kwanten",
39
33
  "license": "GPL",
40
34
  "repository": {
41
35
  "type": "git",
42
36
  "url": "git@github.com:wisemen-digital/node-core.git"
37
+ },
38
+ "scripts": {
39
+ "prebuild": "rm -rf ./dist",
40
+ "clean": "rm -rf ./dist",
41
+ "build": "tsc",
42
+ "pretest": "npm run clean && npm run build",
43
+ "test": "node --env-file=.env.test --test ./**/*.test.js",
44
+ "lint": "eslint --cache",
45
+ "prerelease": "npm run build",
46
+ "release": "pnpx release-it"
43
47
  }
44
- }
48
+ }