@smartbear/fake-ap
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@smartbear/fake-ap", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A fake AP module to help develop and test Atlassian Connect applications.", | ||
@@ -32,3 +32,3 @@ "homepage": "https://github.com/SmartBear/fake-ap", | ||
"@babel/preset-react": "^7.12.10", | ||
"@testing-library/jest-dom": "^5.11.8", | ||
"@testing-library/jest-dom": "^5.11.9", | ||
"@testing-library/react": "^11.2.3", | ||
@@ -57,3 +57,3 @@ "babel-loader": "^8.2.2", | ||
"typescript": "^4.1.3", | ||
"webpack": "^5.12.3", | ||
"webpack": "^5.13.0", | ||
"webpack-cli": "^4.3.1", | ||
@@ -60,0 +60,0 @@ "webpack-dev-server": "^3.11.1" |
# Fake AP | ||
A fake AP module to help develop and test Atlassian Connect applications. | ||
[![version][version-badge]][package] | ||
[![license][license-badge]][license] | ||
[![Version][version-badge]][package] | ||
[![CI][ci-badge]][ci] | ||
[![Dependencies][dependencies-badge]][dependencies] | ||
[![License][license-badge]][license] | ||
@@ -16,7 +18,7 @@ ## Contents | ||
- [AP.request](#ap.request) | ||
- [Not implemented methods](#not-implemented-methods) | ||
- [Not implemented method](#not-implemented-method) | ||
- [Missing configuration](#missing-configuration) | ||
- [Disabling dialogs and flags](#disabling-dialogs-and-flags) | ||
- [Implemented methods](#missing-methods) | ||
- [Missing methods](#missing-methods) | ||
- [Not implemented methods](#not-implemented-methods) | ||
- [Custom methods](#custom-methods) | ||
@@ -33,5 +35,5 @@ | ||
However this script only work when in an ifram from an Atlassian page. It means that when developing or testing, it is not possible to directly call the page if it is using AP. | ||
However this script only work when in an iframe from an Atlassian page. It means that when developing or testing, it is not possible to directly call the page if it is using AP. | ||
This package provides a way to make a fake AP that can be used instead of the real one. It is still in development but includes the most commonly used features of AP, including: | ||
This package provides a way to make a fake AP that can be used instead of the real one. It includes the most commonly used features of AP, including: | ||
- Generating JWT tokens | ||
@@ -49,3 +51,3 @@ - Dialogs | ||
``` | ||
npm install --save @smartbear/fake-ap | ||
npm install --save-dev @smartbear/fake-ap | ||
``` | ||
@@ -55,3 +57,3 @@ | ||
``` | ||
yarn add @smartbear/fake-ap | ||
yarn add -D @smartbear/fake-ap | ||
``` | ||
@@ -77,3 +79,3 @@ | ||
```html | ||
```erb | ||
<% if ENV['USE_FAKE_AP'] %> | ||
@@ -251,3 +253,3 @@ <%= javascript_pack_tag 'fake_ap' %> | ||
### Not implemented methods | ||
### Not implemented method | ||
@@ -338,3 +340,3 @@ It is possible to configure the behavior of AP methods that are not implemented in fake AP: | ||
## Missing methods | ||
## Not implemented methods | ||
@@ -382,5 +384,9 @@ Fake AP is still missing a lot of methods from the actual AP: | ||
[version-badge]: https://img.shields.io/npm/v/@smartbear/fake-ap.svg | ||
[version-badge]: https://img.shields.io/npm/v/@smartbear/fake-ap | ||
[package]: https://www.npmjs.com/package/@smartbear/fake-ap | ||
[license-badge]: https://img.shields.io/npm/l/@smartbear/fake-ap.svg | ||
[ci-badge]: https://img.shields.io/github/workflow/status/smartbear/fake-ap/CI?logo=github | ||
[ci]: https://github.com/SmartBear/fake-ap/actions?query=workflow%3ACI | ||
[dependencies-badge]: https://img.shields.io/david/smartbear/fake-ap | ||
[dependencies]: https://david-dm.org/smartbear/fake-ap | ||
[license-badge]: https://img.shields.io/npm/l/@smartbear/fake-ap | ||
[license]: https://github.com/SmartBear/fake-ap/blob/master/LICENSE |
74691
385