@stacksjs/buddy 0.70.119 → 0.70.120
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/dist/commands/extension.js +19 -0
- package/dist/lazy-commands.js +1 -0
- package/package.json +41 -41
|
@@ -75,6 +75,25 @@ console.log('[${name}] popup')
|
|
|
75
75
|
log.success(`Packaged ${config.name} (${target}) \u2192 ${out}`);
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
+
buddy.command("extension:safari:provision", "Register Safari Bundle IDs and check the App Store Connect app record").option("--api-key-id <id>", "App Store Connect API key ID").option("--api-issuer-id <id>", "App Store Connect API issuer ID").option("--api-key-path <path>", "Path to the App Store Connect AuthKey_*.p8 file").option("--check", "Report missing resources without creating Bundle IDs").action(async (options) => {
|
|
79
|
+
const { provisionSafariApp } = await import("@stacksjs/browser-extension"), { config } = await load(), result = await provisionSafariApp(config, {
|
|
80
|
+
keyId: options.apiKeyId,
|
|
81
|
+
issuerId: options.apiIssuerId,
|
|
82
|
+
keyPath: options.apiKeyPath,
|
|
83
|
+
checkOnly: Boolean(options.check)
|
|
84
|
+
});
|
|
85
|
+
for (const resource of [result.container, result.extension])
|
|
86
|
+
if (resource.created)
|
|
87
|
+
log.success(`Registered Bundle ID ${resource.identifier}`);
|
|
88
|
+
else if (resource.exists)
|
|
89
|
+
log.success(`Bundle ID exists: ${resource.identifier}`);
|
|
90
|
+
else
|
|
91
|
+
log.warn(`Bundle ID is missing: ${resource.identifier}`);
|
|
92
|
+
if (result.appRecord.exists)
|
|
93
|
+
log.success(`App Store Connect app record exists (${result.appRecord.id})`);
|
|
94
|
+
else
|
|
95
|
+
log.warn("App Store Connect app record is missing. Apple requires creating it in the App Store Connect website.");
|
|
96
|
+
});
|
|
78
97
|
buddy.command("extension:safari:init", "Scaffold the Safari container app (Xcode project) from the template").option("--bundle-id <id>", "Base bundle identifier (defaults to config safariBundleId)").option("--dir <dir>", "Output directory for the Xcode project (default safari)").option("--force", "Overwrite existing scaffold files").option("--team-id <id>", "Apple Developer team used for signing").action(async (options) => {
|
|
79
98
|
const { scaffoldSafariApp } = await import("@stacksjs/browser-extension"), { config } = await load(), { dir, written, skipped } = await scaffoldSafariApp(config, {
|
|
80
99
|
bundleId: options.bundleId,
|
package/dist/lazy-commands.js
CHANGED
|
@@ -27,6 +27,7 @@ const commandRegistry = {
|
|
|
27
27
|
"extension:build": { path: "./commands/extension.js", exportName: "extension" },
|
|
28
28
|
"extension:package": { path: "./commands/extension.js", exportName: "extension" },
|
|
29
29
|
"extension:safari:init": { path: "./commands/extension.js", exportName: "extension" },
|
|
30
|
+
"extension:safari:provision": { path: "./commands/extension.js", exportName: "extension" },
|
|
30
31
|
"extension:safari:app": { path: "./commands/extension.js", exportName: "extension" },
|
|
31
32
|
"extension:safari:publish": { path: "./commands/extension.js", exportName: "extension" },
|
|
32
33
|
"dashboard:install": { path: "./commands/features.js", exportName: "features" },
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/buddy",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.70.
|
|
5
|
+
"version": "0.70.120",
|
|
6
6
|
"description": "Meet Buddy. The Stacks runtime.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -92,51 +92,51 @@
|
|
|
92
92
|
"prepublishOnly": "bun run build"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@stacksjs/actions": "^0.70.
|
|
96
|
-
"@stacksjs/ai": "^0.70.
|
|
97
|
-
"@stacksjs/alias": "^0.70.
|
|
98
|
-
"@stacksjs/arrays": "^0.70.
|
|
99
|
-
"@stacksjs/auth": "^0.70.
|
|
100
|
-
"@stacksjs/build": "^0.70.
|
|
101
|
-
"@stacksjs/cache": "^0.70.
|
|
102
|
-
"@stacksjs/cli": "^0.70.
|
|
95
|
+
"@stacksjs/actions": "^0.70.120",
|
|
96
|
+
"@stacksjs/ai": "^0.70.120",
|
|
97
|
+
"@stacksjs/alias": "^0.70.120",
|
|
98
|
+
"@stacksjs/arrays": "^0.70.120",
|
|
99
|
+
"@stacksjs/auth": "^0.70.120",
|
|
100
|
+
"@stacksjs/build": "^0.70.120",
|
|
101
|
+
"@stacksjs/cache": "^0.70.120",
|
|
102
|
+
"@stacksjs/cli": "^0.70.120",
|
|
103
103
|
"@stacksjs/clapp": "^0.2.10",
|
|
104
|
-
"@stacksjs/cloud": "^0.70.
|
|
105
|
-
"@stacksjs/collections": "^0.70.
|
|
106
|
-
"@stacksjs/config": "^0.70.
|
|
107
|
-
"@stacksjs/database": "^0.70.
|
|
108
|
-
"@stacksjs/desktop": "^0.70.
|
|
109
|
-
"@stacksjs/dns": "^0.70.
|
|
110
|
-
"@stacksjs/email": "^0.70.
|
|
111
|
-
"@stacksjs/enums": "^0.70.
|
|
112
|
-
"@stacksjs/error-handling": "^0.70.
|
|
113
|
-
"@stacksjs/events": "^0.70.
|
|
114
|
-
"@stacksjs/git": "^0.70.
|
|
104
|
+
"@stacksjs/cloud": "^0.70.120",
|
|
105
|
+
"@stacksjs/collections": "^0.70.120",
|
|
106
|
+
"@stacksjs/config": "^0.70.120",
|
|
107
|
+
"@stacksjs/database": "^0.70.120",
|
|
108
|
+
"@stacksjs/desktop": "^0.70.120",
|
|
109
|
+
"@stacksjs/dns": "^0.70.120",
|
|
110
|
+
"@stacksjs/email": "^0.70.120",
|
|
111
|
+
"@stacksjs/enums": "^0.70.120",
|
|
112
|
+
"@stacksjs/error-handling": "^0.70.120",
|
|
113
|
+
"@stacksjs/events": "^0.70.120",
|
|
114
|
+
"@stacksjs/git": "^0.70.120",
|
|
115
115
|
"@stacksjs/gitit": "^0.2.5",
|
|
116
|
-
"@stacksjs/health": "^0.70.
|
|
116
|
+
"@stacksjs/health": "^0.70.120",
|
|
117
117
|
"@stacksjs/dnsx": "^0.2.3",
|
|
118
118
|
"@stacksjs/httx": "^0.1.10",
|
|
119
|
-
"@stacksjs/lint": "^0.70.
|
|
120
|
-
"@stacksjs/logging": "^0.70.
|
|
121
|
-
"@stacksjs/notifications": "^0.70.
|
|
122
|
-
"@stacksjs/objects": "^0.70.
|
|
123
|
-
"@stacksjs/orm": "^0.70.
|
|
124
|
-
"@stacksjs/path": "^0.70.
|
|
125
|
-
"@stacksjs/payments": "^0.70.
|
|
126
|
-
"@stacksjs/realtime": "^0.70.
|
|
127
|
-
"@stacksjs/router": "^0.70.
|
|
119
|
+
"@stacksjs/lint": "^0.70.120",
|
|
120
|
+
"@stacksjs/logging": "^0.70.120",
|
|
121
|
+
"@stacksjs/notifications": "^0.70.120",
|
|
122
|
+
"@stacksjs/objects": "^0.70.120",
|
|
123
|
+
"@stacksjs/orm": "^0.70.120",
|
|
124
|
+
"@stacksjs/path": "^0.70.120",
|
|
125
|
+
"@stacksjs/payments": "^0.70.120",
|
|
126
|
+
"@stacksjs/realtime": "^0.70.120",
|
|
127
|
+
"@stacksjs/router": "^0.70.120",
|
|
128
128
|
"@stacksjs/rpx": "^0.11.29",
|
|
129
|
-
"@stacksjs/search-engine": "^0.70.
|
|
130
|
-
"@stacksjs/security": "^0.70.
|
|
131
|
-
"@stacksjs/server": "^0.70.
|
|
132
|
-
"@stacksjs/storage": "^0.70.
|
|
133
|
-
"@stacksjs/strings": "^0.70.
|
|
134
|
-
"@stacksjs/testing": "^0.70.
|
|
135
|
-
"@stacksjs/tunnel": "^0.70.
|
|
136
|
-
"@stacksjs/types": "^0.70.
|
|
137
|
-
"@stacksjs/ui": "^0.70.
|
|
138
|
-
"@stacksjs/utils": "^0.70.
|
|
139
|
-
"@stacksjs/validation": "^0.70.
|
|
129
|
+
"@stacksjs/search-engine": "^0.70.120",
|
|
130
|
+
"@stacksjs/security": "^0.70.120",
|
|
131
|
+
"@stacksjs/server": "^0.70.120",
|
|
132
|
+
"@stacksjs/storage": "^0.70.120",
|
|
133
|
+
"@stacksjs/strings": "^0.70.120",
|
|
134
|
+
"@stacksjs/testing": "^0.70.120",
|
|
135
|
+
"@stacksjs/tunnel": "^0.70.120",
|
|
136
|
+
"@stacksjs/types": "^0.70.120",
|
|
137
|
+
"@stacksjs/ui": "^0.70.120",
|
|
138
|
+
"@stacksjs/utils": "^0.70.120",
|
|
139
|
+
"@stacksjs/validation": "^0.70.120",
|
|
140
140
|
"@stacksjs/ts-cloud": "^0.7.36"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|