@mathrunet/masamune 0.0.3

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.
Binary file
package/CHANGELOG.md ADDED
@@ -0,0 +1,22 @@
1
+ ## [0.0.3](https://github.com/mathrunet/node_masamune/compare/v0.0.2...v0.0.3) (2023-01-09)
2
+
3
+
4
+ ### feat
5
+
6
+ * Added Notifications. ([165c63a](https://github.com/mathrunet/node_masamune/commit/165c63a0fe942606837fc32fc5eace678e37e6f0))
7
+
8
+
9
+
10
+ ## [0.0.2](https://github.com/mathrunet/node_masamune/compare/b9200aa75f64e6890a946f7de0a49fd823143651...v0.0.2) (2023-01-09)
11
+
12
+
13
+ ### feat
14
+
15
+ * Initial commit. ([b9200aa](https://github.com/mathrunet/node_masamune/commit/b9200aa75f64e6890a946f7de0a49fd823143651))
16
+
17
+ ### fix
18
+
19
+ * README modifications. ([f2ae4c4](https://github.com/mathrunet/node_masamune/commit/f2ae4c4dc9b3f0ea9ac26e59d49ea86858942d4e))
20
+
21
+
22
+
package/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ Copyright (c) 2020, mathru (https://mathru.net)
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+ * Redistributions of source code must retain the above copyright notice,
7
+ this list of conditions and the following disclaimer.
8
+ * Redistributions in binary form must reproduce the above copyright notice,
9
+ this list of conditions and the following disclaimer in the documentation
10
+ and/or other materials provided with the distribution.
11
+ * Neither the name of the <organization> nor the names of its contributors
12
+ may be used to endorse or promote products derived from this software
13
+ without specific prior written permission.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
19
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,22 @@
1
+ <p align="center">
2
+ <a href="https://mathru.net">
3
+ <img width="240px" src="https://raw.githubusercontent.com/mathrunet/node_masamune/main/.github/images/icon.png" alt="Masamune logo" style="border-radius: 32px"s><br/>
4
+ </a>
5
+ <h1 align="center">Masamune Framework</h1>
6
+ </p>
7
+
8
+ <p align="center">
9
+ <a href="https://twitter.com/mathru">
10
+ <img src="https://img.shields.io/twitter/follow/mathru.svg?colorA=1da1f2&colorB=&label=Follow%20on%20Twitter&style=flat-square" alt="Follow on Twitter" />
11
+ </a>
12
+ </p>
13
+
14
+ <p align="center">
15
+ <a href="https://www.buymeacoffee.com/mathru"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=mathru&button_colour=FF5F5F&font_colour=ffffff&font_family=Poppins&outline_colour=000000&coffee_colour=FFDD00" width="136" /></a>
16
+ </p>
17
+
18
+ ---
19
+
20
+ [[YouTube]](https://www.youtube.com/c/mathrunetchannel) | [[Packages]](https://pub.dev/publishers/mathru.net/packages) | [[Twitter]](https://twitter.com/mathru) | [[LinkedIn]](https://www.linkedin.com/in/mathrunet/)
21
+
22
+ ---
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const f = __importStar(require("../src/index"));
27
+ describe("Export test", () => {
28
+ test("", () => {
29
+ f.deploy([
30
+ f.Functions.notification,
31
+ ]);
32
+ });
33
+ });
@@ -0,0 +1,9 @@
1
+ import * as f from "../src/index";
2
+
3
+ describe("Export test", () => {
4
+ test("", () => {
5
+ f.deploy([
6
+ f.Functions.notification,
7
+ ]);
8
+ });
9
+ });
@@ -0,0 +1,14 @@
1
+ {
2
+ "globals": {},
3
+ "moduleNameMapper": {},
4
+ "moduleDirectories": [
5
+ "src",
6
+ "node_modules"
7
+ ],
8
+ "moduleFileExtensions": [
9
+ "js",
10
+ "ts"
11
+ ],
12
+ "preset": "ts-jest",
13
+ "testEnvironment": "node"
14
+ }
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@mathrunet/masamune",
3
+ "version": "0.0.3",
4
+ "description": "Manages packages for the server portion (NodeJS) of the Masamune framework.",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc",
9
+ "prepare": "npm run build",
10
+ "test": "jest",
11
+ "postversion": "npm run changelog",
12
+ "changelog": "conventional-changelog -p eslint -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'chore(release): publish package'"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/mathrunet/node_masamune.git"
17
+ },
18
+ "keywords": [
19
+ "Masamune",
20
+ "katana",
21
+ "flutter",
22
+ "firebase",
23
+ "functions"
24
+ ],
25
+ "author": "mathru",
26
+ "license": "BSD-3-Clause",
27
+ "bugs": {
28
+ "url": "https://github.com/mathrunet/node_masamune/issues"
29
+ },
30
+ "homepage": "https://github.com/mathrunet/node_masamune#readme",
31
+ "dependencies": {
32
+ "firebase-admin": "^11.4.1",
33
+ "firebase-functions": "^4.1.1",
34
+ "typescript": "^4.9.4"
35
+ },
36
+ "devDependencies": {
37
+ "@types/jest": "^29.2.5",
38
+ "conventional-changelog-cli": "^2.2.2",
39
+ "jest": "^29.3.1",
40
+ "ts-jest": "^29.0.3"
41
+ }
42
+ }