@platformatic/remix 2.67.0-alpha.1 → 2.67.0-alpha.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.
- package/index.js +3 -2
- package/package.json +7 -7
- package/schema.json +1 -1
package/index.js
CHANGED
|
@@ -44,6 +44,7 @@ export class RemixStackable extends ViteStackable {
|
|
|
44
44
|
this.#remix = resolve(dirname(resolvePackage(this.root, '@remix-run/dev')), '..')
|
|
45
45
|
const remixPackage = JSON.parse(await readFile(resolve(this.#remix, 'package.json'), 'utf-8'))
|
|
46
46
|
|
|
47
|
+
/* c8 ignore next 3 */
|
|
47
48
|
if (!satisfies(remixPackage.version, supportedVersions)) {
|
|
48
49
|
throw new errors.UnsupportedVersion('@remix-run/dev', remixPackage.version, supportedVersions)
|
|
49
50
|
}
|
|
@@ -181,7 +182,7 @@ export class RemixStackable extends ViteStackable {
|
|
|
181
182
|
this.logger.warn('Could not find Remix plugin in your Vite configuration. Continuing as plain Vite application.')
|
|
182
183
|
}
|
|
183
184
|
|
|
184
|
-
|
|
185
|
+
this._collectMetrics()
|
|
185
186
|
}
|
|
186
187
|
|
|
187
188
|
async #startProduction (listen) {
|
|
@@ -220,7 +221,7 @@ export class RemixStackable extends ViteStackable {
|
|
|
220
221
|
this.#app.use(this.#basePath, express.static(resolve(this.root, `${outputDirectory}/client`)))
|
|
221
222
|
this.#app.all(`${ensureTrailingSlash(cleanBasePath(this.#basePath))}*`, createRequestHandler({ build }))
|
|
222
223
|
|
|
223
|
-
|
|
224
|
+
this._collectMetrics()
|
|
224
225
|
return this.url
|
|
225
226
|
}
|
|
226
227
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/remix",
|
|
3
|
-
"version": "2.67.0-alpha.
|
|
3
|
+
"version": "2.67.0-alpha.2",
|
|
4
4
|
"description": "Platformatic Remix Stackable",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"express": "^4.19.2",
|
|
21
21
|
"pino-http": "^10.2.0",
|
|
22
22
|
"semver": "^7.6.3",
|
|
23
|
-
"@platformatic/basic": "2.67.0-alpha.
|
|
24
|
-
"@platformatic/
|
|
25
|
-
"@platformatic/
|
|
26
|
-
"@platformatic/config": "2.67.0-alpha.
|
|
23
|
+
"@platformatic/basic": "2.67.0-alpha.2",
|
|
24
|
+
"@platformatic/utils": "2.67.0-alpha.2",
|
|
25
|
+
"@platformatic/vite": "2.67.0-alpha.2",
|
|
26
|
+
"@platformatic/config": "2.67.0-alpha.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@remix-run/dev": "^2.11.2",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"typescript": "^5.5.4",
|
|
41
41
|
"vite": "^5.4.2",
|
|
42
42
|
"ws": "^8.18.0",
|
|
43
|
-
"@platformatic/composer": "2.67.0-alpha.
|
|
44
|
-
"@platformatic/service": "2.67.0-alpha.
|
|
43
|
+
"@platformatic/composer": "2.67.0-alpha.2",
|
|
44
|
+
"@platformatic/service": "2.67.0-alpha.2"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"test": "npm run lint && borp --concurrency=1 --no-timeout",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/remix/2.67.0-alpha.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/remix/2.67.0-alpha.2.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Remix Stackable",
|
|
5
5
|
"type": "object",
|