Skip to content

Commit 0e71838

Browse files
authored
Merge pull request #8 from shgysk8zer0/patch/update
Update `@shgysk8zer0/consts`
2 parents c98e540 + 45d2b9d commit 0e71838

File tree

4 files changed

+23
-13
lines changed

4 files changed

+23
-13
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [v1.0.4] - 2023-10-01
10+
11+
### Changed
12+
- Update `@shgysk8zer0/consts`
13+
- Mark all used `@shgysk8zer0/consts` as external
14+
915
## [v1.0.3] - 2023-09-29
1016

1117
### Added

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@shgysk8zer0/http",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "A JavaScript library that provides various utilities for working with HTTP",
55
"keywords": [
66
"http",
@@ -38,7 +38,7 @@
3838
"lint:js": "eslint .",
3939
"fix:js": "eslint . --fix",
4040
"build": "npm run build:js",
41-
"build:js": "rollup -c rollup.config.js",
41+
"build:js": "rm -f ./cjs/*.cjs && rollup -c rollup.config.js",
4242
"create:lock": "npm i --package-lock-only --ignore-scripts --no-audit --no-fund",
4343
"version:bump": "npm run version:bump:patch",
4444
"version:bump:patch": "npm version --no-git-tag-version patch && npm run create:lock",
@@ -71,6 +71,6 @@
7171
"@shgysk8zer0/npm-utils": "^1.1.0"
7272
},
7373
"dependencies": {
74-
"@shgysk8zer0/consts": "^1.0.6"
74+
"@shgysk8zer0/consts": "^1.0.7"
7575
}
7676
}

rollup.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import { listDirByExt } from '@shgysk8zer0/npm-utils/fs';
55
export default {
66
input: await listDirByExt('./', '.js')
77
.then(files => files.filter(file => ! file.endsWith('.config.js'))),
8-
external: ['node:fs', 'node:fs/promises', 'node:crypto', 'node:path', 'node:child_process', 'js-yaml'],
8+
external: [
9+
'node:fs', 'node:fs/promises', 'node:crypto', 'node:path', 'node:child_process',
10+
'js-yaml', '@shgysk8zer0/consts/status.js', '@shgysk8zer0/consts/status-text.js',
11+
'@shgysk8zer0/consts/mimes.js',
12+
],
913
onwarn: warningHandler,
1014
output: {
1115
dir: './cjs/',

0 commit comments

Comments
 (0)