@fluid-app/fluid-cli-theme-dev 0.1.910 → 0.1.912
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/README.md +44 -0
- package/dist/dist-cli-preview/.vite/manifest.json +17 -17
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{MediaScreen-BeW7cyF3.js → MediaScreen-CdR-A1zJ.js} +1 -1
- package/dist/dist-cli-preview/chunks/{MemberShareablesScreen-Cjiwm4hS.js → MemberShareablesScreen-kHnOtPBS.js} +1 -1
- package/dist/dist-cli-preview/chunks/{MessagingScreen-BTVg7cag.js → MessagingScreen-7dW84pg4.js} +8817 -8815
- package/dist/dist-cli-preview/chunks/{PlaylistsScreen-C-g9E_Fb.js → PlaylistsScreen-69uNeW45.js} +1 -1
- package/dist/dist-cli-preview/chunks/{cli-preview-CmXcVR8O.js → cli-preview-6Q0W6jz6.js} +4 -4
- package/dist/dist-cli-preview/chunks/{mount-account-screen-ClGhNo9j.js → mount-account-screen-lvuh2o8K.js} +2 -2
- package/dist/dist-cli-preview/chunks/{navigate-account-screen-AGarxy-u.js → navigate-account-screen-CUajuBVm.js} +1 -1
- package/dist/index.mjs +224 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -493,6 +493,50 @@ replace the widget.
|
|
|
493
493
|
after publishing, since Fluid may rewrite keys; pull to take staging's
|
|
494
494
|
version.
|
|
495
495
|
|
|
496
|
+
### Publishing when a teammate published first
|
|
497
|
+
|
|
498
|
+
`fluid theme staging publish` sends every theme file it publishes (all but
|
|
499
|
+
the paths it skips and lists, such as files attached to a template), so it
|
|
500
|
+
would put this checkout's copy of each of those back on staging. To keep that from undoing a
|
|
501
|
+
teammate's work by accident, each successful publish records the staging
|
|
502
|
+
revision and the files it published in `.fluid-theme/staging-baseline.json`.
|
|
503
|
+
The next publish from the same directory compares staging with that record
|
|
504
|
+
first. When files changed on staging since then and this checkout has them
|
|
505
|
+
differently, the publish is refused with `staging_moved`, names those files
|
|
506
|
+
and the current revision, and changes nothing:
|
|
507
|
+
|
|
508
|
+
```text
|
|
509
|
+
Staging has changes you don't have (revision 12). Publishing would replace them. Get those changes first, or publish with --force to replace them.
|
|
510
|
+
- sections/hero_section/index.liquid
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
- Bring their changes into this checkout and publish again; once your copies
|
|
514
|
+
match staging's, nothing is replaced and the check passes.
|
|
515
|
+
- `--replace-at <revision>` replaces them on purpose, only while staging is
|
|
516
|
+
still at that revision. If someone published again meanwhile, the check
|
|
517
|
+
runs again and names the new files. Mist's **Replace anyway** uses this.
|
|
518
|
+
- `--force` replaces them whatever the revision.
|
|
519
|
+
|
|
520
|
+
Paths are matched however a resource's path is spelled, so a case or
|
|
521
|
+
resource-kind difference doesn't hide a file. With no record (a new checkout,
|
|
522
|
+
or the file deleted), there is nothing to compare and the publish isn't
|
|
523
|
+
checked. With `--json`, the refusal's `error.type` is `staging_moved` and
|
|
524
|
+
`error.paths` lists the files.
|
|
525
|
+
|
|
526
|
+
### Taking a teammate's staging changes
|
|
527
|
+
|
|
528
|
+
`fluid theme staging pull` writes into this directory the files someone else
|
|
529
|
+
published to staging since this directory last published, so the next
|
|
530
|
+
publish carries their work instead of being refused. It only writes files
|
|
531
|
+
this directory still has as they were at that publish; a file you changed too
|
|
532
|
+
is kept and named, never overwritten. Staging names its own copies of the
|
|
533
|
+
member menus, so a file taken from staging has each one put back to the menu
|
|
534
|
+
this directory names in the same place; a file that would still name a
|
|
535
|
+
staging menu is kept. `members_sites.json` is never taken. When the
|
|
536
|
+
directory then matches staging, its staging record moves to the current
|
|
537
|
+
revision. With `--json` it prints `revision`, `taken`, `kept` (each with its
|
|
538
|
+
`reason`) and `matches`.
|
|
539
|
+
|
|
496
540
|
### Promoting staging to live
|
|
497
541
|
|
|
498
542
|
`fluid theme staging promote` copies exactly what staging serves onto the
|
|
@@ -1486,8 +1486,8 @@
|
|
|
1486
1486
|
"../../profile/core/src/locale/zh_TW.json"
|
|
1487
1487
|
]
|
|
1488
1488
|
},
|
|
1489
|
-
"_MemberShareablesScreen-
|
|
1490
|
-
"file": "chunks/MemberShareablesScreen-
|
|
1489
|
+
"_MemberShareablesScreen-kHnOtPBS.js": {
|
|
1490
|
+
"file": "chunks/MemberShareablesScreen-kHnOtPBS.js",
|
|
1491
1491
|
"name": "MemberShareablesScreen",
|
|
1492
1492
|
"imports": [
|
|
1493
1493
|
"_account-screen-runtime-B9i-9CLs.js",
|
|
@@ -1511,7 +1511,7 @@
|
|
|
1511
1511
|
"_member-permissions-ndhNmlOk.js",
|
|
1512
1512
|
"_use-store-CXu_fhao.js",
|
|
1513
1513
|
"_client.gen-CG8-mDod.js",
|
|
1514
|
-
"_navigate-account-screen-
|
|
1514
|
+
"_navigate-account-screen-CUajuBVm.js"
|
|
1515
1515
|
],
|
|
1516
1516
|
"dynamicImports": [
|
|
1517
1517
|
"../../shareables/core/src/locale/ar.json",
|
|
@@ -1652,8 +1652,8 @@
|
|
|
1652
1652
|
"_account-screen-runtime-B9i-9CLs.js"
|
|
1653
1653
|
]
|
|
1654
1654
|
},
|
|
1655
|
-
"_cli-preview-
|
|
1656
|
-
"file": "chunks/cli-preview-
|
|
1655
|
+
"_cli-preview-6Q0W6jz6.js": {
|
|
1656
|
+
"file": "chunks/cli-preview-6Q0W6jz6.js",
|
|
1657
1657
|
"name": "cli-preview",
|
|
1658
1658
|
"dynamicImports": [
|
|
1659
1659
|
"src/screens/SubscriptionsScreen.tsx",
|
|
@@ -1798,11 +1798,11 @@
|
|
|
1798
1798
|
"file": "chunks/member-permissions-ndhNmlOk.js",
|
|
1799
1799
|
"name": "member-permissions"
|
|
1800
1800
|
},
|
|
1801
|
-
"_navigate-account-screen-
|
|
1802
|
-
"file": "chunks/navigate-account-screen-
|
|
1801
|
+
"_navigate-account-screen-CUajuBVm.js": {
|
|
1802
|
+
"file": "chunks/navigate-account-screen-CUajuBVm.js",
|
|
1803
1803
|
"name": "navigate-account-screen",
|
|
1804
1804
|
"imports": [
|
|
1805
|
-
"_cli-preview-
|
|
1805
|
+
"_cli-preview-6Q0W6jz6.js"
|
|
1806
1806
|
]
|
|
1807
1807
|
},
|
|
1808
1808
|
"_schemas-CZvv_5iX.js": {
|
|
@@ -1908,11 +1908,11 @@
|
|
|
1908
1908
|
"src": "src/browser/cli-preview.ts",
|
|
1909
1909
|
"isEntry": true,
|
|
1910
1910
|
"imports": [
|
|
1911
|
-
"_cli-preview-
|
|
1911
|
+
"_cli-preview-6Q0W6jz6.js"
|
|
1912
1912
|
]
|
|
1913
1913
|
},
|
|
1914
1914
|
"src/runtime/mount-account-screen.tsx": {
|
|
1915
|
-
"file": "chunks/mount-account-screen-
|
|
1915
|
+
"file": "chunks/mount-account-screen-lvuh2o8K.js",
|
|
1916
1916
|
"name": "mount-account-screen",
|
|
1917
1917
|
"src": "src/runtime/mount-account-screen.tsx",
|
|
1918
1918
|
"isDynamicEntry": true,
|
|
@@ -1922,8 +1922,8 @@
|
|
|
1922
1922
|
"_store-api-context-TW7uud2C.js",
|
|
1923
1923
|
"_hey-api-client-EAWr0fT_.js",
|
|
1924
1924
|
"_use-mobile-BChC77Fq.js",
|
|
1925
|
-
"_navigate-account-screen-
|
|
1926
|
-
"_cli-preview-
|
|
1925
|
+
"_navigate-account-screen-CUajuBVm.js",
|
|
1926
|
+
"_cli-preview-6Q0W6jz6.js",
|
|
1927
1927
|
"_arrow-left-Ds5JkG8w.js"
|
|
1928
1928
|
]
|
|
1929
1929
|
},
|
|
@@ -1992,17 +1992,17 @@
|
|
|
1992
1992
|
]
|
|
1993
1993
|
},
|
|
1994
1994
|
"src/screens/MediaScreen.tsx": {
|
|
1995
|
-
"file": "chunks/MediaScreen-
|
|
1995
|
+
"file": "chunks/MediaScreen-CdR-A1zJ.js",
|
|
1996
1996
|
"name": "MediaScreen",
|
|
1997
1997
|
"src": "src/screens/MediaScreen.tsx",
|
|
1998
1998
|
"isDynamicEntry": true,
|
|
1999
1999
|
"imports": [
|
|
2000
2000
|
"_account-screen-runtime-B9i-9CLs.js",
|
|
2001
|
-
"_MemberShareablesScreen-
|
|
2001
|
+
"_MemberShareablesScreen-kHnOtPBS.js"
|
|
2002
2002
|
]
|
|
2003
2003
|
},
|
|
2004
2004
|
"src/screens/MessagingScreen.tsx": {
|
|
2005
|
-
"file": "chunks/MessagingScreen-
|
|
2005
|
+
"file": "chunks/MessagingScreen-7dW84pg4.js",
|
|
2006
2006
|
"name": "MessagingScreen",
|
|
2007
2007
|
"src": "src/screens/MessagingScreen.tsx",
|
|
2008
2008
|
"isDynamicEntry": true,
|
|
@@ -2122,13 +2122,13 @@
|
|
|
2122
2122
|
]
|
|
2123
2123
|
},
|
|
2124
2124
|
"src/screens/PlaylistsScreen.tsx": {
|
|
2125
|
-
"file": "chunks/PlaylistsScreen-
|
|
2125
|
+
"file": "chunks/PlaylistsScreen-69uNeW45.js",
|
|
2126
2126
|
"name": "PlaylistsScreen",
|
|
2127
2127
|
"src": "src/screens/PlaylistsScreen.tsx",
|
|
2128
2128
|
"isDynamicEntry": true,
|
|
2129
2129
|
"imports": [
|
|
2130
2130
|
"_account-screen-runtime-B9i-9CLs.js",
|
|
2131
|
-
"_MemberShareablesScreen-
|
|
2131
|
+
"_MemberShareablesScreen-kHnOtPBS.js"
|
|
2132
2132
|
]
|
|
2133
2133
|
},
|
|
2134
2134
|
"src/screens/ProfileScreen.tsx": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import "./chunks/cli-preview-
|
|
1
|
+
import "./chunks/cli-preview-6Q0W6jz6.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as e } from "./account-screen-runtime-B9i-9CLs.js";
|
|
2
|
-
import { M as r } from "./MemberShareablesScreen-
|
|
2
|
+
import { M as r } from "./MemberShareablesScreen-kHnOtPBS.js";
|
|
3
3
|
function t() {
|
|
4
4
|
return /* @__PURE__ */ e.jsx(r, { curation: "when-served" });
|
|
5
5
|
}
|
|
@@ -19,7 +19,7 @@ import { u as ec } from "./index-BNk_peyi.js";
|
|
|
19
19
|
import { d as tc } from "./member-permissions-ndhNmlOk.js";
|
|
20
20
|
import { u as sc } from "./use-store-CXu_fhao.js";
|
|
21
21
|
import { c as ac, a as rc } from "./client.gen-CG8-mDod.js";
|
|
22
|
-
import { i as nc } from "./navigate-account-screen-
|
|
22
|
+
import { i as nc } from "./navigate-account-screen-CUajuBVm.js";
|
|
23
23
|
/**
|
|
24
24
|
* @license lucide-react v0.575.0 - ISC
|
|
25
25
|
*
|