@sentry/solidstart 11.11.0 → 11.12.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.
@@ -5,7 +5,7 @@ const core = require('@sentry/core');
5
5
  const TUNNEL_BASE_PATH_GLOBAL = "__sentry_solidstart_base_path";
6
6
  function applyTunnelBasePath(options) {
7
7
  const basePath = typeof __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ !== "undefined" ? __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ : "";
8
- options.tunnel = core._INTERNAL_applyTunnelDefaults(options.tunnel, { basePath });
8
+ options.tunnel = core._INTERNAL_applyBrowserTunnelDefaults(options.tunnel, { basePath });
9
9
  }
10
10
 
11
11
  exports.TUNNEL_BASE_PATH_GLOBAL = TUNNEL_BASE_PATH_GLOBAL;
@@ -1 +1 @@
1
- {"version":3,"file":"tunnel.js","sources":["../../../src/common/tunnel.ts"],"sourcesContent":["import type { Options } from '@sentry/core';\nimport { _INTERNAL_applyTunnelDefaults as applyTunnelDefaults } from '@sentry/core';\n\n/** Set on the server by `withSentry` to the app's `server.baseURL`. */\nexport const TUNNEL_BASE_PATH_GLOBAL = '__sentry_solidstart_base_path';\n\ndeclare const __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__: string | undefined;\n\n/**\n * Serves the browser's managed tunnel under the app's base path, which `withSentry` (SolidStart 1) or\n * `sentrySolidStart` (SolidStart 2) defines at build time. A `basePath` the user set wins.\n */\nexport function applyTunnelBasePath(options: Pick<Options, 'tunnel'>): void {\n const basePath =\n typeof __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ !== 'undefined' ? __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ : '';\n options.tunnel = applyTunnelDefaults(options.tunnel, { basePath });\n}\n"],"names":["applyTunnelDefaults"],"mappings":";;;;AAIO,MAAM,uBAAA,GAA0B;AAQhC,SAAS,oBAAoB,OAAA,EAAwC;AAC1E,EAAA,MAAM,QAAA,GACJ,OAAO,sCAAA,KAA2C,WAAA,GAAc,sCAAA,GAAyC,EAAA;AAC3G,EAAA,OAAA,CAAQ,SAASA,kCAAA,CAAoB,OAAA,CAAQ,MAAA,EAAQ,EAAE,UAAU,CAAA;AACnE;;;;;"}
1
+ {"version":3,"file":"tunnel.js","sources":["../../../src/common/tunnel.ts"],"sourcesContent":["import type { Options } from '@sentry/core';\nimport { _INTERNAL_applyBrowserTunnelDefaults as applyBrowserTunnelDefaults } from '@sentry/core';\n\n/** Set on the server by `withSentry` to the app's `server.baseURL`. */\nexport const TUNNEL_BASE_PATH_GLOBAL = '__sentry_solidstart_base_path';\n\ndeclare const __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__: string | undefined;\n\n/**\n * Serves the browser's managed tunnel under the app's base path, which `withSentry` (SolidStart 1) or\n * `sentrySolidStart` (SolidStart 2) defines at build time. A `basePath` the user set wins.\n */\nexport function applyTunnelBasePath(options: Pick<Options, 'tunnel'>): void {\n const basePath =\n typeof __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ !== 'undefined' ? __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ : '';\n options.tunnel = applyBrowserTunnelDefaults(options.tunnel, { basePath });\n}\n"],"names":["applyBrowserTunnelDefaults"],"mappings":";;;;AAIO,MAAM,uBAAA,GAA0B;AAQhC,SAAS,oBAAoB,OAAA,EAAwC;AAC1E,EAAA,MAAM,QAAA,GACJ,OAAO,sCAAA,KAA2C,WAAA,GAAc,sCAAA,GAAyC,EAAA;AAC3G,EAAA,OAAA,CAAQ,SAASA,yCAAA,CAA2B,OAAA,CAAQ,MAAA,EAAQ,EAAE,UAAU,CAAA;AAC1E;;;;;"}
@@ -1,21 +1,11 @@
1
1
  const core = require('@sentry/core');
2
2
  const server = require('@sentry/core/server');
3
- const h3 = require('h3');
4
3
  const tunnel = require('../common/tunnel.js');
5
4
 
