@spotlightjs/spotlight 0.0.1

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/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ Copyright 2023 Sentry
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # `@spotlightjs/spotlight`
2
+
3
+ This package combines the Overlay from `@spotlightjs/overlay` and the sidecar from `@spotlightjs/sidecar`.
4
+
5
+ This means, you only need to install one package and you get everything required for spotlight. Nice!
package/bin/run.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ const { setupSidecar } = await import('../dist/sidecar.js');
3
+ setupSidecar();
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@spotlightjs/overlay");Object.keys(t).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>t[e]})});
@@ -0,0 +1 @@
1
+ export * from '@spotlightjs/overlay';
@@ -0,0 +1 @@
1
+ export * from "@spotlightjs/overlay";
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@spotlightjs/sidecar");Object.defineProperty(exports,"setupSidecar",{enumerable:!0,get:()=>e.setupSidecar});
@@ -0,0 +1 @@
1
+ export { setupSidecar } from '@spotlightjs/sidecar';
@@ -0,0 +1,4 @@
1
+ import { setupSidecar as o } from "@spotlightjs/sidecar";
2
+ export {
3
+ o as setupSidecar
4
+ };
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@spotlightjs/spotlight",
3
+ "description": "Spotlight - Sentry for development. Containing the overlay and the sidecar.",
4
+ "version": "0.0.1",
5
+ "license": "Apache-2.0",
6
+ "type": "module",
7
+ "files": [
8
+ "dist",
9
+ "bin"
10
+ ],
11
+ "bin": {
12
+ "spotlight-sidecar": "./bin/run.js"
13
+ },
14
+ "main": "./dist/overlay.cjs",
15
+ "module": "./dist/overlay.js",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/overlay.d.ts",
19
+ "import": "./dist/overlay.js",
20
+ "require": "./dist/overlay.cjs"
21
+ },
22
+ "./sidecar": {
23
+ "types": "./dist/sidecar.d.ts",
24
+ "import": "./dist/sidecar.js",
25
+ "require": "./dist/sidecar.cjs"
26
+ }
27
+ },
28
+ "dependencies": {
29
+ "@spotlightjs/overlay": "0.0.18",
30
+ "@spotlightjs/sidecar": "0.0.13"
31
+ },
32
+ "devDependencies": {
33
+ "typescript": "^5.0.2",
34
+ "vite": "^4.5.0",
35
+ "@spotlightjs/tsconfig": "0.0.1"
36
+ },
37
+ "volta": {
38
+ "extends": "../../package.json"
39
+ },
40
+ "scripts": {
41
+ "dev": "vite build --watch",
42
+ "build": "vite build && tsc",
43
+ "build:watch": "vite build --watch",
44
+ "yalc:publish": "yalc publish --push --sig --private",
45
+ "clean": "rimraf dist"
46
+ }
47
+ }