change package registry

This commit is contained in:
Aleksander Wilczyński 2024-08-03 02:08:02 +02:00
parent 11c34ac72c
commit 3bcce387c6
Signed by: alekswilc
GPG Key ID: D4464A248E5F27FE
3 changed files with 13 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@alekswilc/ray", "name": "@alekswilc/ray",
"version": "1.1.2", "version": "1.1.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@alekswilc/ray", "name": "@alekswilc/ray",
"version": "1.1.2", "version": "1.1.3",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@permafrost-dev/pretty-format": "^1.1.5", "@permafrost-dev/pretty-format": "^1.1.5",

View File

@ -13,13 +13,12 @@
"typescript": "^5.4.5" "typescript": "^5.4.5"
}, },
"name": "@alekswilc/ray", "name": "@alekswilc/ray",
"version": "1.1.3", "version": "1.0.0",
"main": "./build/aleksray.cjs", "main": "./build/aleksray.cjs",
"module": "./build/aleksray.mjs", "module": "./build/aleksray.mjs",
"typings": "./build/aleksray.d.ts", "typings": "./build/aleksray.d.ts",
"scripts": { "scripts": {
"build": "node ./scripts/build", "build": "node ./scripts/build"
"prepublish": "npx tsc"
}, },
"keywords": [], "keywords": [],
"author": "alekswilc", "author": "alekswilc",

View File

@ -9,6 +9,14 @@ Lightweight & fast [ray](https://myray.app/) integration library written in type
![](assets/image.png) ![](assets/image.png)
## Install
```
npm config set @alekswilc:registry=https://git.alekswilc.dev/api/packages/alekswilc/npm/
npm i @alekswilc/ray
```
### Performance ### Performance
- 3 requests took avg 28ms. - 3 requests took avg 28ms.
- avg 2Mb memory usage on request - avg 2Mb memory usage on request
@ -17,6 +25,7 @@ Lightweight & fast [ray](https://myray.app/) integration library written in type
- `ALEKSRAY_URI` (default: http://localhost:23517/) - `ALEKSRAY_URI` (default: http://localhost:23517/)
- `ALEKSRAY_DISABLED` (default: null) - `ALEKSRAY_DISABLED` (default: null)
### Methods ### Methods
```ts ```ts
/* COLORS */ /* COLORS */