@tachybase/plugin-adapter-remix 1.3.22 → 1.3.24
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/dist/externalVersion.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@remix-run/express","version":"2.16.8","description":"Express server request handler for Remix","bugs":{"url":"https://github.com/remix-run/remix/issues"},"repository":{"type":"git","url":"https://github.com/remix-run/remix","directory":"packages/remix-express"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","dependencies":{"@remix-run/node":"2.16.8"},"devDependencies":{"@types/express":"^4.17.9","@types/node":"^18.17.1","@types/supertest":"^2.0.10","express":"^4.20.0","node-mocks-http":"^1.10.1","supertest":"^6.3.3","typescript":"^5.1.6"},"peerDependencies":{"express":"^4.20.0","typescript":"^5.1.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"engines":{"node":">=18.0.0"},"files":["dist/","CHANGELOG.md","LICENSE.md","README.md"],"scripts":{"tsc":"tsc"},"_lastModified":"2025-
|
|
1
|
+
{"name":"@remix-run/express","version":"2.16.8","description":"Express server request handler for Remix","bugs":{"url":"https://github.com/remix-run/remix/issues"},"repository":{"type":"git","url":"https://github.com/remix-run/remix","directory":"packages/remix-express"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","dependencies":{"@remix-run/node":"2.16.8"},"devDependencies":{"@types/express":"^4.17.9","@types/node":"^18.17.1","@types/supertest":"^2.0.10","express":"^4.20.0","node-mocks-http":"^1.10.1","supertest":"^6.3.3","typescript":"^5.1.6"},"peerDependencies":{"express":"^4.20.0","typescript":"^5.1.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"engines":{"node":">=18.0.0"},"files":["dist/","CHANGELOG.md","LICENSE.md","README.md"],"scripts":{"tsc":"tsc"},"_lastModified":"2025-08-03T23:06:03.883Z"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"express","description":"Fast, unopinionated, minimalist web framework","version":"4.21.2","author":"TJ Holowaychuk <tj@vision-media.ca>","contributors":["Aaron Heckmann <aaron.heckmann+github@gmail.com>","Ciaran Jessup <ciaranj@gmail.com>","Douglas Christopher Wilson <doug@somethingdoug.com>","Guillermo Rauch <rauchg@gmail.com>","Jonathan Ong <me@jongleberry.com>","Roman Shtylman <shtylman+expressjs@gmail.com>","Young Jae Sim <hanul@hanul.me>"],"license":"MIT","repository":"expressjs/express","homepage":"http://expressjs.com/","funding":{"type":"opencollective","url":"https://opencollective.com/express"},"keywords":["express","framework","sinatra","web","http","rest","restful","router","app","api"],"dependencies":{"accepts":"~1.3.8","array-flatten":"1.1.1","body-parser":"1.20.3","content-disposition":"0.5.4","content-type":"~1.0.4","cookie":"0.7.1","cookie-signature":"1.0.6","debug":"2.6.9","depd":"2.0.0","encodeurl":"~2.0.0","escape-html":"~1.0.3","etag":"~1.8.1","finalhandler":"1.3.1","fresh":"0.5.2","http-errors":"2.0.0","merge-descriptors":"1.0.3","methods":"~1.1.2","on-finished":"2.4.1","parseurl":"~1.3.3","path-to-regexp":"0.1.12","proxy-addr":"~2.0.7","qs":"6.13.0","range-parser":"~1.2.1","safe-buffer":"5.2.1","send":"0.19.0","serve-static":"1.16.2","setprototypeof":"1.2.0","statuses":"2.0.1","type-is":"~1.6.18","utils-merge":"1.0.1","vary":"~1.1.2"},"devDependencies":{"after":"0.8.2","connect-redis":"3.4.2","cookie-parser":"1.4.6","cookie-session":"2.0.0","ejs":"3.1.9","eslint":"8.47.0","express-session":"1.17.2","hbs":"4.2.0","marked":"0.7.0","method-override":"3.0.0","mocha":"10.2.0","morgan":"1.10.0","nyc":"15.1.0","pbkdf2-password":"1.2.1","supertest":"6.3.0","vhost":"~3.0.2"},"engines":{"node":">= 0.10.0"},"files":["LICENSE","History.md","Readme.md","index.js","lib/"],"scripts":{"lint":"eslint .","test":"mocha --require test/support/env --reporter spec --bail --check-leaks test/ test/acceptance/","test-ci":"nyc --exclude examples --exclude test --exclude benchmarks --reporter=lcovonly --reporter=text npm test","test-cov":"nyc --exclude examples --exclude test --exclude benchmarks --reporter=html --reporter=text npm test","test-tap":"mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/"},"_lastModified":"2025-
|
|
1
|
+
{"name":"express","description":"Fast, unopinionated, minimalist web framework","version":"4.21.2","author":"TJ Holowaychuk <tj@vision-media.ca>","contributors":["Aaron Heckmann <aaron.heckmann+github@gmail.com>","Ciaran Jessup <ciaranj@gmail.com>","Douglas Christopher Wilson <doug@somethingdoug.com>","Guillermo Rauch <rauchg@gmail.com>","Jonathan Ong <me@jongleberry.com>","Roman Shtylman <shtylman+expressjs@gmail.com>","Young Jae Sim <hanul@hanul.me>"],"license":"MIT","repository":"expressjs/express","homepage":"http://expressjs.com/","funding":{"type":"opencollective","url":"https://opencollective.com/express"},"keywords":["express","framework","sinatra","web","http","rest","restful","router","app","api"],"dependencies":{"accepts":"~1.3.8","array-flatten":"1.1.1","body-parser":"1.20.3","content-disposition":"0.5.4","content-type":"~1.0.4","cookie":"0.7.1","cookie-signature":"1.0.6","debug":"2.6.9","depd":"2.0.0","encodeurl":"~2.0.0","escape-html":"~1.0.3","etag":"~1.8.1","finalhandler":"1.3.1","fresh":"0.5.2","http-errors":"2.0.0","merge-descriptors":"1.0.3","methods":"~1.1.2","on-finished":"2.4.1","parseurl":"~1.3.3","path-to-regexp":"0.1.12","proxy-addr":"~2.0.7","qs":"6.13.0","range-parser":"~1.2.1","safe-buffer":"5.2.1","send":"0.19.0","serve-static":"1.16.2","setprototypeof":"1.2.0","statuses":"2.0.1","type-is":"~1.6.18","utils-merge":"1.0.1","vary":"~1.1.2"},"devDependencies":{"after":"0.8.2","connect-redis":"3.4.2","cookie-parser":"1.4.6","cookie-session":"2.0.0","ejs":"3.1.9","eslint":"8.47.0","express-session":"1.17.2","hbs":"4.2.0","marked":"0.7.0","method-override":"3.0.0","mocha":"10.2.0","morgan":"1.10.0","nyc":"15.1.0","pbkdf2-password":"1.2.1","supertest":"6.3.0","vhost":"~3.0.2"},"engines":{"node":">= 0.10.0"},"files":["LICENSE","History.md","Readme.md","index.js","lib/"],"scripts":{"lint":"eslint .","test":"mocha --require test/support/env --reporter spec --bail --check-leaks test/ test/acceptance/","test-ci":"nyc --exclude examples --exclude test --exclude benchmarks --reporter=lcovonly --reporter=text npm test","test-cov":"nyc --exclude examples --exclude test --exclude benchmarks --reporter=html --reporter=text npm test","test-tap":"mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/"},"_lastModified":"2025-08-03T23:06:04.665Z"}
|
package/dist/server/plugin.js
CHANGED
|
@@ -34,8 +34,8 @@ module.exports = __toCommonJS(plugin_exports);
|
|
|
34
34
|
var import_node_fs = __toESM(require("node:fs"));
|
|
35
35
|
var import_node_path = __toESM(require("node:path"));
|
|
36
36
|
var import_node_process = __toESM(require("node:process"));
|
|
37
|
-
var import_express = require("@remix-run/express");
|
|
38
37
|
var import_server = require("@tego/server");
|
|
38
|
+
var import_express = require("@remix-run/express");
|
|
39
39
|
var import_express2 = __toESM(require("express"));
|
|
40
40
|
class PluginAdapterRemixServer extends import_server.Plugin {
|
|
41
41
|
async afterAdd() {
|
|
@@ -45,7 +45,7 @@ class PluginAdapterRemixServer extends import_server.Plugin {
|
|
|
45
45
|
async load() {
|
|
46
46
|
const callback = (0, import_express2.default)();
|
|
47
47
|
const prefix = "/adapters/remix";
|
|
48
|
-
const remixPath = import_node_path.default.join(import_node_process.default.
|
|
48
|
+
const remixPath = import_node_path.default.join(import_node_process.default.env.TEGO_RUNTIME_HOME, "storage/remix");
|
|
49
49
|
if (!import_node_fs.default.existsSync(remixPath)) {
|
|
50
50
|
import_node_fs.default.mkdirSync(remixPath, { recursive: true });
|
|
51
51
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/plugin-adapter-remix",
|
|
3
3
|
"displayName": "Adapter remix",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.24",
|
|
5
5
|
"description": "integrate and manage remix server.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"System management"
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@remix-run/express": "^2.16.8",
|
|
13
13
|
"@remix-run/react": "^2.15.2",
|
|
14
|
-
"@tachybase/test": "^1.3.
|
|
15
|
-
"@tego/client": "^1.3.
|
|
16
|
-
"@tego/server": "^1.3.
|
|
14
|
+
"@tachybase/test": "^1.3.49",
|
|
15
|
+
"@tego/client": "^1.3.49",
|
|
16
|
+
"@tego/server": "^1.3.49",
|
|
17
17
|
"cross-env": "^7.0.3",
|
|
18
18
|
"express": "4.21.2",
|
|
19
19
|
"isbot": "^5.1.28",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"react": "18.3.1",
|
|
22
22
|
"sort-by": "^1.2.0",
|
|
23
23
|
"tiny-invariant": "^1.3.3",
|
|
24
|
-
"@tachybase/client": "1.3.
|
|
24
|
+
"@tachybase/client": "1.3.24"
|
|
25
25
|
},
|
|
26
26
|
"description.zh-CN": "集成和管理 Remix 服务器",
|
|
27
27
|
"displayName.zh-CN": "Remix管理",
|