Skip to content

Commit

Permalink
feat: upgrade all deps (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd authored Nov 9, 2023
2 parents feda037 + 83870bf commit 4bf2853
Show file tree
Hide file tree
Showing 7 changed files with 320 additions and 310 deletions.
14 changes: 7 additions & 7 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"type": "module",
"private": true,
"dependencies": {
"@alwatr/logger": "^1.0.0",
"@alwatr/math": "^1.0.0",
"@alwatr/signal": "^1.0.0",
"@alwatr/storage-client": "^1.0.0",
"@alwatr/storage-engine": "^1.0.0",
"@alwatr/type": "^1.0.0",
"@alwatr/util": "^1.0.0",
"@alwatr/logger": "^2.1.3",
"@alwatr/math": "^1.1.12",
"@alwatr/signal": "^2.0.2",
"@alwatr/storage-client": "workspace:^",
"@alwatr/storage-engine": "workspace:^",
"@alwatr/type": "^1.1.5",
"@alwatr/util": "^1.2.10",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"changelogIncludeCommitsClientLogin": " by @%l",
"ignoreChanges": ["*.md"],
"message": "release:",
"private": false,
"private": true,
"forceGitTag": true,
"signGitTag": true,
"signGitCommit": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"url": "https://github.com/Alwatr/storage/issues"
},
"dependencies": {
"@alwatr/fetch": "^1.1.2",
"@alwatr/logger": "^1.1.2",
"@alwatr/fetch": "^2.0.8",
"@alwatr/logger": "^2.1.3",
"tslib": "^2.6.2"
},
"devDependencies": {
Expand Down
7 changes: 2 additions & 5 deletions packages/client/src/storage-client.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {type FetchOptions, serviceRequest} from '@alwatr/fetch';
import {createLogger, globalAlwatr} from '@alwatr/logger';
import {createLogger, definePackage} from '@alwatr/logger';

import type {AlwatrStorageClientConfig} from './type.js';
import type {
Expand All @@ -11,10 +11,7 @@ import type {

export {type AlwatrStorageClientConfig};

globalAlwatr.registeredList.push({
name: '@alwatr/storage-client',
version: _ALWATR_VERSION_,
});
definePackage('@alwatr/storage-client', '4.*');

/**
* Elegant micro client for storage server written in tiny TypeScript ES module.
Expand Down
4 changes: 2 additions & 2 deletions packages/engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"url": "https://github.com/Alwatr/storage/issues"
},
"dependencies": {
"@alwatr/logger": "^1.1.2",
"@alwatr/util": "^1.2.0",
"@alwatr/logger": "^2.1.3",
"@alwatr/util": "^1.2.10",
"exit-hook": "^4.0.0",
"tslib": "^2.6.2"
},
Expand Down
7 changes: 2 additions & 5 deletions packages/engine/src/storage-engine.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {resolve} from 'node:path';

import {createLogger, globalAlwatr, type AlwatrLogger} from '@alwatr/logger';
import {createLogger, definePackage, type AlwatrLogger} from '@alwatr/logger';
import {readJsonFileSync, writeJsonFile, writeJsonFileSync} from '@alwatr/util/node.js';
import exitHook from 'exit-hook';

Expand All @@ -9,10 +9,7 @@ import type {AlwatrDocumentStorage, AlwatrDocumentObject, MaybePromise} from '@a

export type {AlwatrDocumentObject, AlwatrDocumentStorage};

globalAlwatr.registeredList.push({
name: '@alwatr/storage-engine',
version: _ALWATR_VERSION_,
});
definePackage('@alwatr/storage-engine', '4.*');

/**
* Elegant micro in-memory json-like storage with disk backed,
Expand Down
Loading

0 comments on commit 4bf2853

Please sign in to comment.