@platformatic/remix 2.57.0 → 2.59.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.
Files changed (3) hide show
  1. package/index.js +2 -0
  2. package/package.json +7 -7
  3. package/schema.json +1 -1
package/index.js CHANGED
@@ -214,7 +214,9 @@ export class RemixStackable extends ViteStackable {
214
214
  const build = await importFile(resolve(this.root, `${outputDirectory}/server/index.js`))
215
215
  this.#basePath = ensureTrailingSlash(cleanBasePath(build.basename))
216
216
 
217
+ // Setup express app
217
218
  this.#app = express()
219
+ this.#app.disable('x-powered-by')
218
220
  this.#app.use(pinoHttp({ logger: this.logger }))
219
221
  this.#app.use(this.#basePath, express.static(resolve(this.root, `${outputDirectory}/client`)))
220
222
  this.#app.all(`${ensureTrailingSlash(cleanBasePath(this.#basePath))}*`, createRequestHandler({ build }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/remix",
3
- "version": "2.57.0",
3
+ "version": "2.59.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/basic": "2.57.0",
24
- "@platformatic/config": "2.57.0",
25
- "@platformatic/vite": "2.57.0",
26
- "@platformatic/utils": "2.57.0"
23
+ "@platformatic/basic": "2.59.0",
24
+ "@platformatic/config": "2.59.0",
25
+ "@platformatic/vite": "2.59.0",
26
+ "@platformatic/utils": "2.59.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/composer": "2.57.0",
44
- "@platformatic/service": "2.57.0"
43
+ "@platformatic/composer": "2.59.0",
44
+ "@platformatic/service": "2.59.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.57.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/remix/2.59.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Remix Stackable",
5
5
  "type": "object",