Skip to content

Commit

Permalink
save old idb_provider
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Jul 20, 2024
1 parent abec08f commit db0aaba
Show file tree
Hide file tree
Showing 31 changed files with 3,552 additions and 36 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ version: 2
enable-beta-ecosystems: true

updates:
- package-ecosystem: "pub"
directory: "packages/idb_provider.dart"
schedule:
interval: "monthly"
- package-ecosystem: "pub"
directory: "packages/idb_shim_html_compat"
schedule:
Expand Down
15 changes: 15 additions & 0 deletions packages/idb_provider/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Dependabot configuration file.
# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
version: 2

enable-beta-ecosystems: true
updates:
- package-ecosystem: "pub"
directory: "."
schedule:
interval: "monthly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
36 changes: 36 additions & 0 deletions packages/idb_provider/.github/workflows/run_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run CI
on:
push:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # every sunday at midnight

jobs:
test:
name: Test on ${{ matrix.os }} / ${{ matrix.dart }}
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: .
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
dart: stable
- os: ubuntu-latest
dart: beta
- os: ubuntu-latest
dart: dev
- os: windows-latest
dart: stable
- os: macos-latest
dart: stable
steps:
- uses: actions/checkout@v4
- uses: dart-lang/[email protected]
with:
sdk: ${{ matrix.dart }}
- run: dart --version
- run: dart pub get
- run: dart run tool/run_ci.dart
24 changes: 24 additions & 0 deletions packages/idb_provider/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Don’t commit the following directories created by pub.
.dart_tool/
build/
packages/
.packages
.buildlog
.pub/
.idea/

# Or the files created by dart2js.
*.dart.js
*.dart.precompiled.js
*.js_
*.js.deps
*.js.map

# Include when developing application packages.
pubspec.lock

# test output
out

# Local files
.local/
5 changes: 5 additions & 0 deletions packages/idb_provider/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 0.1.1

- Initial version
28 changes: 28 additions & 0 deletions packages/idb_provider/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
Copyright (c) 2014, alextekartik
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of tekartik_idb_provider.dart nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

16 changes: 16 additions & 0 deletions packages/idb_provider/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# tekartik_idb_provider

**Not maintained**

Provider pattern on top of indexeddb

# Dependencies

```yaml
dependencies:
tekartik_idb_provider:
git:
url: https://github.com/tekartik/idb_shim_more.dart
path: packages/idb_provider
ref: dart3a
```
2 changes: 2 additions & 0 deletions packages/idb_provider/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# tekartik recommended lints (extension over google lints and pedantic)
include: package:tekartik_lints/strict.yaml
Loading

0 comments on commit db0aaba

Please sign in to comment.