Skip to content
This repository was archived by the owner on Oct 2, 2021. It is now read-only.

Update Cordova to 9.0.1 #88

Merged
merged 6 commits into from
Jan 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
.idea/
10 changes: 0 additions & 10 deletions .paramedic.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
os: osx
osx_image: xcode10.1
osx_image: xcode11.2
git:
depth: 2
node_js:
- 8
- 12
install:
- npm install
script:
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CHANGELOG

## v1.7.1, 2020-01-13
It makes cordova-plugin-meteor-webapp ready for Cordova 9.
- changes context.requireCordovaModule to require for non-Cordova modules
- removes .woff content type test because it never worked
- updates travis test to use recent versions
- removes .paramedic.config.js and use options directly on package.json
- declares xcode as npm dependency
- updates dev dependencies
- updates DEVELOPMENT.md
35 changes: 28 additions & 7 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `cordova-plugin-meteor-webapp` Development

## Running iOS Tests
## Setup

1) Start with a cloned copy of the `cordova-plugin-meteor-webapp` repo:

Expand All @@ -16,14 +16,35 @@ cd cordova-plugin-meteor-webapp
git submodule update --init --recursive
```

3) Create a new test Cordova app:
## Running npm Tests

1) Install dependencies
```
npm install
```

2) Install devDependencies from package.json globally one by one
```
npm install -g xxx
```

Filipe: I'm not sure why it's only working when installed globally

3) Run the tests
```
npm test
```

## Running iOS Tests

1) Create a new test Cordova app:

```
cd ~
cordova create test-app
```

4) Add the `cordova-plugin-meteor-webapp`, `cordova-plugin-meteor-webapp-tests`, and `cordova-plugin-test-framework` plugins:
2) Add the `cordova-plugin-meteor-webapp`, `cordova-plugin-meteor-webapp-tests`, and `cordova-plugin-test-framework` plugins:

```
cd test-app
Expand All @@ -32,13 +53,13 @@ cordova plugin add ../cordova-plugin-meteor-webapp/
cordova plugin add ../cordova-plugin-meteor-webapp/tests
```

5) Add the `ios` platform:
3) Add the `ios` platform:

```
cordova platform add ios
```

6) Add a [`build.json`](https://cordova.apache.org/docs/en/latest/guide/platforms/ios/#using-buildjson) file to the root of your `test-app`, that includes your Apple Developer Team ID:
4) Add a [`build.json`](https://cordova.apache.org/docs/en/latest/guide/platforms/ios/#using-buildjson) file to the root of your `test-app`, that includes your Apple Developer Team ID:

```json
{
Expand All @@ -55,7 +76,7 @@ cordova platform add ios
}
```

7) Update the `test-app`'s `config.xml` to point to the test runner:
5) Update the `test-app`'s `config.xml` to point to the test runner:

Change

Expand All @@ -69,7 +90,7 @@ to
<content src="cdvtests/index.html" />
```

8) Run the tests on a device or using the iOS emulator:
6) Run the tests on a device or using the iOS emulator:

```
cordova emulate ios
Expand Down
Loading