6
- const tunnelPlugin = ((nitroApp) => {
7
- server._INTERNAL_setManagedTunnelDefaults({
5
+ const tunnelPlugin = (() => {
6
+ server._INTERNAL_setTunnelDefaults({
8
7
  basePath: core.GLOBAL_OBJ[tunnel.TUNNEL_BASE_PATH_GLOBAL]
9
8
  });
10
- nitroApp.h3App.stack.unshift({
11
- route: "",
12
- handler: h3.eventHandler((event) => {
13
- if (!server._INTERNAL_isServedTunnelRequest({ method: event.method, url: event.path })) {
14
- return void 0;
15
- }
16
- return server._INTERNAL_handleServedTunnelRequest(h3.toWebRequest(event));
17
- })
18
- });
19
9
  });
20
10
 
21
11
  module.exports = tunnelPlugin;
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelPlugin.js","sources":["../../../src/nitro/tunnelPlugin.ts"],"sourcesContent":["import { GLOBAL_OBJ } from '@sentry/core';\nimport {\n _INTERNAL_handleServedTunnelRequest as handleServedTunnelRequest,\n _INTERNAL_isServedTunnelRequest as isServedTunnelRequest,\n _INTERNAL_setManagedTunnelDefaults as setManagedTunnelDefaults,\n} from '@sentry/core/server';\nimport { eventHandler, toWebRequest } from 'h3';\nimport type { NitroAppPlugin } from 'nitropack';\nimport { TUNNEL_BASE_PATH_GLOBAL } from '../common/tunnel';\n\n/**\n * Answers managed tunnel requests on SolidStart v1 (Nitro v2), from the first layer of the h3 app. That runs before\n * route rules, the app's middleware and routing. `withSentry` registers it.\n */\nexport default (nitroApp => {\n // The first layer sees the path before Nitro strips `server.baseURL`, so the tunnel is served under it. The server\n // bundle's banner sets the global before this plugin runs.\n setManagedTunnelDefaults({\n basePath: (GLOBAL_OBJ as { [TUNNEL_BASE_PATH_GLOBAL]?: string })[TUNNEL_BASE_PATH_GLOBAL],\n });\n\n // Not the `request` hook: h3 still runs the first layer after a hook answered, so route rules would act on the\n // sent response.\n nitroApp.h3App.stack.unshift({\n route: '',\n handler: eventHandler(event => {\n // Checked on the method and path first, so no other request's body gets wrapped in a web `Request`.\n if (!isServedTunnelRequest({ method: event.method, url: event.path })) {\n return undefined;\n }\n\n // `toWebRequest` also reads the body of the mock requests serverless presets pass through `localFetch`, which\n // aren't Node streams. A returned `Response` is sent and ends the request, `undefined` hands it on.\n return handleServedTunnelRequest(toWebRequest(event));\n }),\n });\n}) satisfies NitroAppPlugin;\n"],"names":["setManagedTunnelDefaults","GLOBAL_OBJ","TUNNEL_BASE_PATH_GLOBAL","eventHandler","isServedTunnelRequest","handleServedTunnelRequest","toWebRequest"],"mappings":";;;;;AAcA,qBAAA,CAAgB,CAAA,QAAA,KAAY;AAG1B,EAAAA,yCAAA,CAAyB;AAAA,IACvB,QAAA,EAAWC,gBAAsDC,8BAAuB;AAAA,GACzF,CAAA;AAID,EAAA,QAAA,CAAS,KAAA,CAAM,MAAM,OAAA,CAAQ;AAAA,IAC3B,KAAA,EAAO,EAAA;AAAA,IACP,OAAA,EAASC,gBAAa,CAAA,KAAA,KAAS;AAE7B,MAAA,IAAI,CAACC,sCAAA,CAAsB,EAAE,MAAA,EAAQ,KAAA,CAAM,QAAQ,GAAA,EAAK,KAAA,CAAM,IAAA,EAAM,CAAA,EAAG;AACrE,QAAA,OAAO,MAAA;AAAA,MACT;AAIA,MAAA,OAAOC,0CAAA,CAA0BC,eAAA,CAAa,KAAK,CAAC,CAAA;AAAA,IACtD,CAAC;AAAA,GACF,CAAA;AACH,CAAA;;;;"}
1
+ {"version":3,"file":"tunnelPlugin.js","sources":["../../../src/nitro/tunnelPlugin.ts"],"sourcesContent":["import { GLOBAL_OBJ } from '@sentry/core';\nimport { _INTERNAL_setTunnelDefaults as setTunnelDefaults } from '@sentry/core/server';\nimport type { NitroAppPlugin } from 'nitropack';\nimport { TUNNEL_BASE_PATH_GLOBAL } from '../common/tunnel';\n\n/**\n * Serves the managed tunnel under the app's base path on SolidStart v1 (Nitro v2). The runtime answers the requests.\n * `withSentry` registers it.\n */\nexport default (() => {\n // The server bundle's banner sets the global before this plugin runs.\n setTunnelDefaults({\n basePath: (GLOBAL_OBJ as { [TUNNEL_BASE_PATH_GLOBAL]?: string })[TUNNEL_BASE_PATH_GLOBAL],\n });\n}) satisfies NitroAppPlugin;\n"],"names":["setTunnelDefaults","GLOBAL_OBJ","TUNNEL_BASE_PATH_GLOBAL"],"mappings":";;;;AASA,qBAAA,CAAgB,MAAM;AAEpB,EAAAA,kCAAA,CAAkB;AAAA,IAChB,QAAA,EAAWC,gBAAsDC,8BAAuB;AAAA,GACzF,CAAA;AACH,CAAA;;;;"}
@@ -1,9 +1,9 @@
1
- import { _INTERNAL_applyTunnelDefaults } from '@sentry/core';
1
+ import { _INTERNAL_applyBrowserTunnelDefaults } from '@sentry/core';
2
2
 
3
3
  const TUNNEL_BASE_PATH_GLOBAL = "__sentry_solidstart_base_path";
4
4
  function applyTunnelBasePath(options) {
5
5
  const basePath = typeof __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ !== "undefined" ? __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ : "";
6
- options.tunnel = _INTERNAL_applyTunnelDefaults(options.tunnel, { basePath });
6
+ options.tunnel = _INTERNAL_applyBrowserTunnelDefaults(options.tunnel, { basePath });
7
7
  }
8
8
 
9
9
  export { TUNNEL_BASE_PATH_GLOBAL, applyTunnelBasePath };
@@ -1 +1 @@
1
- {"version":3,"file":"tunnel.js","sources":["../../../src/common/tunnel.ts"],"sourcesContent":["import type { Options } from '@sentry/core';\nimport { _INTERNAL_applyTunnelDefaults as applyTunnelDefaults } from '@sentry/core';\n\n/** Set on the server by `withSentry` to the app's `server.baseURL`. */\nexport const TUNNEL_BASE_PATH_GLOBAL = '__sentry_solidstart_base_path';\n\ndeclare const __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__: string | undefined;\n\n/**\n * Serves the browser's managed tunnel under the app's base path, which `withSentry` (SolidStart 1) or\n * `sentrySolidStart` (SolidStart 2) defines at build time. A `basePath` the user set wins.\n */\nexport function applyTunnelBasePath(options: Pick<Options, 'tunnel'>): void {\n const basePath =\n typeof __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ !== 'undefined' ? __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ : '';\n options.tunnel = applyTunnelDefaults(options.tunnel, { basePath });\n}\n"],"names":["applyTunnelDefaults"],"mappings":";;AAIO,MAAM,uBAAA,GAA0B;AAQhC,SAAS,oBAAoB,OAAA,EAAwC;AAC1E,EAAA,MAAM,QAAA,GACJ,OAAO,sCAAA,KAA2C,WAAA,GAAc,sCAAA,GAAyC,EAAA;AAC3G,EAAA,OAAA,CAAQ,SAASA,6BAAA,CAAoB,OAAA,CAAQ,MAAA,EAAQ,EAAE,UAAU,CAAA;AACnE;;;;"}
1
+ {"version":3,"file":"tunnel.js","sources":["../../../src/common/tunnel.ts"],"sourcesContent":["import type { Options } from '@sentry/core';\nimport { _INTERNAL_applyBrowserTunnelDefaults as applyBrowserTunnelDefaults } from '@sentry/core';\n\n/** Set on the server by `withSentry` to the app's `server.baseURL`. */\nexport const TUNNEL_BASE_PATH_GLOBAL = '__sentry_solidstart_base_path';\n\ndeclare const __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__: string | undefined;\n\n/**\n * Serves the browser's managed tunnel under the app's base path, which `withSentry` (SolidStart 1) or\n * `sentrySolidStart` (SolidStart 2) defines at build time. A `basePath` the user set wins.\n */\nexport function applyTunnelBasePath(options: Pick<Options, 'tunnel'>): void {\n const basePath =\n typeof __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ !== 'undefined' ? __SENTRY_SOLIDSTART_TUNNEL_BASE_PATH__ : '';\n options.tunnel = applyBrowserTunnelDefaults(options.tunnel, { basePath });\n}\n"],"names":["applyBrowserTunnelDefaults"],"mappings":";;AAIO,MAAM,uBAAA,GAA0B;AAQhC,SAAS,oBAAoB,OAAA,EAAwC;AAC1E,EAAA,MAAM,QAAA,GACJ,OAAO,sCAAA,KAA2C,WAAA,GAAc,sCAAA,GAAyC,EAAA;AAC3G,EAAA,OAAA,CAAQ,SAASA,oCAAA,CAA2B,OAAA,CAAQ,MAAA,EAAQ,EAAE,UAAU,CAAA;AAC1E;;;;"}
@@ -1,21 +1,11 @@
1
1
  import { GLOBAL_OBJ } from '@sentry/core';
2
- import { _INTERNAL_setManagedTunnelDefaults, _INTERNAL_isServedTunnelRequest, _INTERNAL_handleServedTunnelRequest } from '@sentry/core/server';
3
- import { eventHandler, toWebRequest } from 'h3';
2
+ import { _INTERNAL_setTunnelDefaults } from '@sentry/core/server';
4
3
  import { TUNNEL_BASE_PATH_GLOBAL } from '../common/tunnel.js';
5
4
 
6
- const tunnelPlugin = ((nitroApp) => {
7
- _INTERNAL_setManagedTunnelDefaults({
5
+ const tunnelPlugin = (() => {
6
+ _INTERNAL_setTunnelDefaults({
8
7
  basePath: GLOBAL_OBJ[TUNNEL_BASE_PATH_GLOBAL]
9
8
  });
10
- nitroApp.h3App.stack.unshift({
11
- route: "",
12
- handler: eventHandler((event) => {
13
- if (!_INTERNAL_isServedTunnelRequest({ method: event.method, url: event.path })) {
14
- return void 0;
15
- }
16
- return _INTERNAL_handleServedTunnelRequest(toWebRequest(event));
17
- })
18
- });
19
9
  });
20
10
 
21
11
  export { tunnelPlugin as default };
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelPlugin.js","sources":["../../../src/nitro/tunnelPlugin.ts"],"sourcesContent":["import { GLOBAL_OBJ } from '@sentry/core';\nimport {\n _INTERNAL_handleServedTunnelRequest as handleServedTunnelRequest,\n _INTERNAL_isServedTunnelRequest as isServedTunnelRequest,\n _INTERNAL_setManagedTunnelDefaults as setManagedTunnelDefaults,\n} from '@sentry/core/server';\nimport { eventHandler, toWebRequest } from 'h3';\nimport type { NitroAppPlugin } from 'nitropack';\nimport { TUNNEL_BASE_PATH_GLOBAL } from '../common/tunnel';\n\n/**\n * Answers managed tunnel requests on SolidStart v1 (Nitro v2), from the first layer of the h3 app. That runs before\n * route rules, the app's middleware and routing. `withSentry` registers it.\n */\nexport default (nitroApp => {\n // The first layer sees the path before Nitro strips `server.baseURL`, so the tunnel is served under it. The server\n // bundle's banner sets the global before this plugin runs.\n setManagedTunnelDefaults({\n basePath: (GLOBAL_OBJ as { [TUNNEL_BASE_PATH_GLOBAL]?: string })[TUNNEL_BASE_PATH_GLOBAL],\n });\n\n // Not the `request` hook: h3 still runs the first layer after a hook answered, so route rules would act on the\n // sent response.\n nitroApp.h3App.stack.unshift({\n route: '',\n handler: eventHandler(event => {\n // Checked on the method and path first, so no other request's body gets wrapped in a web `Request`.\n if (!isServedTunnelRequest({ method: event.method, url: event.path })) {\n return undefined;\n }\n\n // `toWebRequest` also reads the body of the mock requests serverless presets pass through `localFetch`, which\n // aren't Node streams. A returned `Response` is sent and ends the request, `undefined` hands it on.\n return handleServedTunnelRequest(toWebRequest(event));\n }),\n });\n}) satisfies NitroAppPlugin;\n"],"names":["setManagedTunnelDefaults","isServedTunnelRequest","handleServedTunnelRequest"],"mappings":";;;;;AAcA,qBAAA,CAAgB,CAAA,QAAA,KAAY;AAG1B,EAAAA,kCAAA,CAAyB;AAAA,IACvB,QAAA,EAAW,WAAsD,uBAAuB;AAAA,GACzF,CAAA;AAID,EAAA,QAAA,CAAS,KAAA,CAAM,MAAM,OAAA,CAAQ;AAAA,IAC3B,KAAA,EAAO,EAAA;AAAA,IACP,OAAA,EAAS,aAAa,CAAA,KAAA,KAAS;AAE7B,MAAA,IAAI,CAACC,+BAAA,CAAsB,EAAE,MAAA,EAAQ,KAAA,CAAM,QAAQ,GAAA,EAAK,KAAA,CAAM,IAAA,EAAM,CAAA,EAAG;AACrE,QAAA,OAAO,MAAA;AAAA,MACT;AAIA,MAAA,OAAOC,mCAAA,CAA0B,YAAA,CAAa,KAAK,CAAC,CAAA;AAAA,IACtD,CAAC;AAAA,GACF,CAAA;AACH,CAAA;;;;"}
1
+ {"version":3,"file":"tunnelPlugin.js","sources":["../../../src/nitro/tunnelPlugin.ts"],"sourcesContent":["import { GLOBAL_OBJ } from '@sentry/core';\nimport { _INTERNAL_setTunnelDefaults as setTunnelDefaults } from '@sentry/core/server';\nimport type { NitroAppPlugin } from 'nitropack';\nimport { TUNNEL_BASE_PATH_GLOBAL } from '../common/tunnel';\n\n/**\n * Serves the managed tunnel under the app's base path on SolidStart v1 (Nitro v2). The runtime answers the requests.\n * `withSentry` registers it.\n */\nexport default (() => {\n // The server bundle's banner sets the global before this plugin runs.\n setTunnelDefaults({\n basePath: (GLOBAL_OBJ as { [TUNNEL_BASE_PATH_GLOBAL]?: string })[TUNNEL_BASE_PATH_GLOBAL],\n });\n}) satisfies NitroAppPlugin;\n"],"names":["setTunnelDefaults"],"mappings":";;;;AASA,qBAAA,CAAgB,MAAM;AAEpB,EAAAA,2BAAA,CAAkB;AAAA,IAChB,QAAA,EAAW,WAAsD,uBAAuB;AAAA,GACzF,CAAA;AACH,CAAA;;;;"}
@@ -1 +1 @@
1
- {"type":"module","version":"11.11.0"}
1
+ {"type":"module","version":"11.12.0"}
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Answers managed tunnel requests on SolidStart v1 (Nitro v2), from the first layer of the h3 app. That runs before
3
- * route rules, the app's middleware and routing. `withSentry` registers it.
2
+ * Serves the managed tunnel under the app's base path on SolidStart v1 (Nitro v2). The runtime answers the requests.
3
+ * `withSentry` registers it.
4
4
  */
5
- declare const _default: (nitroApp: import("nitropack").NitroApp) => void;
5
+ declare const _default: () => void;
6
6
  export default _default;
7
7
  //# sourceMappingURL=tunnelPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelPlugin.d.ts","sourceRoot":"","sources":["../../../src/nitro/tunnelPlugin.ts"],"names":[],"mappings":"AAUA;;;GAGG"}
1
+ {"version":3,"file":"tunnelPlugin.d.ts","sourceRoot":"","sources":["../../../src/nitro/tunnelPlugin.ts"],"names":[],"mappings":"AAKA;;;GAGG"}
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@sentry/solidstart",
3
- "version": "11.11.0",
3
+ "version": "11.12.0",
4
4
  "description": "Official Sentry SDK for Solid Start",
5
- "repository": "git://github.com/getsentry/sentry-javascript.git",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git://github.com/getsentry/sentry-javascript.git"
8
+ },
6
9
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/solidstart",
7
10
  "author": "Sentry",
8
11
  "license": "MIT",
@@ -80,19 +83,19 @@
80
83
  }
81
84
  },
82
85
  "dependencies": {
83
- "@sentry/core": "11.11.0",
84
- "@sentry/nitro": "11.11.0",
85
- "@sentry/node": "11.11.0",
86
- "@sentry/server-runtime-injection": "11.11.0",
87
- "@sentry/server-utils": "11.11.0",
88
- "@sentry/solid": "11.11.0",
89
- "@sentry/bundler-plugins": "11.11.0",
90
- "@sentry/conventions": "0.30.0",
86
+ "@sentry/core": "11.12.0",
87
+ "@sentry/nitro": "11.12.0",
88
+ "@sentry/node": "11.12.0",
89
+ "@sentry/server-runtime-injection": "11.12.0",
90
+ "@sentry/server-utils": "11.12.0",
91
+ "@sentry/solid": "11.12.0",
92
+ "@sentry/bundler-plugins": "11.12.0",
93
+ "@sentry/conventions": "0.32.0",
91
94
  "h3": "^1.15.10"
92
95
  },
93
96
  "devDependencies": {
94
- "@sentry-internal/rollup-utils": "11.11.0",
95
- "@sentry/browser": "11.11.0",
97
+ "@sentry-internal/rollup-utils": "11.12.0",
98
+ "@sentry/browser": "11.12.0",
96
99
  "@solidjs/router": "^1.0.0",
97
100
  "@solidjs/start": "^1.3.2",
98
101
  "@solidjs/testing-library": "0.8.5",
@@ -100,12 +103,24 @@
100
103
  "@testing-library/user-event": "^14.6.8",
101
104
  "@types/node": "^20.19.0",
102
105
  "nitropack": "^2.13.4",
103
- "node-mock-http": "^1.0.4",
104
106
  "solid-js": "^1.9.18",
105
107
  "vinxi": "^0.5.11",
106
- "vite": "^8.3.5",
108
+ "vite": "^8.3.6",
107
109
  "vite-plugin-solid": "^2.11.6"
108
110
  },
111
+ "nx": {
112
+ "targets": {
113
+ "build:types": {
114
+ "outputs": [
115
+ "{projectRoot}/build/types",
116
+ "{projectRoot}/client",
117
+ "{projectRoot}/server",
118
+ "{projectRoot}/*.d.ts",
119
+ "{projectRoot}/*.d.ts.map"
120
+ ]
121
+ }
122
+ }
123
+ },
109
124
  "scripts": {
110
125
  "build": "run-p build:transpile build:types",
111
126
  "build:dev": "pnpm run build",
@@ -116,9 +131,9 @@
116
131
  "build:watch": "run-p build:transpile:watch",
117
132
  "build:dev:watch": "pnpm run build:watch",
118
133
  "build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch",
119
- "build:tarball": "npm pack",
120
- "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts && madge --circular src/solidrouter.client.ts && madge --circular src/solidrouter.server.ts && madge --circular src/solidrouter.ts",
121
- "clean": "rimraf build coverage sentry-solidstart-*.tgz ./*.d.ts ./*.d.ts.map ./client ./server",
134
+ "build:tarball": "pnpm pack",
135
+ "circularDepCheck": "madge --circular src/index.client.ts src/index.server.ts src/index.types.ts src/solidrouter.client.ts src/solidrouter.server.ts src/solidrouter.ts",
136
+ "clean": "node ../../scripts/rm.mjs build coverage sentry-solidstart-*.tgz ./*.d.ts ./*.d.ts.map ./client ./server",
122
137
  "lint:fix": "oxlint . --fix --type-aware",
123
138
  "lint": "oxlint . --type-aware",
124
139
  "lint:types": "oxlint src --type-aware --type-check",
@@ -127,18 +142,5 @@
127
142
  "test:unit": "vitest run",
128
143
  "test:watch": "vitest --watch",
129
144
  "yalc:publish": "yalc publish --push --sig"
130
- },
131
- "nx": {
132
- "targets": {
133
- "build:types": {
134
- "outputs": [
135
- "{projectRoot}/build/types",
136
- "{projectRoot}/client",
137
- "{projectRoot}/server",
138
- "{projectRoot}/*.d.ts",
139
- "{projectRoot}/*.d.ts.map"
140
- ]
141
- }
142
- }
143
145
  }
144
- }
146
+ }