Skip to content

Commit 9c936c7

Browse files
build: update dependencies and related scripts and docs
1 parent 11ffe4a commit 9c936c7

File tree

4 files changed

+68
-68
lines changed

4 files changed

+68
-68
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# @coon-js/extjs-ctrl-simmanager ![MIT](https://img.shields.io/npm/l/@coon-js/extjs-ctrl-simmanager) [![npm version](https://badge.fury.io/js/@coon-js%2Fextjs-ctrl-simmanager.svg)](https://badge.fury.io/js/@coon-js%2Fextjs-ctrl-simmanager)
22

3-
NPM package providing functionality for Sencha ExtJS applications to properly initialize `Ext.ux.ajax.SimManager`
4-
with a `null` `defaultSimlet` so that requests not intercepted by orther simlets still trigger regular
3+
NPM package providing functionality for Sencha Ext JS applications to properly initialize `Ext.ux.ajax.SimManager`
4+
with a `null` `defaultSimlet` so that requests not intercepted by other simlets still trigger regular
55
XMLHttpRequests. This package should be used whenever specific packages for intercepting
66
requests are used in projects.
77

@@ -22,9 +22,9 @@ $ npm test
2222

2323
For using the package as an external dependency in an application, use
2424
```bash
25-
$ npm install --save-prod @coon-js/extjs-ctrl-simmanager
25+
$ npm i @coon-js/extjs-ctrl-simmanager
2626
```
27-
In your `app.json`, add this package as a requirement, and make sure your ExtJS `workspace.json`
27+
In your `app.json`, add this package as a requirement, and make sure your `workspace.json`
2828
is properly configured to look up local repositories in the `node_modules`-directory.
2929

3030
Example (`workspace.json`) :
@@ -38,7 +38,7 @@ Example (`workspace.json`) :
3838
```
3939

4040
## Usage
41-
### ExtJS Installation
41+
### Ext JS Installation
4242
Simply update the app.json of your application by specifying this package in the `uses`-property in either the `development` and/or `prodution` section:
4343

4444
*Example:*
@@ -73,4 +73,4 @@ The following naming conventions apply:
7373
`cn_simmanager`
7474

7575
## Tests
76-
Tests are written with [Siesta](https://bryntum.com/siesta)
76+
Tests are written with [Siesta](https://bryntum.com/siesta). Documentation can be found [here](./tests/README.md).

package-lock.json

Lines changed: 51 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"creator": "coon.js",
1515
"summary": "NPM package providing application package for utilizing Simlets in Sencha ExtJS applications.",
1616
"detailedDescription": "",
17-
"version": "0.0.2",
18-
"compatVersion": "0.0.2",
17+
"version": "0.2.4",
18+
"compatVersion": "0.2.4",
1919
"format": "1",
2020
"slicer": null,
2121
"fashion": null,
@@ -41,16 +41,15 @@
4141
"ux"
4242
]
4343
},
44-
"description": "NPM package providing application package for utilizing Simlets in Sencha ExtJS applications.",
44+
"description": "NPM package providing application package for utilizing Simlets in Sencha Ext JS applications.",
4545
"version": "0.2.3",
4646
"main": "index.js",
4747
"directories": {
4848
"test": "tests"
4949
},
5050
"scripts": {
51-
"build:dev": "npm run build:deps && npm run build:test && npx node-git-hooks",
52-
"build:deps": "npm explore @coon-js/siesta-lib-helper npm run build:dev",
53-
"build:test": "npx extjs-link && npx siesta-lib-helper",
51+
"build:dev": "npm run build:test && npx node-git-hooks",
52+
"build:test": "npm i --save-dev && npx extjs-link && npx siesta-lib-helper",
5453
"postversion": "git push && git push --tags",
5554
"test": "npx ws --port 8065 --static.index tests.redirect.html --open",
5655
"release": "standard-version",
@@ -86,14 +85,12 @@
8685
},
8786
"homepage": "https://github.com/coon-js/extjs-ctrl-simmanager#readme",
8887
"dependencies": {
89-
"@coon-js/extjs-lib-core": ">=0.6.0",
90-
"@coon-js/extjs-package-loader": ">=0.1.0",
91-
"@l8js/l8": ">=0.4.2",
92-
"@sencha/ext-ux": "^7.4.0"
88+
"@coon-js/extjs-lib-core": "^0.8.1",
89+
"@l8js/l8": "^0.7.2"
9390
},
9491
"devDependencies": {
95-
"@coon-js/extjs-link": ">=0.1.4",
96-
"@coon-js/siesta-lib-helper": ">=0.1.9",
92+
"@coon-js/extjs-link": "^0.1.10",
93+
"@coon-js/siesta-lib-helper": "^0.1.16",
9794
"eslint": "^7.28.0",
9895
"local-web-server": "^4.2.1",
9996
"node-git-hooks": "^1.0.6",

tests/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ This package uses [Siesta](http://bryntum.com) for Unit-/UI-testing.
66

77
tl;dr
88
```
9-
npm run setup:tests
9+
npm run build:test
1010
npm test
1111
```
1212

1313
Explanation:
1414

1515
Run
1616
```
17-
npm run setup:tests
17+
npm run build:test
1818
```
1919
in the NPM package. The tool will guide you through the process of symlinking to an existing ExtJS SDK installation
2020
(build files are required to properly run the tests in a Siesta-Browser environment). Once this is done, boilerplate-html

0 commit comments

Comments
 (0)