Skip to content

Commit

Permalink
ci: rename package for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
robsonos committed Dec 6, 2023
1 parent 04eff86 commit 955dd0d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion example/android/capacitor.settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include ':capacitor-community-bluetooth-le'
project(':capacitor-community-bluetooth-le').projectDir = new File('../node_modules/@capacitor-community/bluetooth-le/android')

include ':capacitor-community-nordic-dfu'
project(':capacitor-community-nordic-dfu').projectDir = new File('../node_modules/@capacitor-community/nordic-dfu/android')
project(':capacitor-community-nordic-dfu').projectDir = new File('../node_modules/capacitor-community-nordic-dfu/android')

include ':capacitor-filesystem'
project(':capacitor-filesystem').projectDir = new File('../node_modules/@capacitor/filesystem/android')
Expand Down
2 changes: 1 addition & 1 deletion example/ios/App/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def capacitor_pods
pod 'Capacitor', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios'
pod 'CapacitorCommunityBluetoothLe', :path => '../../node_modules/@capacitor-community/bluetooth-le'
pod 'CapacitorCommunityNordicDfu', :path => '../../node_modules/@capacitor-community/nordic-dfu'
pod 'CapacitorCommunityNordicDfu', :path => '../../node_modules/capacitor-community-nordic-dfu'
pod 'CapacitorFilesystem', :path => '../../node_modules/@capacitor/filesystem'
pod 'CapawesomeCapacitorFilePicker', :path => '../../node_modules/@capawesome/capacitor-file-picker'
end
Expand Down
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"mobile"
],
"scripts": {
"postinstall": "yarn cache clean @capacitor-community/nordic-dfu",
"postinstall": "yarn cache clean capacitor-community-nordic-dfu",
"start": "ng serve",
"build": "ng build",
"test": "ng test"
Expand All @@ -25,7 +25,7 @@
"@angular/platform-browser-dynamic": "^16.0.0",
"@angular/router": "^16.0.0",
"@capacitor-community/bluetooth-le": "^3.0.1",
"@capacitor-community/nordic-dfu": "file:..",
"capacitor-community-nordic-dfu": "file:..",
"@capacitor/android": "^5.3.0",
"@capacitor/core": "^5.3.0",
"@capacitor/filesystem": "^5.1.4",
Expand Down
2 changes: 1 addition & 1 deletion example/src/app/scan/dfu/dfu.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { Router } from '@angular/router';
import { type PluginResultError } from '@capacitor/core';
import { Directory, Filesystem } from '@capacitor/filesystem';
import { type BleDevice, type ScanResult } from '@capacitor-community/bluetooth-le';
import { NordicDfu, type DfuUpdateOptions, DfuOptions, DfuUpdate } from '@capacitor-community/nordic-dfu';
import { FilePicker, type PickedFile } from '@capawesome/capacitor-file-picker';
import { IonicModule, Platform } from '@ionic/angular';

Check warning on line 9 in example/src/app/scan/dfu/dfu.page.ts

View workflow job for this annotation

GitHub Actions / ci

'IonicModule' is defined but never used
import { NordicDfu, type DfuUpdateOptions, DfuOptions, DfuUpdate } from 'capacitor-community-nordic-dfu';

import { ToastService } from '../../services/toast.service';

Expand Down
2 changes: 1 addition & 1 deletion example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,7 @@
dependencies:
"@types/web-bluetooth" "^0.0.16"

"@capacitor-community/nordic-dfu@file:..":
"capacitor-community-nordic-dfu@file:..":
version "0.0.1"

"@capacitor/android@^5.3.0":
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@capacitor-community/nordic-dfu",
"name": "capacitor-community-nordic-dfu",
"version": "0.0.1",
"description": "Nordic DFU OTA integration for Capacitor",
"main": "dist/plugin.cjs.js",
Expand Down

0 comments on commit 955dd0d

Please sign in to comment.