@maka/maka-cli 5.1.32 → 5.1.34
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/bundle/typescript/package.json +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +43 -8
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/give.js +3 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/give.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +4 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.d.ts +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +58 -6
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +11 -15
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +5 -3
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js +3 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js +10 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/game.js +4 -1
- package/bundle/typescript/src/commands/game/sideQuest/game.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +260 -94
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +6 -2
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js +141 -18
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +2 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js +23 -17
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +3 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +12 -14
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/scenes/scene1.json +113 -1
- package/bundle/typescript/src/commands/game/sideQuest/scenes/scene2.json +82 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.d.ts +16 -5
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.d.ts +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.d.ts +3 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.d.ts +47 -12
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js +53 -11
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js.map +1 -1
- package/bundle/typescript/src/generators/api.js +1 -1
- package/bundle/typescript/src/generators/api.js.map +1 -1
- package/bundle/typescript/src/templates/meteor/api/api.js +1 -1
- package/bundle/typescript/src/templates/meteor/api/api.js.ts +1 -1
- package/bundle/typescript/src/templates/meteor/api/apollo-gateway.js +1 -1
- package/bundle/typescript/src/templates/meteor/api/apollo-gateway.js.ts +1 -1
- package/bundle/typescript/src/templates/meteor/api/graphql-api.js +1 -1
- package/bundle/typescript/src/templates/meteor/api/graphql-api.js.ts +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,88 @@
|
|
|
7
7
|
"carrier": "credstick",
|
|
8
8
|
"authorityRoomTags": ["Vault"]
|
|
9
9
|
},
|
|
10
|
+
"player": {
|
|
11
|
+
"name": "Maka",
|
|
12
|
+
"startLocation": "Barrens Apartment",
|
|
13
|
+
"lifestyleChoices": [
|
|
14
|
+
{
|
|
15
|
+
"type": "residence",
|
|
16
|
+
"metadata": {
|
|
17
|
+
"tier": "Street",
|
|
18
|
+
"location": "Barrens Apartment"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"startingItems": [
|
|
23
|
+
{
|
|
24
|
+
"name": "Ares Light Fire 75",
|
|
25
|
+
"description": "A small, concealable pistol favored by shadowrunners on a budget.",
|
|
26
|
+
"size": "Small",
|
|
27
|
+
"category": "RangedWeapon",
|
|
28
|
+
"shape": "Pistol",
|
|
29
|
+
"color": "Black",
|
|
30
|
+
"texture": "Matte",
|
|
31
|
+
"rating": "Common",
|
|
32
|
+
"weight": 1.2
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "Armored Jacket",
|
|
36
|
+
"description": "A rugged armored jacket with built-in smartweave. Offers decent protection without looking too suspicious.",
|
|
37
|
+
"size": "Large",
|
|
38
|
+
"category": "Armor",
|
|
39
|
+
"shape": "Jacket",
|
|
40
|
+
"color": "Dark Green",
|
|
41
|
+
"texture": "Kevlar",
|
|
42
|
+
"rating": "Standard",
|
|
43
|
+
"weight": 3.5
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "MetaLink Commlink",
|
|
47
|
+
"description": "A cheap but functional commlink. You hope it doesn't get hacked.",
|
|
48
|
+
"size": "Tiny",
|
|
49
|
+
"category": "Commlink",
|
|
50
|
+
"shape": "Rectangle",
|
|
51
|
+
"color": "Gray",
|
|
52
|
+
"texture": "Plastic",
|
|
53
|
+
"rating": "Common",
|
|
54
|
+
"weight": 0.1
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "Starter Credstick",
|
|
58
|
+
"description": "A basic credstick loaded with some nuyen for expenses.",
|
|
59
|
+
"size": "Small",
|
|
60
|
+
"category": "Credstick",
|
|
61
|
+
"shape": "Cylinder",
|
|
62
|
+
"color": "Silver",
|
|
63
|
+
"texture": "Smooth",
|
|
64
|
+
"rating": "Common",
|
|
65
|
+
"weight": 0.2,
|
|
66
|
+
"currencyAmount": 250
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "Urban Explorer Boots",
|
|
70
|
+
"description": "Sturdy street boots with impact gel soles and reinforced toes.",
|
|
71
|
+
"size": "Medium",
|
|
72
|
+
"category": "Boots",
|
|
73
|
+
"shape": "Boots",
|
|
74
|
+
"color": "Black",
|
|
75
|
+
"texture": "Rugged",
|
|
76
|
+
"rating": "Common",
|
|
77
|
+
"weight": 2.0
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "Knockoff Smart Glasses",
|
|
81
|
+
"description": "AR overlay glasses with minor signal lag. Still decent for the price.",
|
|
82
|
+
"size": "Tiny",
|
|
83
|
+
"category": "Glasses",
|
|
84
|
+
"shape": "Glasses",
|
|
85
|
+
"color": "Black",
|
|
86
|
+
"texture": "Plastic",
|
|
87
|
+
"rating": "Common",
|
|
88
|
+
"weight": 0.1
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
10
92
|
"rooms": [
|
|
11
93
|
{
|
|
12
94
|
"name": "Drowned Alley",
|
|
@@ -2,42 +2,53 @@ import { Item } from '../models/item.js';
|
|
|
2
2
|
export type Inventory = Item[];
|
|
3
3
|
export type HeadEquipment = {
|
|
4
4
|
eyes: Item | null;
|
|
5
|
-
skull: Item | null;
|
|
6
5
|
ears: Item | null;
|
|
6
|
+
skull: Item | null;
|
|
7
7
|
mouth: Item | null;
|
|
8
8
|
nose: Item | null;
|
|
9
|
+
commlink: Item | null;
|
|
9
10
|
};
|
|
10
11
|
export type TorsoEquipment = {
|
|
12
|
+
armorVest: Item | null;
|
|
13
|
+
armorCoat: Item | null;
|
|
11
14
|
backpack: Item | null;
|
|
15
|
+
tacticalRig: Item | null;
|
|
12
16
|
leftShoulder: Item | null;
|
|
13
17
|
rightShoulder: Item | null;
|
|
14
18
|
bandolier: Item | null;
|
|
15
19
|
};
|
|
16
20
|
export type LegEquipment = {
|
|
21
|
+
pants: Item | null;
|
|
22
|
+
thighRig: Item | null;
|
|
17
23
|
leftHip: Item | null;
|
|
18
24
|
rightHip: Item | null;
|
|
19
|
-
leftThigh: Item | null;
|
|
20
|
-
rightThigh: Item | null;
|
|
21
25
|
};
|
|
22
26
|
export type FeetEquipment = {
|
|
27
|
+
boots: Item | null;
|
|
23
28
|
leftAnkle: Item | null;
|
|
24
29
|
rightAnkle: Item | null;
|
|
25
30
|
};
|
|
26
31
|
export type ArmsEquipment = {
|
|
27
|
-
leftBicept: Item | null;
|
|
28
|
-
rightBicept: Item | null;
|
|
29
32
|
leftForearm: Item | null;
|
|
30
33
|
rightForearm: Item | null;
|
|
34
|
+
leftBicept: Item | null;
|
|
35
|
+
rightBicept: Item | null;
|
|
36
|
+
cyberware: Item | null;
|
|
31
37
|
};
|
|
32
38
|
export type GlovesEquipment = {
|
|
33
39
|
leftWrist: Item | null;
|
|
34
40
|
rightWrist: Item | null;
|
|
35
41
|
};
|
|
36
42
|
export type LeftHandEquipment = {
|
|
43
|
+
weapon: Item | null;
|
|
44
|
+
shield: Item | null;
|
|
37
45
|
ring: Item | null;
|
|
46
|
+
device: Item | null;
|
|
38
47
|
};
|
|
39
48
|
export type RightHandEquipment = {
|
|
49
|
+
weapon: Item | null;
|
|
40
50
|
ring: Item | null;
|
|
51
|
+
device: Item | null;
|
|
41
52
|
};
|
|
42
53
|
export type PlayerEquipment = {
|
|
43
54
|
head: HeadEquipment | null;
|
|
@@ -2,6 +2,7 @@ import { IRoomSeedJson } from './room-seed.js';
|
|
|
2
2
|
import { INPCSeedJson } from './npc-seed.js';
|
|
3
3
|
import { IItemSeedJson } from './item-seed.js';
|
|
4
4
|
import { IPuzzleSeedJson } from './puzzle-seed.js';
|
|
5
|
+
import { IPlayerSeedJson } from './player-seed.js';
|
|
5
6
|
export interface ISceneSeedJson {
|
|
6
7
|
name: string;
|
|
7
8
|
currency: {
|
|
@@ -14,4 +15,6 @@ export interface ISceneSeedJson {
|
|
|
14
15
|
puzzles: IPuzzleSeedJson[];
|
|
15
16
|
residenceTiers: string[];
|
|
16
17
|
story: string;
|
|
18
|
+
/** The logging-in player who will be actively controlled */
|
|
19
|
+
player: IPlayerSeedJson;
|
|
17
20
|
}
|
|
@@ -14,21 +14,56 @@ export declare enum Rating {
|
|
|
14
14
|
}
|
|
15
15
|
export declare enum Category {
|
|
16
16
|
Weapon = "weapon",
|
|
17
|
+
MeleeWeapon = "melee weapon",
|
|
18
|
+
RangedWeapon = "ranged weapon",
|
|
19
|
+
Ammunition = "ammunition",
|
|
20
|
+
Explosive = "explosive",
|
|
21
|
+
BodyArmor = "body armor",
|
|
22
|
+
Armor = "armor",
|
|
17
23
|
Shield = "shield",
|
|
18
|
-
Key = "key",
|
|
19
|
-
Gloves = "gloves",
|
|
20
24
|
Helmet = "helmet",
|
|
21
|
-
Hat = "hat",
|
|
22
|
-
Boots = "boots",
|
|
23
|
-
LegArmor = "leg armor",
|
|
24
25
|
ArmArmor = "arm armor",
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
LegArmor = "leg armor",
|
|
27
|
+
Boots = "boots",
|
|
28
|
+
Gloves = "gloves",
|
|
29
|
+
Cyberware = "cyberware",
|
|
30
|
+
Bioware = "bioware",
|
|
31
|
+
Nanoware = "nanoware",
|
|
32
|
+
Geneware = "geneware",
|
|
33
|
+
Commlink = "commlink",
|
|
34
|
+
Cyberdeck = "cyberdeck",
|
|
35
|
+
RCC = "rcc",// Rigger Command Console
|
|
36
|
+
Drone = "drone",
|
|
37
|
+
Software = "software",
|
|
38
|
+
Electronics = "electronics",
|
|
39
|
+
EyeCyberwere = "eyewear",
|
|
40
|
+
Focus = "focus",
|
|
41
|
+
SpellFormula = "spell formula",
|
|
42
|
+
AlchemicalItem = "alchemical item",
|
|
43
|
+
MagicalReagent = "magical reagent",
|
|
44
|
+
Fetish = "fetish",
|
|
45
|
+
Grimoire = "grimoire",
|
|
46
|
+
Clothing = "clothing",
|
|
47
|
+
ArmorClothing = "armor clothing",
|
|
30
48
|
Medical = "medical",
|
|
31
|
-
Consumable = "consumable",
|
|
32
49
|
Tool = "tool",
|
|
33
|
-
|
|
50
|
+
Consumable = "consumable",
|
|
51
|
+
Sensor = "sensor",
|
|
52
|
+
SlapPatch = "slap patch",
|
|
53
|
+
BiometricScanner = "biometric scanner",
|
|
54
|
+
Hat = "hat",
|
|
55
|
+
Glasses = "glasses",
|
|
56
|
+
SIN = "sin",
|
|
57
|
+
FakeSIN = "fake sin",
|
|
58
|
+
License = "license",
|
|
59
|
+
CurrencyContainer = "currency container",
|
|
60
|
+
Credstick = "credstick",
|
|
61
|
+
Vice = "vice",
|
|
62
|
+
Book = "book",
|
|
63
|
+
Key = "key",
|
|
64
|
+
Trinket = "trinket",
|
|
65
|
+
Document = "document",
|
|
66
|
+
Datachip = "datachip",
|
|
67
|
+
Badge = "badge",
|
|
68
|
+
Unknown = "unknown"
|
|
34
69
|
}
|
|
@@ -16,23 +16,65 @@ export var Rating;
|
|
|
16
16
|
})(Rating || (Rating = {}));
|
|
17
17
|
export var Category;
|
|
18
18
|
(function (Category) {
|
|
19
|
+
// Combat
|
|
19
20
|
Category["Weapon"] = "weapon";
|
|
21
|
+
Category["MeleeWeapon"] = "melee weapon";
|
|
22
|
+
Category["RangedWeapon"] = "ranged weapon";
|
|
23
|
+
Category["Ammunition"] = "ammunition";
|
|
24
|
+
Category["Explosive"] = "explosive";
|
|
25
|
+
Category["BodyArmor"] = "body armor";
|
|
26
|
+
Category["Armor"] = "armor";
|
|
20
27
|
Category["Shield"] = "shield";
|
|
21
|
-
Category["Key"] = "key";
|
|
22
|
-
Category["Gloves"] = "gloves";
|
|
23
28
|
Category["Helmet"] = "helmet";
|
|
24
|
-
Category["Hat"] = "hat";
|
|
25
|
-
Category["Boots"] = "boots";
|
|
26
|
-
Category["LegArmor"] = "leg armor";
|
|
27
29
|
Category["ArmArmor"] = "arm armor";
|
|
28
|
-
Category["
|
|
29
|
-
Category["
|
|
30
|
-
Category["
|
|
31
|
-
|
|
32
|
-
Category["
|
|
30
|
+
Category["LegArmor"] = "leg armor";
|
|
31
|
+
Category["Boots"] = "boots";
|
|
32
|
+
Category["Gloves"] = "gloves";
|
|
33
|
+
// Cyberware / Bioware / Augmentations
|
|
34
|
+
Category["Cyberware"] = "cyberware";
|
|
35
|
+
Category["Bioware"] = "bioware";
|
|
36
|
+
Category["Nanoware"] = "nanoware";
|
|
37
|
+
Category["Geneware"] = "geneware";
|
|
38
|
+
// Electronics and Matrix
|
|
39
|
+
Category["Commlink"] = "commlink";
|
|
40
|
+
Category["Cyberdeck"] = "cyberdeck";
|
|
41
|
+
Category["RCC"] = "rcc";
|
|
42
|
+
Category["Drone"] = "drone";
|
|
43
|
+
Category["Software"] = "software";
|
|
44
|
+
Category["Electronics"] = "electronics";
|
|
45
|
+
Category["EyeCyberwere"] = "eyewear";
|
|
46
|
+
// Magic
|
|
47
|
+
Category["Focus"] = "focus";
|
|
48
|
+
Category["SpellFormula"] = "spell formula";
|
|
49
|
+
Category["AlchemicalItem"] = "alchemical item";
|
|
50
|
+
Category["MagicalReagent"] = "magical reagent";
|
|
51
|
+
Category["Fetish"] = "fetish";
|
|
52
|
+
Category["Grimoire"] = "grimoire";
|
|
53
|
+
// Gear and Utility
|
|
54
|
+
Category["Clothing"] = "clothing";
|
|
55
|
+
Category["ArmorClothing"] = "armor clothing";
|
|
33
56
|
Category["Medical"] = "medical";
|
|
34
|
-
Category["Consumable"] = "consumable";
|
|
35
57
|
Category["Tool"] = "tool";
|
|
58
|
+
Category["Consumable"] = "consumable";
|
|
59
|
+
Category["Sensor"] = "sensor";
|
|
60
|
+
Category["SlapPatch"] = "slap patch";
|
|
61
|
+
Category["BiometricScanner"] = "biometric scanner";
|
|
62
|
+
Category["Hat"] = "hat";
|
|
63
|
+
Category["Glasses"] = "glasses";
|
|
64
|
+
// Economy & Identity
|
|
65
|
+
Category["SIN"] = "sin";
|
|
66
|
+
Category["FakeSIN"] = "fake sin";
|
|
67
|
+
Category["License"] = "license";
|
|
68
|
+
Category["CurrencyContainer"] = "currency container";
|
|
69
|
+
Category["Credstick"] = "credstick";
|
|
70
|
+
// Misc and World
|
|
36
71
|
Category["Vice"] = "vice";
|
|
72
|
+
Category["Book"] = "book";
|
|
73
|
+
Category["Key"] = "key";
|
|
74
|
+
Category["Trinket"] = "trinket";
|
|
75
|
+
Category["Document"] = "document";
|
|
76
|
+
Category["Datachip"] = "datachip";
|
|
77
|
+
Category["Badge"] = "badge";
|
|
78
|
+
Category["Unknown"] = "unknown";
|
|
37
79
|
})(Category || (Category = {}));
|
|
38
80
|
//# sourceMappingURL=item-enum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-enum.js","sourceRoot":"","sources":["../../../../../../../../src/commands/game/sideQuest/types/shared/item-enum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,IAMX;AAND,WAAY,IAAI;IACd,qBAAa,CAAA;IACX,uBAAe,CAAA;IACf,yBAAiB,CAAA;IACjB,uBAAe,CAAA;IACf,gCAAwB,CAAA;AAC5B,CAAC,EANW,IAAI,KAAJ,IAAI,QAMf;AAED,MAAM,CAAN,IAAY,MAMX;AAND,WAAY,MAAM;IAChB,2BAAiB,CAAA;IACf,+BAAqB,CAAA;IACrB,uBAAa,CAAA;IACb,iCAAuB,CAAA;IACvB,0CAAgC,CAAA;AACpC,CAAC,EANW,MAAM,KAAN,MAAM,QAMjB;AAED,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"item-enum.js","sourceRoot":"","sources":["../../../../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AAyB,CAAA;IACzB,6BAAiB,CAAA;IACjB,oCAAwB,CAAA;IACxB,kDAAsC,CAAA;IACtC,uBAAW,CAAA;IACX,+BAAmB,CAAA;IAEnB,qBAAqB;IACrB,uBAAW,CAAA;IACX,gCAAoB,CAAA;IACpB,+BAAmB,CAAA;IACnB,oDAAwC,CAAA;IACxC,mCAAuB,CAAA;IAEvB,iBAAiB;IACjB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,uBAAW,CAAA;IACX,+BAAmB,CAAA;IACnB,iCAAqB,CAAA;IACrB,iCAAqB,CAAA;IACrB,2BAAe,CAAA;IACf,+BAAmB,CAAA;AACrB,CAAC,EAnEW,QAAQ,KAAR,QAAQ,QAmEnB"}
|
|
@@ -113,7 +113,7 @@ Generator.create({
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
if (context.withGql) {
|
|
116
|
-
await this.pkg.checkNpmPackage(['express', '@apollo/server', '@apollo/subgraph', 'graphql-tag', 'express-rate-limit', 'graphql'], { shouldInstall: true });
|
|
116
|
+
await this.pkg.checkNpmPackage(['express', '@apollo/server', '@apollo/subgraph', 'graphql-tag', 'express-rate-limit', 'graphql', '@as-integrations/express5'], { shouldInstall: true });
|
|
117
117
|
await this.scaffold.template({
|
|
118
118
|
srcPath: 'api/graphql-api.js',
|
|
119
119
|
destPath: this.scaffold.pathFromApp({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../src/generators/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAE5D,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACX,MAAM,aAAa,CAAC;AAOrB,SAAS,CAAC,MAAM,CAAC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;QACH,MAAM,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YACpC,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,sBAAsB,gBAAgB,QAAQ;SACxD,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACjB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { ApolloServer } from '@apollo/server';
|
|
|
2
2
|
import { ApolloGateway, IntrospectAndCompose } from '@apollo/gateway';
|
|
3
3
|
import { WebApp } from 'meteor/webapp';
|
|
4
4
|
import express from 'express';
|
|
5
|
-
import { expressMiddleware } from '@
|
|
5
|
+
import { expressMiddleware } from '@as-integrations/express5';
|
|
6
6
|
import { ApolloServerPluginUsageReportingDisabled } from '@apollo/server/plugin/disabled';
|
|
7
7
|
import { Meteor } from 'meteor/meteor';
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { ApolloServer } from '@apollo/server';
|
|
|
2
2
|
import { ApolloGateway, IntrospectAndCompose } from '@apollo/gateway';
|
|
3
3
|
import { WebApp } from 'meteor/webapp';
|
|
4
4
|
import express, { Request, Response } from 'express';
|
|
5
|
-
import { expressMiddleware } from '@
|
|
5
|
+
import { expressMiddleware } from '@as-integrations/express5';
|
|
6
6
|
import { ApolloServerPluginUsageReportingDisabled } from '@apollo/server/plugin/disabled';
|
|
7
7
|
import { Meteor } from 'meteor/meteor';
|
|
8
8
|
|
|
@@ -4,7 +4,7 @@ import { typeDefs } from './graphql/typeDefs';
|
|
|
4
4
|
import { ApolloServer } from '@apollo/server';
|
|
5
5
|
import { ApolloServerPluginUsageReportingDisabled } from '@apollo/server/plugin/disabled';
|
|
6
6
|
import { WebApp } from 'meteor/webapp';
|
|
7
|
-
import { expressMiddleware } from '@
|
|
7
|
+
import { expressMiddleware } from '@as-integrations/express5';
|
|
8
8
|
import { buildSubgraphSchema } from '@apollo/subgraph';
|
|
9
9
|
import express from 'express';
|
|
10
10
|
import rateLimit from 'express-rate-limit';
|
|
@@ -4,7 +4,7 @@ import { typeDefs } from './graphql/typeDefs';
|
|
|
4
4
|
import { ApolloServer } from '@apollo/server';
|
|
5
5
|
import { ApolloServerPluginUsageReportingDisabled } from '@apollo/server/plugin/disabled';
|
|
6
6
|
import { WebApp } from 'meteor/webapp';
|
|
7
|
-
import { expressMiddleware } from '@
|
|
7
|
+
import { expressMiddleware } from '@as-integrations/express5';
|
|
8
8
|
import { buildSubgraphSchema } from '@apollo/subgraph';
|
|
9
9
|
import express, { Request } from 'express';
|
|
10
10
|
import rateLimit from 'express-rate-limit';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|