spyne 0.20.0 → 0.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +2 -0
- package/.husky/pre-commit +1 -0
- package/.travis.yml +6 -6
- package/README.md +3 -1
- package/karma.conf.js +3 -6
- package/lib/spyne.esm.js +4 -4
- package/lib/spyne.esm.js.map +1 -1
- package/lib/spyne.js +248 -248
- package/lib/spyne.umd.js +3 -9565
- package/lib/spyne.umd.js.LICENSE.txt +16 -0
- package/package.json +8 -5
- package/src/spyne/spyne-app.js +3 -2
- package/src/spyne/spyne-plugins.js +45 -6
- package/src/spyne/utils/spyne-app-properties.js +11 -0
- package/src/tests/package-json.spec.test.js +3 -0
package/.eslintignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
npm run test:single
|
package/.travis.yml
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
# .travis.yml
|
|
2
|
-
dist: jammy
|
|
2
|
+
dist: jammy
|
|
3
3
|
language: node_js
|
|
4
4
|
|
|
5
5
|
node_js:
|
|
6
6
|
- '16'
|
|
7
7
|
- '18'
|
|
8
|
-
|
|
8
|
+
# Removed 'node' to avoid testing the very latest (which may require npm >= 11)
|
|
9
9
|
|
|
10
10
|
services:
|
|
11
|
-
- xvfb
|
|
11
|
+
- xvfb # If you need a browser environment
|
|
12
12
|
|
|
13
13
|
cache:
|
|
14
14
|
npm: true
|
|
15
15
|
|
|
16
|
-
before_install:
|
|
17
|
-
|
|
16
|
+
# before_install:
|
|
17
|
+
# - npm install -g npm@latest # Removed or commented out to avoid engine mismatch
|
|
18
18
|
|
|
19
19
|
install:
|
|
20
20
|
- npm ci
|
|
@@ -27,4 +27,4 @@ notifications:
|
|
|
27
27
|
|
|
28
28
|
branches:
|
|
29
29
|
only:
|
|
30
|
-
- main
|
|
30
|
+
- main
|
package/README.md
CHANGED
|
@@ -3,7 +3,9 @@ Spyne is a full-featured, Javascript framework that reactively renders to the Re
|
|
|
3
3
|
|
|
4
4
|
[](https://www.npmjs.com/package/spyne)
|
|
5
5
|
[](https://github.com/spynejs/spyne/blob/master/LICENSE)
|
|
6
|
-
[](https://travis-ci.com/spynejs/spyne)
|
|
7
|
+
|
|
8
|
+
|
|
7
9
|
|
|
8
10
|
### Spyne.js’ key features includes:
|
|
9
11
|
|
package/karma.conf.js
CHANGED
|
@@ -12,7 +12,7 @@ const karmaWebpackConfig = {
|
|
|
12
12
|
mode: 'none',
|
|
13
13
|
|
|
14
14
|
// Karma manages watching/rebuilding on its own, so we typically disable watch from Webpack
|
|
15
|
-
watch:
|
|
15
|
+
watch: true,
|
|
16
16
|
|
|
17
17
|
// Remove the library entry/output so that Karma can inline test files
|
|
18
18
|
entry: undefined,
|
|
@@ -85,7 +85,7 @@ module.exports = function (config) {
|
|
|
85
85
|
webpackMiddleware: { noInfo: true },
|
|
86
86
|
|
|
87
87
|
// Report results with coverage
|
|
88
|
-
reporters: ['coverage'],
|
|
88
|
+
reporters: ['progress', 'coverage'],
|
|
89
89
|
|
|
90
90
|
coverageReporter: {
|
|
91
91
|
reporters: [
|
|
@@ -101,9 +101,6 @@ module.exports = function (config) {
|
|
|
101
101
|
// autoWatch: if true, re-run tests on file changes
|
|
102
102
|
autoWatch: true,
|
|
103
103
|
|
|
104
|
-
// For file-watching inside containers or certain OS environments
|
|
105
|
-
usePolling: true,
|
|
106
|
-
|
|
107
104
|
customLaunchers: {
|
|
108
105
|
ChromeHeadlessNoSandbox: {
|
|
109
106
|
base: 'ChromeHeadless',
|
|
@@ -115,7 +112,7 @@ module.exports = function (config) {
|
|
|
115
112
|
browsers: ['Chrome'],
|
|
116
113
|
|
|
117
114
|
// If true, Karma runs tests once and exits
|
|
118
|
-
singleRun:
|
|
115
|
+
singleRun: false,
|
|
119
116
|
|
|
120
117
|
// Concurrency level
|
|
121
118
|
concurrency: Infinity
|