@bradleyhodges/addresskit 2.2.3
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/LICENSE +339 -0
- package/README.md +567 -0
- package/api/swagger-2.yaml +472 -0
- package/api/swagger.yaml +826 -0
- package/dist/api/swagger-2.yaml +472 -0
- package/dist/api/swagger.yaml +826 -0
- package/dist/cli.js +69272 -0
- package/package.json +107 -0
package/package.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bradleyhodges/addresskit",
|
|
3
|
+
"version": "2.2.3",
|
|
4
|
+
"description": "Scalable address ingestion, validation, search, and autocomplete engine for Australian addresses",
|
|
5
|
+
"config": {
|
|
6
|
+
"SEARCH_IMAGE": "opensearchproject/opensearch:1.3.20"
|
|
7
|
+
},
|
|
8
|
+
"bin": {
|
|
9
|
+
"addresskit": "dist/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"files": ["dist/**/*", "api/**/*"],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"typecheck": "turbo run typecheck",
|
|
14
|
+
"build": "pnpm format && pnpm run genversion && turbo run build && pnpm run bundle && pnpm run bundle:copy-assets",
|
|
15
|
+
"bundle": "esbuild apps/server/cli/index.ts --bundle --platform=node --target=node24 --outfile=dist/cli.js --packages=bundle",
|
|
16
|
+
"bundle:copy-assets": "node -e \"const fs=require('fs');fs.mkdirSync('api',{recursive:true});fs.copyFileSync('apps/server/api/swagger.yaml','api/swagger.yaml');fs.copyFileSync('apps/server/api/swagger-2.yaml','api/swagger-2.yaml');\"",
|
|
17
|
+
"publish": "npm pack && npm publish --access public",
|
|
18
|
+
"dev": "turbo run dev --parallel --filter=!@bradleyhodges/addresskit",
|
|
19
|
+
"smoke": "node tooling/smoke/smoke.mjs",
|
|
20
|
+
"format": "biome check . --write --skip-errors",
|
|
21
|
+
"clean": "git clean -xdf node_modules",
|
|
22
|
+
"pull:open-search": "docker pull ${npm_package_config_SEARCH_IMAGE}",
|
|
23
|
+
"start:open-search": "docker run -p 9200:9200 -p 9300:9300 -e \"ES_JAVA_OPTS=-Xms1g -Xmx1g\" -e \"discovery.type=single-node\" -e \"plugins.security.disabled=true\" \"${npm_package_config_SEARCH_IMAGE}\"",
|
|
24
|
+
"requirements-check": "node tooling/scripts/check-version.js",
|
|
25
|
+
"postinstall": "npm run requirements-check",
|
|
26
|
+
"npm-check": "npm-check --skip-unused",
|
|
27
|
+
"npm-check:interactive": "npm-check --skip-unused -u ",
|
|
28
|
+
"npm-check-unused": "npm-check",
|
|
29
|
+
"genversion": "genversion -p ./ --es6 --double ./packages/core/version.ts",
|
|
30
|
+
"prebuild:docker": "npm pack && cp .dockerignore.tmpl .dockerignore && echo \"!addresskit-${npm_package_version}.tgz\" >> .dockerignore",
|
|
31
|
+
"build:docker": "docker build --build-arg PACKAGE_TGZ=addresskit-${npm_package_version}.tgz --build-arg PACKAGE=${npm_package_name} --build-arg VERSION=${npm_package_version} --build-arg MAINTAINER=${npm_package_author_email} -t @bradleyhodges/addresskit:${npm_package_version} -t @bradleyhodges/addresskit:latest .",
|
|
32
|
+
"postbuild": "echo \"postbuild skipped\"",
|
|
33
|
+
"prepack": "npm run build",
|
|
34
|
+
"dopublish": "npm publish bradleyhodges-addresskit-${npm_package_version}.tgz --access public",
|
|
35
|
+
"predocker:push": "echo \"$DOCKER_ID_PASS\" | docker login --username \"$DOCKER_ID_USER\" --password-stdin",
|
|
36
|
+
"docker:push": "docker push \"@bradleyhodges/addresskit:${npm_package_version}\"",
|
|
37
|
+
"postdocker:push": "docker push \"@bradleyhodges/addresskit:latest\"",
|
|
38
|
+
"check-licenses": "license-checker --production --onlyAllow 'MIT;Apache-2.0;ISC;Custom: http://github.com/substack/node-bufferlist;Unlicense;BSD-2-Clause;BSD-3-Clause;WTFPL;0BSD;MIT*' --summary",
|
|
39
|
+
"pre-commit": "lint-staged && npm run check-licenses"
|
|
40
|
+
},
|
|
41
|
+
"keywords": [
|
|
42
|
+
"swagger",
|
|
43
|
+
"g-naf",
|
|
44
|
+
"address",
|
|
45
|
+
"australia",
|
|
46
|
+
"validation",
|
|
47
|
+
"autocomplete",
|
|
48
|
+
"autosuggest",
|
|
49
|
+
"street-address",
|
|
50
|
+
"geo",
|
|
51
|
+
"geocoding",
|
|
52
|
+
"Geo::StreetAddress:AU"
|
|
53
|
+
],
|
|
54
|
+
"packageManager": "pnpm@10.22.0",
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=24.0.0"
|
|
60
|
+
},
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "git+https://github.com/bradleyhodges/addresskit.git"
|
|
64
|
+
},
|
|
65
|
+
"bugs": {
|
|
66
|
+
"url": "https://github.com/bradleyhodges/addresskit/issues"
|
|
67
|
+
},
|
|
68
|
+
"license": "GPL-2.0-only",
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@changesets/cli": "^2.29.8",
|
|
71
|
+
"debug": "^4.4.3",
|
|
72
|
+
"semver": "^7.7.3",
|
|
73
|
+
"swagger-tools": "^0.10.4",
|
|
74
|
+
"unzip-stream": "^0.3.4"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@babel/core": "^7.28.5",
|
|
78
|
+
"@babel/node": "^7.28.0",
|
|
79
|
+
"@biomejs/biome": "1.9.4",
|
|
80
|
+
"@biomejs/cli-win32-x64": "1.9.4",
|
|
81
|
+
"@types/node": "^25.0.3",
|
|
82
|
+
"babel-eslint": "^10.1.0",
|
|
83
|
+
"babel-plugin-istanbul": "^6.1.1",
|
|
84
|
+
"babel-preset-env": "^1.7.0",
|
|
85
|
+
"eslint": "^7.32.0",
|
|
86
|
+
"eslint-config-prettier": "^8.10.2",
|
|
87
|
+
"eslint-plugin-chai-friendly": "^0.7.4",
|
|
88
|
+
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
89
|
+
"eslint-plugin-import": "^2.32.0",
|
|
90
|
+
"eslint-plugin-node": "^11.1.0",
|
|
91
|
+
"eslint-plugin-prettier": "^3.4.1",
|
|
92
|
+
"eslint-plugin-promise": "^5.2.0",
|
|
93
|
+
"eslint-plugin-react": "^7.37.5",
|
|
94
|
+
"eslint-plugin-security": "^1.7.1",
|
|
95
|
+
"eslint-plugin-unicorn": "^34.0.1",
|
|
96
|
+
"genversion": "^3.2.0",
|
|
97
|
+
"license-checker": "^25.0.1",
|
|
98
|
+
"lint-staged": "^11.2.6",
|
|
99
|
+
"nodemon": "^2.0.22",
|
|
100
|
+
"npm-check": "^5.9.2",
|
|
101
|
+
"npm-run-all": "^4.1.5",
|
|
102
|
+
"nyc": "^15.1.0",
|
|
103
|
+
"prettier": "^2.8.8",
|
|
104
|
+
"turbo": "^2.7.2",
|
|
105
|
+
"typescript": "^5.9.3"
|
|
106
|
+
}
|
|
107
|
+
}
|