Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@conjoon/extjs-dev-webmailsim

conjoon126MIT2.0.0-alpha.0

This Sencha Ext JS NPM package contains mock data for development of @conjoon/extjs-app-webmail]

simlet, mock, request, webmail, extjs, sencha, coonjs, coon.js, conjoon, l8js, l8, l8.js

readme

@conjoon/extjs-dev-webmailsim MIT npm version

This Sencha Ext JS NPM package contains mock data for development of conjoon/extjs-app-webmail. When using this package, configured urls will be intercepted and static data is returned in the responses.

Installation

$ npm install --save-dev @conjoon/extjs-dev-webmailsim  

If you want to develop with this package, run the build:dev-script afterwards:

$ npm run build:dev

Testing environment will then be available via

$ npm test

For using the package as an external dependency in an application:
In your app.json, add this package as a requirement, and make sure your Ext JS workspace.json is properly configured to look up local repositories in the node_modules-directory.

Example (workspace.json) :

{
  "packages": {
    "dir": "${workspace.dir}/node_modules/@l8js,${workspace.dir}/node_modules/@conjoon,${workspace.dir}/node_modules/@coon-js,${workspace.dir}/packages/local,${workspace.dir}/packages,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name},${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-treegrid,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-base,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-ios,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-material,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-aria,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-neutral,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-classic,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-gray,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-crisp,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-crisp-touch,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-neptune,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-neptune-touch,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-triton,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-graphite,${workspace.dir}/node_modules/@sencha/ext-${toolkit.name}-theme-material,${workspace.dir}/node_modules/@sencha/ext-calendar,${workspace.dir}/node_modules/@sencha/ext-charts,${workspace.dir}/node_modules/@sencha/ext-d3,${workspace.dir}/node_modules/@sencha/ext-exporter,${workspace.dir}/node_modules/@sencha/ext-pivot,${workspace.dir}/node_modules/@sencha/ext-pivot-d3,${workspace.dir}/node_modules/@sencha/ext-ux,${workspace.dir}/node_modules/@sencha/ext-font-ios",
    "extract": "${workspace.dir}/packages/remote"
  }
}

Update the app.json of the application by specifying this package in the uses-property in either the development and/or prodution section:

Example:

{
    "development": {
        "uses": [
            "extjs-dev-imapusersim",
            "extjs-app-imapuser",
            "extjs-app-webmail",
            "extjs-dev-webmailsim"
        ]
    },
    "production": {
        "uses": [
            "extjs-app-imapuser",
            "extjs-app-webmail"
        ]
    }
}

Configuration and Usage

For more information on how to configure and use the package, refer to the documentation.

Tests

Tests are written with Siesta. Documentation can be found here.

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.0.0-alpha.0 (2024-01-30)

Bug Fixes

  • from-address is not decoded when saving to mock data (e45f9bf)
  • simlet throws error if message draft is not found (7fdf5c9), closes conjoon/php-lib-conjoon#8
  • tests: regression bug due to added email templates for conjoon v1.0.0 (bac1c0b)

1.0.5 (2023-02-26)

1.0.4 (2023-02-17)

Bug Fixes

  • build: wrong flag for devDependencies in pre-release script (ea795af)

1.0.3 (2023-02-17)

1.0.2 (2023-02-08)

1.0.1 (2023-01-28)

1.0.0 (2023-01-28)

0.1.6 (2022-12-14)

0.1.5 (2022-12-14)

0.1.4 (2022-06-01)

0.1.3 (2022-05-31)

Bug Fixes

  • invalid arrow function parameters (0d484e9)

0.1.2 (2022-05-31)

0.1.1 (2022-05-15)

Features

Bug Fixes