@fastly/compute-js-static-publish 8.1.0-beta.7 → 8.1.0-beta.9
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/CHANGELOG.md +10 -2
- package/DOCUMENTATION.md +112 -70
- package/MIGRATING.md +45 -15
- package/README.md +6 -5
- package/README.short.md +6 -5
- package/build/cli/cli/commands/manage/clean.js +1 -1
- package/build/cli/cli/commands/manage/collections/delete.js +1 -1
- package/build/cli/cli/commands/manage/collections/index.js +1 -1
- package/build/cli/cli/commands/manage/collections/list.js +1 -1
- package/build/cli/cli/commands/manage/collections/promote.js +1 -1
- package/build/cli/cli/commands/manage/collections/update-expiration.js +1 -1
- package/build/cli/cli/commands/manage/index.js +2 -2
- package/build/cli/cli/commands/manage/publish-content.js +1 -1
- package/build/cli/cli/commands/manage/status.js +1 -1
- package/build/cli/cli/commands/manage/template/index.js +1 -1
- package/build/cli/cli/commands/manage/template/init.d.ts.map +1 -1
- package/build/cli/cli/commands/manage/template/init.js +11 -4
- package/build/cli/cli/commands/scaffold/app-template.js +1 -1
- package/build/cli/cli/commands/scaffold/generate-app.d.ts +1 -1
- package/build/cli/cli/commands/scaffold/generate-app.d.ts.map +1 -1
- package/build/cli/cli/commands/scaffold/generate-app.js +1 -1
- package/build/cli/cli/commands/scaffold/index.js +5 -5
- package/build/cli/cli/hono/build.d.ts +21 -14
- package/build/cli/cli/hono/build.d.ts.map +1 -1
- package/build/cli/cli/hono/build.js +119 -76
- package/build/cli/cli/managed/app.js +4 -4
- package/build/cli/cli/managed/command-helpers.js +6 -6
- package/build/cli/cli/managed/project-file.js +6 -6
- package/build/cli/cli/managed/template-init.js +3 -3
- package/build/cli/cli/storage/kv-store-local-provider.d.ts +2 -2
- package/build/cli/cli/storage/kv-store-local-provider.d.ts.map +1 -1
- package/build/cli/cli/storage/kv-store-local-provider.js +2 -14
- package/build/cli/cli/storage/kv-store-provider.d.ts +2 -2
- package/build/cli/cli/storage/kv-store-provider.d.ts.map +1 -1
- package/build/cli/cli/storage/kv-store-provider.js +2 -1
- package/build/cli/cli/storage/s3-storage-provider.d.ts +2 -2
- package/build/cli/cli/storage/s3-storage-provider.d.ts.map +1 -1
- package/build/cli/cli/storage/s3-storage-provider.js +4 -3
- package/build/cli/cli/storage/storage-provider.d.ts +3 -1
- package/build/cli/cli/storage/storage-provider.d.ts.map +1 -1
- package/build/cli/cli/storage/storage-provider.js +16 -0
- package/build/cli/cli/util/kv-store.d.ts +1 -1
- package/build/cli/cli/util/kv-store.d.ts.map +1 -1
- package/build/cli/models/config/static-publish-rc.d.ts +4 -3
- package/build/cli/models/config/static-publish-rc.d.ts.map +1 -1
- package/build/cli/models/config/template-settings.d.ts.map +1 -1
- package/build/cli/models/config/template-settings.js +34 -9
- package/build/server/hono/compose.d.ts +51 -0
- package/build/server/hono/compose.d.ts.map +1 -0
- package/build/server/hono/compose.js +93 -0
- package/build/server/hono/index.d.ts +1 -1
- package/build/server/hono/index.d.ts.map +1 -1
- package/build/server/hono/index.js +1 -1
- package/build/server/models/config/static-publish-rc.d.ts +4 -3
- package/build/server/models/config/static-publish-rc.d.ts.map +1 -1
- package/build/server/server/index.d.ts +1 -1
- package/build/server/server/index.d.ts.map +1 -1
- package/build/server/server/publisher-server/index.d.ts.map +1 -1
- package/build/server/server/publisher-server/index.js +6 -1
- package/build/server/server/storage/kv-store-provider.d.ts.map +1 -1
- package/build/server/server/storage/kv-store-provider.js +1 -0
- package/build/server/server/storage/s3-storage-provider.d.ts +2 -2
- package/build/server/server/storage/s3-storage-provider.d.ts.map +1 -1
- package/build/server/server/storage/s3-storage-provider.js +5 -2
- package/build/server/server/storage/storage-provider.d.ts +12 -1
- package/build/server/server/storage/storage-provider.d.ts.map +1 -1
- package/package.json +2 -2
- package/resources/template-init/hono/_example.ts +14 -13
- package/resources/templates/hono/package-lock.json +40 -40
- package/resources/templates/hono/package.json +2 -2
- package/resources/templates/hono/scripts/template_postinstall.js +5 -5
- package/resources/templates/hono/scripts/template_prebuild.js +6 -6
- package/resources/templates/hono/scripts/template_watch.js +5 -4
- package/resources/templates/hono/src/hono-compose.generated.d.ts +5 -0
- package/resources/templates/hono/src/index.ts +14 -14
- package/resources/templates/plain/package-lock.json +40 -40
- package/resources/templates/plain/package.json +2 -2
- package/build/server/hono/extensions.d.ts +0 -50
- package/build/server/hono/extensions.d.ts.map +0 -1
- package/build/server/hono/extensions.js +0 -70
- package/resources/templates/hono/src/hono-extensions.generated.d.ts +0 -5
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
// An example of a
|
|
2
|
-
//
|
|
3
|
-
// example.ts. Its options come from
|
|
4
|
-
// the project file (or in
|
|
1
|
+
// An example of a plugin module. A file whose name starts
|
|
2
|
+
// with '_' is not a plugin, so this file does nothing. To use it, rename it,
|
|
3
|
+
// for example to example.ts. Its options come from
|
|
4
|
+
// templateOptions.hono.compose.plugins.example in the project file (or in
|
|
5
|
+
// static-publish.rc.js).
|
|
5
6
|
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
import {
|
|
7
|
+
// definePlugin() gets a function for each phase that the plugin uses. The app
|
|
8
|
+
// runs the middleware phase of all plugins, then their routes phase, then the
|
|
9
|
+
// published files, then their afterFilesRoutes phase. With only a function in
|
|
10
|
+
// place of the object, the function is the middleware phase.
|
|
11
|
+
import { definePlugin } from '@fastly/compute-js-static-publish/hono';
|
|
11
12
|
|
|
12
|
-
export default
|
|
13
|
+
export default definePlugin({
|
|
13
14
|
middleware: (app, options?: { header?: string }) => {
|
|
14
15
|
app.use('*', async (c, next) => {
|
|
15
16
|
await next();
|
|
16
|
-
c.header(options?.header ?? 'x-example', 'from
|
|
17
|
+
c.header(options?.header ?? 'x-example', 'from a plugin');
|
|
17
18
|
});
|
|
18
19
|
},
|
|
19
|
-
|
|
20
|
-
app.get('/api/example', (c) => c.json({ hello: 'from
|
|
20
|
+
routes: (app) => {
|
|
21
|
+
app.get('/api/example', (c) => c.json({ hello: 'from a plugin' }));
|
|
21
22
|
},
|
|
22
23
|
});
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"name": "compute-js-static-publish-template-hono",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@fastly/hono-fastly-compute": "^0.4.0",
|
|
10
|
-
"@fastly/js-compute": "^4.
|
|
10
|
+
"@fastly/js-compute": "^4.4.0",
|
|
11
11
|
"hono": "^4.13.14"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@fastly/cli": "^
|
|
14
|
+
"@fastly/cli": "^17.0.0",
|
|
15
15
|
"esbuild": "^0.28.2",
|
|
16
16
|
"typescript": "^7.0.2"
|
|
17
17
|
}
|
|
@@ -1062,9 +1062,9 @@
|
|
|
1062
1062
|
}
|
|
1063
1063
|
},
|
|
1064
1064
|
"node_modules/@fastly/cli": {
|
|
1065
|
-
"version": "
|
|
1066
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli/-/cli-
|
|
1067
|
-
"integrity": "sha512-
|
|
1065
|
+
"version": "17.2.0",
|
|
1066
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli/-/cli-17.2.0.tgz",
|
|
1067
|
+
"integrity": "sha512-xJDYcd6RRgp5ER6O/rU5IEgFDDR6RINjsXTm6dlGaad43IoMsXeSWgC3EVGFZ/FRebNKxyGD0HhrJ1B+1cr83A==",
|
|
1068
1068
|
"dev": true,
|
|
1069
1069
|
"license": "Apache-2.0",
|
|
1070
1070
|
"bin": {
|
|
@@ -1074,20 +1074,20 @@
|
|
|
1074
1074
|
"node": ">=16"
|
|
1075
1075
|
},
|
|
1076
1076
|
"optionalDependencies": {
|
|
1077
|
-
"@fastly/cli-darwin-arm64": "=
|
|
1078
|
-
"@fastly/cli-darwin-x64": "=
|
|
1079
|
-
"@fastly/cli-linux-arm64": "=
|
|
1080
|
-
"@fastly/cli-linux-x32": "=
|
|
1081
|
-
"@fastly/cli-linux-x64": "=
|
|
1082
|
-
"@fastly/cli-win32-arm64": "=
|
|
1083
|
-
"@fastly/cli-win32-x32": "=
|
|
1084
|
-
"@fastly/cli-win32-x64": "=
|
|
1077
|
+
"@fastly/cli-darwin-arm64": "=17.2.0",
|
|
1078
|
+
"@fastly/cli-darwin-x64": "=17.2.0",
|
|
1079
|
+
"@fastly/cli-linux-arm64": "=17.2.0",
|
|
1080
|
+
"@fastly/cli-linux-x32": "=17.2.0",
|
|
1081
|
+
"@fastly/cli-linux-x64": "=17.2.0",
|
|
1082
|
+
"@fastly/cli-win32-arm64": "=17.2.0",
|
|
1083
|
+
"@fastly/cli-win32-x32": "=17.2.0",
|
|
1084
|
+
"@fastly/cli-win32-x64": "=17.2.0"
|
|
1085
1085
|
}
|
|
1086
1086
|
},
|
|
1087
1087
|
"node_modules/@fastly/cli-darwin-arm64": {
|
|
1088
|
-
"version": "
|
|
1089
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-darwin-arm64/-/cli-darwin-arm64-
|
|
1090
|
-
"integrity": "sha512-
|
|
1088
|
+
"version": "17.2.0",
|
|
1089
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-darwin-arm64/-/cli-darwin-arm64-17.2.0.tgz",
|
|
1090
|
+
"integrity": "sha512-AqYiyFVT+L2p5tS3NQOjF/h+8KAkrsg0qLPdoEh6uWgaStolBAz9WN/8JX94ua8ND9Cb65haV8ulrwCVnvDrvg==",
|
|
1091
1091
|
"cpu": [
|
|
1092
1092
|
"arm64"
|
|
1093
1093
|
],
|
|
@@ -1102,9 +1102,9 @@
|
|
|
1102
1102
|
}
|
|
1103
1103
|
},
|
|
1104
1104
|
"node_modules/@fastly/cli-darwin-x64": {
|
|
1105
|
-
"version": "
|
|
1106
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-darwin-x64/-/cli-darwin-x64-
|
|
1107
|
-
"integrity": "sha512-
|
|
1105
|
+
"version": "17.2.0",
|
|
1106
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-darwin-x64/-/cli-darwin-x64-17.2.0.tgz",
|
|
1107
|
+
"integrity": "sha512-wzSNHTcqUGR8STtXUCfQ3dAIjnyuEmQGCvpuvOdfjfAOgVgsmvp5cl2VCBzoy6mEZaRIdFWJHCyMMC/b0KfnTg==",
|
|
1108
1108
|
"cpu": [
|
|
1109
1109
|
"x64"
|
|
1110
1110
|
],
|
|
@@ -1119,9 +1119,9 @@
|
|
|
1119
1119
|
}
|
|
1120
1120
|
},
|
|
1121
1121
|
"node_modules/@fastly/cli-linux-arm64": {
|
|
1122
|
-
"version": "
|
|
1123
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-arm64/-/cli-linux-arm64-
|
|
1124
|
-
"integrity": "sha512-
|
|
1122
|
+
"version": "17.2.0",
|
|
1123
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-arm64/-/cli-linux-arm64-17.2.0.tgz",
|
|
1124
|
+
"integrity": "sha512-t5noBTcomo+lV9sB+5hxKZ1NLLaCTu9ijFc23Z4AnGM8r1oOYFznrX3NTI2OrNtV8l7Jr99c3MpJBK3crhUDvQ==",
|
|
1125
1125
|
"cpu": [
|
|
1126
1126
|
"arm64"
|
|
1127
1127
|
],
|
|
@@ -1136,9 +1136,9 @@
|
|
|
1136
1136
|
}
|
|
1137
1137
|
},
|
|
1138
1138
|
"node_modules/@fastly/cli-linux-x32": {
|
|
1139
|
-
"version": "
|
|
1140
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-x32/-/cli-linux-x32-
|
|
1141
|
-
"integrity": "sha512-
|
|
1139
|
+
"version": "17.2.0",
|
|
1140
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-x32/-/cli-linux-x32-17.2.0.tgz",
|
|
1141
|
+
"integrity": "sha512-dPSsE+qvIhy+uzxwSuDnRVIi16TXyMZj2ovQTdzmNmLuQyp4ZYzgaVrsxvrlLhedBb1Q1u9FClrY8xR/HVBJwA==",
|
|
1142
1142
|
"cpu": [
|
|
1143
1143
|
"x32"
|
|
1144
1144
|
],
|
|
@@ -1153,9 +1153,9 @@
|
|
|
1153
1153
|
}
|
|
1154
1154
|
},
|
|
1155
1155
|
"node_modules/@fastly/cli-linux-x64": {
|
|
1156
|
-
"version": "
|
|
1157
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-x64/-/cli-linux-x64-
|
|
1158
|
-
"integrity": "sha512-
|
|
1156
|
+
"version": "17.2.0",
|
|
1157
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-x64/-/cli-linux-x64-17.2.0.tgz",
|
|
1158
|
+
"integrity": "sha512-d+Qnl5Y8o/SynxSZxEdEJ8N1MaOoBTpsz9eRZWAXrr78gdcInedQ32n/m09JJxAymb3OlcAWEMrTMRt6FukShw==",
|
|
1159
1159
|
"cpu": [
|
|
1160
1160
|
"x64"
|
|
1161
1161
|
],
|
|
@@ -1170,9 +1170,9 @@
|
|
|
1170
1170
|
}
|
|
1171
1171
|
},
|
|
1172
1172
|
"node_modules/@fastly/cli-win32-arm64": {
|
|
1173
|
-
"version": "
|
|
1174
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-arm64/-/cli-win32-arm64-
|
|
1175
|
-
"integrity": "sha512-
|
|
1173
|
+
"version": "17.2.0",
|
|
1174
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-arm64/-/cli-win32-arm64-17.2.0.tgz",
|
|
1175
|
+
"integrity": "sha512-CRFfsu8yE5Hx1XtQAEZxEO7+p0oV+7cvkU5Yc/vkOc2gXoLZ6wneN92OEhH5mPTqzJs8pP+SCjLSuZ+a0K1cew==",
|
|
1176
1176
|
"cpu": [
|
|
1177
1177
|
"arm64"
|
|
1178
1178
|
],
|
|
@@ -1187,9 +1187,9 @@
|
|
|
1187
1187
|
}
|
|
1188
1188
|
},
|
|
1189
1189
|
"node_modules/@fastly/cli-win32-x32": {
|
|
1190
|
-
"version": "
|
|
1191
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-x32/-/cli-win32-x32-
|
|
1192
|
-
"integrity": "sha512-
|
|
1190
|
+
"version": "17.2.0",
|
|
1191
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-x32/-/cli-win32-x32-17.2.0.tgz",
|
|
1192
|
+
"integrity": "sha512-9roJGYuSiYxQiKzdQ9qHpZ0fVyiYjly52t88lmB5eHRZUhZK7nkIp3GvMQJ1hfMtJY0snqlnlj54+WlztoUoHg==",
|
|
1193
1193
|
"cpu": [
|
|
1194
1194
|
"x32"
|
|
1195
1195
|
],
|
|
@@ -1204,9 +1204,9 @@
|
|
|
1204
1204
|
}
|
|
1205
1205
|
},
|
|
1206
1206
|
"node_modules/@fastly/cli-win32-x64": {
|
|
1207
|
-
"version": "
|
|
1208
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-x64/-/cli-win32-x64-
|
|
1209
|
-
"integrity": "sha512-
|
|
1207
|
+
"version": "17.2.0",
|
|
1208
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-x64/-/cli-win32-x64-17.2.0.tgz",
|
|
1209
|
+
"integrity": "sha512-f4JHGnS7elta+zsenhCFgT0Jw112nPOOk0IRs7cyuagVJgl0wOTkUwnb5N8tTQatlDJ0GoaLzs6Us94i/s8nSQ==",
|
|
1210
1210
|
"cpu": [
|
|
1211
1211
|
"x64"
|
|
1212
1212
|
],
|
|
@@ -1243,9 +1243,9 @@
|
|
|
1243
1243
|
}
|
|
1244
1244
|
},
|
|
1245
1245
|
"node_modules/@fastly/js-compute": {
|
|
1246
|
-
"version": "4.0
|
|
1247
|
-
"resolved": "https://registry.npmjs.org/@fastly/js-compute/-/js-compute-4.0.
|
|
1248
|
-
"integrity": "sha512-
|
|
1246
|
+
"version": "4.4.0",
|
|
1247
|
+
"resolved": "https://registry.npmjs.org/@fastly/js-compute/-/js-compute-4.4.0.tgz",
|
|
1248
|
+
"integrity": "sha512-QNm4GlhRX96KOJWl+yBliEJYGTw7vGIbRx42nqhySe45mTO0cbOCOaLidDbpC3K0HR8PT5pymdWvhh9OXdurWQ==",
|
|
1249
1249
|
"bundleDependencies": [
|
|
1250
1250
|
"@fastly/wasmtime"
|
|
1251
1251
|
],
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
"main": "src/index.ts",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@fastly/hono-fastly-compute": "^0.4.0",
|
|
7
|
-
"@fastly/js-compute": "^4.
|
|
7
|
+
"@fastly/js-compute": "^4.4.0",
|
|
8
8
|
"hono": "^4.13.14"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@fastly/cli": "^
|
|
11
|
+
"@fastly/cli": "^17.0.0",
|
|
12
12
|
"esbuild": "^0.28.2",
|
|
13
13
|
"typescript": "^7.0.2"
|
|
14
14
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Runs after each install (the postinstall template hook). If
|
|
2
|
-
// src/hono-
|
|
3
|
-
//
|
|
2
|
+
// src/hono-compose.generated.js does not exist yet, writes it with no
|
|
3
|
+
// plugins, so that src/index.ts can import it before the first build.
|
|
4
4
|
import fs from 'node:fs';
|
|
5
5
|
import path from 'node:path';
|
|
6
|
-
import {
|
|
6
|
+
import { PLUGINS_MANIFEST, writePluginsStub } from '@fastly/compute-js-static-publish/hono/build';
|
|
7
7
|
|
|
8
|
-
if (!fs.existsSync(path.resolve(
|
|
9
|
-
|
|
8
|
+
if (!fs.existsSync(path.resolve(PLUGINS_MANIFEST))) {
|
|
9
|
+
writePluginsStub({ appDir: process.cwd() });
|
|
10
10
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// Runs before each build (the prebuild template hook). Bundles the
|
|
2
|
-
//
|
|
3
|
-
// packages of the app (hono, …) stay imports, so that the app has one copy
|
|
4
|
-
// each. This script passes the app's esbuild to the bundler.
|
|
1
|
+
// Runs before each build (the prebuild template hook). Bundles the plugins of
|
|
2
|
+
// hono-compose/ into src/hono-compose.generated.js.
|
|
3
|
+
// The packages of the app (hono, …) stay imports, so that the app has one copy
|
|
4
|
+
// of each. This script passes the app's esbuild to the bundler.
|
|
5
5
|
import * as esbuild from 'esbuild';
|
|
6
|
-
import {
|
|
6
|
+
import { bundlePlugins } from '@fastly/compute-js-static-publish/hono/build';
|
|
7
7
|
|
|
8
|
-
await
|
|
8
|
+
await bundlePlugins({ appDir: process.cwd(), esbuild });
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
// Runs next to `fastly compute serve --watch` (npm run dev:watch, or
|
|
2
|
-
// dev -- --watch, starts it). It watches the
|
|
3
|
-
// each change bundles the
|
|
2
|
+
// dev -- --watch, starts it). It watches the folder of the plugins
|
|
3
|
+
// (hono-compose/), and after each change bundles the plugins into
|
|
4
|
+
// src/hono-compose.generated.js again.
|
|
4
5
|
// The Fastly CLI watches the app directory, so the new file makes it build and
|
|
5
6
|
// restart the app.
|
|
6
7
|
import * as esbuild from 'esbuild';
|
|
7
|
-
import {
|
|
8
|
+
import { watchPlugins } from '@fastly/compute-js-static-publish/hono/build';
|
|
8
9
|
|
|
9
|
-
const watcher = await
|
|
10
|
+
const watcher = await watchPlugins({ appDir: process.cwd(), esbuild });
|
|
10
11
|
for (const signal of [ 'SIGINT', 'SIGTERM' ]) {
|
|
11
12
|
process.on(signal, () => {
|
|
12
13
|
watcher.close();
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
mergeBindings,
|
|
7
7
|
} from '@fastly/compute-js-static-publish/hono';
|
|
8
8
|
import rc from '../static-publish.rc.js';
|
|
9
|
-
// The modules
|
|
10
|
-
// scripts/template_prebuild.js).
|
|
11
|
-
import {
|
|
9
|
+
// The plugin modules in the folder hono-compose/. The
|
|
10
|
+
// build writes this file (see scripts/template_prebuild.js).
|
|
11
|
+
import { plugins } from './hono-compose.generated.js';
|
|
12
12
|
|
|
13
13
|
const honoOptions = rc.templateOptions?.hono;
|
|
14
14
|
|
|
15
|
-
// The bindings of the app and of the
|
|
15
|
+
// The bindings of the app and of the plugins, on c.env. A binding
|
|
16
16
|
// with two different resources stops the build.
|
|
17
|
-
const fire = buildFire(mergeBindings(honoOptions?.bindings,
|
|
17
|
+
const fire = buildFire(mergeBindings(honoOptions?.bindings, plugins) as BindingsDefs);
|
|
18
18
|
|
|
19
19
|
const {
|
|
20
20
|
serveStatic,
|
|
@@ -26,7 +26,7 @@ const {
|
|
|
26
26
|
publisherServer,
|
|
27
27
|
} = fromStaticPublishRc(rc);
|
|
28
28
|
|
|
29
|
-
// The helpers of the app that each phase of the
|
|
29
|
+
// The helpers of the app that each phase of the plugins gets.
|
|
30
30
|
const helpers = { serveStatic, staticResponse, serveFallback, fallbackResponse, isCollectionAvailable, publisherServer };
|
|
31
31
|
|
|
32
32
|
const app = new Hono<{ Bindings: typeof fire.Bindings, Variables: StaticPublisherVariables }>();
|
|
@@ -37,11 +37,11 @@ app.use('*', logFastlyServiceVersion());
|
|
|
37
37
|
// example for previews. Without it, this selects the default collection.
|
|
38
38
|
app.use('*', selectCollection());
|
|
39
39
|
|
|
40
|
-
// The
|
|
41
|
-
// them, then the
|
|
42
|
-
for (const phase of [ 'middleware', '
|
|
43
|
-
for (const
|
|
44
|
-
|
|
40
|
+
// The plugins, in file-name order: first the middleware phase of all of
|
|
41
|
+
// them, then the routes phase.
|
|
42
|
+
for (const phase of [ 'middleware', 'routes' ] as const) {
|
|
43
|
+
for (const p of plugins) {
|
|
44
|
+
p.plugin.phases[phase]?.(app, honoOptions?.compose?.plugins?.[p.name], helpers);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -51,10 +51,10 @@ for (const phase of [ 'middleware', 'beforeFiles' ] as const) {
|
|
|
51
51
|
// Serve the published files. If no file matches, the request goes to the next handler.
|
|
52
52
|
app.use('*', serveStatic());
|
|
53
53
|
|
|
54
|
-
// The
|
|
54
|
+
// The afterFilesRoutes phase of the plugins: only for the requests that no
|
|
55
55
|
// published file matches.
|
|
56
|
-
for (const
|
|
57
|
-
|
|
56
|
+
for (const p of plugins) {
|
|
57
|
+
p.plugin.phases.afterFilesRoutes?.(app, honoOptions?.compose?.plugins?.[p.name], helpers);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
// When nothing matches, serve the SPA file or the 404 page.
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
"": {
|
|
7
7
|
"name": "compute-js-static-publish-template-plain",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@fastly/js-compute": "^4.
|
|
9
|
+
"@fastly/js-compute": "^4.4.0"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@fastly/cli": "^
|
|
12
|
+
"@fastly/cli": "^17.0.0"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"node_modules/@andreiltd/componentize-qjs-binding-darwin-arm64": {
|
|
@@ -1058,9 +1058,9 @@
|
|
|
1058
1058
|
}
|
|
1059
1059
|
},
|
|
1060
1060
|
"node_modules/@fastly/cli": {
|
|
1061
|
-
"version": "
|
|
1062
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli/-/cli-
|
|
1063
|
-
"integrity": "sha512-
|
|
1061
|
+
"version": "17.2.0",
|
|
1062
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli/-/cli-17.2.0.tgz",
|
|
1063
|
+
"integrity": "sha512-xJDYcd6RRgp5ER6O/rU5IEgFDDR6RINjsXTm6dlGaad43IoMsXeSWgC3EVGFZ/FRebNKxyGD0HhrJ1B+1cr83A==",
|
|
1064
1064
|
"dev": true,
|
|
1065
1065
|
"license": "Apache-2.0",
|
|
1066
1066
|
"bin": {
|
|
@@ -1070,20 +1070,20 @@
|
|
|
1070
1070
|
"node": ">=16"
|
|
1071
1071
|
},
|
|
1072
1072
|
"optionalDependencies": {
|
|
1073
|
-
"@fastly/cli-darwin-arm64": "=
|
|
1074
|
-
"@fastly/cli-darwin-x64": "=
|
|
1075
|
-
"@fastly/cli-linux-arm64": "=
|
|
1076
|
-
"@fastly/cli-linux-x32": "=
|
|
1077
|
-
"@fastly/cli-linux-x64": "=
|
|
1078
|
-
"@fastly/cli-win32-arm64": "=
|
|
1079
|
-
"@fastly/cli-win32-x32": "=
|
|
1080
|
-
"@fastly/cli-win32-x64": "=
|
|
1073
|
+
"@fastly/cli-darwin-arm64": "=17.2.0",
|
|
1074
|
+
"@fastly/cli-darwin-x64": "=17.2.0",
|
|
1075
|
+
"@fastly/cli-linux-arm64": "=17.2.0",
|
|
1076
|
+
"@fastly/cli-linux-x32": "=17.2.0",
|
|
1077
|
+
"@fastly/cli-linux-x64": "=17.2.0",
|
|
1078
|
+
"@fastly/cli-win32-arm64": "=17.2.0",
|
|
1079
|
+
"@fastly/cli-win32-x32": "=17.2.0",
|
|
1080
|
+
"@fastly/cli-win32-x64": "=17.2.0"
|
|
1081
1081
|
}
|
|
1082
1082
|
},
|
|
1083
1083
|
"node_modules/@fastly/cli-darwin-arm64": {
|
|
1084
|
-
"version": "
|
|
1085
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-darwin-arm64/-/cli-darwin-arm64-
|
|
1086
|
-
"integrity": "sha512-
|
|
1084
|
+
"version": "17.2.0",
|
|
1085
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-darwin-arm64/-/cli-darwin-arm64-17.2.0.tgz",
|
|
1086
|
+
"integrity": "sha512-AqYiyFVT+L2p5tS3NQOjF/h+8KAkrsg0qLPdoEh6uWgaStolBAz9WN/8JX94ua8ND9Cb65haV8ulrwCVnvDrvg==",
|
|
1087
1087
|
"cpu": [
|
|
1088
1088
|
"arm64"
|
|
1089
1089
|
],
|
|
@@ -1098,9 +1098,9 @@
|
|
|
1098
1098
|
}
|
|
1099
1099
|
},
|
|
1100
1100
|
"node_modules/@fastly/cli-darwin-x64": {
|
|
1101
|
-
"version": "
|
|
1102
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-darwin-x64/-/cli-darwin-x64-
|
|
1103
|
-
"integrity": "sha512-
|
|
1101
|
+
"version": "17.2.0",
|
|
1102
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-darwin-x64/-/cli-darwin-x64-17.2.0.tgz",
|
|
1103
|
+
"integrity": "sha512-wzSNHTcqUGR8STtXUCfQ3dAIjnyuEmQGCvpuvOdfjfAOgVgsmvp5cl2VCBzoy6mEZaRIdFWJHCyMMC/b0KfnTg==",
|
|
1104
1104
|
"cpu": [
|
|
1105
1105
|
"x64"
|
|
1106
1106
|
],
|
|
@@ -1115,9 +1115,9 @@
|
|
|
1115
1115
|
}
|
|
1116
1116
|
},
|
|
1117
1117
|
"node_modules/@fastly/cli-linux-arm64": {
|
|
1118
|
-
"version": "
|
|
1119
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-arm64/-/cli-linux-arm64-
|
|
1120
|
-
"integrity": "sha512-
|
|
1118
|
+
"version": "17.2.0",
|
|
1119
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-arm64/-/cli-linux-arm64-17.2.0.tgz",
|
|
1120
|
+
"integrity": "sha512-t5noBTcomo+lV9sB+5hxKZ1NLLaCTu9ijFc23Z4AnGM8r1oOYFznrX3NTI2OrNtV8l7Jr99c3MpJBK3crhUDvQ==",
|
|
1121
1121
|
"cpu": [
|
|
1122
1122
|
"arm64"
|
|
1123
1123
|
],
|
|
@@ -1132,9 +1132,9 @@
|
|
|
1132
1132
|
}
|
|
1133
1133
|
},
|
|
1134
1134
|
"node_modules/@fastly/cli-linux-x32": {
|
|
1135
|
-
"version": "
|
|
1136
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-x32/-/cli-linux-x32-
|
|
1137
|
-
"integrity": "sha512-
|
|
1135
|
+
"version": "17.2.0",
|
|
1136
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-x32/-/cli-linux-x32-17.2.0.tgz",
|
|
1137
|
+
"integrity": "sha512-dPSsE+qvIhy+uzxwSuDnRVIi16TXyMZj2ovQTdzmNmLuQyp4ZYzgaVrsxvrlLhedBb1Q1u9FClrY8xR/HVBJwA==",
|
|
1138
1138
|
"cpu": [
|
|
1139
1139
|
"x32"
|
|
1140
1140
|
],
|
|
@@ -1149,9 +1149,9 @@
|
|
|
1149
1149
|
}
|
|
1150
1150
|
},
|
|
1151
1151
|
"node_modules/@fastly/cli-linux-x64": {
|
|
1152
|
-
"version": "
|
|
1153
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-x64/-/cli-linux-x64-
|
|
1154
|
-
"integrity": "sha512-
|
|
1152
|
+
"version": "17.2.0",
|
|
1153
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-linux-x64/-/cli-linux-x64-17.2.0.tgz",
|
|
1154
|
+
"integrity": "sha512-d+Qnl5Y8o/SynxSZxEdEJ8N1MaOoBTpsz9eRZWAXrr78gdcInedQ32n/m09JJxAymb3OlcAWEMrTMRt6FukShw==",
|
|
1155
1155
|
"cpu": [
|
|
1156
1156
|
"x64"
|
|
1157
1157
|
],
|
|
@@ -1166,9 +1166,9 @@
|
|
|
1166
1166
|
}
|
|
1167
1167
|
},
|
|
1168
1168
|
"node_modules/@fastly/cli-win32-arm64": {
|
|
1169
|
-
"version": "
|
|
1170
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-arm64/-/cli-win32-arm64-
|
|
1171
|
-
"integrity": "sha512-
|
|
1169
|
+
"version": "17.2.0",
|
|
1170
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-arm64/-/cli-win32-arm64-17.2.0.tgz",
|
|
1171
|
+
"integrity": "sha512-CRFfsu8yE5Hx1XtQAEZxEO7+p0oV+7cvkU5Yc/vkOc2gXoLZ6wneN92OEhH5mPTqzJs8pP+SCjLSuZ+a0K1cew==",
|
|
1172
1172
|
"cpu": [
|
|
1173
1173
|
"arm64"
|
|
1174
1174
|
],
|
|
@@ -1183,9 +1183,9 @@
|
|
|
1183
1183
|
}
|
|
1184
1184
|
},
|
|
1185
1185
|
"node_modules/@fastly/cli-win32-x32": {
|
|
1186
|
-
"version": "
|
|
1187
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-x32/-/cli-win32-x32-
|
|
1188
|
-
"integrity": "sha512-
|
|
1186
|
+
"version": "17.2.0",
|
|
1187
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-x32/-/cli-win32-x32-17.2.0.tgz",
|
|
1188
|
+
"integrity": "sha512-9roJGYuSiYxQiKzdQ9qHpZ0fVyiYjly52t88lmB5eHRZUhZK7nkIp3GvMQJ1hfMtJY0snqlnlj54+WlztoUoHg==",
|
|
1189
1189
|
"cpu": [
|
|
1190
1190
|
"x32"
|
|
1191
1191
|
],
|
|
@@ -1200,9 +1200,9 @@
|
|
|
1200
1200
|
}
|
|
1201
1201
|
},
|
|
1202
1202
|
"node_modules/@fastly/cli-win32-x64": {
|
|
1203
|
-
"version": "
|
|
1204
|
-
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-x64/-/cli-win32-x64-
|
|
1205
|
-
"integrity": "sha512-
|
|
1203
|
+
"version": "17.2.0",
|
|
1204
|
+
"resolved": "https://registry.npmjs.org/@fastly/cli-win32-x64/-/cli-win32-x64-17.2.0.tgz",
|
|
1205
|
+
"integrity": "sha512-f4JHGnS7elta+zsenhCFgT0Jw112nPOOk0IRs7cyuagVJgl0wOTkUwnb5N8tTQatlDJ0GoaLzs6Us94i/s8nSQ==",
|
|
1206
1206
|
"cpu": [
|
|
1207
1207
|
"x64"
|
|
1208
1208
|
],
|
|
@@ -1217,9 +1217,9 @@
|
|
|
1217
1217
|
}
|
|
1218
1218
|
},
|
|
1219
1219
|
"node_modules/@fastly/js-compute": {
|
|
1220
|
-
"version": "4.0
|
|
1221
|
-
"resolved": "https://registry.npmjs.org/@fastly/js-compute/-/js-compute-4.0.
|
|
1222
|
-
"integrity": "sha512-
|
|
1220
|
+
"version": "4.4.0",
|
|
1221
|
+
"resolved": "https://registry.npmjs.org/@fastly/js-compute/-/js-compute-4.4.0.tgz",
|
|
1222
|
+
"integrity": "sha512-QNm4GlhRX96KOJWl+yBliEJYGTw7vGIbRx42nqhySe45mTO0cbOCOaLidDbpC3K0HR8PT5pymdWvhh9OXdurWQ==",
|
|
1223
1223
|
"bundleDependencies": [
|
|
1224
1224
|
"@fastly/wasmtime"
|
|
1225
1225
|
],
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { Acl } from 'fastly:acl';
|
|
2
|
-
import type { Backend } from 'fastly:backend';
|
|
3
|
-
import type { ConfigStore } from 'fastly:config-store';
|
|
4
|
-
import type { KVStore } from 'fastly:kv-store';
|
|
5
|
-
import type { Logger } from 'fastly:logger';
|
|
6
|
-
import type { SecretStore } from 'fastly:secret-store';
|
|
7
|
-
import type { Hono } from 'hono';
|
|
8
|
-
import type { PublisherServerMiddleware } from './index.js';
|
|
9
|
-
export type ExtensionBindings = Record<string, string>;
|
|
10
|
-
type ResourceTypes = {
|
|
11
|
-
Acl: Acl;
|
|
12
|
-
Backend: Backend;
|
|
13
|
-
ConfigStore: ConfigStore;
|
|
14
|
-
env: string;
|
|
15
|
-
KVStore: KVStore;
|
|
16
|
-
Logger: Logger;
|
|
17
|
-
SecretStore: SecretStore;
|
|
18
|
-
};
|
|
19
|
-
export type BindingResource<R> = R extends `${infer T}:${string}` ? (T extends keyof ResourceTypes ? ResourceTypes[T] | undefined : unknown) : R extends keyof ResourceTypes ? ResourceTypes[R] | undefined : unknown;
|
|
20
|
-
export type ExtensionEnv<B extends ExtensionBindings> = {
|
|
21
|
-
Bindings: {
|
|
22
|
-
[K in keyof B]: BindingResource<B[K]>;
|
|
23
|
-
};
|
|
24
|
-
Variables: Record<string, any>;
|
|
25
|
-
};
|
|
26
|
-
export declare const EXTENSION_PHASES: readonly ['middleware', 'beforeFiles', 'afterFiles'];
|
|
27
|
-
export type ExtensionPhase = typeof EXTENSION_PHASES[number];
|
|
28
|
-
export type ExtensionHelpers = Pick<PublisherServerMiddleware, 'publisherServer' | 'serveStatic' | 'staticResponse' | 'serveFallback' | 'fallbackResponse' | 'isCollectionAvailable'>;
|
|
29
|
-
export type ExtensionPhaseFunction<B extends ExtensionBindings = ExtensionBindings, O = any> = (app: Hono<ExtensionEnv<B>, any, any>, options: O | undefined, helpers: ExtensionHelpers) => void;
|
|
30
|
-
export type ExtensionPhases<B extends ExtensionBindings = ExtensionBindings, O = any> = {
|
|
31
|
-
[P in ExtensionPhase]?: ExtensionPhaseFunction<B, O>;
|
|
32
|
-
};
|
|
33
|
-
export type DefineExtensionOptions<B extends ExtensionBindings = ExtensionBindings> = {
|
|
34
|
-
bindings?: B;
|
|
35
|
-
};
|
|
36
|
-
export type Extension = {
|
|
37
|
-
kind: 'extension';
|
|
38
|
-
bindings: ExtensionBindings;
|
|
39
|
-
phases: ExtensionPhases<any>;
|
|
40
|
-
};
|
|
41
|
-
export type ExtensionEntry = {
|
|
42
|
-
name: string;
|
|
43
|
-
file: string;
|
|
44
|
-
module: Extension;
|
|
45
|
-
};
|
|
46
|
-
export declare function defineExtension<O = any>(phases: ExtensionPhaseFunction<{}, O> | ExtensionPhases<{}, O>): Extension;
|
|
47
|
-
export declare function defineExtension<const B extends ExtensionBindings, O = any>(options: DefineExtensionOptions<B>, phases: ExtensionPhaseFunction<B, O> | ExtensionPhases<B, O>): Extension;
|
|
48
|
-
export declare function mergeBindings(appBindings: ExtensionBindings | undefined, entries: ExtensionEntry[]): ExtensionBindings;
|
|
49
|
-
export {};
|
|
50
|
-
//# sourceMappingURL=extensions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/hono/extensions.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK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