@getquip/expo-nordic-dfu 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +2 -23
- package/.github/workflows/audit.yml +3 -6
- package/.github/workflows/conf-traffic.yml +102 -0
- package/.github/workflows/lint.yml +11 -22
- package/.github/workflows/test.yml +4 -8
- package/.nvmrc +1 -1
- package/.prettierignore +1 -0
- package/README.md +3 -3
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/results.bin +1 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/BuildConfig.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/DfuService.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$1.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$2.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$3.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$5.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$6.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$7.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$8.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/ExpoNordicDfuModule.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/getquip/nordic/NotificationActivity.dex +0 -0
- package/android/build/.transforms/576c59059c5ad48575c7ca8b06b65f9b/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/758c7658fec337f3b4bcf2d457b86828/results.bin +1 -0
- package/android/build/.transforms/758c7658fec337f3b4bcf2d457b86828/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +1 -1
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +5 -5
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/getquip-expo-nordic-dfu_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/DfuService.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$5.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$6.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$7.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/ExpoNordicDfuModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/getquip/nordic/NotificationActivity.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/getquip-expo-nordic-dfu_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/DfuService.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$1$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$5.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$7.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$definition$lambda$10$$inlined$AsyncFunctionWithPromise$8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule$dfuProgressListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/ExpoNordicDfuModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/NotificationActivity.class +0 -0
- package/eslint.config.mjs +34 -0
- package/example/.nvmrc +1 -1
- package/example/App.tsx +6 -4
- package/example/android/app/build.gradle +16 -10
- package/example/android/app/src/debugOptimized/AndroidManifest.xml +7 -0
- package/example/android/app/src/main/AndroidManifest.xml +1 -7
- package/example/android/app/src/main/java/expo/modules/nordicdfu/example/MainApplication.kt +15 -16
- package/example/android/app/src/main/res/values/styles.xml +2 -8
- package/example/android/build.gradle +17 -34
- package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/example/android/gradle.properties +10 -1
- package/example/android/gradlew +3 -4
- package/example/android/gradlew.bat +2 -2
- package/example/android/settings.gradle +25 -24
- package/example/ios/Podfile +14 -20
- package/example/ios/Podfile.lock +909 -730
- package/example/ios/exponordicdfuexample/AppDelegate.swift +70 -0
- package/example/ios/exponordicdfuexample/Info.plist +2 -0
- package/example/ios/exponordicdfuexample/SplashScreen.storyboard +8 -4
- package/example/ios/exponordicdfuexample/exponordicdfuexample-Bridging-Header.h +1 -1
- package/example/ios/exponordicdfuexample.xcodeproj/project.pbxproj +88 -86
- package/example/package-lock.json +1930 -4350
- package/example/package.json +13 -7
- package/package.json +18 -14
- package/example/ios/exponordicdfuexample/AppDelegate.h +0 -7
- package/example/ios/exponordicdfuexample/AppDelegate.mm +0 -62
- package/example/ios/exponordicdfuexample/main.m +0 -10
- package/example/ios/exponordicdfuexample/noop-file.swift +0 -4
- /package/example/ios/exponordicdfuexample/Images.xcassets/{SplashScreenLogo.imageset → SplashScreenLegacy.imageset}/Contents.json +0 -0
- /package/example/ios/exponordicdfuexample/Images.xcassets/{SplashScreenLogo.imageset → SplashScreenLegacy.imageset}/image.png +0 -0
- /package/example/ios/exponordicdfuexample/Images.xcassets/{SplashScreenLogo.imageset → SplashScreenLegacy.imageset}/image@2x.png +0 -0
- /package/example/ios/exponordicdfuexample/Images.xcassets/{SplashScreenLogo.imageset → SplashScreenLegacy.imageset}/image@3x.png +0 -0
package/.eslintrc.js
CHANGED
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
extends: ['expo', 'prettier'],
|
|
5
|
-
parser: '@typescript-eslint/parser',
|
|
6
|
-
parserOptions: {
|
|
7
|
-
project: './tsconfig.json',
|
|
8
|
-
},
|
|
9
|
-
plugins: ['jest', '@typescript-eslint', 'prettier'],
|
|
10
|
-
rules: {
|
|
11
|
-
'jest/no-focused-tests': isCI ? 'error' : 'off',
|
|
12
|
-
'prettier/prettier': 'error',
|
|
13
|
-
},
|
|
14
|
-
ignorePatterns: ['example/**/*', 'build/**/*', '.eslintrc.js'],
|
|
15
|
-
overrides: [
|
|
16
|
-
{
|
|
17
|
-
files: ['*.ts', '*.tsx', '*.d.ts'],
|
|
18
|
-
parserOptions: {
|
|
19
|
-
project: './tsconfig.json',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
}
|
|
1
|
+
// @generated by expo-module-scripts
|
|
2
|
+
module.exports = require('expo-module-scripts/eslintrc.base.js');
|
|
@@ -12,12 +12,9 @@ jobs:
|
|
|
12
12
|
name: npm Audit
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
uses: actions/setup-node@v4
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-node@v4
|
|
19
17
|
with:
|
|
20
18
|
node-version: 20
|
|
21
19
|
cache: npm
|
|
22
|
-
-
|
|
23
|
-
run: npm audit --audit-level=high
|
|
20
|
+
- run: npm audit --audit-level=high
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
name: Weekly GitHub Activity Report
|
|
2
|
+
on:
|
|
3
|
+
schedule:
|
|
4
|
+
- cron: "0 9 * * 1" # Every Monday at 9:00 UTC
|
|
5
|
+
workflow_dispatch:
|
|
6
|
+
jobs:
|
|
7
|
+
run:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v4
|
|
11
|
+
- uses: actions/create-github-app-token@v2
|
|
12
|
+
id: app-token
|
|
13
|
+
with:
|
|
14
|
+
app-id: ${{ secrets.REPO_ADMIN_READ_APP_ID }}
|
|
15
|
+
private-key: ${{ secrets.REPO_ADMIN_READ_APP_PRIVATE_KEY }}
|
|
16
|
+
- name: Fetch stats
|
|
17
|
+
id: stats
|
|
18
|
+
env:
|
|
19
|
+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
|
20
|
+
run: |
|
|
21
|
+
GH_API="/repos/${{ github.repository }}"
|
|
22
|
+
TRAFFIC_API="/repos/${{ github.repository }}/traffic/views"
|
|
23
|
+
ACCEPT_HEADER="Accept: application/vnd.github+json"
|
|
24
|
+
API_VERSION_HEADER="X-GitHub-Api-Version: 2022-11-28"
|
|
25
|
+
|
|
26
|
+
repo_json=$(gh api -H "$ACCEPT_HEADER" -H "$API_VERSION_HEADER" "$GH_API")
|
|
27
|
+
forks=$(echo "$repo_json" | jq .forks_count)
|
|
28
|
+
watchers=$(echo "$repo_json" | jq .watchers)
|
|
29
|
+
stars=$(echo "$repo_json" | jq .stargazers_count)
|
|
30
|
+
visitors_json=$(gh api -H "$ACCEPT_HEADER" -H "$API_VERSION_HEADER" "$TRAFFIC_API")
|
|
31
|
+
visitors=$(echo "$visitors_json" | jq .count)
|
|
32
|
+
|
|
33
|
+
{
|
|
34
|
+
echo "FORKS=${forks}"
|
|
35
|
+
echo "WATCHERS=${watchers}"
|
|
36
|
+
echo "STARS=${stars}"
|
|
37
|
+
echo "VISITORS=${visitors}"
|
|
38
|
+
} >> "$GITHUB_ENV"
|
|
39
|
+
- name: Send Slack notification
|
|
40
|
+
run: |
|
|
41
|
+
run_url="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
|
42
|
+
payload=$(jq -n \
|
|
43
|
+
--arg repo "${{ github.repository }}" \
|
|
44
|
+
--arg repo_url "${{ github.server_url }}/${{ github.repository }}" \
|
|
45
|
+
--arg forks "$FORKS" \
|
|
46
|
+
--arg stars "$STARS" \
|
|
47
|
+
--arg watchers "$WATCHERS" \
|
|
48
|
+
--arg visitors "$VISITORS" \
|
|
49
|
+
--arg run_url "$run_url" \
|
|
50
|
+
'{
|
|
51
|
+
blocks: [
|
|
52
|
+
{
|
|
53
|
+
type: "header",
|
|
54
|
+
text: {
|
|
55
|
+
type: "plain_text",
|
|
56
|
+
text: ":bar_chart: Weekly Open Source Activity Report",
|
|
57
|
+
"emoji": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
type: "section",
|
|
62
|
+
text: {
|
|
63
|
+
type: "mrkdwn",
|
|
64
|
+
text: "*Repository: <\($repo_url)|\($repo)>*"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
type: "section",
|
|
69
|
+
fields: [
|
|
70
|
+
{
|
|
71
|
+
type: "mrkdwn",
|
|
72
|
+
text: ":fork: *Forks*: \($forks)"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
type: "mrkdwn",
|
|
76
|
+
text: ":star: *Stars*: \($stars)"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
type: "mrkdwn",
|
|
80
|
+
text: ":eye: *Watchers*: \($watchers)"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
type: "mrkdwn",
|
|
84
|
+
text: ":wave: *Visitors (14d)*: \($visitors)"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
type: "context",
|
|
90
|
+
"elements": [
|
|
91
|
+
{
|
|
92
|
+
type: "mrkdwn",
|
|
93
|
+
text: "<\($run_url)|Generated By>"
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}')
|
|
99
|
+
|
|
100
|
+
curl -X POST -H 'Content-type: application/json' \
|
|
101
|
+
--data "$payload" \
|
|
102
|
+
${{ secrets.SLACK_ALERTS_ENG_WEBHOOK_URL }}
|
|
@@ -15,15 +15,12 @@ jobs:
|
|
|
15
15
|
name: Actionlint
|
|
16
16
|
runs-on: ubuntu-latest
|
|
17
17
|
steps:
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
-
|
|
21
|
-
name: Download actionlint
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- name: Download actionlint
|
|
22
20
|
id: get_actionlint
|
|
23
21
|
shell: bash
|
|
24
22
|
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
|
|
25
|
-
-
|
|
26
|
-
name: Check Workflow Files
|
|
23
|
+
- name: Check Workflow Files
|
|
27
24
|
shell: bash
|
|
28
25
|
run: ${{ steps.get_actionlint.outputs.executable }} -color -verbose
|
|
29
26
|
|
|
@@ -31,19 +28,15 @@ jobs:
|
|
|
31
28
|
name: Prettier
|
|
32
29
|
runs-on: ubuntu-latest
|
|
33
30
|
steps:
|
|
34
|
-
-
|
|
35
|
-
uses: actions/checkout@v4
|
|
31
|
+
- uses: actions/checkout@v4
|
|
36
32
|
with:
|
|
37
33
|
ref: ${{ inputs.sha }}
|
|
38
|
-
-
|
|
39
|
-
uses: actions/setup-node@v4
|
|
34
|
+
- uses: actions/setup-node@v4
|
|
40
35
|
with:
|
|
41
36
|
node-version: 20
|
|
42
37
|
cache: npm
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
-
|
|
46
|
-
name: Check Prettier
|
|
38
|
+
- run: npm install
|
|
39
|
+
- name: Check Prettier
|
|
47
40
|
run: npm run prettier:check
|
|
48
41
|
|
|
49
42
|
eslint:
|
|
@@ -52,17 +45,13 @@ jobs:
|
|
|
52
45
|
env:
|
|
53
46
|
ESLINT_PLUGIN_DIFF_COMMIT: ${{ inputs.diff_ref }}
|
|
54
47
|
steps:
|
|
55
|
-
-
|
|
56
|
-
uses: actions/checkout@v4
|
|
48
|
+
- uses: actions/checkout@v4
|
|
57
49
|
with:
|
|
58
50
|
ref: ${{ inputs.sha }}
|
|
59
|
-
-
|
|
60
|
-
uses: actions/setup-node@v4
|
|
51
|
+
- uses: actions/setup-node@v4
|
|
61
52
|
with:
|
|
62
53
|
node-version: 20
|
|
63
54
|
cache: npm
|
|
64
|
-
-
|
|
65
|
-
|
|
66
|
-
-
|
|
67
|
-
name: Check ESLint
|
|
55
|
+
- run: npm install
|
|
56
|
+
- name: Check ESLint
|
|
68
57
|
run: npm run eslint:check
|
|
@@ -12,19 +12,15 @@ jobs:
|
|
|
12
12
|
name: Typescript Compile
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
steps:
|
|
15
|
-
-
|
|
16
|
-
uses: actions/checkout@v4
|
|
15
|
+
- uses: actions/checkout@v4
|
|
17
16
|
with:
|
|
18
17
|
ref: ${{ inputs.sha }}
|
|
19
|
-
-
|
|
20
|
-
uses: actions/setup-node@v4
|
|
18
|
+
- uses: actions/setup-node@v4
|
|
21
19
|
with:
|
|
22
20
|
node-version: 20
|
|
23
21
|
cache: npm
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
name: Type Check (Compile) TypeScript
|
|
22
|
+
- run: npm install
|
|
23
|
+
- name: Type Check (Compile) TypeScript
|
|
28
24
|
run: |
|
|
29
25
|
set -e
|
|
30
26
|
npx tsc
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
20.19.
|
|
1
|
+
20.19.5
|
package/.prettierignore
CHANGED
package/README.md
CHANGED
|
@@ -11,9 +11,9 @@ This project does not provide an interface for scanning/connecting devices via B
|
|
|
11
11
|
## Requirements
|
|
12
12
|
|
|
13
13
|
- Nordic zip firmware file
|
|
14
|
-
- Android 14
|
|
15
|
-
- iOS 17
|
|
16
|
-
- Expo SDK
|
|
14
|
+
- Android 14+
|
|
15
|
+
- iOS 17+
|
|
16
|
+
- Expo SDK 54
|
|
17
17
|
- React Native Bridgeless (new architecture) enabled
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
o/bundleLibRuntimeToDirDebug
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
o/classes
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
#
|
|
1
|
+
#Mon Nov 03 08:07:09 PST 2025
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/adamsligar/Source/Quip/
|
|
2
|
+
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/main/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/debug/res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/build/generated/res/resValues/debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/build/generated/res/resValues/debug"/></dataSet><mergedItems/></merger>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<merger version="3"><dataSet config="main" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/main/assets"/></dataSet><dataSet config="debug" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/debug/assets"/></dataSet><dataSet config="generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/build/intermediates/shader_assets/debug/compileDebugShaders/out"/></dataSet></merger>
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
5 <uses-sdk android:minSdkVersion="24" />
|
|
6
6
|
6
|
|
7
7
|
7 <application>
|
|
8
|
-
7-->/Users/adamsligar/Source/Quip/
|
|
8
|
+
7-->/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/main/AndroidManifest.xml:4:5-9:19
|
|
9
9
|
8 <service
|
|
10
|
-
8-->/Users/adamsligar/Source/Quip/
|
|
10
|
+
8-->/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/main/AndroidManifest.xml:5:9-8:63
|
|
11
11
|
9 android:name="com.getquip.nordic.DfuService"
|
|
12
|
-
9-->/Users/adamsligar/Source/Quip/
|
|
12
|
+
9-->/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/main/AndroidManifest.xml:6:13-39
|
|
13
13
|
10 android:exported="false"
|
|
14
|
-
10-->/Users/adamsligar/Source/Quip/
|
|
14
|
+
10-->/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/main/AndroidManifest.xml:7:13-37
|
|
15
15
|
11 android:foregroundServiceType="connectedDevice" />
|
|
16
|
-
11-->/Users/adamsligar/Source/Quip/
|
|
16
|
+
11-->/Users/adamsligar/Source/Quip/expo-nordic-dfu/android/src/main/AndroidManifest.xml:8:13-60
|
|
17
17
|
12 </application>
|
|
18
18
|
13
|
|
19
19
|
14</manifest>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i
CHANGED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream
CHANGED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream
CHANGED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len
CHANGED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/META-INF/getquip-expo-nordic-dfu_debug.kotlin_module
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/getquip/nordic/NotificationActivity.class
CHANGED
|
Binary file
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineConfig } from 'eslint/config'
|
|
2
|
+
|
|
3
|
+
// Base Expo flat config (ESM requires the filename)
|
|
4
|
+
import expoConfig from 'eslint-config-expo/flat.js'
|
|
5
|
+
import jestPlugin from 'eslint-plugin-jest'
|
|
6
|
+
import prettierRecommended from 'eslint-plugin-prettier/recommended'
|
|
7
|
+
import tsPlugin from '@typescript-eslint/eslint-plugin'
|
|
8
|
+
import tsParser from '@typescript-eslint/parser'
|
|
9
|
+
|
|
10
|
+
const isCI = process.env.CI === "true";
|
|
11
|
+
|
|
12
|
+
export default defineConfig([
|
|
13
|
+
expoConfig,
|
|
14
|
+
prettierRecommended,
|
|
15
|
+
{
|
|
16
|
+
ignores: ["eslint.config.mjs", ".eslintrc.js", "example/**/*", "build/**/*"],
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
plugins: {
|
|
20
|
+
"@typescript-eslint": tsPlugin,
|
|
21
|
+
jest: jestPlugin,
|
|
22
|
+
// DO NOT re-declare { import: ..., prettier: ... } here —
|
|
23
|
+
// expoConfig already provides them and re-defining will error.
|
|
24
|
+
},
|
|
25
|
+
languageOptions: {
|
|
26
|
+
parser: tsParser,
|
|
27
|
+
parserOptions: { project: "./tsconfig.json" },
|
|
28
|
+
},
|
|
29
|
+
rules: {
|
|
30
|
+
"jest/no-focused-tests": isCI ? "error" : "off",
|
|
31
|
+
"prettier/prettier": "error",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
])
|