Skip to content

Commit

Permalink
feat(reference): add @alwatr/store-helper package
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Sep 8, 2024
1 parent 09c86a3 commit a9077ae
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/reference/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"dependencies": {
"@alwatr/flat-string": "^1.0.21",
"@alwatr/logger": "^3.2.12",
"@alwatr/store-helper": "workspace:^",
"@alwatr/store-types": "workspace:^",
"@alwatr/wait": "^1.1.14"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/reference/src/collection-reference.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {createLogger} from '@alwatr/logger';
import {getStoreId, getStorePath} from '@alwatr/store-helper';
import {
StoreFileType,
StoreFileExtension,
Expand All @@ -11,7 +12,6 @@ import {
import {waitForImmediate, waitForTimeout} from '@alwatr/wait';

import {logger} from './logger.js';
import {getStoreId, getStorePath} from './util.js';

import type {Dictionary, JsonObject} from '@alwatr/type-helper';

Expand Down
2 changes: 1 addition & 1 deletion packages/reference/src/document-reference.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {createLogger} from '@alwatr/logger';
import {getStoreId, getStorePath} from '@alwatr/store-helper';
import {StoreFileType, StoreFileExtension, type StoreFileId, type DocumentContext, type StoreFileMeta} from '@alwatr/store-types';
import {waitForImmediate, waitForTimeout} from '@alwatr/wait';

import {logger} from './logger.js';
import {getStoreId, getStorePath} from './util.js';

import type {Dictionary, JsonObject} from '@alwatr/type-helper';

Expand Down
1 change: 0 additions & 1 deletion packages/reference/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export * from './collection-reference.js';
export * from './document-reference.js';
export * from './util.js';
2 changes: 1 addition & 1 deletion packages/reference/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"composite": true
},
"include": ["src/**/*.ts", "src/util.ts"],
"references": [{"path": "../types"}]
"references": [{"path": "../types"}, {"path": "../helper"}]
}
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ __metadata:
"@alwatr/logger": "npm:^3.2.12"
"@alwatr/nano-build": "npm:^1.3.8"
"@alwatr/prettier-config": "npm:^1.0.4"
"@alwatr/store-helper": "workspace:^"
"@alwatr/store-types": "workspace:^"
"@alwatr/tsconfig-base": "npm:^1.2.0"
"@alwatr/type-helper": "npm:^1.2.5"
Expand Down

0 comments on commit a9077ae

Please sign in to comment.