@minnovate/shadow-publisher 0.10.1 → 0.10.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "git-publisher",
3
3
  "displayName": "Git Publisher",
4
- "version": "0.10.1",
4
+ "version": "0.10.2",
5
5
  "description": "Publish an app folder's Git history to the serverless Git publishing backend and keep it updated (\"publish my app\", \"update my app\", \"fetch the engineered version\").",
6
6
  "author": { "name": "git-publisher project" },
7
7
  "keywords": ["git", "publish", "deploy", "serverless"]
@@ -102,8 +102,8 @@ the message in the user's words ("Add a contact page"), not git's.
102
102
  A published app runs with no internet access: **it may not load anything from other sites** — no
103
103
  CDN scripts, web fonts or remote images. When you write or change an app, keep every file it needs
104
104
  in its folder. The checks refuse an app that does not (see "When the checks find something").
105
- Keep it small too: each file at most 200 KB, the whole app at most 500 KB, fewer than 100 files —
106
- a larger app is refused before it is checked, with no findings to say why.
105
+ Keep it small too: each file at most 4 MB, the whole app at most 10 MB, at most 500 files —
106
+ a larger app is refused before it is checked, and the refusal names the file or the limit it broke.
107
107
 
108
108
  ## 4. Telling them how it goes, step by step
109
109
 
@@ -177,7 +177,7 @@ sentence, and `progress.next.action` is `"fix"`. Then:
177
177
  2. Fix every finding in the app folder, by its `kind`:
178
178
  - `external-resource`: the app loads `url` from another site (a CDN script, Google Fonts, an
179
179
  image). **Apps may not load anything from other sites.** Download the file into the app
180
- folder and point to it with a relative path — only if it is at most 200 KB; a charting
180
+ folder and point to it with a relative path — only if it is at most 4 MB; a charting
181
181
  library usually is not (Chart.js is 201 KB). Otherwise replace it with code of your own: a
182
182
  font falls back to a system font stack, a chart is drawn as inline SVG. Never keep the
183
183
  external address.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minnovate/shadow-publisher",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "publisher: publish an app's Git history to the serverless Git backend",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",