@shiplane/github-pages 0.6.0-nightly.11 → 0.6.0-nightly.13
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 +16 -11
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -57,13 +57,14 @@ modules:
|
|
|
57
57
|
|
|
58
58
|
In the site's `shiplane.unit.yml`, next to `module: web-app`. The same file in both modes.
|
|
59
59
|
|
|
60
|
-
| Key
|
|
61
|
-
|
|
|
62
|
-
| `url`
|
|
63
|
-
| `branch`
|
|
64
|
-
| `dist`
|
|
65
|
-
| `domain`
|
|
66
|
-
| `env`
|
|
60
|
+
| Key | Default | Means |
|
|
61
|
+
| ----------- | ---------- | ------------------------------------------------------------------------ |
|
|
62
|
+
| `url` | required | The site's address; its path is given to the build as `BASE_PATH` |
|
|
63
|
+
| `branch` | `gh-pages` | The branch Pages serves |
|
|
64
|
+
| `dist` | `dist` | What the build writes, relative to the unit's folder |
|
|
65
|
+
| `domain` | | A custom domain, written as `CNAME` |
|
|
66
|
+
| `env` | | Variables the build reads, each per environment |
|
|
67
|
+
| `variables` | `[]` | Names the build reads from your shell or, on CI, from GitHub's variables |
|
|
67
68
|
|
|
68
69
|
Source: `GithubPagesOptions` in `src/github-pages-static-hosting.adapter.ts`.
|
|
69
70
|
|
|
@@ -85,9 +86,12 @@ url: https://acme.github.io/acme/
|
|
|
85
86
|
site@1.0.0 → https://acme.github.io/acme/preview/ (GitHub Pages) (not tagged yet: release first)
|
|
86
87
|
this machine
|
|
87
88
|
BASE_PATH=/acme/preview/ pnpm --filter=@acme/site run build
|
|
88
|
-
sh -c git ls-remote --exit-code --heads origin "$1" >/dev/null || git push origin "$(git commit-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904 -m "start $1")":"refs/heads/$1" sh gh-pages
|
|
89
|
+
sh -c [ -z "$GITHUB_ACTIONS" ] || { git config --global user.name "github-actions[bot]" && git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" && git config --global credential.https://github.com.helper "!gh auth git-credential"; } && { git ls-remote --exit-code --heads origin "$1" >/dev/null || git push origin "$(git commit-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904 -m "start $1")":"refs/heads/$1"; } sh gh-pages
|
|
89
90
|
npx --yes gh-pages@6.3.0 --dist=apps/site/dist --branch=gh-pages --message=site@1.0.0 --dotfiles --nojekyll --dest=preview
|
|
90
|
-
|
|
91
|
+
sh -c [ -z "$GITHUB_ACTIONS" ] || gh api -X POST "repos/$GITHUB_REPOSITORY/pages/builds" --silent || echo "Pages was not asked to build: ship again, or build it from Settings > Pages"
|
|
92
|
+
then record site@1.0.0 on preview, on GitHub
|
|
93
|
+
GitHub Actions
|
|
94
|
+
gh workflow run ship.yml --ref site@1.0.0 -f units=site -f environment=preview
|
|
91
95
|
```
|
|
92
96
|
|
|
93
97
|
## 📏 Rules
|
|
@@ -100,13 +104,14 @@ url: https://acme.github.io/acme/
|
|
|
100
104
|
| The branch does not exist | Created empty, so the source is never published |
|
|
101
105
|
| The branch holds the source | Refused |
|
|
102
106
|
| Someone pushed at the same time | The push is refused, never forced: ship again |
|
|
103
|
-
| CI | Ships
|
|
107
|
+
| CI | Ships through shiplane's workflow, which then asks Pages to build |
|
|
104
108
|
|
|
105
109
|
Preview is public, and shares production's origin.
|
|
106
110
|
|
|
107
111
|
## 🔑 Tools and sign-ins
|
|
108
112
|
|
|
109
|
-
|
|
113
|
+
On your machine, whatever lets `git push` reach the repository. On CI, the workflow's own token,
|
|
114
|
+
with `contents: write` and `pages: write`, which setup writes in `ship.yml`. `npx` fetches
|
|
110
115
|
[gh-pages](https://github.com/tschaub/gh-pages), pinned.
|
|
111
116
|
|
|
112
117
|
## 📚 Docs
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"node:path";import{adapterEntry as t,defineStaticHosting as n,perEnv as r,z as i}from"shiplane/plugin";import{z as a}from"shiplane";const o=`preview`,s=`!(CNAME|${o})`,c=/^(vite|astro|next|nuxt|svelte)\.config\.(ts|js|mjs|cjs)$/,l=i.object({url:i.string().regex(/^https?:\/\/[^/]+/,`the site's address, like https://acme.github.io/site/`).describe(`The site's address; its path is given to the build as BASE_PATH`),branch:i.string().default(`gh-pages`).describe(`The branch Pages serves`),dist:i.string().default(`dist`).describe(`What the build writes, relative to the unit's folder`),domain:i.string().optional().describe(`A custom domain, written as CNAME`),env:i.record(i.string(),r(i.string())).optional().describe(`Variables the build reads, per environment`)}),addressOf=(e,t)=>{let n=e.endsWith(`/`)?e:`${e}/`;return t===o?`${n}${o}/`:n},startBranch=e=>({command:`sh`,args:[`-c`,`git ls-remote --exit-code --heads origin "$1" >/dev/null || git push origin "$(git commit-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904 -m "start $1")":"refs/heads/$1"`,`sh`,e]}),githubPagesStaticHosting=()=>n({name:`github-pages`,settings:l,typicalMinutes:2,describe:({options:e,environment:t})=>`${addressOf(e.url,t)} (GitHub Pages)`,detect:e=>{let t=e.files.find(e=>c.test(e));if(!t)return null;let n=!t.startsWith(`vite.`)||e.has(`index.html`);return{certainty:n?`likely`:`possible`,reason:n&&t.startsWith(`vite.`)?`${t}, index.html`:t,options:{}}},questions:(e,t,n)=>t.url===void 0?[{key:`url`,message:`Address of the site?`,...
|
|
1
|
+
import e from"node:path";import{adapterEntry as t,defineStaticHosting as n,perEnv as r,z as i}from"shiplane/plugin";import{z as a}from"shiplane";const o=`preview`,s=`!(CNAME|${o})`,c=/^(vite|astro|next|nuxt|svelte)\.config\.(ts|js|mjs|cjs)$/,l=i.object({url:i.string().regex(/^https?:\/\/[^/]+/,`the site's address, like https://acme.github.io/site/`).describe(`The site's address; its path is given to the build as BASE_PATH`),branch:i.string().default(`gh-pages`).describe(`The branch Pages serves`),dist:i.string().default(`dist`).describe(`What the build writes, relative to the unit's folder`),domain:i.string().optional().describe(`A custom domain, written as CNAME`),env:i.record(i.string(),r(i.string())).optional().describe(`Variables the build reads, per environment`),variables:i.array(i.string().regex(/^[A-Z][A-Z0-9_]*$/,`a variable name is UPPER_SNAKE, like SITE_KEY`)).default([]).describe(`Variables the build reads from this machine or, on CI, from GitHub's variables`)}),addressOf=(e,t)=>{let n=e.endsWith(`/`)?e:`${e}/`;return t===o?`${n}${o}/`:n},siteOf=e=>{let[t=``,n=``]=e.split(`/`);return n.endsWith(`.github.io`)?`https://${n}/`:`https://${t}.github.io/${n}/`},startBranch=e=>({command:`sh`,args:[`-c`,`[ -z "$GITHUB_ACTIONS" ] || { git config --global user.name "github-actions[bot]" && git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" && git config --global credential.https://github.com.helper "!gh auth git-credential"; } && { git ls-remote --exit-code --heads origin "$1" >/dev/null || git push origin "$(git commit-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904 -m "start $1")":"refs/heads/$1"; }`,`sh`,e]}),githubPagesStaticHosting=()=>n({name:`github-pages`,settings:l,typicalMinutes:2,describe:({options:e,environment:t})=>`${addressOf(e.url,t)} (GitHub Pages)`,detect:e=>{let t=e.files.find(e=>c.test(e));if(!t)return null;let n=!t.startsWith(`vite.`)||e.has(`index.html`);return{certainty:n?`likely`:`possible`,reason:n&&t.startsWith(`vite.`)?`${t}, index.html`:t,options:{}}},questions:(e,t,n,r)=>t.url===void 0?[{key:`url`,message:`Address of the site?`,...r?{initial:siteOf(r)}:{}}]:[],requirements:e=>{let{variables:t}=l.partial({url:!0}).parse(e.options);return[{label:`GitHub Pages`,check:{command:`git`,args:[`ls-remote`,`--quiet`,`origin`,`HEAD`]},secrets:[`GH_TOKEN`],permissions:{contents:`write`,pages:`write`},...t.length>0?{variables:t}:{}}]},jobs:({unit:t,tag:n,environment:r,options:i,defaultBranch:a})=>{let{branch:c,domain:l}=i;if(c===a)throw Error(`${t.name}: branch "${c}" holds the source, and a ship replaces its files. Use another, such as gh-pages.`);let u=addressOf(i.url,r);return[{label:`build ${n} and publish it to ${u}`,local:[{command:`pnpm`,args:[`--filter=${t.packageName}`,`run`,`build`],env:{BASE_PATH:new URL(u).pathname,...i.env}},startBranch(c),{command:`npx`,args:[`--yes`,`gh-pages@6.3.0`,`--dist=${e.posix.join(t.dir,i.dist)}`,`--branch=${c}`,`--message=${n}`,`--dotfiles`,`--nojekyll`,...l?[`--cname=${l}`]:[],r===o?`--dest=${o}`:`--remove={${s},${s}/**}`]},{command:`sh`,args:[`-c`,`[ -z "$GITHUB_ACTIONS" ] || gh api -X POST "repos/$GITHUB_REPOSITORY/pages/builds" --silent || echo "Pages was not asked to build: ship again, or build it from Settings > Pages"`]}],ci:{ref:n},record:!0}]}}),u=[t({name:`github-pages`,port:`staticHosting`,description:`Deploys each site to GitHub Pages, through a branch`,options:a.object({}),make:()=>githubPagesStaticHosting()})];export{u as catalog,githubPagesStaticHosting};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["z"],"sources":["../src/github-pages-static-hosting.adapter.ts","../src/catalog.ts"],"sourcesContent":["import path from \"node:path\";\nimport type { Command, DeliveryAdapter, StaticHostingPort } from \"shiplane/plugin\";\nimport { defineStaticHosting, perEnv, z } from \"shiplane/plugin\";\n\nconst GH_PAGES = \"gh-pages@6.3.0\";\n\n/** Where preview lives on the branch. Production is the rest of it. */\nconst PREVIEW = \"preview\";\n\n/** Everything at the branch root but these, as a glob. It starts with a brace where it is used: a\n * leading `!` would negate the whole pattern. */\nconst KEPT = `!(CNAME|${PREVIEW})`;\n\nconst BUILT = /^(vite|astro|next|nuxt|svelte)\\.config\\.(ts|js|mjs|cjs)$/;\n\nconst GithubPagesOptions = z.object({\n url: z\n .string()\n .regex(/^https?:\\/\\/[^/]+/, \"the site's address, like https://acme.github.io/site/\")\n .describe(\"The site's address; its path is given to the build as BASE_PATH\"),\n branch: z.string().default(\"gh-pages\").describe(\"The branch Pages serves\"),\n dist: z.string().default(\"dist\").describe(\"What the build writes, relative to the unit's folder\"),\n domain: z.string().optional().describe(\"A custom domain, written as CNAME\"),\n env: z\n .record(z.string(), perEnv(z.string()))\n .optional()\n .describe(\"Variables the build reads, per environment\"),\n});\n\nconst addressOf = (url: string, environment: string) => {\n const root = url.endsWith(\"/\") ? url : `${url}/`;\n return environment === PREVIEW ? `${root}${PREVIEW}/` : root;\n};\n\n// On a branch that does not exist, gh-pages starts from the repository's own files and publishes\n// them. So the branch is there first, empty. An existing one refuses this push: it is not forced.\nconst START =\n 'git ls-remote --exit-code --heads origin \"$1\" >/dev/null || git push origin \"$(git commit-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904 -m \"start $1\")\":\"refs/heads/$1\"';\n\nconst startBranch = (branch: string): Command => ({\n command: \"sh\",\n args: [\"-c\", START, \"sh\", branch],\n});\n\n/** A static build on GitHub Pages: preview in its own folder, production in the rest of the branch. */\nexport type GithubPagesStaticHostingAdapter = DeliveryAdapter<StaticHostingPort>;\n\nexport const githubPagesStaticHosting = (): GithubPagesStaticHostingAdapter =>\n defineStaticHosting({\n name: \"github-pages\",\n settings: GithubPagesOptions,\n typicalMinutes: 2,\n describe: ({ options, environment }) => `${addressOf(options.url, environment)} (GitHub Pages)`,\n detect: (folder) => {\n const built = folder.files.find((file) => BUILT.test(file));\n if (!built) return null;\n // A Vite config without an index.html is usually a library, not a site.\n const site = !built.startsWith(\"vite.\") || folder.has(\"index.html\");\n return {\n certainty: site ? \"likely\" : \"possible\",\n reason: site && built.startsWith(\"vite.\") ? `${built}, index.html` : built,\n options: {},\n };\n },\n questions: (_folder, found,
|
|
1
|
+
{"version":3,"file":"index.js","names":["z"],"sources":["../src/github-pages-static-hosting.adapter.ts","../src/catalog.ts"],"sourcesContent":["import path from \"node:path\";\nimport type { Command, DeliveryAdapter, StaticHostingPort } from \"shiplane/plugin\";\nimport { defineStaticHosting, perEnv, z } from \"shiplane/plugin\";\n\nconst GH_PAGES = \"gh-pages@6.3.0\";\n\n/** Where preview lives on the branch. Production is the rest of it. */\nconst PREVIEW = \"preview\";\n\n/** Everything at the branch root but these, as a glob. It starts with a brace where it is used: a\n * leading `!` would negate the whole pattern. */\nconst KEPT = `!(CNAME|${PREVIEW})`;\n\nconst BUILT = /^(vite|astro|next|nuxt|svelte)\\.config\\.(ts|js|mjs|cjs)$/;\n\nconst GithubPagesOptions = z.object({\n url: z\n .string()\n .regex(/^https?:\\/\\/[^/]+/, \"the site's address, like https://acme.github.io/site/\")\n .describe(\"The site's address; its path is given to the build as BASE_PATH\"),\n branch: z.string().default(\"gh-pages\").describe(\"The branch Pages serves\"),\n dist: z.string().default(\"dist\").describe(\"What the build writes, relative to the unit's folder\"),\n domain: z.string().optional().describe(\"A custom domain, written as CNAME\"),\n env: z\n .record(z.string(), perEnv(z.string()))\n .optional()\n .describe(\"Variables the build reads, per environment\"),\n variables: z\n .array(z.string().regex(/^[A-Z][A-Z0-9_]*$/, \"a variable name is UPPER_SNAKE, like SITE_KEY\"))\n .default([])\n .describe(\"Variables the build reads from this machine or, on CI, from GitHub's variables\"),\n});\n\nconst addressOf = (url: string, environment: string) => {\n const root = url.endsWith(\"/\") ? url : `${url}/`;\n return environment === PREVIEW ? `${root}${PREVIEW}/` : root;\n};\n\n/** Where GitHub serves a repository's site: a user's or organisation's is named by its address. */\nconst siteOf = (remote: string) => {\n const [owner = \"\", name = \"\"] = remote.split(\"/\");\n return name.endsWith(\".github.io\") ? `https://${name}/` : `https://${owner}.github.io/${name}/`;\n};\n\n// On a branch that does not exist, gh-pages starts from the repository's own files and publishes\n// them. So the branch is there first, empty. An existing one refuses this push: it is not forced.\nconst START =\n // A runner has no identity and no sign-in of its own outside its checkout.\n '[ -z \"$GITHUB_ACTIONS\" ] || { git config --global user.name \"github-actions[bot]\" && git config --global user.email \"41898282+github-actions[bot]@users.noreply.github.com\" && git config --global credential.https://github.com.helper \"!gh auth git-credential\"; } && ' +\n '{ git ls-remote --exit-code --heads origin \"$1\" >/dev/null || git push origin \"$(git commit-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904 -m \"start $1\")\":\"refs/heads/$1\"; }';\n\n// A push made with a workflow's token builds no Pages site: it is asked for. Not asked, or refused,\n// the files are there all the same.\nconst ASK =\n '[ -z \"$GITHUB_ACTIONS\" ] || gh api -X POST \"repos/$GITHUB_REPOSITORY/pages/builds\" --silent || echo \"Pages was not asked to build: ship again, or build it from Settings > Pages\"';\n\nconst startBranch = (branch: string): Command => ({\n command: \"sh\",\n args: [\"-c\", START, \"sh\", branch],\n});\n\n/** A static build on GitHub Pages: preview in its own folder, production in the rest of the branch. */\nexport type GithubPagesStaticHostingAdapter = DeliveryAdapter<StaticHostingPort>;\n\nexport const githubPagesStaticHosting = (): GithubPagesStaticHostingAdapter =>\n defineStaticHosting({\n name: \"github-pages\",\n settings: GithubPagesOptions,\n typicalMinutes: 2,\n describe: ({ options, environment }) => `${addressOf(options.url, environment)} (GitHub Pages)`,\n detect: (folder) => {\n const built = folder.files.find((file) => BUILT.test(file));\n if (!built) return null;\n // A Vite config without an index.html is usually a library, not a site.\n const site = !built.startsWith(\"vite.\") || folder.has(\"index.html\");\n return {\n certainty: site ? \"likely\" : \"possible\",\n reason: site && built.startsWith(\"vite.\") ? `${built}, index.html` : built,\n options: {},\n };\n },\n questions: (_folder, found, _repository, remote) =>\n found.url === undefined\n ? [\n {\n key: \"url\",\n message: \"Address of the site?\",\n ...(remote ? { initial: siteOf(remote) } : {}),\n },\n ]\n : [],\n requirements: (unit) => {\n const { variables } = GithubPagesOptions.partial({ url: true }).parse(unit.options);\n return [\n {\n label: \"GitHub Pages\",\n check: { command: \"git\", args: [\"ls-remote\", \"--quiet\", \"origin\", \"HEAD\"] },\n secrets: [\"GH_TOKEN\"],\n permissions: { contents: \"write\", pages: \"write\" },\n ...(variables.length > 0 ? { variables } : {}),\n },\n ];\n },\n jobs: ({ unit, tag, environment, options, defaultBranch }) => {\n const { branch, domain } = options;\n if (branch === defaultBranch) {\n throw new Error(\n `${unit.name}: branch \"${branch}\" holds the source, and a ship replaces its files. Use another, such as gh-pages.`,\n );\n }\n const address = addressOf(options.url, environment);\n return [\n {\n label: `build ${tag} and publish it to ${address}`,\n local: [\n {\n command: \"pnpm\",\n args: [`--filter=${unit.packageName}`, \"run\", \"build\"],\n env: { BASE_PATH: new URL(address).pathname, ...options.env },\n },\n startBranch(branch),\n {\n command: \"npx\",\n args: [\n \"--yes\",\n GH_PAGES,\n `--dist=${path.posix.join(unit.dir, options.dist)}`,\n `--branch=${branch}`,\n `--message=${tag}`,\n \"--dotfiles\",\n \"--nojekyll\",\n ...(domain ? [`--cname=${domain}`] : []),\n // Each environment replaces its own files only; CNAME outlives both.\n environment === PREVIEW ? `--dest=${PREVIEW}` : `--remove={${KEPT},${KEPT}/**}`,\n ],\n },\n { command: \"sh\", args: [\"-c\", ASK] },\n ],\n ci: { ref: tag },\n record: true,\n },\n ];\n },\n });\n","import type { CatalogEntry } from \"shiplane/plugin\";\nimport { z } from \"shiplane\";\nimport { adapterEntry } from \"shiplane/plugin\";\n\nimport { githubPagesStaticHosting } from \"./github-pages-static-hosting.adapter\";\n\n/** What a shiplane.yml names from this plugin: `staticHosting: github-pages`. */\nexport const catalog: readonly CatalogEntry[] = [\n adapterEntry({\n name: \"github-pages\",\n port: \"staticHosting\",\n description: \"Deploys each site to GitHub Pages, through a branch\",\n options: z.object({}),\n make: () => githubPagesStaticHosting(),\n }),\n];\n"],"mappings":"iJAIA,MAGM,EAAU,UAIV,EAAO,WAAW,EAAQ,GAE1B,EAAQ,2DAER,EAAqB,EAAE,OAAO,CAClC,IAAK,EACF,QAAQ,CACR,MAAM,oBAAqB,wDAAwD,CACnF,SAAS,kEAAkE,CAC9E,OAAQ,EAAE,QAAQ,CAAC,QAAQ,WAAW,CAAC,SAAS,0BAA0B,CAC1E,KAAM,EAAE,QAAQ,CAAC,QAAQ,OAAO,CAAC,SAAS,uDAAuD,CACjG,OAAQ,EAAE,QAAQ,CAAC,UAAU,CAAC,SAAS,o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AA0B,CACvC,CAAC,CACH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shiplane/github-pages",
|
|
3
|
-
"version": "0.6.0-nightly.
|
|
3
|
+
"version": "0.6.0-nightly.13",
|
|
4
4
|
"description": "GitHub Pages plugin for shiplane: deploy a static site and its preview to one branch.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shiplane",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"prettier": "^3.10.1",
|
|
40
40
|
"typescript": "6.0.3",
|
|
41
41
|
"vitest": "^5.1.0",
|
|
42
|
-
"shiplane": "0.6.0-nightly.
|
|
42
|
+
"shiplane": "0.6.0-nightly.13"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"shiplane": "0.6.0-nightly.
|
|
45
|
+
"shiplane": "0.6.0-nightly.13"
|
|
46
46
|
},
|
|
47
47
|
"shiplane": {
|
|
48
48
|
"adapters": [
|