@axiumine/koa-utils 5.0.0 → 5.0.1
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/README.md +6 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -174,6 +174,12 @@ Adding a new public symbol requires both:
|
|
|
174
174
|
|
|
175
175
|
There is no barrel and no `main` / `module` field.
|
|
176
176
|
|
|
177
|
+
### Registry
|
|
178
|
+
|
|
179
|
+
`yarn.lock` always resolves against `https://registry.npmjs.org/`, so a plain clone installs with no extra setup.
|
|
180
|
+
|
|
181
|
+
Maintainers who install through a private npm mirror should not commit its host: a git clean/smudge filter rewrites the `resolved` URLs in both directions, keeping the mirror in the working copy and the public registry in history. `yarn install` configures it (via `prepare` → `hooks:install`); point it at your own mirror with `YARN_PROXY_REGISTRY`. A pre-commit check rejects any lockfile that still names a non-public host.
|
|
182
|
+
|
|
177
183
|
## Repository
|
|
178
184
|
|
|
179
185
|
<https://github.com/Axiumine/koa-utils>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axiumine/koa-utils",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "Koa Utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
17
|
"prepare": "yarn run hooks:install && rm -rf dist && yarn run build",
|
|
18
|
-
"hooks:install": "git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks || true",
|
|
18
|
+
"hooks:install": "git rev-parse --git-dir > /dev/null 2>&1 && git config core.hooksPath .githooks && ./scripts/lockfile-registry-filter.sh install || true",
|
|
19
19
|
"build": "yarn clean && yarn run build:esm",
|
|
20
20
|
"prepare:all": "echo 'read REAMDE' && rm -rf dist && yarn run build:all",
|
|
21
21
|
"build:all": "yarn run build:cjs && yarn run build:esm",
|