Skip to content

Commit

Permalink
Merge pull request #3 from angular-package/develop
Browse files Browse the repository at this point in the history
1.0.1-alpha
  • Loading branch information
angularpackage authored Oct 2, 2024
2 parents 08147fb + 545f0ee commit ec2b83d
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ export class IndexedDB<
> { ... }
```

[GitHub](https://github.com/angular-package/indexeddb/blob/main/src/lib/indexeddb.ts)
[GitHub](https://github.com/angular-package/indexeddb/blob/main/src/lib/indexeddb.class.ts)

<br>

Expand Down
37 changes: 33 additions & 4 deletions demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"private": true,
"dependencies": {
"@angular-package/indexeddb": "^1.0.0-alpha",
"@angular/animations": "^14.2.0",
"@angular/common": "^14.2.0",
"@angular/compiler": "^14.2.0",
Expand All @@ -18,7 +19,7 @@
"@angular/platform-browser": "^14.2.0",
"@angular/platform-browser-dynamic": "^14.2.0",
"@angular/router": "^14.2.0",
"rxjs": "~7.5.0",
"rxjs": "^7.8.1",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
Expand Down
3 changes: 2 additions & 1 deletion demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Component, ViewEncapsulation } from '@angular/core';

// Service.
import { IDBService } from './indexeddb/idb.service';
// import { IDBService } from './indexeddb/idb.service';
import { IDBService } from '@angular-package/indexeddb';

// Constant.
import { ELEMENT_DATA } from './element-data.const';
Expand Down
5 changes: 4 additions & 1 deletion demo/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ import { AppComponent } from './app.component';

// Module.
import { AppRoutingModule } from './app-routing.module';
import { IDBModule } from './indexeddb/idb.module';
import { TableModule } from './table/table.module';


// import { IDBModule } from './indexeddb/idb.module';
import { IDBModule } from '@angular-package/indexeddb';

// Config.
import { IDB_CONFIG } from './indexeddb.config';

Expand Down
3 changes: 2 additions & 1 deletion demo/src/app/indexeddb.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { IndexedDB } from "./indexeddb/indexeddb.class";
// import { IndexedDB } from "./indexeddb/indexeddb.class";
import { IndexedDB } from '@angular-package/indexeddb';

/**
*
Expand Down
3 changes: 2 additions & 1 deletion demo/src/app/table/table.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { NgForm } from '@angular/forms';
import { Subject } from 'rxjs';

// Service.
import { IDBService } from '../indexeddb/idb.service';
// import { IDBService } from '../indexeddb/idb.service';
import { IDBService } from '@angular-package/indexeddb';

// Type.
import { StoreSchema } from '../type/store-schema.type';
Expand Down
2 changes: 1 addition & 1 deletion demo/src/app/table/table.module.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

import { TableComponent } from './table.component';
import { FormsModule } from '@angular/forms';

@NgModule({
declarations: [
Expand Down
16 changes: 7 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@angular-package/indexeddb",
"version": "1.0.0-alpha",
"version": "1.0.1-alpha",
"author": "@angular-package <contact@angular-package.dev>",
"homepage": "",
"description": "Wrapper to IndexedDB client-side storage.",
Expand All @@ -10,13 +10,11 @@
"registry": "https://registry.npmjs.org"
},
"devDependencies": {
"rxjs": "^7.8.1",
"stylelint": "^15.10.3",
"stylelint-config-prettier-scss": "^1.0.0",
"stylelint-config-standard-scss": "^11.0.0",
"stylelint-order": "^6.0.3"
},
"peerDependencies": {
"rxjs": "^7.8.1",
"stylelint-order": "^6.0.3",
"tslib": "^2.3.0"
},
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from './idb.service';
export * from './idb.module';
export * from './indexeddb.class';

0 comments on commit ec2b83d

Please sign in to comment.