@platformatic/remix 2.67.0 → 2.68.0
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 +2 -3
- package/package.json +7 -7
- package/schema.json +1 -1
package/index.js
CHANGED
|
@@ -44,7 +44,6 @@ 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 */
|
|
48
47
|
if (!satisfies(remixPackage.version, supportedVersions)) {
|
|
49
48
|
throw new errors.UnsupportedVersion('@remix-run/dev', remixPackage.version, supportedVersions)
|
|
50
49
|
}
|
|
@@ -182,7 +181,7 @@ export class RemixStackable extends ViteStackable {
|
|
|
182
181
|
this.logger.warn('Could not find Remix plugin in your Vite configuration. Continuing as plain Vite application.')
|
|
183
182
|
}
|
|
184
183
|
|
|
185
|
-
this._collectMetrics()
|
|
184
|
+
await this._collectMetrics()
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
async #startProduction (listen) {
|
|
@@ -221,7 +220,7 @@ export class RemixStackable extends ViteStackable {
|
|
|
221
220
|
this.#app.use(this.#basePath, express.static(resolve(this.root, `${outputDirectory}/client`)))
|
|
222
221
|
this.#app.all(`${ensureTrailingSlash(cleanBasePath(this.#basePath))}*`, createRequestHandler({ build }))
|
|
223
222
|
|
|
224
|
-
this._collectMetrics()
|
|
223
|
+
await this._collectMetrics()
|
|
225
224
|
return this.url
|
|
226
225
|
}
|
|
227
226
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/remix",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.68.0",
|
|
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/
|
|
24
|
-
"@platformatic/
|
|
25
|
-
"@platformatic/utils": "2.
|
|
26
|
-
"@platformatic/vite": "2.
|
|
23
|
+
"@platformatic/basic": "2.68.0",
|
|
24
|
+
"@platformatic/config": "2.68.0",
|
|
25
|
+
"@platformatic/utils": "2.68.0",
|
|
26
|
+
"@platformatic/vite": "2.68.0"
|
|
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/
|
|
44
|
-
"@platformatic/
|
|
43
|
+
"@platformatic/service": "2.68.0",
|
|
44
|
+
"@platformatic/composer": "2.68.0"
|
|
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.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/remix/2.68.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Remix Stackable",
|
|
5
5
|
"type": "object",
|