Skip to content

Commit c3d0f9c

Browse files
chore: update packages and readme (#390)
* chore: update build * feat: add comprehensive serverless testing and lint-staged integration - Add 50+ new serverless architecture test cases covering: - Concurrent resource loading - Error handling and recovery - Locale fallback mechanisms - Performance and latency monitoring - Cache management strategies - Edge cases and validation - Integrate lint-staged with Husky for automated code quality - Run Biome checks and formatting on staged files - Ensure code consistency before commits - Update CHANGELOG with v1.6.0 features and improvements - Format scripts with Biome standards and Node.js protocol imports * chore: update build * chore: update build * chore: update build * chore: update build * chore(deps): update dependency rollup to v4.50.0 (#385) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: update pkgs * chore: update deps and ci * feat: migrate build system to Rolldown and improve TypeScript configuration - Replace Rollup + ESBuild with Rolldown for faster, simpler builds - Remove redundant type declarations, leverage TypeScript inference - Modernize TypeScript config (ES2020 target, bundler resolution) - Simplify build scripts and configuration files - Add ES module support with "type": "module" - Reduce build dependencies from 7 packages to just Rolldown Build performance: ~90ms with Rolldown (native TypeScript support) All 70 tests passing successfully * feat: simplify build configuration with unified Rollup setup and improved TypeScript - Unified Rollup configuration: Single rollup.config.js instead of two files - Improved TypeScript configuration: ES2020 target with better type inference - Removed redundant type annotations leveraging TypeScript's inference - Added ES module support with "type": "module" in package.json - Simplified build scripts from 8 to 4 commands - Modern TypeScript settings with declaration maps and better defaults All 70 tests passing successfully with cleaner, more maintainable configuration. * fix: use CommonJS format for Rollup config for better compatibility - Renamed rollup.config.js to rollup.config.cjs - Removed "type": "module" from package.json - Updated build scripts to explicitly reference .cjs config file - Maintained all TypeScript improvements and unified configuration This ensures compatibility with existing Node.js environments that may not fully support ES modules while keeping the simplified build setup. * docs: update README and CHANGELOG with recent build system improvements - Document migration to unified Rollup configuration - Add build system changes section in CHANGELOG - Include Building section in README with build instructions - Document CommonJS compatibility fix for Rollup config - Note removal of redundant serverless config file * chore(deps): update actions/setup-node action to v5 (#388) * chore(deps): update dependency @types/node to v24.3.1 (#389) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: update pkgs * chore(deps): update dependency @biomejs/biome to v2.2.3 (#391) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency rollup to v4.50.1 (#392) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @biomejs/biome to v2.2.4 (#393) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update all non-major dependencies (#394) * chore(deps): update dependency @types/node to v24.4.0 (#395) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#396) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v24.5.1 (#397) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency esbuild to v0.25.10 (#398) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v24.5.2 (#399) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency ts-jest to v29.4.3 (#400) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency rollup to v4.51.0 (#401) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#402) * fix(deps): update dependency libphonenumber-js to v1.12.18 (#403) * chore(deps): update dependency lint-staged to v16.2.0 (#404) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency rollup to v4.52.2 (#405) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency libphonenumber-js to v1.12.21 (#406) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update dependency libphonenumber-js to v1.12.22 (#407) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency lint-staged to v16.2.1 (#408) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency libphonenumber-js to v1.12.23 (#409) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency rollup to v4.52.3 (#410) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#411) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency lint-staged to v16.2.3 (#412) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v24.6.0 (#413) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#414) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v24.6.2 (#415) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @biomejs/biome to v2.2.5 (#416) * chore(deps): update dependency rollup to v4.52.4 (#417) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @rollup/plugin-node-resolve to v16.0.2 (#418) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v24.7.0 (#419) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v24.7.1 (#420) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#421) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency lint-staged to v16.2.4 (#422) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#423) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update actions/setup-node action to v6 (#424) * chore(deps): update dependency @rollup/plugin-commonjs to v28.0.7 (#425) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency esbuild to v0.25.11 (#426) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @rollup/plugin-commonjs to v28.0.8 (#427) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v24.8.0 (#428) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v24.8.1 (#429) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#430) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#431) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#432) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @biomejs/biome to v2.3.1 (#433) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#434) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency esbuild to v0.25.12 (#436) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#437) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @biomejs/biome to v2.3.4 (#438) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update all non-major dependencies (#440) * chore(deps): update dependency esbuild to ^0.26.0 (#441) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency esbuild to ^0.27.0 (#442) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency rollup to v4.53.2 (#443) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @biomejs/biome to v2.3.5 (#444) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency @types/node to v24.10.1 (#445) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: update code * chore: update readme --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 3c510b6 commit c3d0f9c

File tree

6 files changed

+1198
-1138
lines changed

6 files changed

+1198
-1138
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
persist-credentials: false
4444

4545
- name: Setup Node.js
46-
uses: actions/setup-node@v4
46+
uses: actions/setup-node@v6
4747
with:
4848
node-version: 24
4949
cache: 'yarn'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
persist-credentials: false
4040

4141
- name: Setup Node.js
42-
uses: actions/setup-node@v4
42+
uses: actions/setup-node@v6
4343
with:
4444
node-version: 24
4545
cache: 'yarn'

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
- Integrate phone number verification into your mobile apps
5050

5151
## API / Cloud Hosted Service
52-
We offer this `phone verification and validation and more advanced features` in our Scalable Cloud API Service Offering - You could try it here [Phone Number Verification](https://dev.me/products/phone)
52+
We offer this `phone verification and validation and more advanced features` in our Scalable Cloud API Service Offering - You could try it here [Phone Number Verification](https://phone-check.xyz/products/phone)
5353

5454
---
5555

@@ -367,9 +367,9 @@ Please feel free to open an issue or create a pull request and fix bugs or add f
367367
For issues, questions, or commercial licensing:
368368

369369
🐛 [Open an Issue](https://github.com/devmehq/phone-number-validator-js/issues)
370-
📧 [Email Support](mailto:support@dev.me)
371-
📄 [Commercial License](https://dev.me/license/phone-number-validator)
372-
🌐 [Visit Dev.me](https://dev.me)
370+
📧 [Email Support](mailto:support@phone-check.xyz)
371+
📄 [Commercial License](https://phone-check.xyz/license/phone-number-validator)
372+
🌐 [Visit phone-check.xyz](https://phone-check.xyz)
373373

374374
## LICENSE
375375
Business Source License 1.1 - see [LICENSE](LICENSE.md) file for details.
@@ -422,5 +422,5 @@ Ask yourself these questions:
422422

423423
Ready to use phone-number-validator-js in production?
424424

425-
🛍️ **[Purchase a License](https://dev.me/license/phone-number-validator)** - Simple pricing, instant activation
426-
📧 **[Contact Sales](mailto:sales@dev.me?subject=Interested%20in%20phone-number-validator-js%20commercial%20license)** - For enterprise or custom needs
425+
🛍️ **[Purchase a License](https://phone-check.xyz/license/phone-number-validator)** - Simple pricing, instant activation
426+
📧 **[Contact Sales](mailto:sales@phone-check.xyz?subject=Interested%20in%20phone-number-validator-js%20commercial%20license)** - For enterprise or custom needs

biome.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",
66
"useIgnoreFile": true
77
},
88
"files": {
99
"ignoreUnknown": false,
10-
"includes": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", "**/*.json"],
11-
"experimentalScannerIgnores": [
12-
"node_modules",
13-
"lib",
14-
"dist",
15-
"build",
16-
"coverage",
17-
"*.min.js",
18-
"resources"
10+
"includes": [
11+
"**/*.ts",
12+
"**/*.tsx",
13+
"**/*.js",
14+
"**/*.jsx",
15+
"**/*.json",
16+
"!!**/node_modules",
17+
"!!**/lib",
18+
"!!**/dist",
19+
"!!**/build",
20+
"!!**/coverage",
21+
"!!**/*.min.js",
22+
"!!**/resources"
1923
]
2024
},
2125
"formatter": {

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,31 +74,31 @@
7474
]
7575
},
7676
"dependencies": {
77-
"bson": "^6.10.4",
78-
"libphonenumber-js": "^1.12.15",
77+
"bson": "^7.0.0",
78+
"libphonenumber-js": "^1.12.26",
7979
"tiny-lru": "^11.4.5"
8080
},
8181
"devDependencies": {
82-
"@biomejs/biome": "^2.2.2",
83-
"@rollup/plugin-commonjs": "^28.0.6",
82+
"@biomejs/biome": "^2.3.5",
83+
"@rollup/plugin-commonjs": "^29.0.0",
8484
"@rollup/plugin-json": "^6.1.0",
85-
"@rollup/plugin-node-resolve": "^16.0.1",
85+
"@rollup/plugin-node-resolve": "^16.0.3",
8686
"@rollup/plugin-terser": "^0.4.4",
8787
"@types/bson": "^4.2.4",
8888
"@types/jest": "^30.0.0",
89-
"@types/node": "^24.3.0",
89+
"@types/node": "^24.10.1",
9090
"@types/shelljs": "^0.8.17",
91-
"esbuild": "^0.25.9",
91+
"esbuild": "^0.27.0",
9292
"husky": "^9.1.7",
93-
"jest": "^30.1.3",
94-
"lint-staged": "^16.1.6",
93+
"jest": "^30.2.0",
94+
"lint-staged": "^16.2.6",
9595
"prettier": "^3.6.2",
96-
"rollup": "^4.50.0",
96+
"rollup": "^4.53.2",
9797
"rollup-plugin-esbuild": "^6.2.1",
9898
"shelljs": "^0.10.0",
99-
"ts-jest": "^29.4.1",
99+
"ts-jest": "^29.4.5",
100100
"tslib": "^2.8.1",
101-
"typescript": "^5.9.2"
101+
"typescript": "^5.9.3"
102102
},
103103
"packageManager": "[email protected]+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
104104
}

0 commit comments

Comments
 (0)