@minnovate/shadow-publisher 0.10.0 → 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.
|
|
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
|
|
106
|
-
a larger app is refused before it is checked,
|
|
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
|
|
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/dist/publisher.cjs
CHANGED
|
@@ -5671,7 +5671,7 @@ var Publisher = class {
|
|
|
5671
5671
|
await noteAcceptedPublication(options.repoDir, outcome);
|
|
5672
5672
|
return outcome;
|
|
5673
5673
|
}
|
|
5674
|
-
// ---- workspaces (docs/workspace-parity.md) ------------------------------------------------
|
|
5674
|
+
// ---- workspaces (docs/archive/workspace-parity.md) ------------------------------------------------
|
|
5675
5675
|
/** Create a NEW editable workspace (clone + mapping) for a published repository. */
|
|
5676
5676
|
async checkout(options, call2 = {}) {
|
|
5677
5677
|
return checkoutWorkspace(this, options, call2);
|