@mathrunet/masamune 0.0.5 → 0.0.6

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/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ ## [0.0.6](https://github.com/mathrunet/node_masamune/compare/v0.0.5...v0.0.6) (2023-01-11)
2
+
3
+
4
+ ### chore
5
+
6
+ * Delete unnecessary files. ([12975a1](https://github.com/mathrunet/node_masamune/commit/12975a1189839d269fd24f4b01b10cc182ef5650))
7
+
8
+ ### docs
9
+
10
+ * Corrected keywords. ([2be21a6](https://github.com/mathrunet/node_masamune/commit/2be21a6276413769aedd9e83e53da3cab79a6e4c))
11
+
12
+ ### fix
13
+
14
+ * Allow exports to be passed to deploy. ([bbf2c8b](https://github.com/mathrunet/node_masamune/commit/bbf2c8b50b036356a0630160fe1505dd04ca09c2))
15
+
16
+
17
+
1
18
  ## [0.0.5](https://github.com/mathrunet/node_masamune/compare/v0.0.4...v0.0.5) (2023-01-09)
2
19
 
3
20
 
package/dist/index.d.ts CHANGED
@@ -1,13 +1,19 @@
1
1
  import * as data from "./lib/functions_data";
2
2
  export * from "./functions";
3
+ export * from "./lib/functions_data";
3
4
  /**
4
5
  * Methods for deploying to Firebase Functions.
5
6
  *
6
7
  * Firebase Functionsにデプロイするためのメソッドです。
7
8
  *
9
+ * @param exports
10
+ * Pass the `exports` as is.
11
+ *
12
+ * `exports`をそのまま渡します。
13
+ *
8
14
  * @param deployFunctions
9
- * The elements defined in [Functions] are passed as an array.
15
+ * The elements defined in [Functions] are passed as an array. The passed method is deployed.
10
16
  *
11
- * The passed method is deployed. [Functions]で定義された要素を配列として渡します。渡されたメソッドがデプロイされます。
17
+ * [Functions]で定義された要素を配列として渡します。渡されたメソッドがデプロイされます。
12
18
  */
13
- export declare function deploy(deployFunctions: [data.FunctionsData]): void;
19
+ export declare function deploy(exports: any, deployFunctions: [data.FunctionsData]): void;
package/dist/index.js CHANGED
@@ -29,17 +29,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.deploy = void 0;
30
30
  const admin = __importStar(require("firebase-admin"));
31
31
  __exportStar(require("./functions"), exports);
32
+ __exportStar(require("./lib/functions_data"), exports);
32
33
  /**
33
34
  * Methods for deploying to Firebase Functions.
34
35
  *
35
36
  * Firebase Functionsにデプロイするためのメソッドです。
36
37
  *
38
+ * @param exports
39
+ * Pass the `exports` as is.
40
+ *
41
+ * `exports`をそのまま渡します。
42
+ *
37
43
  * @param deployFunctions
38
- * The elements defined in [Functions] are passed as an array.
44
+ * The elements defined in [Functions] are passed as an array. The passed method is deployed.
39
45
  *
40
- * The passed method is deployed. [Functions]で定義された要素を配列として渡します。渡されたメソッドがデプロイされます。
46
+ * [Functions]で定義された要素を配列として渡します。渡されたメソッドがデプロイされます。
41
47
  */
42
- function deploy(deployFunctions) {
48
+ function deploy(exports, deployFunctions) {
43
49
  admin.initializeApp();
44
50
  for (const data of deployFunctions) {
45
51
  if (!process.env.FUNCTION_NAME || process.env.FUNCTION_NAME === data.id) {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,sDAAwC;AACxC,8CAA4B;AAE5B;;;;;;;;;GASG;AACH,SAAgB,MAAM,CAAC,eAAqC;IACxD,KAAK,CAAC,aAAa,EAAE,CAAC;IACtB,KAAK,MAAM,IAAI,IAAI,eAAe,EAAE;QAChC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,OAAO,CAAC,GAAG,CAAC,aAAa,KAAK,IAAI,CAAC,EAAE,EAAE;YACrE,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAChC;KACJ;AACL,CAAC;AAPD,wBAOC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,sDAAwC;AACxC,8CAA4B;AAC5B,uDAAqC;AAErC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,MAAM,CAAC,OAAY,EAAE,eAAqC;IACtE,KAAK,CAAC,aAAa,EAAE,CAAC;IACtB,KAAK,MAAM,IAAI,IAAI,eAAe,EAAE;QAChC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,IAAI,OAAO,CAAC,GAAG,CAAC,aAAa,KAAK,IAAI,CAAC,EAAE,EAAE;YACrE,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAChC;KACJ;AACL,CAAC;AAPD,wBAOC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathrunet/masamune",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Manages packages for the server portion (NodeJS) of the Masamune framework.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "url": "git+https://github.com/mathrunet/node_masamune.git"
17
17
  },
18
18
  "keywords": [
19
- "Masamune",
19
+ "masamune",
20
20
  "katana",
21
21
  "flutter",
22
22
  "firebase",