Skip to content

Commit 884fe16

Browse files
authored
Merge pull request #1 from AegisJSProject/release/1.0.0
Initial Release
2 parents 71e498f + abe51ec commit 884fe16

File tree

14 files changed

+2019
-902
lines changed

14 files changed

+2019
-902
lines changed

.github/workflows/super-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787

8888
# Valate Languages - Uncomment to Enable
8989
# JS/TS/JSON Disabled until ESLint in super-linter is updated
90-
VALIDATE_HTML: true
90+
# VALIDATE_HTML: true
9191
# VALIDATE_CSS: true
9292
# VALIDATE_JAVASCRIPT_ES: true
9393
# VALIDATE_JAVASCRIPT_STANDARD: true

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules/
22
.github/
3+
test/
34
.editorconfig
45
.eslintignore
56
.eslintrc.json

CHANGELOG.md

Lines changed: 1 addition & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -7,76 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
### Changed
11-
- Update node version via `.npmrc`
12-
- Update Node CI workflow
13-
- Install & use `@shgysk8zer0/eslint-config`
14-
- Add support for `node --test`, including ignoring tests for publishing
15-
- Update ESLint & super-linter
16-
- Switch to more basic Rollup config
17-
- Update `exports` and `main` accordingly
18-
19-
### Fixed
20-
- Fix missed renaming in README
21-
22-
## Removed
23-
- Remove old ESLint config files
24-
25-
## [v1.1.1] - 2023-09-24
26-
27-
### Added
28-
- Add `unpkg` to `package.json`
29-
- Add badges in README
30-
31-
### Changed
32-
- Update `exports` to `package.json` to handle wider variety
33-
34-
### Fixed
35-
- Fix typo in `fix:js` script
36-
37-
### [v1.1.0] - 2023-07-03
38-
39-
### Changed
40-
- Update to node 20
41-
- Update npm publishing GH Action
42-
43-
## [v1.0.5] - 2023-07-02
44-
45-
### Added
46-
- Add `funding`
47-
48-
### Changed
49-
- Updated GitHub Actions workflows
50-
- Update versioning & lock-file scripts
51-
- Update `.npmignore` & `.gitignore`
52-
53-
## [v1.0.4] - 2023-06-08
54-
55-
### Added
56-
- Install `@shgysk8zer0/npm-utils`
57-
- Add `exports` to package config
58-
59-
### Removed
60-
- Uninstall `rollup`, `eslint`
61-
62-
### Changed
63-
- Use `getConfig()` from `@shgysk8zer0/js-utils/rollup` for rollup config
64-
65-
## [v1.0.3] - 2023-06-01
66-
67-
### Fixed
68-
- Revert to old Release Action, now with permissions & link to changelog
69-
70-
## [v1.0.2] - 2023-06-01
71-
72-
### Fixed
73-
- Fix `changelog-entry` to match `[$version]` instead of `$version`
74-
75-
## [v1.0.1] - 2023-05-31
76-
77-
### Fixed
78-
- Update GitHub Release workflow to use [Auto Release](https://github.com/marketplace/actions/auto-release)
79-
80-
## [v1.0.0] - 2023-05-31
10+
## [v1.0.0] - 2025-01-21
8111

8212
Initial Release

README.md

Lines changed: 29 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# npm-template
1+
# `@aegisjsproject/idb`
22

3-
A template repo for npm packages
3+
Simple, promise-based IndexedDB CRUD library.
44

5-
[![CodeQL](https://github.com/shgysk8zer0/npm-template/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/shgysk8zer0/npm-template/actions/workflows/codeql-analysis.yml)
6-
![Node CI](https://github.com/shgysk8zer0/npm-template/workflows/Node%20CI/badge.svg)
7-
![Lint Code Base](https://github.com/shgysk8zer0/npm-template/workflows/Lint%20Code%20Base/badge.svg)
5+
[![CodeQL](https://github.com/AegisJSProject/idb/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/AegisJSProject/idb/actions/workflows/codeql-analysis.yml)
6+
![Node CI](https://github.com/AegisJSProject/idb/workflows/Node%20CI/badge.svg)
7+
![Lint Code Base](https://github.com/AegisJSProject/idb/workflows/Lint%20Code%20Base/badge.svg)
88

9-
[![GitHub license](https://img.shields.io/github/license/shgysk8zer0/npm-template.svg)](https://github.com/shgysk8zer0/npm-template/blob/master/LICENSE)
10-
[![GitHub last commit](https://img.shields.io/github/last-commit/shgysk8zer0/npm-template.svg)](https://github.com/shgysk8zer0/npm-template/commits/master)
11-
[![GitHub release](https://img.shields.io/github/release/shgysk8zer0/npm-template?logo=github)](https://github.com/shgysk8zer0/npm-template/releases)
9+
[![GitHub license](https://img.shields.io/github/license/AegisJSProject/idb.svg)](https://github.com/AegisJSProject/idb/blob/master/LICENSE)
10+
[![GitHub last commit](https://img.shields.io/github/last-commit/AegisJSProject/idb.svg)](https://github.com/AegisJSProject/idb/commits/master)
11+
[![GitHub release](https://img.shields.io/github/release/AegisJSProject/idb?logo=github)](https://github.com/AegisJSProject/idb/releases)
1212
[![GitHub Sponsors](https://img.shields.io/github/sponsors/shgysk8zer0?logo=github)](https://github.com/sponsors/shgysk8zer0)
1313

14-
[![npm](https://img.shields.io/npm/v/@shgysk8zer0/npm-template)](https://www.npmjs.com/package/@shgysk8zer0/npm-template)
15-
![node-current](https://img.shields.io/node/v/@shgysk8zer0/npm-template)
16-
![npm bundle size gzipped](https://img.shields.io/bundlephobia/minzip/@shgysk8zer0/npm-template)
17-
[![npm](https://img.shields.io/npm/dw/@shgysk8zer0/npm-template?logo=npm)](https://www.npmjs.com/package/@shgysk8zer0/npm-template)
14+
[![npm](https://img.shields.io/npm/v/@aegisjsproject/idb)](https://www.npmjs.com/package/@aegisjsproject/idb)
15+
![node-current](https://img.shields.io/node/v/@aegisjsproject/idb)
16+
![npm bundle size gzipped](https://img.shields.io/bundlephobia/minzip/@aegisjsproject/idb)
17+
[![npm](https://img.shields.io/npm/dw/@aegisjsproject/idb?logo=npm)](https://www.npmjs.com/package/@aegisjsproject/idb)
1818

1919
[![GitHub followers](https://img.shields.io/github/followers/shgysk8zer0.svg?style=social)](https://github.com/shgysk8zer0)
20-
![GitHub forks](https://img.shields.io/github/forks/shgysk8zer0/npm-template.svg?style=social)
21-
![GitHub stars](https://img.shields.io/github/stars/shgysk8zer0/npm-template.svg?style=social)
20+
![GitHub forks](https://img.shields.io/github/forks/AegisJSProject/idb.svg?style=social)
21+
![GitHub stars](https://img.shields.io/github/stars/AegisJSProject/idb.svg?style=social)
2222
[![Twitter Follow](https://img.shields.io/twitter/follow/shgysk8zer0.svg?style=social)](https://twitter.com/shgysk8zer0)
2323

2424
[![Donate using Liberapay](https://img.shields.io/liberapay/receives/shgysk8zer0.svg?logo=liberapay)](https://liberapay.com/shgysk8zer0/donate "Donate using Liberapay")
@@ -27,3 +27,18 @@ A template repo for npm packages
2727
- [Code of Conduct](./.github/CODE_OF_CONDUCT.md)
2828
- [Contributing](./.github/CONTRIBUTING.md)
2929
<!-- - [Security Policy](./.github/SECURITY.md) -->
30+
31+
## Features
32+
33+
- Intuitive CRUD (Create, Read, Update, Delete) operations for IndexedDB.
34+
- Utilities for handling transactions and object stores.
35+
- Support for `AbortController` signals to cancel ongoing requests.
36+
- Helper functions for both `readonly` and `readwrite` operations.
37+
38+
## Installation
39+
40+
### Using npm
41+
Install the package with npm:
42+
```bash
43+
npm i @aegisjsproject/idb
44+
```

consts.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { node } from '@shgysk8zer0/eslint-config';
1+
import { browser } from '@shgysk8zer0/eslint-config';
22

3-
export default node({ files: ['**/*.js'], ignores: ['**/*.min.js', '**/*.cjs', '**/*.mjs'] });
3+
export default browser({ files: ['**/*.js'], ignores: ['**/*.min.js', '**/*.cjs', '**/*.mjs'] });

0 commit comments

Comments
 (0)