launchset 0.0.0-stage → 1.2.0
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/LICENSE +21 -0
- package/README.md +100 -2
- package/dist/appstore-bVSJnUv2.js +143 -0
- package/dist/cli.js +6889 -0
- package/dist/errors-CHdD4g_K.js +58 -0
- package/dist/gitlab-child-girdQprO.js +6071 -0
- package/dist/http-dQt8kfON.js +127 -0
- package/dist/index.d.ts +854 -0
- package/dist/index.js +29 -0
- package/dist/init-Cv748KKZ.js +8222 -0
- package/dist/launchset.schema.json +1473 -0
- package/dist/play-D7nv0n-W.js +123 -0
- package/dist/prompts-S8h8cgml.js +52 -0
- package/dist/schema-CKljQNeI.js +1202 -0
- package/dist/store-BCwWrhhY.js +73 -0
- package/package.json +88 -4
- package/skills/launchset/AGENTS-snippet.md +24 -0
- package/skills/launchset/SKILL.md +205 -0
- package/skills/launchset-adopt/SKILL.md +222 -0
- package/templates/gitlab/child/build.yml +17 -0
- package/templates/gitlab/child/cli.yml +14 -0
- package/templates/gitlab/child/comment.yml +14 -0
- package/templates/gitlab/child/finalize.yml +14 -0
- package/templates/gitlab/child/header.yml +4 -0
- package/templates/gitlab/child/include.yml +6 -0
- package/templates/gitlab/child/nothing.yml +11 -0
- package/templates/gitlab/gitlab-ci.yml +23 -0
- package/templates/gitlab/launchset-preview.yml +62 -0
- package/templates/gitlab/launchset-targets.yml +44 -0
- package/templates/gitlab/launchset.yml +133 -0
- package/templates/gitlab/targets/android.yml +25 -0
- package/templates/gitlab/targets/custom-npm.yml +15 -0
- package/templates/gitlab/targets/custom.yml +23 -0
- package/templates/gitlab/targets/docker.yml +23 -0
- package/templates/gitlab/targets/ios.yml +33 -0
- package/templates/gitlab/targets/web.yml +13 -0
- package/templates/launchset-readme.md +23 -0
- package/templates/workflows/launchset-check.yml +33 -0
- package/templates/workflows/launchset-preview.yml +157 -0
- package/templates/workflows/launchset-release.yml +181 -0
- package/templates/workflows/snippets/android.yml +41 -0
- package/templates/workflows/snippets/custom-example.yml +12 -0
- package/templates/workflows/snippets/custom-npm.yml +19 -0
- package/templates/workflows/snippets/custom.yml +9 -0
- package/templates/workflows/snippets/docker-login.yml +9 -0
- package/templates/workflows/snippets/docker.yml +17 -0
- package/templates/workflows/snippets/ios.yml +46 -0
- package/templates/workflows/snippets/web.yml +20 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { a as configSchema, o as defineConfig } from "./schema-CKljQNeI.js";
|
|
2
|
+
import { a as isLaunchsetError, n as LaunchsetError } from "./errors-CHdD4g_K.js";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
// src/core/config/json-schema.ts
|
|
5
|
+
/**
|
|
6
|
+
* JSON Schema for `launchset.config.json` (and the docs' configuration reference),
|
|
7
|
+
* generated from the zod schema. Pure.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* The JSON Schema of the config as users write it (`io: "input"`: defaults are optional).
|
|
11
|
+
* A top-level `$schema` property is allowed for editor support.
|
|
12
|
+
*/
|
|
13
|
+
function configJsonSchema() {
|
|
14
|
+
const schema = z.toJSONSchema(configSchema, { io: "input" });
|
|
15
|
+
const properties = schema.properties ?? {};
|
|
16
|
+
return {
|
|
17
|
+
...schema,
|
|
18
|
+
title: "launchset configuration",
|
|
19
|
+
description: "Configuration for launchset (launchset.config.json).",
|
|
20
|
+
properties: {
|
|
21
|
+
$schema: {
|
|
22
|
+
type: "string",
|
|
23
|
+
description: "Path or URL of this JSON Schema."
|
|
24
|
+
},
|
|
25
|
+
...properties
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
export { LaunchsetError, configJsonSchema, defineConfig, isLaunchsetError };
|