Compare commits
4 Commits
adding-upd
...
Add-wol-te
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc4c19d5b5 | ||
| 79cd222cce | |||
|
|
7e63ab5a0f | ||
| 75aeccaa15 |
Binary file not shown.
17
Client/android/.idea/deploymentTargetDropDown.xml
generated
17
Client/android/.idea/deploymentTargetDropDown.xml
generated
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="deploymentTargetDropDown">
|
||||
<runningDeviceTargetSelectedWithDropDown>
|
||||
<Target>
|
||||
<type value="RUNNING_DEVICE_TARGET" />
|
||||
<deviceKey>
|
||||
<Key>
|
||||
<type value="SERIAL_NUMBER" />
|
||||
<value value="ZY326S5BLL" />
|
||||
</Key>
|
||||
</deviceKey>
|
||||
</Target>
|
||||
</runningDeviceTargetSelectedWithDropDown>
|
||||
<timeTargetWasSelectedWithDropDown value="2022-02-06T22:33:46.214309800Z" />
|
||||
</component>
|
||||
</project>
|
||||
22395
Client/package-lock.json
generated
22395
Client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
import { WOLService } from './services/WOL.service';
|
||||
import { SearchHostPage } from './components/searchHost/searchHost.page';
|
||||
import { SearchHostPage } from './components/search-host/search-host.page';
|
||||
import { ExploreContainerComponent } from './components/explore-container/explore-container.component';
|
||||
import { ServerSettingsComponent } from './components/settings/serverSettings/serverSettings.component';
|
||||
import { NgModule } from '@angular/core';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { HomePage } from '../home/home.page';
|
||||
import { SearchHostPage } from '../searchHost/searchHost.page';
|
||||
import { SearchHostPage } from '../search-host/search-host.page';
|
||||
import { SettingsPage } from '../settings/settings.page';
|
||||
|
||||
const routes: Routes = [
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<ion-tab-button tab="searchHost">
|
||||
<ion-icon name="search-sharp"></ion-icon>
|
||||
<ion-label>WOL</ion-label>
|
||||
<ion-label>Search</ion-label>
|
||||
</ion-tab-button>
|
||||
|
||||
<ion-tab-button tab="settings">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { SearchHostPage } from './searchHost.page';
|
||||
import { SearchHostPage } from './search-host.page';
|
||||
|
||||
const routes: Routes = [
|
||||
{
|
||||
@@ -2,9 +2,9 @@ import { IonicModule } from '@ionic/angular';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { SearchHostPage } from './searchHost.page';
|
||||
import { SearchHostPage } from './search-host.page';
|
||||
import { ExploreContainerComponentModule } from '../explore-container/explore-container.module';
|
||||
import { SearchHostPageRoutingModule } from './searchHost-routing.module';
|
||||
import { SearchHostPageRoutingModule } from './search-host-routing.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
@@ -16,25 +16,25 @@
|
||||
<!-- WOL -->
|
||||
<ion-list>
|
||||
<ion-item *ngIf="netWorkDevices.length === 0">
|
||||
<ion-label>No Devices found</ion-label>
|
||||
<ion-label>No devices found</ion-label>
|
||||
</ion-item>
|
||||
<ion-accordion-group>
|
||||
<ion-accordion *ngFor="let device of netWorkDevices">
|
||||
<ion-item slot="header" color="light">
|
||||
<ion-icon name="desktop-outline"></ion-icon>
|
||||
<ion-label>{{device.ipv4Addresses[0]}}</ion-label>
|
||||
<ion-label>{{ device.ipv4Addresses[0] }}</ion-label>
|
||||
</ion-item>
|
||||
<div slot="content">
|
||||
<ion-item>
|
||||
<ion-label>IP: {{device.ipv4Addresses[0]}}</ion-label>
|
||||
<ion-label>IP: {{ device.ipv4Addresses[0] }}</ion-label>
|
||||
</ion-item>
|
||||
<ion-item>
|
||||
<ion-label>PORT: {{device.PORT}}</ion-label>
|
||||
<ion-label>PORT: {{ device.port }}</ion-label>
|
||||
</ion-item>
|
||||
<ion-item>
|
||||
<ion-label>MAC-Address: {{device.txtRecord.mac}}</ion-label>
|
||||
<ion-label>MAC-Address: {{ device.txtRecord.mac }}</ion-label>
|
||||
</ion-item>
|
||||
<ion-button expand="full" (click)="saveWolDevice(null)"
|
||||
<ion-button expand="full" (click)="saveWolDevice(device)"
|
||||
>Configure</ion-button
|
||||
>
|
||||
</div>
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
import { ExploreContainerComponentModule } from '../explore-container/explore-container.module';
|
||||
import { SearchHostPage } from './searchHost.page';
|
||||
import { SearchHostPage } from './search-host.page';
|
||||
|
||||
describe('SearchHostPage', () => {
|
||||
let component: SearchHostPage;
|
||||
@@ -7,8 +7,8 @@ import { GotobedState } from 'src/app/store/gotobed.state';
|
||||
import { ToastController } from '@ionic/angular';
|
||||
@Component({
|
||||
selector: 'app-searchhost',
|
||||
templateUrl: 'searchHost.page.html',
|
||||
styleUrls: ['searchHost.page.scss']
|
||||
templateUrl: 'search-host.page.html',
|
||||
styleUrls: ['search-host.page.scss']
|
||||
})
|
||||
export class SearchHostPage implements OnInit {
|
||||
netWorkDevices: ZeroconfService[] = [];
|
||||
281
Client/yarn.lock
281
Client/yarn.lock
@@ -277,14 +277,14 @@
|
||||
dependencies:
|
||||
"tslib" "^2.2.0"
|
||||
|
||||
"@angular/core@*", "@angular/core@^12.0.0 || ^13.0.0-0", "@angular/core@^13.0.0", "@angular/core@>=8.2.7", "@angular/core@~12.1.1", "@angular/core@12.1.5", "@angular/core@12.2.16":
|
||||
"@angular/core@*", "@angular/core@^12.0.0 || ^13.0.0-0", "@angular/core@^13.0.0", "@angular/core@>=12.0.0", "@angular/core@~12.1.1", "@angular/core@12.1.5", "@angular/core@12.2.16":
|
||||
"integrity" "sha512-okXnhAPxfblAWSe5M/IqrSATi+ul83a9o9PWOTFR/XCVcbx+neE2IwIr1dIDKBKj91b1CFalLS+uOSkN05PNkA=="
|
||||
"resolved" "https://registry.npmjs.org/@angular/core/-/core-12.1.5.tgz"
|
||||
"version" "12.1.5"
|
||||
dependencies:
|
||||
"tslib" "^2.2.0"
|
||||
|
||||
"@angular/forms@>=8.2.7", "@angular/forms@~12.1.1":
|
||||
"@angular/forms@>=12.0.0", "@angular/forms@~12.1.1":
|
||||
"integrity" "sha512-ABfBRCZYVbR5MUkMNrYU/ovCjXtCedk0h4phzCimGl6hBcpbumT9z/3m0TsY9sQnLq0BaCfKNklnHwCuO9mSSg=="
|
||||
"resolved" "https://registry.npmjs.org/@angular/forms/-/forms-12.1.5.tgz"
|
||||
"version" "12.1.5"
|
||||
@@ -310,7 +310,7 @@
|
||||
dependencies:
|
||||
"tslib" "^2.2.0"
|
||||
|
||||
"@angular/router@^13.0.0", "@angular/router@>=8.2.7", "@angular/router@~12.1.1":
|
||||
"@angular/router@^13.0.0", "@angular/router@>=12.0.0", "@angular/router@~12.1.1":
|
||||
"integrity" "sha512-ZZFLcaenVFKCyaxD3mU4cuV4RNFwCEN6JLWmkOFkwIt01RVJcvPaPxiv4pfQf5hnk2HeSciMA0J+UIzSu5YKMA=="
|
||||
"resolved" "https://registry.npmjs.org/@angular/router/-/router-12.1.5.tgz"
|
||||
"version" "12.1.5"
|
||||
@@ -1465,13 +1465,14 @@
|
||||
"tslib" "^2.0.3"
|
||||
"ws" "^7.0.1"
|
||||
|
||||
"@ionic/angular@^5.5.2":
|
||||
"integrity" "sha512-0j4JZeGHpRvaTH0iyLTiUc4TF01bGVmk0zHZA7qS/OpS/WnGRHYNpVX/F75oODfckNvAa9uacoIMOTu54Cpx3w=="
|
||||
"resolved" "https://registry.npmjs.org/@ionic/angular/-/angular-5.9.3.tgz"
|
||||
"version" "5.9.3"
|
||||
"@ionic/angular@^6.2.3":
|
||||
"integrity" "sha512-Hnug6viJz+S6JwOExhqInTFgsUICG8yRPvtc+umVoKrDOecrXs5XBMi2SkcF0cRQkpqiDz04thgtA2o+Mc8JYg=="
|
||||
"resolved" "https://registry.npmjs.org/@ionic/angular/-/angular-6.2.3.tgz"
|
||||
"version" "6.2.3"
|
||||
dependencies:
|
||||
"@ionic/core" "5.9.3"
|
||||
"tslib" "^1.9.3"
|
||||
"@ionic/core" "^6.2.3"
|
||||
"jsonc-parser" "^3.0.0"
|
||||
"tslib" "^2.0.0"
|
||||
|
||||
"@ionic/cli-framework-output@^2.2.1":
|
||||
"integrity" "sha512-eQYkqIW1/tCwSC6Bd0gjse96U11lDX/ikf3jvsjX7a8z/zwSmGzCHRizb7xogV65Ey+1/zyAZR71cpDRQuFLBQ=="
|
||||
@@ -1482,13 +1483,13 @@
|
||||
"debug" "^4.0.0"
|
||||
"tslib" "^2.0.1"
|
||||
|
||||
"@ionic/core@5.9.3":
|
||||
"integrity" "sha512-WM50vVxAAw+MQYqWXKUK4usBgkr7iQ9UWSb6t59mG4ZSy/fPAb7ZIdAjxY0U5i1ykk6A7Ur4B9ZJMpC/a7nnug=="
|
||||
"resolved" "https://registry.npmjs.org/@ionic/core/-/core-5.9.3.tgz"
|
||||
"version" "5.9.3"
|
||||
"@ionic/core@^6.2.3":
|
||||
"integrity" "sha512-TqSVN5nfDC8Ovcfgv6PH6FsNY8P9Awl2zSXVMBpgr5CSFNOb6xB4U8utdhMtJbuo/OYgqAbjSVq+pD4RiBt1rw=="
|
||||
"resolved" "https://registry.npmjs.org/@ionic/core/-/core-6.2.3.tgz"
|
||||
"version" "6.2.3"
|
||||
dependencies:
|
||||
"@stencil/core" "^2.4.0"
|
||||
"ionicons" "^5.5.3"
|
||||
"@stencil/core" "^2.16.0"
|
||||
"ionicons" "^6.0.2"
|
||||
"tslib" "^2.1.0"
|
||||
|
||||
"@ionic/storage-angular@^3.0.6":
|
||||
@@ -1754,15 +1755,15 @@
|
||||
"resolved" "https://registry.npmjs.org/@socket.io/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz"
|
||||
"version" "1.0.2"
|
||||
|
||||
"@stencil/core@^2.4.0":
|
||||
"integrity" "sha512-EEKHOHgYpg3/iFUKMXTZJjUayRul7sXDwNw0OGgkEOe4t7JWiibDkzUHuruvpbqEydX+z1+ez5K2bMMY76c2wA=="
|
||||
"resolved" "https://registry.npmjs.org/@stencil/core/-/core-2.13.0.tgz"
|
||||
"version" "2.13.0"
|
||||
"@stencil/core@^2.16.0":
|
||||
"integrity" "sha512-qw2DZzOpyaltLLEfYRTj3n+XbvRtkmv4QQimYDJubC6jMY0NXK9r6H2+VyszdbbVmvK1D9GqZtyvY0NmOrztsg=="
|
||||
"resolved" "https://registry.npmjs.org/@stencil/core/-/core-2.17.3.tgz"
|
||||
"version" "2.17.3"
|
||||
|
||||
"@stencil/core@~2.10.0":
|
||||
"integrity" "sha512-15rWMTPQ/sp0lSV82HVCXkIya3QLN+uBl7pqK4JnTrp4HiLrzLmNbWjbvgCs55gw0lULbCIGbRIEsFz+Pe/Q+A=="
|
||||
"resolved" "https://registry.npmjs.org/@stencil/core/-/core-2.10.0.tgz"
|
||||
"version" "2.10.0"
|
||||
"@stencil/core@~2.16.0":
|
||||
"integrity" "sha512-s/UJp9qxExL3DyQPT70kiuWeb3AdjbUZM+5lEIXn30I2DLcLYPOPXfsoWJODieQywq+3vPiLZeIdkoqjf6jcSw=="
|
||||
"resolved" "https://registry.npmjs.org/@stencil/core/-/core-2.16.1.tgz"
|
||||
"version" "2.16.1"
|
||||
|
||||
"@tootallnate/once@1":
|
||||
"integrity" "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw=="
|
||||
@@ -1785,7 +1786,8 @@
|
||||
"version" "0.4.1"
|
||||
|
||||
"@types/cordova@latest":
|
||||
"integrity" "sha1-6nrd907Ow9dimCegw54smt3HPQQ="
|
||||
"integrity" "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
|
||||
"resolved" "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz"
|
||||
"version" "0.0.34"
|
||||
|
||||
"@types/cors@^2.8.12":
|
||||
@@ -2391,7 +2393,7 @@
|
||||
"semver" "^5.7.1"
|
||||
|
||||
"ansi-align@^1.1.0":
|
||||
"integrity" "sha1-LwwWWIKXOa3V67FeawxuNCPwFro="
|
||||
"integrity" "sha512-ncgIO/ZeFcsh3cye0NgGPb5h/3vCiKJxp6HvPtqsFvEL/4b/G2tNgrr8EOYN5RSVnGx69k8dFYSBG/w1yKX58Q=="
|
||||
"resolved" "https://registry.npmjs.org/ansi-align/-/ansi-align-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
dependencies:
|
||||
@@ -2408,7 +2410,7 @@
|
||||
"version" "4.1.1"
|
||||
|
||||
"ansi-escapes@^1.0.0":
|
||||
"integrity" "sha1-06ioOzGapneTZisT52HHkRQiMG4="
|
||||
"integrity" "sha512-wiXutNjDUlNEDWHcYH3jtZUhd3c4/VojassD8zHdHCY13xbZy2XbW+NKQwA0tWGBVzDA9qEzYwfoSsWmviidhw=="
|
||||
"resolved" "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz"
|
||||
"version" "1.4.0"
|
||||
|
||||
@@ -2440,7 +2442,7 @@
|
||||
"version" "5.0.1"
|
||||
|
||||
"ansi-styles@^2.2.1":
|
||||
"integrity" "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
|
||||
"integrity" "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA=="
|
||||
"resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz"
|
||||
"version" "2.2.1"
|
||||
|
||||
@@ -2471,7 +2473,7 @@
|
||||
"version" "0.3.1"
|
||||
|
||||
"any-observable@^0.2.0":
|
||||
"integrity" "sha1-xnhwBYADV5AJCD9UrAq6+1wz0kI="
|
||||
"integrity" "sha512-JDQTIRCBZjz2eBLZXOf1H4HREhD1sKSCZk+OUKxwY/HEew2DI7tccV30tmSW8o5UcRMVVEoUk+g7/BuEMnct1A=="
|
||||
"resolved" "https://registry.npmjs.org/any-observable/-/any-observable-0.2.0.tgz"
|
||||
"version" "0.2.0"
|
||||
|
||||
@@ -2540,7 +2542,7 @@
|
||||
"version" "3.1.0"
|
||||
|
||||
"array-find-index@^1.0.1":
|
||||
"integrity" "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E="
|
||||
"integrity" "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw=="
|
||||
"resolved" "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz"
|
||||
"version" "1.0.2"
|
||||
|
||||
@@ -2834,7 +2836,7 @@
|
||||
"version" "1.0.0"
|
||||
|
||||
"boxen@^0.6.0":
|
||||
"integrity" "sha1-g2TUJIrDT/DvGy8r9JpsYM4NgbY="
|
||||
"integrity" "sha512-yL8sYzt0avlYGOY6LqtECkGrJOY3cCLAbFPaNfgE+4fD45ZrdYqLdY8yF4bqyTkpfW9e6W0YqBkN7dIn/PrZoA=="
|
||||
"resolved" "https://registry.npmjs.org/boxen/-/boxen-0.6.0.tgz"
|
||||
"version" "0.6.0"
|
||||
dependencies:
|
||||
@@ -3041,7 +3043,7 @@
|
||||
"version" "3.1.0"
|
||||
|
||||
"camelcase-keys@^2.0.0":
|
||||
"integrity" "sha1-MIvur/3ygRkFHvodkyITyRuPkuc="
|
||||
"integrity" "sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ=="
|
||||
"resolved" "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz"
|
||||
"version" "2.1.0"
|
||||
dependencies:
|
||||
@@ -3049,12 +3051,12 @@
|
||||
"map-obj" "^1.0.0"
|
||||
|
||||
"camelcase@^2.0.0":
|
||||
"integrity" "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8="
|
||||
"integrity" "sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw=="
|
||||
"resolved" "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz"
|
||||
"version" "2.1.1"
|
||||
|
||||
"camelcase@^2.1.0":
|
||||
"integrity" "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8="
|
||||
"integrity" "sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw=="
|
||||
"resolved" "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz"
|
||||
"version" "2.1.1"
|
||||
|
||||
@@ -3094,7 +3096,7 @@
|
||||
"version" "0.12.0"
|
||||
|
||||
"chalk@^1.0.0", "chalk@^1.1.1", "chalk@^1.1.3":
|
||||
"integrity" "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg="
|
||||
"integrity" "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A=="
|
||||
"resolved" "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz"
|
||||
"version" "1.1.3"
|
||||
dependencies:
|
||||
@@ -3214,12 +3216,12 @@
|
||||
"version" "2.2.0"
|
||||
|
||||
"cli-boxes@^1.0.0":
|
||||
"integrity" "sha1-T6kXw+WclKAEzWH47lCdplFocUM="
|
||||
"integrity" "sha512-3Fo5wu8Ytle8q9iCzS4D2MWVL2X7JVWRiS1BnXbTFDhS9c/REkM9vd1AmabsoZoY5/dGi5TT9iKL8Kb6DeBRQg=="
|
||||
"resolved" "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
|
||||
"cli-cursor@^1.0.2":
|
||||
"integrity" "sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc="
|
||||
"integrity" "sha512-25tABq090YNKkF6JH7lcwO0zFJTRke4Jcq9iX2nr/Sz0Cjjv4gckmwlW6Ty/aoyFd6z3ysR2hMGC2GFugmBo6A=="
|
||||
"resolved" "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz"
|
||||
"version" "1.0.2"
|
||||
dependencies:
|
||||
@@ -3233,7 +3235,7 @@
|
||||
"restore-cursor" "^3.1.0"
|
||||
|
||||
"cli-spinners@^0.1.2":
|
||||
"integrity" "sha1-u3ZNiOGF+54eaiofGXcjGPYF4xw="
|
||||
"integrity" "sha512-t22oC6e068eEBQ86SO3arUtd1ojcA3/lz3Fp2g/oL/lmDlFz/2yD8JHiebeCGYmoAovYpwKq4T64Uq5j+28Q9w=="
|
||||
"resolved" "https://registry.npmjs.org/cli-spinners/-/cli-spinners-0.1.2.tgz"
|
||||
"version" "0.1.2"
|
||||
|
||||
@@ -3413,7 +3415,7 @@
|
||||
"version" "0.0.1"
|
||||
|
||||
"configstore@^2.0.0":
|
||||
"integrity" "sha1-c3o6cDbpiGECqmCZ5HuzOrGroaE="
|
||||
"integrity" "sha512-BOCxwwxF5WPspp1OBq9j0JLyL5JgJOTssz9PdOHr8VWjFijaC3PpjU48vFEX3uxx8sTusnVQckLbNzBq6fmkGw=="
|
||||
"resolved" "https://registry.npmjs.org/configstore/-/configstore-2.1.0.tgz"
|
||||
"version" "2.1.0"
|
||||
dependencies:
|
||||
@@ -3674,7 +3676,7 @@
|
||||
"yaml" "^1.10.0"
|
||||
|
||||
"create-error-class@^3.0.1":
|
||||
"integrity" "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y="
|
||||
"integrity" "sha512-gYTKKexFO3kh200H1Nit76sRwRtOY32vQd3jpAQKpLtZqyNsSQNfI4N7o3eP2wUjV35pTWKRYqFUDBvUha/Pkw=="
|
||||
"resolved" "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz"
|
||||
"version" "3.0.2"
|
||||
dependencies:
|
||||
@@ -3692,7 +3694,7 @@
|
||||
"pretty-bytes" "^5.3.0"
|
||||
|
||||
"cross-spawn-async@^2.1.1":
|
||||
"integrity" "sha1-hF/wwINKPe2dFg2sptOQkGuyiMw="
|
||||
"integrity" "sha512-snteb3aVrxYYOX9e8BabYFK9WhCDhTlw1YQktfTthBogxri4/2r9U2nQc0ffY73ZAxezDc+U8gvHAeU1wy1ubQ=="
|
||||
"resolved" "https://registry.npmjs.org/cross-spawn-async/-/cross-spawn-async-2.2.5.tgz"
|
||||
"version" "2.2.5"
|
||||
dependencies:
|
||||
@@ -3914,7 +3916,7 @@
|
||||
"css-tree" "^1.1.2"
|
||||
|
||||
"currently-unhandled@^0.4.1":
|
||||
"integrity" "sha1-mI3zP+qxke95mmE2nddsF635V+o="
|
||||
"integrity" "sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng=="
|
||||
"resolved" "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz"
|
||||
"version" "0.4.1"
|
||||
dependencies:
|
||||
@@ -3938,7 +3940,7 @@
|
||||
"version" "4.0.3"
|
||||
|
||||
"dateformat@^2.0.0":
|
||||
"integrity" "sha1-QGXiATz5+5Ft39gu+1Bq1MZ2kGI="
|
||||
"integrity" "sha512-GODcnWq3YGoTnygPfi02ygEiRxqUxpJwuRHjdhJYuxpcZmDq4rjBiXYmbCCzStxo176ixfLT6i4NPwQooRySnw=="
|
||||
"resolved" "https://registry.npmjs.org/dateformat/-/dateformat-2.2.0.tgz"
|
||||
"version" "2.2.0"
|
||||
|
||||
@@ -4298,14 +4300,14 @@
|
||||
"domelementtype" "1"
|
||||
|
||||
"dot-prop@^3.0.0":
|
||||
"integrity" "sha1-G3CK8JSknJoOfbyteQq6U52sEXc="
|
||||
"integrity" "sha512-k4ELWeEU3uCcwub7+dWydqQBRjAjkV9L33HjVRG5Xo2QybI6ja/v+4W73SRi8ubCqJz0l9XsTP1NbewfyqaSlw=="
|
||||
"resolved" "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz"
|
||||
"version" "3.0.0"
|
||||
dependencies:
|
||||
"is-obj" "^1.0.0"
|
||||
|
||||
"duplexer2@^0.1.4":
|
||||
"integrity" "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME="
|
||||
"integrity" "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA=="
|
||||
"resolved" "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz"
|
||||
"version" "0.1.4"
|
||||
dependencies:
|
||||
@@ -4773,7 +4775,7 @@
|
||||
"original" "^1.0.0"
|
||||
|
||||
"execa@^0.4.0":
|
||||
"integrity" "sha1-TrZGejaglfq7KXD/nV4/t7zm68M="
|
||||
"integrity" "sha512-QPexBaNjeOjyiZ47q0FCukTO1kX3F+HMM0EWpnxXddcr3MZtElILMkz9Y38nmSZtp03+ZiSRMffrKWBPOIoSIg=="
|
||||
"resolved" "https://registry.npmjs.org/execa/-/execa-0.4.0.tgz"
|
||||
"version" "0.4.0"
|
||||
dependencies:
|
||||
@@ -4813,7 +4815,7 @@
|
||||
"strip-final-newline" "^2.0.0"
|
||||
|
||||
"exit-hook@^1.0.0":
|
||||
"integrity" "sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g="
|
||||
"integrity" "sha512-MsG3prOVw1WtLXAZbM3KiYtooKR1LvxHh3VHsVtIy0uiUu8usxgB/94DP2HxtD/661lLdB6yzQ09lGJSQr6nkg=="
|
||||
"resolved" "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz"
|
||||
"version" "1.1.1"
|
||||
|
||||
@@ -4985,7 +4987,7 @@
|
||||
"pend" "~1.2.0"
|
||||
|
||||
"figures@^1.7.0":
|
||||
"integrity" "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4="
|
||||
"integrity" "sha512-UxKlfCRuCBxSXU4C6t9scbDyWZ4VlaFFdojKtzJuSkuOBQ5CNFum+zZXFwHjo+CxBC1t6zlYPgHIgFjL8ggoEQ=="
|
||||
"resolved" "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz"
|
||||
"version" "1.7.0"
|
||||
dependencies:
|
||||
@@ -5007,7 +5009,7 @@
|
||||
"flat-cache" "^3.0.4"
|
||||
|
||||
"fileset@~0.1.5":
|
||||
"integrity" "sha1-UGuRqTluqn4y+0KoQHfHoMc2t0E="
|
||||
"integrity" "sha512-Gg0/Iy/v4BfdGWZpbpVBPKIYcap7jMn2uT5lcIDZyMFZR35VDojrJnIAwWjCj7ZOqsGp3j+ExWKqnfGrz4q0fg=="
|
||||
"resolved" "https://registry.npmjs.org/fileset/-/fileset-0.1.8.tgz"
|
||||
"version" "0.1.8"
|
||||
dependencies:
|
||||
@@ -5032,7 +5034,7 @@
|
||||
"to-regex-range" "^5.0.1"
|
||||
|
||||
"filled-array@^1.0.0":
|
||||
"integrity" "sha1-w8T2xmO5I0WamqKZEtLQMfFQf4Q="
|
||||
"integrity" "sha512-4XwZ1k4rgoF3Yap59MyXFmiUh2zu9fht32NYPSRYwLv4o8BWHxi60I1VH5kHje14qGMoS3qyfHQUsN16ROOugQ=="
|
||||
"resolved" "https://registry.npmjs.org/filled-array/-/filled-array-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
|
||||
@@ -5068,7 +5070,7 @@
|
||||
"pkg-dir" "^4.1.0"
|
||||
|
||||
"find-up@^1.0.0":
|
||||
"integrity" "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8="
|
||||
"integrity" "sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA=="
|
||||
"resolved" "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz"
|
||||
"version" "1.1.2"
|
||||
dependencies:
|
||||
@@ -5225,7 +5227,7 @@
|
||||
"wide-align" "^1.1.0"
|
||||
|
||||
"gaze@~0.3.2":
|
||||
"integrity" "sha1-X5S92gr+U7xxCWm81vKCVI1gwnk="
|
||||
"integrity" "sha512-vIK81ZT20o9X0LOHYDGo5Phq6FaQRjDjBN2KkbYSxlaXnN1WDH0Op0tPThqNVA8ZnmN/TYNZfGHAVkBTrdeBIQ=="
|
||||
"resolved" "https://registry.npmjs.org/gaze/-/gaze-0.3.4.tgz"
|
||||
"version" "0.3.4"
|
||||
dependencies:
|
||||
@@ -5252,7 +5254,7 @@
|
||||
"has-symbols" "^1.0.1"
|
||||
|
||||
"get-stdin@^4.0.1":
|
||||
"integrity" "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4="
|
||||
"integrity" "sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw=="
|
||||
"resolved" "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz"
|
||||
"version" "4.0.1"
|
||||
|
||||
@@ -5330,7 +5332,7 @@
|
||||
"path-is-absolute" "^1.0.0"
|
||||
|
||||
"glob@3.x":
|
||||
"integrity" "sha1-Spc/Y1uRkPcV0QmH1cAP0oFevj0="
|
||||
"integrity" "sha512-hVb0zwEZwC1FXSKRPFTeOtN7AArJcJlI6ULGLtrstaswKNlrTJqAA+1lYlSUop4vjA423xlBzqfVS3iWGlqJ+g=="
|
||||
"resolved" "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz"
|
||||
"version" "3.2.11"
|
||||
dependencies:
|
||||
@@ -5404,7 +5406,7 @@
|
||||
"pinkie-promise" "^2.0.0"
|
||||
|
||||
"got@^5.0.0":
|
||||
"integrity" "sha1-ux1+4WO3gIK7yOuDbz85UATqb78="
|
||||
"integrity" "sha512-MnypzkaW8dldA8AbJFjMs7y14+ykd2V8JCLKSvX1Gmzx1alH3Y+3LArywHDoAF2wS3pnZp4gacoYtvqBeF6drQ=="
|
||||
"resolved" "https://registry.npmjs.org/got/-/got-5.6.0.tgz"
|
||||
"version" "5.6.0"
|
||||
dependencies:
|
||||
@@ -5431,7 +5433,7 @@
|
||||
"version" "4.2.9"
|
||||
|
||||
"growl@~1.7.0":
|
||||
"integrity" "sha1-3i1mE20ALhErpw8/EMMc98NQsto="
|
||||
"integrity" "sha512-VWv7s1EI41AG2LiCr7uAuxWikLDN1SQOuEUc37d/P34NAIIYgkvWYngNw0d9d9iCrDFL0SYCE9UQpxhIjjtuLg=="
|
||||
"resolved" "https://registry.npmjs.org/growl/-/growl-1.7.0.tgz"
|
||||
"version" "1.7.0"
|
||||
|
||||
@@ -5756,7 +5758,7 @@
|
||||
"version" "0.1.4"
|
||||
|
||||
"indent-string@^2.1.0":
|
||||
"integrity" "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA="
|
||||
"integrity" "sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg=="
|
||||
"resolved" "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz"
|
||||
"version" "2.1.0"
|
||||
dependencies:
|
||||
@@ -5847,12 +5849,12 @@
|
||||
"resolved" "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz"
|
||||
"version" "1.4.0"
|
||||
|
||||
"ionicons@^5.5.3":
|
||||
"integrity" "sha512-3ph8X9my3inhabWEZ7N0XRA0MnnNQ1v9a602mLNgWsIXnxE9G5BybIZ/pws/OZZ/hoNlvSjk801N03yL9/FNgQ=="
|
||||
"resolved" "https://registry.npmjs.org/ionicons/-/ionicons-5.5.4.tgz"
|
||||
"version" "5.5.4"
|
||||
"ionicons@^6.0.2":
|
||||
"integrity" "sha512-AyKfFaUKVoBz4eB8XkU7H1R5HFnVsgq5ijqSdbXC0lES9PDK/J6LUQz6XUJq0mVVQF5k9kczSPOLMW3mszG0mQ=="
|
||||
"resolved" "https://registry.npmjs.org/ionicons/-/ionicons-6.0.2.tgz"
|
||||
"version" "6.0.2"
|
||||
dependencies:
|
||||
"@stencil/core" "~2.10.0"
|
||||
"@stencil/core" "~2.16.0"
|
||||
|
||||
"ip-regex@^2.1.0":
|
||||
"integrity" "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk="
|
||||
@@ -6014,7 +6016,7 @@
|
||||
"version" "1.1.0"
|
||||
|
||||
"is-fullwidth-code-point@^1.0.0":
|
||||
"integrity" "sha1-754xOG8DGn8NZDr4L95QxFfvAMs="
|
||||
"integrity" "sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw=="
|
||||
"resolved" "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
dependencies:
|
||||
@@ -6060,7 +6062,7 @@
|
||||
"version" "2.0.2"
|
||||
|
||||
"is-npm@^1.0.0":
|
||||
"integrity" "sha1-8vtjpl5JBbQGyGBydloaTceTufQ="
|
||||
"integrity" "sha512-9r39FIr3d+KD9SbX0sfMsHzb5PP3uimOiwr3YupUaUFG4W0l1U57Rx3utpttV7qz5U3jmrO5auUa04LU9pyHsg=="
|
||||
"resolved" "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
|
||||
@@ -6084,7 +6086,7 @@
|
||||
"version" "7.0.0"
|
||||
|
||||
"is-obj@^1.0.0":
|
||||
"integrity" "sha1-PkcprB9f3gJc19g6iW2rn09n2w8="
|
||||
"integrity" "sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg=="
|
||||
"resolved" "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz"
|
||||
"version" "1.0.1"
|
||||
|
||||
@@ -6132,7 +6134,7 @@
|
||||
"version" "3.0.3"
|
||||
|
||||
"is-plain-obj@^1.0.0":
|
||||
"integrity" "sha1-caUMhCnfync8kqOQpKA7OfzVHT4="
|
||||
"integrity" "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg=="
|
||||
"resolved" "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
|
||||
@@ -6144,7 +6146,7 @@
|
||||
"isobject" "^3.0.1"
|
||||
|
||||
"is-redirect@^1.0.0":
|
||||
"integrity" "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ="
|
||||
"integrity" "sha512-cr/SlUEe5zOGmzvj9bUyC4LVvkNVAXu4GytXLNMr1pny+a65MpQ9IJzFHD5vi7FyJgb4qt27+eS3TuQnqB+RQw=="
|
||||
"resolved" "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
|
||||
@@ -6167,7 +6169,7 @@
|
||||
"version" "1.0.1"
|
||||
|
||||
"is-stream@^1.0.0":
|
||||
"integrity" "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
|
||||
"integrity" "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ=="
|
||||
"resolved" "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
|
||||
@@ -6206,7 +6208,7 @@
|
||||
"version" "0.1.0"
|
||||
|
||||
"is-utf8@^0.2.0":
|
||||
"integrity" "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI="
|
||||
"integrity" "sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q=="
|
||||
"resolved" "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz"
|
||||
"version" "0.2.1"
|
||||
|
||||
@@ -6344,14 +6346,14 @@
|
||||
"version" "2.8.0"
|
||||
|
||||
"jasmine-growl-reporter@~0.0.2":
|
||||
"integrity" "sha1-uHrlUeNZ0orVIXdl6u9sB7dj9sg="
|
||||
"integrity" "sha512-/hNSlTbd75xbxiilWyjLHmWgvjHFaYlnAVxORj9rRhRmxJyVPdfnje0RPStuMTMY2DAIMwxDdKSci0xDNZ1IHA=="
|
||||
"resolved" "https://registry.npmjs.org/jasmine-growl-reporter/-/jasmine-growl-reporter-0.0.3.tgz"
|
||||
"version" "0.0.3"
|
||||
dependencies:
|
||||
"growl" "~1.7.0"
|
||||
|
||||
"jasmine-node@1.14.5":
|
||||
"integrity" "sha1-GOg5e4VpJO53ADZmw3MbWupQw50="
|
||||
"integrity" "sha512-oys7DiaYF450QZ0Fhm0ARCRS9R0wZD9gScEm1oh9lExw8i6W3Z6pvn1GK/ySfIIhmhotuFvqMjZYNT2Al8myew=="
|
||||
"resolved" "https://registry.npmjs.org/jasmine-node/-/jasmine-node-1.14.5.tgz"
|
||||
"version" "1.14.5"
|
||||
dependencies:
|
||||
@@ -6365,7 +6367,7 @@
|
||||
"walkdir" ">= 0.0.1"
|
||||
|
||||
"jasmine-reporters@~1.0.0":
|
||||
"integrity" "sha1-q2E+1Zd9x0h+hbPBL2qOqNsq3jE="
|
||||
"integrity" "sha512-KrMRwzykkIKfkXr5UhCs/4BRJpws4VmNOeHIVKX8EBa9lYysVik3phkKrJCnCUE2lUCZDIA4rAmFrDgw546IzA=="
|
||||
"resolved" "https://registry.npmjs.org/jasmine-reporters/-/jasmine-reporters-1.0.2.tgz"
|
||||
"version" "1.0.2"
|
||||
dependencies:
|
||||
@@ -6497,7 +6499,7 @@
|
||||
dependencies:
|
||||
"minimist" "^1.2.5"
|
||||
|
||||
"jsonc-parser@3.0.0":
|
||||
"jsonc-parser@^3.0.0", "jsonc-parser@3.0.0":
|
||||
"integrity" "sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA=="
|
||||
"resolved" "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.0.0.tgz"
|
||||
"version" "3.0.0"
|
||||
@@ -6674,14 +6676,14 @@
|
||||
"version" "2.0.5"
|
||||
|
||||
"latest-version@^2.0.0":
|
||||
"integrity" "sha1-VvjWE5YghHuAF/jx9NeOIRMkFos="
|
||||
"integrity" "sha512-8925wFYLfWBciewimt0VmDyYw0GFCRcbFSTrZGt4JgQ7lh5jb/kodMlUt0uMaxXdRKVi+7F3ib30N7fTv83ikw=="
|
||||
"resolved" "https://registry.npmjs.org/latest-version/-/latest-version-2.0.0.tgz"
|
||||
"version" "2.0.0"
|
||||
dependencies:
|
||||
"package-json" "^2.0.0"
|
||||
|
||||
"lazy-req@^1.1.0":
|
||||
"integrity" "sha1-va6+rTD42CQDnODOFJ1Nqge6H6w="
|
||||
"integrity" "sha512-Vn/JuGaYykbelAVNAhfVJxuwHQCOSNE6mqMtD+gnd+QORlAHwWVmVFqQga3yWt84G5vAwEwpT6sAsZ+tgJ88/Q=="
|
||||
"resolved" "https://registry.npmjs.org/lazy-req/-/lazy-req-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
|
||||
@@ -6750,7 +6752,7 @@
|
||||
"version" "1.2.4"
|
||||
|
||||
"listr@^0.4.3":
|
||||
"integrity" "sha1-IwLLJNKvAqrYSNEzEZy6//q50j0="
|
||||
"integrity" "sha512-FfKCqu0HPoRgJ/xCbPrS9Ux3JK4Q1euYrnKWP3iFux2e2m/oVR9IUo1/t8n4c7y45AHdu+uRBjfZ0o3aDj9XUQ=="
|
||||
"resolved" "https://registry.npmjs.org/listr/-/listr-0.4.3.tgz"
|
||||
"version" "0.4.3"
|
||||
dependencies:
|
||||
@@ -6765,7 +6767,7 @@
|
||||
"strip-ansi" "^3.0.1"
|
||||
|
||||
"load-json-file@^1.0.0":
|
||||
"integrity" "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA="
|
||||
"integrity" "sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A=="
|
||||
"resolved" "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
dependencies:
|
||||
@@ -6885,7 +6887,7 @@
|
||||
"version" "4.17.21"
|
||||
|
||||
"log-symbols@^1.0.2":
|
||||
"integrity" "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg="
|
||||
"integrity" "sha512-mmPrW0Fh2fxOzdBbFv4g1m6pR72haFLPJ2G5SJEELf1y+iaQrDG6cWCPjy54RHYbZAt7X+ls690Kw62AdWXBzQ=="
|
||||
"resolved" "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz"
|
||||
"version" "1.0.2"
|
||||
dependencies:
|
||||
@@ -6900,7 +6902,7 @@
|
||||
"is-unicode-supported" "^0.1.0"
|
||||
|
||||
"log-update@^1.0.2":
|
||||
"integrity" "sha1-GZKfZMQJPS0ucHWh2tivWcKWuNE="
|
||||
"integrity" "sha512-4vSow8gbiGnwdDNrpy1dyNaXWKSCIPop0EHdE8GrnngHoJujM3QhvHUN/igsYCgPoHo7pFOezlJ61Hlln0KHyA=="
|
||||
"resolved" "https://registry.npmjs.org/log-update/-/log-update-1.0.2.tgz"
|
||||
"version" "1.0.2"
|
||||
dependencies:
|
||||
@@ -6924,7 +6926,7 @@
|
||||
"version" "1.8.0"
|
||||
|
||||
"loud-rejection@^1.0.0":
|
||||
"integrity" "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8="
|
||||
"integrity" "sha512-RPNliZOFkqFumDhvYqOaNY4Uz9oJM2K9tC6JWsJJsNdhuONW4LQHRBpb0qf4pJApVffI5N39SwzWZJuEhfd7eQ=="
|
||||
"resolved" "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz"
|
||||
"version" "1.6.0"
|
||||
dependencies:
|
||||
@@ -6952,7 +6954,7 @@
|
||||
"yallist" "^4.0.0"
|
||||
|
||||
"lru-cache@2":
|
||||
"integrity" "sha1-bUUk6LlV+V1PW1iFHOId1y+06VI="
|
||||
"integrity" "sha512-WpibWJ60c3AgAz8a2iYErDrcT2C7OmKnsWhIcHOjkUHFjkXncJhtLxNSqUmxRxRunpb5I8Vprd7aNSd2NtksJQ=="
|
||||
"resolved" "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz"
|
||||
"version" "2.7.3"
|
||||
|
||||
@@ -7018,7 +7020,7 @@
|
||||
"version" "0.2.2"
|
||||
|
||||
"map-obj@^1.0.0", "map-obj@^1.0.1":
|
||||
"integrity" "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0="
|
||||
"integrity" "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg=="
|
||||
"resolved" "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz"
|
||||
"version" "1.0.1"
|
||||
|
||||
@@ -7063,7 +7065,7 @@
|
||||
"readable-stream" "^2.0.1"
|
||||
|
||||
"meow@^3.7.0":
|
||||
"integrity" "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs="
|
||||
"integrity" "sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA=="
|
||||
"resolved" "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz"
|
||||
"version" "3.7.0"
|
||||
dependencies:
|
||||
@@ -7191,7 +7193,7 @@
|
||||
"brace-expansion" "^1.1.7"
|
||||
|
||||
"minimatch@~0.2.9":
|
||||
"integrity" "sha1-x054BXT2PG+aCQ6Q775u9TpqdWo="
|
||||
"integrity" "sha512-zZ+Jy8lVWlvqqeM8iZB7w7KmQkoJn8djM585z88rywrEbzoqawVa9FR5p2hwD+y74nfuKOjmNvi9gtWJNLqHvA=="
|
||||
"resolved" "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz"
|
||||
"version" "0.2.14"
|
||||
dependencies:
|
||||
@@ -7199,7 +7201,7 @@
|
||||
"sigmund" "~1.0.0"
|
||||
|
||||
"minimatch@0.3":
|
||||
"integrity" "sha1-J12O2qxPG7MyZHIInnlJyDlGmd0="
|
||||
"integrity" "sha512-WFX1jI1AaxNTZVOHLBVazwTWKaQjoykSzCBNXB72vDTCzopQGtyP91tKdFK5cv1+qMwPyiTu1HqUriqplI8pcA=="
|
||||
"resolved" "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz"
|
||||
"version" "0.3.0"
|
||||
dependencies:
|
||||
@@ -7207,17 +7209,17 @@
|
||||
"sigmund" "~1.0.0"
|
||||
|
||||
"minimatch@0.x":
|
||||
"integrity" "sha1-vSx9Bg0sjI/Xzefx8u0tWycP2xs="
|
||||
"integrity" "sha512-yJKJL1g3to7f4C/9LzHXTzNh550xKGefiCls9RS+DDdsDpKpndY49UDZW5sj/3yeac3Hl2Px3w5bT8bM/dMrWQ=="
|
||||
"resolved" "https://registry.npmjs.org/minimatch/-/minimatch-0.4.0.tgz"
|
||||
"version" "0.4.0"
|
||||
dependencies:
|
||||
"lru-cache" "2"
|
||||
"sigmund" "~1.0.0"
|
||||
|
||||
"minimist@^1.1.3", "minimist@^1.2.0", "minimist@^1.2.5":
|
||||
"integrity" "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
|
||||
"resolved" "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz"
|
||||
"version" "1.2.5"
|
||||
"minimist@^1.1.3", "minimist@^1.2.0", "minimist@^1.2.5", "minimist@^1.2.6":
|
||||
"integrity" "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q=="
|
||||
"resolved" "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz"
|
||||
"version" "1.2.6"
|
||||
|
||||
"minipass-collect@^1.0.2":
|
||||
"integrity" "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA=="
|
||||
@@ -7290,11 +7292,11 @@
|
||||
"is-extendable" "^1.0.1"
|
||||
|
||||
"mkdirp@^0.5.0":
|
||||
"integrity" "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ=="
|
||||
"resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz"
|
||||
"version" "0.5.5"
|
||||
"integrity" "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw=="
|
||||
"resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz"
|
||||
"version" "0.5.6"
|
||||
dependencies:
|
||||
"minimist" "^1.2.5"
|
||||
"minimist" "^1.2.6"
|
||||
|
||||
"mkdirp@^0.5.1":
|
||||
"integrity" "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ=="
|
||||
@@ -7316,7 +7318,7 @@
|
||||
"version" "1.0.4"
|
||||
|
||||
"mkdirp@~0.3.5":
|
||||
"integrity" "sha1-3j5fiWHIjHh+4TaN+EmsRBPsqNc="
|
||||
"integrity" "sha512-8OCq0De/h9ZxseqzCH8Kw/Filf5pF/vMI6+BH7Lu0jXz2pqYCjTAQRolSxRIi+Ax+oCCjlxoJMP0YQ4XlrQNHg=="
|
||||
"resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz"
|
||||
"version" "0.3.5"
|
||||
|
||||
@@ -7448,7 +7450,7 @@
|
||||
"version" "2.0.1"
|
||||
|
||||
"node-status-codes@^1.0.0":
|
||||
"integrity" "sha1-WuVUHQJGRdMqWPzdyc7s6nrjrC8="
|
||||
"integrity" "sha512-1cBMgRxdMWE8KeWCqk2RIOrvUb0XCwYfEsY5/y2NlXyq4Y/RumnOZvTj4Nbr77+Vb2C+kyBoRTdkNOS8L3d/aQ=="
|
||||
"resolved" "https://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
|
||||
@@ -7560,7 +7562,7 @@
|
||||
"npm-package-arg" "^8.0.0"
|
||||
|
||||
"npm-run-path@^1.0.0":
|
||||
"integrity" "sha1-9cMr9ZX+ga6Sfa7FLoL4sACsPI8="
|
||||
"integrity" "sha512-PrGAi1SLlqNvKN5uGBjIgnrTb8fl0Jz0a3JJmeMcGnIBh7UE9Gc4zsAMlwDajOMg2b1OgP6UPvoLUboTmMZPFA=="
|
||||
"resolved" "https://registry.npmjs.org/npm-run-path/-/npm-run-path-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
dependencies:
|
||||
@@ -7714,7 +7716,7 @@
|
||||
"wrappy" "1"
|
||||
|
||||
"onetime@^1.0.0":
|
||||
"integrity" "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k="
|
||||
"integrity" "sha512-GZ+g4jayMqzCRMgB2sol7GiCLjKfS1PINkjmx8spcKce1LiVqcbQreXwqs2YAFXC6R03VIG28ZS31t8M866v6A=="
|
||||
"resolved" "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
|
||||
@@ -7762,7 +7764,7 @@
|
||||
"word-wrap" "^1.2.3"
|
||||
|
||||
"ora@^0.2.3":
|
||||
"integrity" "sha1-N1J9Igrc1Tw5tzVx11QVbV22V6Q="
|
||||
"integrity" "sha512-MYGyg17e2GcoDlFrAP39zu4nrAQ+STzl4fosWjR8vAlT0a2wKuuAGZTecffdVLPsnEfxXVlrUcDZ1DU5skr+QQ=="
|
||||
"resolved" "https://registry.npmjs.org/ora/-/ora-0.2.3.tgz"
|
||||
"version" "0.2.3"
|
||||
dependencies:
|
||||
@@ -7900,7 +7902,7 @@
|
||||
"version" "2.2.0"
|
||||
|
||||
"package-json@^2.0.0":
|
||||
"integrity" "sha1-DRW9Z9HLvduyyiIv8u24a8sxqLs="
|
||||
"integrity" "sha512-PRg65iXMTt/uK8Rfh5zvzkUbfAPitF17YaCY+IbHsYgksiLvtzWWTUildHth3mVaZ7871OJ7gtP4LBRBlmAdXg=="
|
||||
"resolved" "https://registry.npmjs.org/package-json/-/package-json-2.4.0.tgz"
|
||||
"version" "2.4.0"
|
||||
dependencies:
|
||||
@@ -7947,7 +7949,7 @@
|
||||
"callsites" "^3.0.0"
|
||||
|
||||
"parse-json@^2.1.0":
|
||||
"integrity" "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck="
|
||||
"integrity" "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ=="
|
||||
"resolved" "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz"
|
||||
"version" "2.2.0"
|
||||
dependencies:
|
||||
@@ -8030,7 +8032,7 @@
|
||||
"version" "1.0.2"
|
||||
|
||||
"path-exists@^2.0.0":
|
||||
"integrity" "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s="
|
||||
"integrity" "sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ=="
|
||||
"resolved" "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz"
|
||||
"version" "2.1.0"
|
||||
dependencies:
|
||||
@@ -8057,7 +8059,7 @@
|
||||
"version" "1.0.2"
|
||||
|
||||
"path-key@^1.0.0":
|
||||
"integrity" "sha1-XVPVeAGWRsDWiADbThRua9wqx68="
|
||||
"integrity" "sha512-T3hWy7tyXlk3QvPFnT+o2tmXRzU4GkitkUWLp/WZ0S/FXd7XMx176tRurgTvHTNMJOQzTcesHNpBqetH86mQ9g=="
|
||||
"resolved" "https://registry.npmjs.org/path-key/-/path-key-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
|
||||
@@ -8087,7 +8089,7 @@
|
||||
"version" "0.1.7"
|
||||
|
||||
"path-type@^1.0.0":
|
||||
"integrity" "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE="
|
||||
"integrity" "sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg=="
|
||||
"resolved" "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
dependencies:
|
||||
@@ -8844,7 +8846,7 @@
|
||||
"version" "1.2.1"
|
||||
|
||||
"prepend-http@^1.0.1":
|
||||
"integrity" "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
|
||||
"integrity" "sha512-PhmXi5XmoyKw1Un4E+opM2KcsJInDvKyuOumcjjw3waw86ZNjHwVUOOWLc4bCzLdcKNaWBH9e99sbWzDQsVaYg=="
|
||||
"resolved" "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz"
|
||||
"version" "1.0.4"
|
||||
|
||||
@@ -8926,7 +8928,7 @@
|
||||
"version" "1.0.1"
|
||||
|
||||
"pseudomap@^1.0.2":
|
||||
"integrity" "sha1-8FKijacOYYkX7wqKw0wa5aaChrM="
|
||||
"integrity" "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ=="
|
||||
"resolved" "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz"
|
||||
"version" "1.0.2"
|
||||
|
||||
@@ -9034,7 +9036,7 @@
|
||||
"strip-json-comments" "~2.0.1"
|
||||
|
||||
"read-all-stream@^3.0.0":
|
||||
"integrity" "sha1-NcPhd/IHjveJ7kv6+kNzB06u9Po="
|
||||
"integrity" "sha512-DI1drPHbmBcUDWrJ7ull/F2Qb8HkwBncVx8/RpKYFSIACYaVRQReISYPdZz/mt1y1+qMCOrfReTopERmaxtP6w=="
|
||||
"resolved" "https://registry.npmjs.org/read-all-stream/-/read-all-stream-3.1.0.tgz"
|
||||
"version" "3.1.0"
|
||||
dependencies:
|
||||
@@ -9065,7 +9067,7 @@
|
||||
"npm-normalize-package-bin" "^1.0.1"
|
||||
|
||||
"read-pkg-up@^1.0.1":
|
||||
"integrity" "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI="
|
||||
"integrity" "sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A=="
|
||||
"resolved" "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz"
|
||||
"version" "1.0.1"
|
||||
dependencies:
|
||||
@@ -9081,7 +9083,7 @@
|
||||
"read-pkg" "^2.0.0"
|
||||
|
||||
"read-pkg@^1.0.0":
|
||||
"integrity" "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg="
|
||||
"integrity" "sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ=="
|
||||
"resolved" "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz"
|
||||
"version" "1.1.0"
|
||||
dependencies:
|
||||
@@ -9180,7 +9182,7 @@
|
||||
"resolve" "^1.1.6"
|
||||
|
||||
"redent@^1.0.0":
|
||||
"integrity" "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94="
|
||||
"integrity" "sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g=="
|
||||
"resolved" "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
dependencies:
|
||||
@@ -9273,7 +9275,7 @@
|
||||
"safe-buffer" "^5.0.1"
|
||||
|
||||
"registry-url@^3.0.3":
|
||||
"integrity" "sha1-PU74cPc93h138M+aOBQyRE4XSUI="
|
||||
"integrity" "sha512-ZbgR5aZEdf4UKZVBPYIgaglBmSF2Hi94s2PcIHhRGFjKYu+chjJdYfHn4rt3hB6eCKLJ8giVIIfgMa1ehDfZKA=="
|
||||
"resolved" "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz"
|
||||
"version" "3.1.0"
|
||||
dependencies:
|
||||
@@ -9307,7 +9309,7 @@
|
||||
"version" "1.6.1"
|
||||
|
||||
"repeating@^2.0.0":
|
||||
"integrity" "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo="
|
||||
"integrity" "sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A=="
|
||||
"resolved" "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz"
|
||||
"version" "2.0.1"
|
||||
dependencies:
|
||||
@@ -9415,7 +9417,7 @@
|
||||
"path-parse" "^1.0.6"
|
||||
|
||||
"restore-cursor@^1.0.1":
|
||||
"integrity" "sha1-NGYfRohjJ/7SmRR5FSJS35LapUE="
|
||||
"integrity" "sha512-reSjH4HuiFlxlaBaFCiS6O76ZGG2ygKoSlCsipKdaZuKSPx/+bt9mULkn4l0asVzbEfQQmXRg6Wp6gv6m0wElw=="
|
||||
"resolved" "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz"
|
||||
"version" "1.0.1"
|
||||
dependencies:
|
||||
@@ -9497,7 +9499,7 @@
|
||||
dependencies:
|
||||
"queue-microtask" "^1.2.2"
|
||||
|
||||
"rxjs@*", "rxjs@^5.5.0 || ^6.5.0", "rxjs@^5.5.0 || ^6.5.0 || ^7.3.0", "rxjs@^6.5.3", "rxjs@^6.5.3 || ^7.0.0", "rxjs@^6.5.3 || ^7.4.0", "rxjs@^6.6.6", "rxjs@^6.6.7", "rxjs@>=6.2.0", "rxjs@6.6.7":
|
||||
"rxjs@*", "rxjs@^5.5.0 || ^6.5.0", "rxjs@^5.5.0 || ^6.5.0 || ^7.3.0", "rxjs@^6.5.3", "rxjs@^6.5.3 || ^7.0.0", "rxjs@^6.5.3 || ^7.4.0", "rxjs@^6.6.6", "rxjs@^6.6.7", "rxjs@>=6.6.0", "rxjs@6.6.7":
|
||||
"integrity" "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ=="
|
||||
"resolved" "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz"
|
||||
"version" "6.6.7"
|
||||
@@ -9634,7 +9636,7 @@
|
||||
"node-forge" "^0.10.0"
|
||||
|
||||
"semver-diff@^2.0.0":
|
||||
"integrity" "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY="
|
||||
"integrity" "sha512-gL8F8L4ORwsS0+iQ34yCYv///jsOq0ZL7WP55d1HnJ32o7tyFYEFQZQA22mrLIacZdU6xecaBBZ+uEiffGNyXw=="
|
||||
"resolved" "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz"
|
||||
"version" "2.1.0"
|
||||
dependencies:
|
||||
@@ -9843,7 +9845,7 @@
|
||||
"object-inspect" "^1.9.0"
|
||||
|
||||
"sigmund@~1.0.0":
|
||||
"integrity" "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA="
|
||||
"integrity" "sha512-fCvEXfh6NWpm+YSuY2bpXb/VIihqWA6hLsgboC+0nl71Q7N7o2eaCW8mJa/NLvQhs6jpd3VZV4UiUQlV6+lc8g=="
|
||||
"resolved" "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz"
|
||||
"version" "1.0.1"
|
||||
|
||||
@@ -9872,7 +9874,7 @@
|
||||
"is-fullwidth-code-point" "^3.0.0"
|
||||
|
||||
"slide@^1.1.5":
|
||||
"integrity" "sha1-VusCfWW00tzmyy4tMsTUr8nh1wc="
|
||||
"integrity" "sha512-NwrtjCg+lZoqhFU8fOwl4ay2ei8PaqCBOUV3/ektPY9trO1yQ1oXEfmHAhKArUVUr/hOHvy5f6AdP17dCM0zMw=="
|
||||
"resolved" "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz"
|
||||
"version" "1.1.6"
|
||||
|
||||
@@ -10200,12 +10202,12 @@
|
||||
"version" "1.5.0"
|
||||
|
||||
"stream-to-observable@^0.1.0":
|
||||
"integrity" "sha1-Rb8dny19wJvtgfHDB8Qw5ouEz/4="
|
||||
"integrity" "sha512-h3mR71JoHxXrKApehgQk1CFbdi2nW9BAVqjPhpPD127H8iz0N61YsCLhJutm+JV0ajNAwPef0kMQsF0Jaz/A6Q=="
|
||||
"resolved" "https://registry.npmjs.org/stream-to-observable/-/stream-to-observable-0.1.0.tgz"
|
||||
"version" "0.1.0"
|
||||
|
||||
"stream-to-observable@^0.2.0":
|
||||
"integrity" "sha1-WdbqOT2HwsDdrBCqDVYbxrpvDhA="
|
||||
"integrity" "sha512-S3WOxuMOVRPy93iWSbkSqMuAhiPLthslx/iR4GK4rIyqE53SdHTjOUq8eV1uTmogUjWN4uc/2v6sOeDkYy5KaQ=="
|
||||
"resolved" "https://registry.npmjs.org/stream-to-observable/-/stream-to-observable-0.2.0.tgz"
|
||||
"version" "0.2.0"
|
||||
dependencies:
|
||||
@@ -10235,7 +10237,7 @@
|
||||
"safe-buffer" "~5.1.0"
|
||||
|
||||
"string-width@^1.0.1":
|
||||
"integrity" "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M="
|
||||
"integrity" "sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw=="
|
||||
"resolved" "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz"
|
||||
"version" "1.0.2"
|
||||
dependencies:
|
||||
@@ -10282,8 +10284,8 @@
|
||||
"call-bind" "^1.0.2"
|
||||
"define-properties" "^1.1.3"
|
||||
|
||||
"strip-ansi@^3.0.0", "strip-ansi@^3.0.1":
|
||||
"integrity" "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8="
|
||||
"strip-ansi@^3.0.0":
|
||||
"integrity" "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg=="
|
||||
"resolved" "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz"
|
||||
"version" "3.0.1"
|
||||
dependencies:
|
||||
@@ -10325,7 +10327,7 @@
|
||||
"ansi-regex" "^5.0.1"
|
||||
|
||||
"strip-bom@^2.0.0":
|
||||
"integrity" "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4="
|
||||
"integrity" "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g=="
|
||||
"resolved" "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz"
|
||||
"version" "2.0.0"
|
||||
dependencies:
|
||||
@@ -10352,7 +10354,7 @@
|
||||
"version" "2.0.0"
|
||||
|
||||
"strip-indent@^1.0.1":
|
||||
"integrity" "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI="
|
||||
"integrity" "sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA=="
|
||||
"resolved" "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz"
|
||||
"version" "1.0.1"
|
||||
dependencies:
|
||||
@@ -10364,7 +10366,7 @@
|
||||
"version" "3.1.1"
|
||||
|
||||
"strip-json-comments@~2.0.1":
|
||||
"integrity" "sha1-PFMZQukIwml8DsNEhYwobHygpgo="
|
||||
"integrity" "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ=="
|
||||
"resolved" "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz"
|
||||
"version" "2.0.1"
|
||||
|
||||
@@ -10408,7 +10410,7 @@
|
||||
"source-map" "^0.7.3"
|
||||
|
||||
"supports-color@^2.0.0":
|
||||
"integrity" "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
|
||||
"integrity" "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g=="
|
||||
"resolved" "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
|
||||
"version" "2.0.0"
|
||||
|
||||
@@ -10459,7 +10461,7 @@
|
||||
"stable" "^0.1.8"
|
||||
|
||||
"symbol-observable@1.0.1":
|
||||
"integrity" "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ="
|
||||
"integrity" "sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw=="
|
||||
"resolved" "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz"
|
||||
"version" "1.0.1"
|
||||
|
||||
@@ -10560,7 +10562,7 @@
|
||||
"version" "1.1.0"
|
||||
|
||||
"timed-out@^2.0.0":
|
||||
"integrity" "sha1-84sK6B03R9YoAB9B2vxlKs5nHAo="
|
||||
"integrity" "sha512-pqqJOi1rF5zNs/ps4vmbE4SFCrM4iR7LW+GHAsHqO/EumqbIWceioevYLM5xZRgQSH6gFgL9J/uB7EcJhQ9niQ=="
|
||||
"resolved" "https://registry.npmjs.org/timed-out/-/timed-out-2.0.0.tgz"
|
||||
"version" "2.0.0"
|
||||
|
||||
@@ -10646,7 +10648,7 @@
|
||||
"version" "1.2.2"
|
||||
|
||||
"trim-newlines@^1.0.0":
|
||||
"integrity" "sha1-WIeWa7WCpFA6QetST301ARgVphM="
|
||||
"integrity" "sha512-Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw=="
|
||||
"resolved" "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
|
||||
@@ -10686,11 +10688,6 @@
|
||||
"resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
|
||||
"version" "1.14.1"
|
||||
|
||||
"tslib@^1.9.3":
|
||||
"integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
|
||||
"resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
|
||||
"version" "1.14.1"
|
||||
|
||||
"tslib@^2.0.0", "tslib@^2.0.1", "tslib@^2.0.3", "tslib@^2.1.0", "tslib@^2.2.0", "tslib@^2.3.1":
|
||||
"integrity" "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
|
||||
"resolved" "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz"
|
||||
@@ -10859,7 +10856,7 @@
|
||||
"version" "4.0.0"
|
||||
|
||||
"unzip-response@^1.0.0":
|
||||
"integrity" "sha1-uYTwh3/AqJwsdzzB73tbIytbBv4="
|
||||
"integrity" "sha512-pwCcjjhEcpW45JZIySExBHYv5Y9EeL2OIGEfrSKp2dMUFGFv4CpvZkwJbVge8OvGH2BNNtJBx67DuKuJhf+N5Q=="
|
||||
"resolved" "https://registry.npmjs.org/unzip-response/-/unzip-response-1.0.2.tgz"
|
||||
"version" "1.0.2"
|
||||
|
||||
@@ -10869,7 +10866,7 @@
|
||||
"version" "1.2.0"
|
||||
|
||||
"update-notifier@^1.0.1":
|
||||
"integrity" "sha1-j5LFFUgr1oMbfJMBPnD4dVLHz1o="
|
||||
"integrity" "sha512-iQSLFuxB2ZFAxXGN28DTxk/GNGlBmtqawvguYDtChAHI9Xjy0z7c7hpw6ywutK34SEDYTpLEsAM1ATMq5pcQsw=="
|
||||
"resolved" "https://registry.npmjs.org/update-notifier/-/update-notifier-1.0.3.tgz"
|
||||
"version" "1.0.3"
|
||||
dependencies:
|
||||
@@ -10895,7 +10892,7 @@
|
||||
"version" "0.1.0"
|
||||
|
||||
"url-parse-lax@^1.0.0":
|
||||
"integrity" "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM="
|
||||
"integrity" "sha512-BVA4lR5PIviy2PMseNd2jbFQ+jwSwQGdJejf5ctd1rEXt0Ypd7yanUK9+lYechVlN5VaTJGsu2U/3MDDu6KgBA=="
|
||||
"resolved" "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
dependencies:
|
||||
@@ -10933,7 +10930,7 @@
|
||||
"version" "1.0.1"
|
||||
|
||||
"uuid@^2.0.1":
|
||||
"integrity" "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho="
|
||||
"integrity" "sha512-FULf7fayPdpASncVy4DLh3xydlXEJJpvIELjYjNeQWYUZ9pclcpvCZSr2gkmN2FrrGcI7G/cJsIEwk5/8vfXpg=="
|
||||
"resolved" "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz"
|
||||
"version" "2.0.3"
|
||||
|
||||
@@ -11239,7 +11236,7 @@
|
||||
"string-width" "^1.0.2 || 2 || 3 || 4"
|
||||
|
||||
"widest-line@^1.0.0":
|
||||
"integrity" "sha1-DAnIXCqUaD0Nfq+O4JfVZL8OEFw="
|
||||
"integrity" "sha512-r5vvGtqsHUHn98V0jURY4Ts86xJf6+SzK9rpWdV8/73nURB3WFPIHd67aOvPw2fSuunIyHjAUqiJ2TY0x4E5gw=="
|
||||
"resolved" "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz"
|
||||
"version" "1.0.0"
|
||||
dependencies:
|
||||
@@ -11297,7 +11294,7 @@
|
||||
"version" "1.0.2"
|
||||
|
||||
"write-file-atomic@^1.1.2":
|
||||
"integrity" "sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8="
|
||||
"integrity" "sha512-SdrHoC/yVBPpV0Xq/mUZQIpW2sWXAShb/V4pomcJXh92RuaO+f3UTWItiR3Px+pLnV2PvC2/bfn5cwr5X6Vfxw=="
|
||||
"resolved" "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-1.3.4.tgz"
|
||||
"version" "1.3.4"
|
||||
dependencies:
|
||||
@@ -11323,7 +11320,7 @@
|
||||
"version" "8.2.3"
|
||||
|
||||
"xdg-basedir@^2.0.0":
|
||||
"integrity" "sha1-7byQPMOF/ARSPZZqM1UEtVBNG9I="
|
||||
"integrity" "sha512-NF1pPn594TaRSUO/HARoB4jK8I+rWgcpVlpQCK6/6o5PHyLUt2CSiDrpUZbQ6rROck+W2EwF8mBJcTs+W98J9w=="
|
||||
"resolved" "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-2.0.0.tgz"
|
||||
"version" "2.0.0"
|
||||
dependencies:
|
||||
@@ -11358,7 +11355,7 @@
|
||||
"version" "5.0.8"
|
||||
|
||||
"yallist@^2.1.2":
|
||||
"integrity" "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI="
|
||||
"integrity" "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A=="
|
||||
"resolved" "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz"
|
||||
"version" "2.1.2"
|
||||
|
||||
@@ -11475,7 +11472,7 @@
|
||||
"resolved" "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz"
|
||||
"version" "0.1.0"
|
||||
|
||||
"zone.js@>=0.8.26", "zone.js@~0.11.4":
|
||||
"zone.js@>=0.11.0", "zone.js@~0.11.4":
|
||||
"integrity" "sha512-DDh2Ab+A/B+9mJyajPjHFPWfYU1H+pdun4wnnk0OcQTNjem1XQSZ2CDW+rfZEUDjv5M19SBqAkjZi0x5wuB5Qw=="
|
||||
"resolved" "https://registry.npmjs.org/zone.js/-/zone.js-0.11.4.tgz"
|
||||
"version" "0.11.4"
|
||||
|
||||
2
wol/.eslintignore
Normal file
2
wol/.eslintignore
Normal file
@@ -0,0 +1,2 @@
|
||||
build
|
||||
dist
|
||||
61
wol/.gitignore
vendored
Normal file
61
wol/.gitignore
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
# node files
|
||||
dist
|
||||
node_modules
|
||||
|
||||
# iOS files
|
||||
Pods
|
||||
Podfile.lock
|
||||
Build
|
||||
xcuserdata
|
||||
|
||||
# macOS files
|
||||
.DS_Store
|
||||
|
||||
|
||||
|
||||
# Based on Android gitignore template: https://github.com/github/gitignore/blob/HEAD/Android.gitignore
|
||||
|
||||
# Built application files
|
||||
*.apk
|
||||
*.ap_
|
||||
|
||||
# Files for the ART/Dalvik VM
|
||||
*.dex
|
||||
|
||||
# Java class files
|
||||
*.class
|
||||
|
||||
# Generated files
|
||||
bin
|
||||
gen
|
||||
out
|
||||
|
||||
# Gradle files
|
||||
.gradle
|
||||
build
|
||||
|
||||
# Local configuration file (sdk path, etc)
|
||||
local.properties
|
||||
|
||||
# Proguard folder generated by Eclipse
|
||||
proguard
|
||||
|
||||
# Log Files
|
||||
*.log
|
||||
|
||||
# Android Studio Navigation editor temp files
|
||||
.navigation
|
||||
|
||||
# Android Studio captures folder
|
||||
captures
|
||||
|
||||
# IntelliJ
|
||||
*.iml
|
||||
.idea
|
||||
|
||||
# Keystore files
|
||||
# Uncomment the following line if you do not want to check your keystore files in.
|
||||
#*.jks
|
||||
|
||||
# External native build folder generated in Android Studio 2.2 and later
|
||||
.externalNativeBuild
|
||||
2
wol/.prettierignore
Normal file
2
wol/.prettierignore
Normal file
@@ -0,0 +1,2 @@
|
||||
build
|
||||
dist
|
||||
52
wol/CONTRIBUTING.md
Normal file
52
wol/CONTRIBUTING.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# Contributing
|
||||
|
||||
This guide provides instructions for contributing to this Capacitor plugin.
|
||||
|
||||
## Developing
|
||||
|
||||
### Local Setup
|
||||
|
||||
1. Fork and clone the repo.
|
||||
1. Install the dependencies.
|
||||
|
||||
```shell
|
||||
npm install
|
||||
```
|
||||
|
||||
1. Install SwiftLint if you're on macOS.
|
||||
|
||||
```shell
|
||||
brew install swiftlint
|
||||
```
|
||||
|
||||
### Scripts
|
||||
|
||||
#### `npm run build`
|
||||
|
||||
Build the plugin web assets and generate plugin API documentation using [`@capacitor/docgen`](https://github.com/ionic-team/capacitor-docgen).
|
||||
|
||||
It will compile the TypeScript code from `src/` into ESM JavaScript in `dist/esm/`. These files are used in apps with bundlers when your plugin is imported.
|
||||
|
||||
Then, Rollup will bundle the code into a single file at `dist/plugin.js`. This file is used in apps without bundlers by including it as a script in `index.html`.
|
||||
|
||||
#### `npm run verify`
|
||||
|
||||
Build and validate the web and native projects.
|
||||
|
||||
This is useful to run in CI to verify that the plugin builds for all platforms.
|
||||
|
||||
#### `npm run lint` / `npm run fmt`
|
||||
|
||||
Check formatting and code quality, autoformat/autofix if possible.
|
||||
|
||||
This template is integrated with ESLint, Prettier, and SwiftLint. Using these tools is completely optional, but the [Capacitor Community](https://github.com/capacitor-community/) strives to have consistent code style and structure for easier cooperation.
|
||||
|
||||
## Publishing
|
||||
|
||||
There is a `prepublishOnly` hook in `package.json` which prepares the plugin before publishing, so all you need to do is run:
|
||||
|
||||
```shell
|
||||
npm publish
|
||||
```
|
||||
|
||||
> **Note**: The [`files`](https://docs.npmjs.com/cli/v7/configuring-npm/package-json#files) array in `package.json` specifies which files get published. If you rename files/directories or add files elsewhere, you may need to update it.
|
||||
37
wol/README.md
Normal file
37
wol/README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# wol
|
||||
|
||||
Wake on up lan
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
npm install wol
|
||||
npx cap sync
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
<docgen-index>
|
||||
|
||||
* [`echo(...)`](#echo)
|
||||
|
||||
</docgen-index>
|
||||
|
||||
<docgen-api>
|
||||
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->
|
||||
|
||||
### echo(...)
|
||||
|
||||
```typescript
|
||||
echo(options: { value: string; }) => Promise<{ value: string; }>
|
||||
```
|
||||
|
||||
| Param | Type |
|
||||
| ------------- | ------------------------------- |
|
||||
| **`options`** | <code>{ value: string; }</code> |
|
||||
|
||||
**Returns:** <code>Promise<{ value: string; }></code>
|
||||
|
||||
--------------------
|
||||
|
||||
</docgen-api>
|
||||
17
wol/Wol.podspec
Normal file
17
wol/Wol.podspec
Normal file
@@ -0,0 +1,17 @@
|
||||
require 'json'
|
||||
|
||||
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'Wol'
|
||||
s.version = package['version']
|
||||
s.summary = package['description']
|
||||
s.license = package['license']
|
||||
s.homepage = package['repository']['url']
|
||||
s.author = package['author']
|
||||
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
|
||||
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
||||
s.ios.deployment_target = '13.0'
|
||||
s.dependency 'Capacitor'
|
||||
s.swift_version = '5.1'
|
||||
end
|
||||
1
wol/android/.gitignore
vendored
Normal file
1
wol/android/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/build
|
||||
57
wol/android/build.gradle
Normal file
57
wol/android/build.gradle
Normal file
@@ -0,0 +1,57 @@
|
||||
ext {
|
||||
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
|
||||
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.4.2'
|
||||
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.3'
|
||||
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.4.0'
|
||||
}
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.2.1'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
android {
|
||||
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 32
|
||||
defaultConfig {
|
||||
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 22
|
||||
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 32
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_11
|
||||
targetCompatibility JavaVersion.VERSION_11
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation project(':capacitor-android')
|
||||
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
||||
testImplementation "junit:junit:$junitVersion"
|
||||
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
||||
}
|
||||
24
wol/android/gradle.properties
Normal file
24
wol/android/gradle.properties
Normal file
@@ -0,0 +1,24 @@
|
||||
# Project-wide Gradle settings.
|
||||
|
||||
# IDE (e.g. Android Studio) users:
|
||||
# Gradle settings configured through the IDE *will override*
|
||||
# any settings specified in this file.
|
||||
|
||||
# For more details on how to configure your build environment visit
|
||||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||||
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
org.gradle.jvmargs=-Xmx1536m
|
||||
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||
# org.gradle.parallel=true
|
||||
|
||||
# AndroidX package structure to make it clearer which packages are bundled with the
|
||||
# Android operating system, and which are packaged with your app's APK
|
||||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
||||
android.useAndroidX=true
|
||||
# Automatically convert third-party libraries to use AndroidX
|
||||
android.enableJetifier=true
|
||||
BIN
wol/android/gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
BIN
wol/android/gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
Binary file not shown.
5
wol/android/gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
5
wol/android/gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
234
wol/android/gradlew
vendored
Normal file
234
wol/android/gradlew
vendored
Normal file
@@ -0,0 +1,234 @@
|
||||
#!/bin/sh
|
||||
|
||||
#
|
||||
# Copyright © 2015-2021 the original authors.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
##############################################################################
|
||||
#
|
||||
# Gradle start up script for POSIX generated by Gradle.
|
||||
#
|
||||
# Important for running:
|
||||
#
|
||||
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
|
||||
# noncompliant, but you have some other compliant shell such as ksh or
|
||||
# bash, then to run this script, type that shell name before the whole
|
||||
# command line, like:
|
||||
#
|
||||
# ksh Gradle
|
||||
#
|
||||
# Busybox and similar reduced shells will NOT work, because this script
|
||||
# requires all of these POSIX shell features:
|
||||
# * functions;
|
||||
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||
# * compound commands having a testable exit status, especially «case»;
|
||||
# * various built-in commands including «command», «set», and «ulimit».
|
||||
#
|
||||
# Important for patching:
|
||||
#
|
||||
# (2) This script targets any POSIX shell, so it avoids extensions provided
|
||||
# by Bash, Ksh, etc; in particular arrays are avoided.
|
||||
#
|
||||
# The "traditional" practice of packing multiple parameters into a
|
||||
# space-separated string is a well documented source of bugs and security
|
||||
# problems, so this is (mostly) avoided, by progressively accumulating
|
||||
# options in "$@", and eventually passing that to Java.
|
||||
#
|
||||
# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
|
||||
# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
|
||||
# see the in-line comments for details.
|
||||
#
|
||||
# There are tweaks for specific operating systems such as AIX, CygWin,
|
||||
# Darwin, MinGW, and NonStop.
|
||||
#
|
||||
# (3) This script is generated from the Groovy template
|
||||
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
||||
# within the Gradle project.
|
||||
#
|
||||
# You can find Gradle at https://github.com/gradle/gradle/.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
|
||||
# Resolve links: $0 may be a link
|
||||
app_path=$0
|
||||
|
||||
# Need this for daisy-chained symlinks.
|
||||
while
|
||||
APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
|
||||
[ -h "$app_path" ]
|
||||
do
|
||||
ls=$( ls -ld "$app_path" )
|
||||
link=${ls#*' -> '}
|
||||
case $link in #(
|
||||
/*) app_path=$link ;; #(
|
||||
*) app_path=$APP_HOME$link ;;
|
||||
esac
|
||||
done
|
||||
|
||||
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=${0##*/}
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD=maximum
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
} >&2
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
} >&2
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "$( uname )" in #(
|
||||
CYGWIN* ) cygwin=true ;; #(
|
||||
Darwin* ) darwin=true ;; #(
|
||||
MSYS* | MINGW* ) msys=true ;; #(
|
||||
NONSTOP* ) nonstop=true ;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD=$JAVA_HOME/jre/sh/java
|
||||
else
|
||||
JAVACMD=$JAVA_HOME/bin/java
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD=java
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
||||
case $MAX_FD in #(
|
||||
max*)
|
||||
MAX_FD=$( ulimit -H -n ) ||
|
||||
warn "Could not query maximum file descriptor limit"
|
||||
esac
|
||||
case $MAX_FD in #(
|
||||
'' | soft) :;; #(
|
||||
*)
|
||||
ulimit -n "$MAX_FD" ||
|
||||
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
||||
esac
|
||||
fi
|
||||
|
||||
# Collect all arguments for the java command, stacking in reverse order:
|
||||
# * args from the command line
|
||||
# * the main class name
|
||||
# * -classpath
|
||||
# * -D...appname settings
|
||||
# * --module-path (only if needed)
|
||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
|
||||
|
||||
# For Cygwin or MSYS, switch paths to Windows format before running java
|
||||
if "$cygwin" || "$msys" ; then
|
||||
APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
|
||||
CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
|
||||
|
||||
JAVACMD=$( cygpath --unix "$JAVACMD" )
|
||||
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
for arg do
|
||||
if
|
||||
case $arg in #(
|
||||
-*) false ;; # don't mess with options #(
|
||||
/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
|
||||
[ -e "$t" ] ;; #(
|
||||
*) false ;;
|
||||
esac
|
||||
then
|
||||
arg=$( cygpath --path --ignore --mixed "$arg" )
|
||||
fi
|
||||
# Roll the args list around exactly as many times as the number of
|
||||
# args, so each arg winds up back in the position where it started, but
|
||||
# possibly modified.
|
||||
#
|
||||
# NB: a `for` loop captures its iteration list before it begins, so
|
||||
# changing the positional parameters here affects neither the number of
|
||||
# iterations, nor the values presented in `arg`.
|
||||
shift # remove old arg
|
||||
set -- "$@" "$arg" # push replacement arg
|
||||
done
|
||||
fi
|
||||
|
||||
# Collect all arguments for the java command;
|
||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||
# shell script including quotes and variable substitutions, so put them in
|
||||
# double quotes to make sure that they get re-expanded; and
|
||||
# * put everything else in single quotes, so that it's not re-expanded.
|
||||
|
||||
set -- \
|
||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||
-classpath "$CLASSPATH" \
|
||||
org.gradle.wrapper.GradleWrapperMain \
|
||||
"$@"
|
||||
|
||||
# Use "xargs" to parse quoted args.
|
||||
#
|
||||
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||
#
|
||||
# In Bash we could simply go:
|
||||
#
|
||||
# readarray ARGS < <( xargs -n1 <<<"$var" ) &&
|
||||
# set -- "${ARGS[@]}" "$@"
|
||||
#
|
||||
# but POSIX shell has neither arrays nor command substitution, so instead we
|
||||
# post-process each arg (as a line of input to sed) to backslash-escape any
|
||||
# character that might be a shell metacharacter, then use eval to reverse
|
||||
# that process (while maintaining the separation between arguments), and wrap
|
||||
# the whole thing up as a single "set" statement.
|
||||
#
|
||||
# This will of course break if any of these variables contains a newline or
|
||||
# an unmatched quote.
|
||||
#
|
||||
|
||||
eval "set -- $(
|
||||
printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
|
||||
xargs -n1 |
|
||||
sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
|
||||
tr '\n' ' '
|
||||
)" '"$@"'
|
||||
|
||||
exec "$JAVACMD" "$@"
|
||||
89
wol/android/gradlew.bat
vendored
Normal file
89
wol/android/gradlew.bat
vendored
Normal file
@@ -0,0 +1,89 @@
|
||||
@rem
|
||||
@rem Copyright 2015 the original author or authors.
|
||||
@rem
|
||||
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@rem you may not use this file except in compliance with the License.
|
||||
@rem You may obtain a copy of the License at
|
||||
@rem
|
||||
@rem https://www.apache.org/licenses/LICENSE-2.0
|
||||
@rem
|
||||
@rem Unless required by applicable law or agreed to in writing, software
|
||||
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@rem See the License for the specific language governing permissions and
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
||||
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||
exit /b 1
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
21
wol/android/proguard-rules.pro
vendored
Normal file
21
wol/android/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
2
wol/android/settings.gradle
Normal file
2
wol/android/settings.gradle
Normal file
@@ -0,0 +1,2 @@
|
||||
include ':capacitor-android'
|
||||
project(':capacitor-android').projectDir = new File('../node_modules/@capacitor/android/capacitor')
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.getcapacitor.android;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import android.content.Context;
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||||
import androidx.test.platform.app.InstrumentationRegistry;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ExampleInstrumentedTest {
|
||||
|
||||
@Test
|
||||
public void useAppContext() throws Exception {
|
||||
// Context of the app under test.
|
||||
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
|
||||
|
||||
assertEquals("com.getcapacitor.android", appContext.getPackageName());
|
||||
}
|
||||
}
|
||||
3
wol/android/src/main/AndroidManifest.xml
Normal file
3
wol/android/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.mycompany.plugins.example">
|
||||
</manifest>
|
||||
@@ -0,0 +1,97 @@
|
||||
package com.mycompany.plugins.example;
|
||||
import com.getcapacitor.Plugin;
|
||||
import com.getcapacitor.PluginMethod;
|
||||
import com.getcapacitor.annotation.CapacitorPlugin;
|
||||
import java.io.IOException;
|
||||
import java.net.DatagramPacket;
|
||||
import java.net.DatagramSocket;
|
||||
import java.net.InetAddress;
|
||||
import java.net.SocketException;
|
||||
|
||||
// create a wake on lan plugin for ionic capactor (android)
|
||||
@CapacitorPlugin(name = "wol")
|
||||
public class WolPlugin extends Plugin {
|
||||
|
||||
// create a method to send the magic packet
|
||||
|
||||
@PluginMethod
|
||||
public void sendMagicPacket(String macAddress, String ipAddress) throws IOException {
|
||||
// create a new thread to send the magic packet
|
||||
/*new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
// create a new datagram socket
|
||||
DatagramSocket socket = new DatagramSocket();
|
||||
// set the broadcast address
|
||||
socket.setBroadcast(true);
|
||||
// create a new byte array
|
||||
byte[] macBytes = getMacBytes(macAddress);
|
||||
|
||||
private byte[] getIpBytes byte[] ipBytes = getIpBytes(ipAdress);
|
||||
// create a new byte array
|
||||
byte[] bytes = new byte[6 + 16 * macBytes.length];
|
||||
// loop through the byte array
|
||||
for (int i = 0; i < 6; i++) {
|
||||
// set the byte array to ff
|
||||
bytes[i] = (byte) 0xff;
|
||||
}
|
||||
// loop through the byte array
|
||||
for (int i = 6; i < bytes.length; i += macBytes.length) {
|
||||
// copy the mac bytes to the byte array
|
||||
System.arraycopy(macBytes, 0, bytes, i, macBytes.length);
|
||||
}
|
||||
// create a new datagram packet
|
||||
DatagramPacket packet = new DatagramPacket(bytes, bytes.length, InetAddress.getByAddress(ipBytes), 9);
|
||||
*/
|
||||
// create a byte array to hold the mac address
|
||||
byte[] macBytes = getMacBytes(macAddress);
|
||||
// create a byte array to hold the ip address
|
||||
byte[] ipBytes = getIpBytes(ipAddress);
|
||||
// create a byte array to hold the magic packet
|
||||
byte[] packet = new byte[102];
|
||||
// fill the packet with 0xFF
|
||||
for (int i = 0; i < 6; i++) {
|
||||
packet[i] = (byte) 0xff;
|
||||
}
|
||||
// fill the packet with the mac address
|
||||
for (int i = 6; i < 102; i += 6) {
|
||||
System.arraycopy(macBytes, 0, packet, i, macBytes.length);
|
||||
}
|
||||
// create a datagram packet
|
||||
DatagramPacket datagramPacket = new DatagramPacket(packet, packet.length, InetAddress.getByAddress(ipBytes), 9);
|
||||
// create a datagram socket
|
||||
DatagramSocket datagramSocket = new DatagramSocket();
|
||||
// send the packet
|
||||
datagramSocket.send(datagramPacket);
|
||||
// close the socket
|
||||
datagramSocket.close();
|
||||
}
|
||||
|
||||
private byte[] getMacBytes (String macAddress){
|
||||
// create a byte array to hold the mac address
|
||||
byte[] bytes = new byte[6];
|
||||
// split the mac address into 6 parts
|
||||
String[] hex = macAddress.split("(\\:|\\-)");
|
||||
// convert each part into a byte
|
||||
for (int i = 0; i < 6; i++) {
|
||||
bytes[i] = (byte) Integer.parseInt(hex[i], 16);
|
||||
}
|
||||
// return the byte array
|
||||
return bytes;
|
||||
}
|
||||
|
||||
private byte[] getIpBytes (String ipAddress){
|
||||
// create a byte array to hold the ip address
|
||||
byte[] bytes = new byte[4];
|
||||
// split the ip address into 4 parts
|
||||
String[] hex = ipAddress.split("\\.");
|
||||
// convert each part into a byte
|
||||
for (int i = 0; i < 4; i++) {
|
||||
bytes[i] = (byte) Integer.parseInt(hex[i]);
|
||||
}
|
||||
// return the byte array
|
||||
return bytes;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.mycompany.plugins.example;
|
||||
|
||||
import com.getcapacitor.JSObject;
|
||||
import com.getcapacitor.Plugin;
|
||||
import com.getcapacitor.PluginCall;
|
||||
import com.getcapacitor.PluginMethod;
|
||||
import com.getcapacitor.annotation.CapacitorPlugin;
|
||||
|
||||
@CapacitorPlugin(name = "wol")
|
||||
public class wolPlugin extends Plugin {
|
||||
|
||||
private wol implementation = new wol();
|
||||
|
||||
@PluginMethod
|
||||
public void echo(PluginCall call) {
|
||||
String value = call.getString("value");
|
||||
|
||||
JSObject ret = new JSObject();
|
||||
ret.put("value", implementation.echo(value));
|
||||
call.resolve(ret);
|
||||
}
|
||||
}
|
||||
0
wol/android/src/main/res/.gitkeep
Normal file
0
wol/android/src/main/res/.gitkeep
Normal file
@@ -0,0 +1,18 @@
|
||||
package com.getcapacitor;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
* Example local unit test, which will execute on the development machine (host).
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
public class ExampleUnitTest {
|
||||
|
||||
@Test
|
||||
public void addition_isCorrect() throws Exception {
|
||||
assertEquals(4, 2 + 2);
|
||||
}
|
||||
}
|
||||
7
wol/example/.gitignore
vendored
Normal file
7
wol/example/.gitignore
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
.idea/
|
||||
node_modules/
|
||||
.vscode/
|
||||
*.map
|
||||
.DS_Store
|
||||
.sourcemaps
|
||||
dist/
|
||||
12
wol/example/README.md
Normal file
12
wol/example/README.md
Normal file
@@ -0,0 +1,12 @@
|
||||
## Created with Capacitor Create App
|
||||
|
||||
This app was created using [`@capacitor/create-app`](https://github.com/ionic-team/create-capacitor-app),
|
||||
and comes with a very minimal shell for building an app.
|
||||
|
||||
### Running this example
|
||||
|
||||
To run the provided example, you can use `npm start` command.
|
||||
|
||||
```bash
|
||||
npm start
|
||||
```
|
||||
11
wol/example/capacitor.config.json
Normal file
11
wol/example/capacitor.config.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"appId": "com.example.plugin",
|
||||
"appName": "example",
|
||||
"bundledWebRuntime": false,
|
||||
"webDir": "dist",
|
||||
"plugins": {
|
||||
"SplashScreen": {
|
||||
"launchShowDuration": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
29
wol/example/package.json
Normal file
29
wol/example/package.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"name": "capacitor-app",
|
||||
"version": "1.0.0",
|
||||
"description": "An Amazing Capacitor App",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
"capacitor",
|
||||
"mobile"
|
||||
],
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@capacitor/core": "latest",
|
||||
"@capacitor/camera": "latest",
|
||||
"@capacitor/splash-screen": "latest",
|
||||
"wol": "file:..",
|
||||
"@capacitor/ios": "^4.0.0",
|
||||
"@capacitor/android": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@capacitor/cli": "latest",
|
||||
"vite": "^2.9.13"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
||||
BIN
wol/example/src/assets/icon/favicon.ico
Normal file
BIN
wol/example/src/assets/icon/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
BIN
wol/example/src/assets/imgs/logo.png
Normal file
BIN
wol/example/src/assets/imgs/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
5
wol/example/src/css/style.css
Normal file
5
wol/example/src/css/style.css
Normal file
@@ -0,0 +1,5 @@
|
||||
html,
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
32
wol/example/src/index.html
Normal file
32
wol/example/src/index.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<title>Awesome Capacitor App</title>
|
||||
<meta
|
||||
name="viewport"
|
||||
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||
/>
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="msapplication-tap-highlight" content="no" />
|
||||
|
||||
<script
|
||||
type="module"
|
||||
src="https://unpkg.com/@ionic/pwa-elements@latest/dist/ionicpwaelements/ionicpwaelements.esm.js"
|
||||
></script>
|
||||
<script
|
||||
nomodule
|
||||
src="https://unpkg.com/@ionic/pwa-elements@latest/dist/ionicpwaelements/ionicpwaelements.js"
|
||||
></script>
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="./assets/icon/favicon.ico" />
|
||||
<link rel="manifest" href="./manifest.json" />
|
||||
<link rel="stylesheet" href="./css/style.css" />
|
||||
<meta name="theme-color" content="#31d53d" />
|
||||
</head>
|
||||
<body>
|
||||
<capacitor-welcome></capacitor-welcome>
|
||||
|
||||
<script src="./js/capacitor-welcome.js" type="module"></script>
|
||||
</body>
|
||||
</html>
|
||||
142
wol/example/src/js/capacitor-welcome.js
Normal file
142
wol/example/src/js/capacitor-welcome.js
Normal file
@@ -0,0 +1,142 @@
|
||||
import { SplashScreen } from '@capacitor/splash-screen';
|
||||
import { Camera } from '@capacitor/camera';
|
||||
|
||||
window.customElements.define(
|
||||
'capacitor-welcome',
|
||||
class extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
SplashScreen.hide();
|
||||
|
||||
const root = this.attachShadow({ mode: 'open' });
|
||||
|
||||
root.innerHTML = `
|
||||
<style>
|
||||
:host {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
h1, h2, h3, h4, h5 {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.button {
|
||||
display: inline-block;
|
||||
padding: 10px;
|
||||
background-color: #73B5F6;
|
||||
color: #fff;
|
||||
font-size: 0.9em;
|
||||
border: 0;
|
||||
border-radius: 3px;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
main {
|
||||
padding: 15px;
|
||||
}
|
||||
main hr { height: 1px; background-color: #eee; border: 0; }
|
||||
main h1 {
|
||||
font-size: 1.4em;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
main h2 {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
main h3 {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
main p {
|
||||
color: #333;
|
||||
}
|
||||
main pre {
|
||||
white-space: pre-line;
|
||||
}
|
||||
</style>
|
||||
<div>
|
||||
<capacitor-welcome-titlebar>
|
||||
<h1>Capacitor</h1>
|
||||
</capacitor-welcome-titlebar>
|
||||
<main>
|
||||
<p>
|
||||
Capacitor makes it easy to build powerful apps for the app stores, mobile web (Progressive Web Apps), and desktop, all
|
||||
with a single code base.
|
||||
</p>
|
||||
<h2>Getting Started</h2>
|
||||
<p>
|
||||
You'll probably need a UI framework to build a full-featured app. Might we recommend
|
||||
<a target="_blank" href="http://ionicframework.com/">Ionic</a>?
|
||||
</p>
|
||||
<p>
|
||||
Visit <a href="https://capacitorjs.com">capacitorjs.com</a> for information
|
||||
on using native features, building plugins, and more.
|
||||
</p>
|
||||
<a href="https://capacitorjs.com" target="_blank" class="button">Read more</a>
|
||||
<h2>Tiny Demo</h2>
|
||||
<p>
|
||||
This demo shows how to call Capacitor plugins. Say cheese!
|
||||
</p>
|
||||
<p>
|
||||
<button class="button" id="take-photo">Take Photo</button>
|
||||
</p>
|
||||
<p>
|
||||
<img id="image" style="max-width: 100%">
|
||||
</p>
|
||||
</main>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
connectedCallback() {
|
||||
const self = this;
|
||||
|
||||
self.shadowRoot.querySelector('#take-photo').addEventListener('click', async function (e) {
|
||||
try {
|
||||
const photo = await Camera.getPhoto({
|
||||
resultType: 'uri',
|
||||
});
|
||||
|
||||
const image = self.shadowRoot.querySelector('#image');
|
||||
if (!image) {
|
||||
return;
|
||||
}
|
||||
|
||||
image.src = photo.webPath;
|
||||
} catch (e) {
|
||||
console.warn('User cancelled', e);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
window.customElements.define(
|
||||
'capacitor-welcome-titlebar',
|
||||
class extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
const root = this.attachShadow({ mode: 'open' });
|
||||
root.innerHTML = `
|
||||
<style>
|
||||
:host {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 15px 15px 15px 15px;
|
||||
text-align: center;
|
||||
background-color: #73B5F6;
|
||||
}
|
||||
::slotted(h1) {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
font-size: 0.9em;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
<slot></slot>
|
||||
`;
|
||||
}
|
||||
}
|
||||
);
|
||||
13
wol/example/src/manifest.json
Normal file
13
wol/example/src/manifest.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "App",
|
||||
"short_name": "App",
|
||||
"start_url": "index.html",
|
||||
"display": "standalone",
|
||||
"icons": [{
|
||||
"src": "assets/imgs/logo.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}],
|
||||
"background_color": "#31d53d",
|
||||
"theme_color": "#31d53d"
|
||||
}
|
||||
10
wol/example/vite.config.ts
Normal file
10
wol/example/vite.config.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
root: './src',
|
||||
build: {
|
||||
outDir: '../dist',
|
||||
minify: false,
|
||||
emptyOutDir: true,
|
||||
},
|
||||
});
|
||||
571
wol/ios/Plugin.xcodeproj/project.pbxproj
Normal file
571
wol/ios/Plugin.xcodeproj/project.pbxproj
Normal file
@@ -0,0 +1,571 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 48;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
03FC29A292ACC40490383A1F /* Pods_Plugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B2A61DA5A1F2DD4F959604D /* Pods_Plugin.framework */; };
|
||||
20C0B05DCFC8E3958A738AF2 /* Pods_PluginTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */; };
|
||||
2F98D68224C9AAE500613A4C /* wol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F98D68124C9AAE400613A4C /* wol.swift */; };
|
||||
50ADFF92201F53D600D50D53 /* Plugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ADFF88201F53D600D50D53 /* Plugin.framework */; };
|
||||
50ADFF97201F53D600D50D53 /* wolTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50ADFF96201F53D600D50D53 /* wolTests.swift */; };
|
||||
50ADFF99201F53D600D50D53 /* wolPlugin.h in Headers */ = {isa = PBXBuildFile; fileRef = 50ADFF8B201F53D600D50D53 /* wolPlugin.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
50ADFFA42020D75100D50D53 /* Capacitor.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ADFFA52020D75100D50D53 /* Capacitor.framework */; };
|
||||
50ADFFA82020EE4F00D50D53 /* wolPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 50ADFFA72020EE4F00D50D53 /* wolPlugin.m */; };
|
||||
50E1A94820377CB70090CE1A /* wolPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50E1A94720377CB70090CE1A /* wolPlugin.swift */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
50ADFF93201F53D600D50D53 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 50ADFF7F201F53D600D50D53 /* Project object */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 50ADFF87201F53D600D50D53;
|
||||
remoteInfo = Plugin;
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
2F98D68124C9AAE400613A4C /* wol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = wol.swift; sourceTree = "<group>"; };
|
||||
3B2A61DA5A1F2DD4F959604D /* Pods_Plugin.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Plugin.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
50ADFF88201F53D600D50D53 /* Plugin.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Plugin.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
50ADFF8B201F53D600D50D53 /* wolPlugin.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = wolPlugin.h; sourceTree = "<group>"; };
|
||||
50ADFF8C201F53D600D50D53 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
50ADFF91201F53D600D50D53 /* PluginTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PluginTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
50ADFF96201F53D600D50D53 /* wolTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = wolTests.swift; sourceTree = "<group>"; };
|
||||
50ADFF98201F53D600D50D53 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
50ADFFA52020D75100D50D53 /* Capacitor.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Capacitor.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
50ADFFA72020EE4F00D50D53 /* wolPlugin.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = wolPlugin.m; sourceTree = "<group>"; };
|
||||
50E1A94720377CB70090CE1A /* wolPlugin.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = wolPlugin.swift; sourceTree = "<group>"; };
|
||||
5E23F77F099397094342571A /* Pods-Plugin.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Plugin.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Plugin/Pods-Plugin.debug.xcconfig"; sourceTree = "<group>"; };
|
||||
91781294A431A2A7CC6EB714 /* Pods-Plugin.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Plugin.release.xcconfig"; path = "Pods/Target Support Files/Pods-Plugin/Pods-Plugin.release.xcconfig"; sourceTree = "<group>"; };
|
||||
96ED1B6440D6672E406C8D19 /* Pods-PluginTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PluginTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.debug.xcconfig"; sourceTree = "<group>"; };
|
||||
F65BB2953ECE002E1EF3E424 /* Pods-PluginTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PluginTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-PluginTests/Pods-PluginTests.release.xcconfig"; sourceTree = "<group>"; };
|
||||
F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PluginTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
50ADFF84201F53D600D50D53 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
50ADFFA42020D75100D50D53 /* Capacitor.framework in Frameworks */,
|
||||
03FC29A292ACC40490383A1F /* Pods_Plugin.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
50ADFF8E201F53D600D50D53 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
50ADFF92201F53D600D50D53 /* Plugin.framework in Frameworks */,
|
||||
20C0B05DCFC8E3958A738AF2 /* Pods_PluginTests.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
50ADFF7E201F53D600D50D53 = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
50ADFF8A201F53D600D50D53 /* Plugin */,
|
||||
50ADFF95201F53D600D50D53 /* PluginTests */,
|
||||
50ADFF89201F53D600D50D53 /* Products */,
|
||||
8C8E7744173064A9F6D438E3 /* Pods */,
|
||||
A797B9EFA3DCEFEA1FBB66A9 /* Frameworks */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
50ADFF89201F53D600D50D53 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
50ADFF88201F53D600D50D53 /* Plugin.framework */,
|
||||
50ADFF91201F53D600D50D53 /* PluginTests.xctest */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
50ADFF8A201F53D600D50D53 /* Plugin */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
50E1A94720377CB70090CE1A /* wolPlugin.swift */,
|
||||
2F98D68124C9AAE400613A4C /* wol.swift */,
|
||||
50ADFF8B201F53D600D50D53 /* wolPlugin.h */,
|
||||
50ADFFA72020EE4F00D50D53 /* wolPlugin.m */,
|
||||
50ADFF8C201F53D600D50D53 /* Info.plist */,
|
||||
);
|
||||
path = Plugin;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
50ADFF95201F53D600D50D53 /* PluginTests */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
50ADFF96201F53D600D50D53 /* wolTests.swift */,
|
||||
50ADFF98201F53D600D50D53 /* Info.plist */,
|
||||
);
|
||||
path = PluginTests;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8C8E7744173064A9F6D438E3 /* Pods */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5E23F77F099397094342571A /* Pods-Plugin.debug.xcconfig */,
|
||||
91781294A431A2A7CC6EB714 /* Pods-Plugin.release.xcconfig */,
|
||||
96ED1B6440D6672E406C8D19 /* Pods-PluginTests.debug.xcconfig */,
|
||||
F65BB2953ECE002E1EF3E424 /* Pods-PluginTests.release.xcconfig */,
|
||||
);
|
||||
name = Pods;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
A797B9EFA3DCEFEA1FBB66A9 /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
50ADFFA52020D75100D50D53 /* Capacitor.framework */,
|
||||
3B2A61DA5A1F2DD4F959604D /* Pods_Plugin.framework */,
|
||||
F6753A823D3815DB436415E3 /* Pods_PluginTests.framework */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXHeadersBuildPhase section */
|
||||
50ADFF85201F53D600D50D53 /* Headers */ = {
|
||||
isa = PBXHeadersBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
50ADFF99201F53D600D50D53 /* wolPlugin.h in Headers */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXHeadersBuildPhase section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
50ADFF87201F53D600D50D53 /* Plugin */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 50ADFF9C201F53D600D50D53 /* Build configuration list for PBXNativeTarget "Plugin" */;
|
||||
buildPhases = (
|
||||
AB5B3E54B4E897F32C2279DA /* [CP] Check Pods Manifest.lock */,
|
||||
50ADFF83201F53D600D50D53 /* Sources */,
|
||||
50ADFF84201F53D600D50D53 /* Frameworks */,
|
||||
50ADFF85201F53D600D50D53 /* Headers */,
|
||||
50ADFF86201F53D600D50D53 /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = Plugin;
|
||||
productName = Plugin;
|
||||
productReference = 50ADFF88201F53D600D50D53 /* Plugin.framework */;
|
||||
productType = "com.apple.product-type.framework";
|
||||
};
|
||||
50ADFF90201F53D600D50D53 /* PluginTests */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 50ADFF9F201F53D600D50D53 /* Build configuration list for PBXNativeTarget "PluginTests" */;
|
||||
buildPhases = (
|
||||
0596884F929ED6F1DE134961 /* [CP] Check Pods Manifest.lock */,
|
||||
50ADFF8D201F53D600D50D53 /* Sources */,
|
||||
50ADFF8E201F53D600D50D53 /* Frameworks */,
|
||||
50ADFF8F201F53D600D50D53 /* Resources */,
|
||||
8E97F58B69A94C6503FC9C85 /* [CP] Embed Pods Frameworks */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
50ADFF94201F53D600D50D53 /* PBXTargetDependency */,
|
||||
);
|
||||
name = PluginTests;
|
||||
productName = PluginTests;
|
||||
productReference = 50ADFF91201F53D600D50D53 /* PluginTests.xctest */;
|
||||
productType = "com.apple.product-type.bundle.unit-test";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
50ADFF7F201F53D600D50D53 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastSwiftUpdateCheck = 0920;
|
||||
LastUpgradeCheck = 1160;
|
||||
ORGANIZATIONNAME = "Max Lynch";
|
||||
TargetAttributes = {
|
||||
50ADFF87201F53D600D50D53 = {
|
||||
CreatedOnToolsVersion = 9.2;
|
||||
LastSwiftMigration = 1100;
|
||||
ProvisioningStyle = Automatic;
|
||||
};
|
||||
50ADFF90201F53D600D50D53 = {
|
||||
CreatedOnToolsVersion = 9.2;
|
||||
LastSwiftMigration = 1100;
|
||||
ProvisioningStyle = Automatic;
|
||||
};
|
||||
};
|
||||
};
|
||||
buildConfigurationList = 50ADFF82201F53D600D50D53 /* Build configuration list for PBXProject "Plugin" */;
|
||||
compatibilityVersion = "Xcode 8.0";
|
||||
developmentRegion = en;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
Base,
|
||||
);
|
||||
mainGroup = 50ADFF7E201F53D600D50D53;
|
||||
productRefGroup = 50ADFF89201F53D600D50D53 /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
50ADFF87201F53D600D50D53 /* Plugin */,
|
||||
50ADFF90201F53D600D50D53 /* PluginTests */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
50ADFF86201F53D600D50D53 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
50ADFF8F201F53D600D50D53 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXShellScriptBuildPhase section */
|
||||
0596884F929ED6F1DE134961 /* [CP] Check Pods Manifest.lock */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
||||
"${PODS_ROOT}/Manifest.lock",
|
||||
);
|
||||
name = "[CP] Check Pods Manifest.lock";
|
||||
outputPaths = (
|
||||
"$(DERIVED_FILE_DIR)/Pods-PluginTests-checkManifestLockResult.txt",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
8E97F58B69A94C6503FC9C85 /* [CP] Embed Pods Frameworks */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"${PODS_ROOT}/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh",
|
||||
"${BUILT_PRODUCTS_DIR}/Capacitor/Capacitor.framework",
|
||||
"${BUILT_PRODUCTS_DIR}/CapacitorCordova/Cordova.framework",
|
||||
);
|
||||
name = "[CP] Embed Pods Frameworks";
|
||||
outputPaths = (
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Capacitor.framework",
|
||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Cordova.framework",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-PluginTests/Pods-PluginTests-frameworks.sh\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
AB5B3E54B4E897F32C2279DA /* [CP] Check Pods Manifest.lock */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
||||
"${PODS_ROOT}/Manifest.lock",
|
||||
);
|
||||
name = "[CP] Check Pods Manifest.lock";
|
||||
outputPaths = (
|
||||
"$(DERIVED_FILE_DIR)/Pods-Plugin-checkManifestLockResult.txt",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
50ADFF83201F53D600D50D53 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
50E1A94820377CB70090CE1A /* wolPlugin.swift in Sources */,
|
||||
2F98D68224C9AAE500613A4C /* wol.swift in Sources */,
|
||||
50ADFFA82020EE4F00D50D53 /* wolPlugin.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
50ADFF8D201F53D600D50D53 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
50ADFF97201F53D600D50D53 /* wolTests.swift in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXTargetDependency section */
|
||||
50ADFF94201F53D600D50D53 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
target = 50ADFF87201F53D600D50D53 /* Plugin */;
|
||||
targetProxy = 50ADFF93201F53D600D50D53 /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
50ADFF9A201F53D600D50D53 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"\"${BUILT_PRODUCTS_DIR}/Capacitor\"",
|
||||
"\"${BUILT_PRODUCTS_DIR}/CapacitorCordova\"",
|
||||
);
|
||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
||||
MTL_ENABLE_DEBUG_INFO = YES;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
VERSION_INFO_PREFIX = "";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
50ADFF9B201F53D600D50D53 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
||||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
||||
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = (
|
||||
"\"${BUILT_PRODUCTS_DIR}/Capacitor\"",
|
||||
"\"${BUILT_PRODUCTS_DIR}/CapacitorCordova\"",
|
||||
);
|
||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||
GCC_NO_COMMON_BLOCKS = YES;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
SDKROOT = iphoneos;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
|
||||
VALIDATE_PRODUCT = YES;
|
||||
VERSIONING_SYSTEM = "apple-generic";
|
||||
VERSION_INFO_PREFIX = "";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
50ADFF9D201F53D600D50D53 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 5E23F77F099397094342571A /* Pods-Plugin.debug.xcconfig */;
|
||||
buildSettings = {
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
DEFINES_MODULE = YES;
|
||||
DYLIB_COMPATIBILITY_VERSION = 1;
|
||||
DYLIB_CURRENT_VERSION = 1;
|
||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||
INFOPLIST_FILE = Plugin/Info.plist;
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks $(FRAMEWORK_SEARCH_PATHS)\n$(FRAMEWORK_SEARCH_PATHS)\n$(FRAMEWORK_SEARCH_PATHS)";
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.Plugin;
|
||||
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
|
||||
SKIP_INSTALL = YES;
|
||||
SUPPORTS_MACCATALYST = NO;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
50ADFF9E201F53D600D50D53 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 91781294A431A2A7CC6EB714 /* Pods-Plugin.release.xcconfig */;
|
||||
buildSettings = {
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
DEFINES_MODULE = YES;
|
||||
DYLIB_COMPATIBILITY_VERSION = 1;
|
||||
DYLIB_CURRENT_VERSION = 1;
|
||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||
INFOPLIST_FILE = Plugin/Info.plist;
|
||||
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks $(FRAMEWORK_SEARCH_PATHS)";
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.Plugin;
|
||||
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
|
||||
SKIP_INSTALL = YES;
|
||||
SUPPORTS_MACCATALYST = NO;
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
50ADFFA0201F53D600D50D53 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = 96ED1B6440D6672E406C8D19 /* Pods-PluginTests.debug.xcconfig */;
|
||||
buildSettings = {
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
INFOPLIST_FILE = PluginTests/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.PluginTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
50ADFFA1201F53D600D50D53 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
baseConfigurationReference = F65BB2953ECE002E1EF3E424 /* Pods-PluginTests.release.xcconfig */;
|
||||
buildSettings = {
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
INFOPLIST_FILE = PluginTests/Info.plist;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.getcapacitor.PluginTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 5.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
50ADFF82201F53D600D50D53 /* Build configuration list for PBXProject "Plugin" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
50ADFF9A201F53D600D50D53 /* Debug */,
|
||||
50ADFF9B201F53D600D50D53 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
50ADFF9C201F53D600D50D53 /* Build configuration list for PBXNativeTarget "Plugin" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
50ADFF9D201F53D600D50D53 /* Debug */,
|
||||
50ADFF9E201F53D600D50D53 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
50ADFF9F201F53D600D50D53 /* Build configuration list for PBXNativeTarget "PluginTests" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
50ADFFA0201F53D600D50D53 /* Debug */,
|
||||
50ADFFA1201F53D600D50D53 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 50ADFF7F201F53D600D50D53 /* Project object */;
|
||||
}
|
||||
7
wol/ios/Plugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
7
wol/ios/Plugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEDidComputeMac32BitWarning</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1150"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "50ADFF87201F53D600D50D53"
|
||||
BuildableName = "Plugin.framework"
|
||||
BlueprintName = "Plugin"
|
||||
ReferencedContainer = "container:Plugin.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "50ADFF90201F53D600D50D53"
|
||||
BuildableName = "PluginTests.xctest"
|
||||
BlueprintName = "PluginTests"
|
||||
ReferencedContainer = "container:Plugin.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "50ADFF87201F53D600D50D53"
|
||||
BuildableName = "Plugin.framework"
|
||||
BlueprintName = "Plugin"
|
||||
ReferencedContainer = "container:Plugin.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1150"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "NO"
|
||||
buildForProfiling = "NO"
|
||||
buildForArchiving = "NO"
|
||||
buildForAnalyzing = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "50ADFF90201F53D600D50D53"
|
||||
BuildableName = "PluginTests.xctest"
|
||||
BlueprintName = "PluginTests"
|
||||
ReferencedContainer = "container:Plugin.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "50ADFF90201F53D600D50D53"
|
||||
BuildableName = "PluginTests.xctest"
|
||||
BlueprintName = "PluginTests"
|
||||
ReferencedContainer = "container:Plugin.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEDidComputeMac32BitWarning</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
24
wol/ios/Plugin/Info.plist
Normal file
24
wol/ios/Plugin/Info.plist
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
||||
8
wol/ios/Plugin/wol.swift
Normal file
8
wol/ios/Plugin/wol.swift
Normal file
@@ -0,0 +1,8 @@
|
||||
import Foundation
|
||||
|
||||
@objc public class wol: NSObject {
|
||||
@objc public func echo(_ value: String) -> String {
|
||||
print(value)
|
||||
return value
|
||||
}
|
||||
}
|
||||
10
wol/ios/Plugin/wolPlugin.h
Normal file
10
wol/ios/Plugin/wolPlugin.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
//! Project version number for Plugin.
|
||||
FOUNDATION_EXPORT double PluginVersionNumber;
|
||||
|
||||
//! Project version string for Plugin.
|
||||
FOUNDATION_EXPORT const unsigned char PluginVersionString[];
|
||||
|
||||
// In this header, you should import all the public headers of your framework using statements like #import <Plugin/PublicHeader.h>
|
||||
|
||||
8
wol/ios/Plugin/wolPlugin.m
Normal file
8
wol/ios/Plugin/wolPlugin.m
Normal file
@@ -0,0 +1,8 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <Capacitor/Capacitor.h>
|
||||
|
||||
// Define the plugin using the CAP_PLUGIN Macro, and
|
||||
// each method the plugin supports using the CAP_PLUGIN_METHOD macro.
|
||||
CAP_PLUGIN(wolPlugin, "wol",
|
||||
CAP_PLUGIN_METHOD(echo, CAPPluginReturnPromise);
|
||||
)
|
||||
18
wol/ios/Plugin/wolPlugin.swift
Normal file
18
wol/ios/Plugin/wolPlugin.swift
Normal file
@@ -0,0 +1,18 @@
|
||||
import Foundation
|
||||
import Capacitor
|
||||
|
||||
/**
|
||||
* Please read the Capacitor iOS Plugin Development Guide
|
||||
* here: https://capacitorjs.com/docs/plugins/ios
|
||||
*/
|
||||
@objc(wolPlugin)
|
||||
public class wolPlugin: CAPPlugin {
|
||||
private let implementation = wol()
|
||||
|
||||
@objc func echo(_ call: CAPPluginCall) {
|
||||
let value = call.getString("value") ?? ""
|
||||
call.resolve([
|
||||
"value": implementation.echo(value)
|
||||
])
|
||||
}
|
||||
}
|
||||
22
wol/ios/PluginTests/Info.plist
Normal file
22
wol/ios/PluginTests/Info.plist
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>$(PRODUCT_NAME)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
</dict>
|
||||
</plist>
|
||||
25
wol/ios/PluginTests/wolTests.swift
Normal file
25
wol/ios/PluginTests/wolTests.swift
Normal file
@@ -0,0 +1,25 @@
|
||||
import XCTest
|
||||
@testable import Plugin
|
||||
|
||||
class wolTests: XCTestCase {
|
||||
override func setUp() {
|
||||
super.setUp()
|
||||
// Put setup code here. This method is called before the invocation of each test method in the class.
|
||||
}
|
||||
|
||||
override func tearDown() {
|
||||
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
||||
super.tearDown()
|
||||
}
|
||||
|
||||
func testEcho() {
|
||||
// This is an example of a functional test case for a plugin.
|
||||
// Use XCTAssert and related functions to verify your tests produce the correct results.
|
||||
|
||||
let implementation = wol()
|
||||
let value = "Hello, World!"
|
||||
let result = implementation.echo(value)
|
||||
|
||||
XCTAssertEqual(value, result)
|
||||
}
|
||||
}
|
||||
16
wol/ios/Podfile
Normal file
16
wol/ios/Podfile
Normal file
@@ -0,0 +1,16 @@
|
||||
platform :ios, '13.0'
|
||||
|
||||
def capacitor_pods
|
||||
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
|
||||
use_frameworks!
|
||||
pod 'Capacitor', :path => '../node_modules/@capacitor/ios'
|
||||
pod 'CapacitorCordova', :path => '../node_modules/@capacitor/ios'
|
||||
end
|
||||
|
||||
target 'Plugin' do
|
||||
capacitor_pods
|
||||
end
|
||||
|
||||
target 'PluginTests' do
|
||||
capacitor_pods
|
||||
end
|
||||
78
wol/package.json
Normal file
78
wol/package.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"name": "wol",
|
||||
"version": "0.0.1",
|
||||
"description": "Wake on up lan",
|
||||
"main": "dist/plugin.cjs.js",
|
||||
"module": "dist/esm/index.js",
|
||||
"types": "dist/esm/index.d.ts",
|
||||
"unpkg": "dist/plugin.js",
|
||||
"files": [
|
||||
"android/src/main/",
|
||||
"android/build.gradle",
|
||||
"dist/",
|
||||
"ios/Plugin/",
|
||||
"Wol.podspec"
|
||||
],
|
||||
"author": "me",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/myxelium/go-to-bed.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/myxelium/go-to-bed/issues"
|
||||
},
|
||||
"keywords": [
|
||||
"capacitor",
|
||||
"plugin",
|
||||
"native"
|
||||
],
|
||||
"scripts": {
|
||||
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
|
||||
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..",
|
||||
"verify:android": "cd android && ./gradlew clean build test && cd ..",
|
||||
"verify:web": "npm run build",
|
||||
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
||||
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
|
||||
"eslint": "eslint . --ext ts",
|
||||
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
|
||||
"swiftlint": "node-swiftlint",
|
||||
"docgen": "docgen --api wolPlugin --output-readme README.md --output-json dist/docs.json",
|
||||
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",
|
||||
"clean": "rimraf ./dist",
|
||||
"watch": "tsc --watch",
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@capacitor/android": "^4.0.0",
|
||||
"@capacitor/core": "^4.0.0",
|
||||
"@capacitor/docgen": "^0.0.18",
|
||||
"@capacitor/ios": "^4.0.0",
|
||||
"@ionic/eslint-config": "^0.3.0",
|
||||
"@ionic/prettier-config": "^1.0.1",
|
||||
"@ionic/swiftlint-config": "^1.1.2",
|
||||
"eslint": "^7.11.0",
|
||||
"prettier": "~2.3.0",
|
||||
"prettier-plugin-java": "~1.0.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^2.32.0",
|
||||
"swiftlint": "^1.0.1",
|
||||
"typescript": "~4.1.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@capacitor/core": "^4.0.0"
|
||||
},
|
||||
"prettier": "@ionic/prettier-config",
|
||||
"swiftlint": "@ionic/swiftlint-config",
|
||||
"eslintConfig": {
|
||||
"extends": "@ionic/eslint-config/recommended"
|
||||
},
|
||||
"capacitor": {
|
||||
"ios": {
|
||||
"src": "ios"
|
||||
},
|
||||
"android": {
|
||||
"src": "android"
|
||||
}
|
||||
}
|
||||
}
|
||||
22
wol/rollup.config.js
Normal file
22
wol/rollup.config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
export default {
|
||||
input: 'dist/esm/index.js',
|
||||
output: [
|
||||
{
|
||||
file: 'dist/plugin.js',
|
||||
format: 'iife',
|
||||
name: 'capacitorwol',
|
||||
globals: {
|
||||
'@capacitor/core': 'capacitorExports',
|
||||
},
|
||||
sourcemap: true,
|
||||
inlineDynamicImports: true,
|
||||
},
|
||||
{
|
||||
file: 'dist/plugin.cjs.js',
|
||||
format: 'cjs',
|
||||
sourcemap: true,
|
||||
inlineDynamicImports: true,
|
||||
},
|
||||
],
|
||||
external: ['@capacitor/core'],
|
||||
};
|
||||
3
wol/src/definitions.ts
Normal file
3
wol/src/definitions.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export interface wolPlugin {
|
||||
echo(options: { value: string }): Promise<{ value: string }>;
|
||||
}
|
||||
10
wol/src/index.ts
Normal file
10
wol/src/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { registerPlugin } from '@capacitor/core';
|
||||
|
||||
import type { wolPlugin } from './definitions';
|
||||
|
||||
const wol = registerPlugin<wolPlugin>('wol', {
|
||||
web: () => import('./web').then(m => new m.wolWeb()),
|
||||
});
|
||||
|
||||
export * from './definitions';
|
||||
export { wol };
|
||||
10
wol/src/web.ts
Normal file
10
wol/src/web.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { WebPlugin } from '@capacitor/core';
|
||||
|
||||
import type { wolPlugin } from './definitions';
|
||||
|
||||
export class wolWeb extends WebPlugin implements wolPlugin {
|
||||
async echo(options: { value: string }): Promise<{ value: string }> {
|
||||
console.log('ECHO', options);
|
||||
return options;
|
||||
}
|
||||
}
|
||||
20
wol/tsconfig.json
Normal file
20
wol/tsconfig.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowUnreachableCode": false,
|
||||
"declaration": true,
|
||||
"esModuleInterop": true,
|
||||
"inlineSources": true,
|
||||
"lib": ["dom", "es2017"],
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"outDir": "dist/esm",
|
||||
"pretty": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"target": "es2017"
|
||||
},
|
||||
"files": ["src/index.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user