@stacksjs/push 0.57.4 โ†’ 0.58.19

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/README.md CHANGED
@@ -9,7 +9,7 @@ Stacks Push is driver system for Pushing messages through apps.
9
9
  ## ๐Ÿค– Usage
10
10
 
11
11
  ```bash
12
- pnpm i -D @stacksjs/push
12
+ bun install -d @stacksjs/push
13
13
  ```
14
14
 
15
15
  You may now use it in your project:
@@ -35,7 +35,7 @@ SLACK_SECRET_KEY=SSK123
35
35
  ## ๐Ÿงช Testing
36
36
 
37
37
  ```bash
38
- pnpm test
38
+ bun test
39
39
  ```
40
40
 
41
41
  ## ๐Ÿ“ˆ Changelog
@@ -54,7 +54,7 @@ For help, discussion about best practices, or any other conversation that would
54
54
 
55
55
  For casual chit-chat with others using this package:
56
56
 
57
- [Join the Stacks Discord Server](https://discord.ow3.org)
57
+ [Join the Stacks Discord Server](https://discord.gg/stacksjs)
58
58
 
59
59
  ## ๐Ÿ™๐Ÿผ Credits
60
60
 
@@ -68,4 +68,4 @@ Many thanks to the following core technologies & people who have contributed to
68
68
 
69
69
  The MIT License (MIT). Please see [LICENSE](https://github.com/stacksjs/stacks/tree/main/LICENSE.md) for more information.
70
70
 
71
- Made with โค๏ธ
71
+ Made with ๐Ÿ’™
package/dist/index.js ADDED
@@ -0,0 +1,35 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, {
5
+ get: all[name],
6
+ enumerable: true,
7
+ configurable: true,
8
+ set: (newValue) => all[name] = () => newValue
9
+ });
10
+ };
11
+
12
+ // src/drivers/expo.ts
13
+ var exports_expo = {};
14
+ __export(exports_expo, {
15
+ expoWip: () => {
16
+ {
17
+ return expoWip;
18
+ }
19
+ }
20
+ });
21
+ var expoWip = 1;
22
+ // src/drivers/fcm.ts
23
+ var exports_fcm = {};
24
+ __export(exports_fcm, {
25
+ fcmWip: () => {
26
+ {
27
+ return fcmWip;
28
+ }
29
+ }
30
+ });
31
+ var fcmWip = 1;
32
+ export {
33
+ exports_fcm as fcm,
34
+ exports_expo as expo
35
+ };
package/package.json CHANGED
@@ -1,17 +1,16 @@
1
1
  {
2
2
  "name": "@stacksjs/push",
3
3
  "type": "module",
4
- "version": "0.57.4",
5
- "packageManager": "pnpm@8.6.6",
4
+ "version": "0.58.19",
6
5
  "description": "The Stacks Push integration",
7
6
  "author": "Chris Breuer",
8
7
  "license": "MIT",
9
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
10
- "homepage": "https://github.com/stacksjs/stacks/tree/main/.stacks/core/push#readme",
9
+ "homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/src/push#readme",
11
10
  "repository": {
12
11
  "type": "git",
13
12
  "url": "git+https://github.com/stacksjs/stacks.git",
14
- "directory": "./.stacks/core/push"
13
+ "directory": "./storage/framework/core/src/push"
15
14
  },
16
15
  "bugs": {
17
16
  "url": "https://github.com/stacksjs/stacks/issues"
@@ -23,33 +22,43 @@
23
22
  ],
24
23
  "exports": {
25
24
  ".": {
26
- "types": "./dist/index.d.ts",
27
- "import": "./dist/index.mjs"
25
+ "bun": "./src/index.ts",
26
+ "import": "./dist/index.js"
27
+ },
28
+ "./*": {
29
+ "bun": "./src/*",
30
+ "import": "./dist/*"
28
31
  }
29
32
  },
30
- "module": "dist/index.mjs",
33
+ "module": "dist/index.js",
31
34
  "types": "dist/index.d.ts",
32
35
  "contributors": [
33
- "Chris Breuer <chris@ow3.org>"
36
+ "Chris Breuer <chris@stacksjs.org>"
34
37
  ],
35
38
  "files": [
36
- "dist",
37
- "README.md"
39
+ "README.md",
40
+ "dist"
38
41
  ],
42
+ "scripts": {
43
+ "build": "bun --bun build.ts",
44
+ "typecheck": "bun --bun tsc --noEmit",
45
+ "prepublishOnly": "bun --bun run build"
46
+ },
39
47
  "peerDependencies": {
40
- "@novu/node": "^0.16.2",
41
- "@novu/stateless": "^0.16.2",
42
- "@stacksjs/cli": "0.57.4",
43
- "@stacksjs/config": "0.57.4",
44
- "@stacksjs/error-handling": "0.57.4",
45
- "@stacksjs/types": "0.57.4"
48
+ "@novu/node": "^0.22.0",
49
+ "@novu/stateless": "^0.22.0",
50
+ "@stacksjs/cli": "workspace:*",
51
+ "@stacksjs/config": "workspace:*",
52
+ "@stacksjs/error-handling": "workspace:*"
46
53
  },
47
- "devDependencies": {
48
- "@stacksjs/development": "0.57.4"
54
+ "dependencies": {
55
+ "@novu/node": "^0.22.0",
56
+ "@novu/stateless": "^0.22.0",
57
+ "@stacksjs/cli": "workspace:*",
58
+ "@stacksjs/config": "workspace:*",
59
+ "@stacksjs/error-handling": "workspace:*"
49
60
  },
50
- "scripts": {
51
- "build": "unbuild",
52
- "dev": "unbuild --stub",
53
- "typecheck": "tsc --noEmit"
61
+ "devDependencies": {
62
+ "@stacksjs/development": "workspace:*"
54
63
  }
55
- }
64
+ }
package/LICENSE.md DELETED
@@ -1,21 +0,0 @@
1
- # MIT License
2
-
3
- Copyright (c) 2022 Open Web Foundation
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1 +0,0 @@
1
- export declare const expoWip = 1;
@@ -1 +0,0 @@
1
- export const expoWip = 1;
@@ -1 +0,0 @@
1
- export declare const fcmWip = 1;
@@ -1 +0,0 @@
1
- export const fcmWip = 1;
@@ -1,2 +0,0 @@
1
- export * as expo from './expo';
2
- export * as fcm from './fcm';
@@ -1,2 +0,0 @@
1
- export * as expo from "./expo.mjs";
2
- export * as fcm from "./fcm.mjs";
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './drivers';
package/dist/index.mjs DELETED
@@ -1 +0,0 @@
1
- export * from "./drivers/index.mjs";