-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
569 additions
and
440 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @vladkens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,2 @@ | ||
lib-cov | ||
*.seed | ||
*.log | ||
*.csv | ||
*.dat | ||
*.out | ||
*.pid | ||
*.gz | ||
*.swp | ||
|
||
pids | ||
logs | ||
results | ||
tmp | ||
|
||
# Build | ||
public/css/main.css | ||
|
||
# Coverage reports | ||
coverage | ||
|
||
# API keys and secrets | ||
.env | ||
|
||
# Dependency directory | ||
node_modules | ||
bower_components | ||
|
||
# Editors | ||
.idea | ||
*.iml | ||
|
||
# OS metadata | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# Ignore built ts files | ||
dist/**/* | ||
node_modules/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
save-prefix "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,33 @@ | |
"type": "module", | ||
"name": "url-normalize", | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "rm -rf dist && pkgroll --minify && ls -lah dist", | ||
"test": "tsc --noEmit && uvu -r tsm tests/", | ||
"test-cov": "c8 --include=src yarn test", | ||
"test-watch": "watchexec -e ts 'clear && yarn test'", | ||
"bench": "node --loader tsm --no-warnings benchmark.ts", | ||
"format": "prettier --write '{src,tests}/**/*.{js,jsx,ts,tsx}'", | ||
"format-check": "prettier --check '{src,tests}/**/*.{js,jsx,ts,tsx}'", | ||
"ci": "yarn format-check && yarn test && yarn build" | ||
}, | ||
"dependencies": { | ||
"@types/punycode": "2.1.4", | ||
"punycode": "2.3.1" | ||
}, | ||
"devDependencies": { | ||
"c8": "10.1.2", | ||
"pkgroll": "2.5.0", | ||
"prettier": "3.3.3", | ||
"prettier-plugin-organize-imports": "4.1.0", | ||
"tsm": "2.3.0", | ||
"typescript": "5.6.3", | ||
"uvu": "0.5.6" | ||
}, | ||
"author": "Vlad Pronsky <[email protected]>", | ||
"repository": "vladkens/url-normalize", | ||
"description": "Normalize URLs to a standardized form. HTTPS by default, flexible configuration, custom protocols, domain extraction, humazing URL, and punycode support. Both CJS & ESM modules available.", | ||
"license": "MIT", | ||
"keywords": [ | ||
"canonical", | ||
"domain", | ||
|
@@ -23,28 +46,6 @@ | |
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "rm -rf dist && pkgroll --minify && ls -lah dist", | ||
"test": "tsc --noEmit && uvu -r tsm tests/", | ||
"test-cov": "c8 --include=src yarn test", | ||
"test-watch": "watchexec -e ts 'clear && yarn test'", | ||
"bench": "node --loader tsm --no-warnings benchmark.ts", | ||
"format": "prettier --write '{src,tests}/**/*.{js,jsx,ts,tsx}'", | ||
"format-check": "prettier --check '{src,tests}/**/*.{js,jsx,ts,tsx}'" | ||
}, | ||
"dependencies": { | ||
"@types/punycode": "^2.1.0", | ||
"punycode": "^2.3.0" | ||
}, | ||
"devDependencies": { | ||
"c8": "^7.13.0", | ||
"pkgroll": "^1.10.0", | ||
"prettier": "^2.8.8", | ||
"prettier-plugin-organize-imports": "^3.2.2", | ||
"tsm": "^2.3.0", | ||
"typescript": "^5.0.4", | ||
"uvu": "^0.5.6" | ||
}, | ||
"types": "./dist/main.d.cts", | ||
"exports": { | ||
"require": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.