starpak 0.1.0 → 0.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starpak",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "智能应用部署工具 — cd 进去,剩下的自动完成",
@@ -29,20 +29,15 @@
29
29
  "prepublish": "npm run build",
30
30
  "build": "tsup --config cli/tsup.config.ts",
31
31
  "dev": "tsx cli/index.ts",
32
- "typecheck": "tsc --noEmit",
33
- "start": "node cli/dist/index.cjs"
32
+ "postinstall": "node -e ''"
34
33
  },
35
34
  "dependencies": {
36
- "better-sqlite3": "^11.0.0",
37
35
  "cli-progress": "^3.12.0",
38
36
  "commander": "^13.0.0",
39
- "conf": "^13.0.0",
40
37
  "execa": "^9.0.0",
41
- "glob": "^11.0.0",
42
38
  "ora": "^8.0.0"
43
39
  },
44
40
  "devDependencies": {
45
- "@types/better-sqlite3": "^7.6.0",
46
41
  "@types/cli-progress": "^3.11.0",
47
42
  "@types/node": "^22.0.0",
48
43
  "tsup": "^8.0.0",
@@ -1,48 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://json-schema.org/draft/2020-12/meta/applicator",
4
- "$vocabulary": {
5
- "https://json-schema.org/draft/2020-12/vocab/applicator": true
6
- },
7
- "$dynamicAnchor": "meta",
8
-
9
- "title": "Applicator vocabulary meta-schema",
10
- "type": ["object", "boolean"],
11
- "properties": {
12
- "prefixItems": {"$ref": "#/$defs/schemaArray"},
13
- "items": {"$dynamicRef": "#meta"},
14
- "contains": {"$dynamicRef": "#meta"},
15
- "additionalProperties": {"$dynamicRef": "#meta"},
16
- "properties": {
17
- "type": "object",
18
- "additionalProperties": {"$dynamicRef": "#meta"},
19
- "default": {}
20
- },
21
- "patternProperties": {
22
- "type": "object",
23
- "additionalProperties": {"$dynamicRef": "#meta"},
24
- "propertyNames": {"format": "regex"},
25
- "default": {}
26
- },
27
- "dependentSchemas": {
28
- "type": "object",
29
- "additionalProperties": {"$dynamicRef": "#meta"},
30
- "default": {}
31
- },
32
- "propertyNames": {"$dynamicRef": "#meta"},
33
- "if": {"$dynamicRef": "#meta"},
34
- "then": {"$dynamicRef": "#meta"},
35
- "else": {"$dynamicRef": "#meta"},
36
- "allOf": {"$ref": "#/$defs/schemaArray"},
37
- "anyOf": {"$ref": "#/$defs/schemaArray"},
38
- "oneOf": {"$ref": "#/$defs/schemaArray"},
39
- "not": {"$dynamicRef": "#meta"}
40
- },
41
- "$defs": {
42
- "schemaArray": {
43
- "type": "array",
44
- "minItems": 1,
45
- "items": {"$dynamicRef": "#meta"}
46
- }
47
- }
48
- }
@@ -1,17 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://json-schema.org/draft/2020-12/meta/content",
4
- "$vocabulary": {
5
- "https://json-schema.org/draft/2020-12/vocab/content": true
6
- },
7
- "$dynamicAnchor": "meta",
8
-
9
- "title": "Content vocabulary meta-schema",
10
-
11
- "type": ["object", "boolean"],
12
- "properties": {
13
- "contentEncoding": {"type": "string"},
14
- "contentMediaType": {"type": "string"},
15
- "contentSchema": {"$dynamicRef": "#meta"}
16
- }
17
- }
@@ -1,51 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://json-schema.org/draft/2020-12/meta/core",
4
- "$vocabulary": {
5
- "https://json-schema.org/draft/2020-12/vocab/core": true
6
- },
7
- "$dynamicAnchor": "meta",
8
-
9
- "title": "Core vocabulary meta-schema",
10
- "type": ["object", "boolean"],
11
- "properties": {
12
- "$id": {
13
- "$ref": "#/$defs/uriReferenceString",
14
- "$comment": "Non-empty fragments not allowed.",
15
- "pattern": "^[^#]*#?$"
16
- },
17
- "$schema": {"$ref": "#/$defs/uriString"},
18
- "$ref": {"$ref": "#/$defs/uriReferenceString"},
19
- "$anchor": {"$ref": "#/$defs/anchorString"},
20
- "$dynamicRef": {"$ref": "#/$defs/uriReferenceString"},
21
- "$dynamicAnchor": {"$ref": "#/$defs/anchorString"},
22
- "$vocabulary": {
23
- "type": "object",
24
- "propertyNames": {"$ref": "#/$defs/uriString"},
25
- "additionalProperties": {
26
- "type": "boolean"
27
- }
28
- },
29
- "$comment": {
30
- "type": "string"
31
- },
32
- "$defs": {
33
- "type": "object",
34
- "additionalProperties": {"$dynamicRef": "#meta"}
35
- }
36
- },
37
- "$defs": {
38
- "anchorString": {
39
- "type": "string",
40
- "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"
41
- },
42
- "uriString": {
43
- "type": "string",
44
- "format": "uri"
45
- },
46
- "uriReferenceString": {
47
- "type": "string",
48
- "format": "uri-reference"
49
- }
50
- }
51
- }
@@ -1,13 +0,0 @@
1
- {
2
- "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
3
- "description": "Meta-schema for $data reference (JSON AnySchema extension proposal)",
4
- "type": "object",
5
- "required": ["$data"],
6
- "properties": {
7
- "$data": {
8
- "type": "string",
9
- "anyOf": [{"format": "relative-json-pointer"}, {"format": "json-pointer"}]
10
- }
11
- },
12
- "additionalProperties": false
13
- }
@@ -1,14 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://json-schema.org/draft/2020-12/meta/format-annotation",
4
- "$vocabulary": {
5
- "https://json-schema.org/draft/2020-12/vocab/format-annotation": true
6
- },
7
- "$dynamicAnchor": "meta",
8
-
9
- "title": "Format vocabulary meta-schema for annotation results",
10
- "type": ["object", "boolean"],
11
- "properties": {
12
- "format": {"type": "string"}
13
- }
14
- }
@@ -1,151 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://json-schema.org/draft-07/schema#",
4
- "title": "Core schema meta-schema",
5
- "definitions": {
6
- "schemaArray": {
7
- "type": "array",
8
- "minItems": 1,
9
- "items": {"$ref": "#"}
10
- },
11
- "nonNegativeInteger": {
12
- "type": "integer",
13
- "minimum": 0
14
- },
15
- "nonNegativeIntegerDefault0": {
16
- "allOf": [{"$ref": "#/definitions/nonNegativeInteger"}, {"default": 0}]
17
- },
18
- "simpleTypes": {
19
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
20
- },
21
- "stringArray": {
22
- "type": "array",
23
- "items": {"type": "string"},
24
- "uniqueItems": true,
25
- "default": []
26
- }
27
- },
28
- "type": ["object", "boolean"],
29
- "properties": {
30
- "$id": {
31
- "type": "string",
32
- "format": "uri-reference"
33
- },
34
- "$schema": {
35
- "type": "string",
36
- "format": "uri"
37
- },
38
- "$ref": {
39
- "type": "string",
40
- "format": "uri-reference"
41
- },
42
- "$comment": {
43
- "type": "string"
44
- },
45
- "title": {
46
- "type": "string"
47
- },
48
- "description": {
49
- "type": "string"
50
- },
51
- "default": true,
52
- "readOnly": {
53
- "type": "boolean",
54
- "default": false
55
- },
56
- "examples": {
57
- "type": "array",
58
- "items": true
59
- },
60
- "multipleOf": {
61
- "type": "number",
62
- "exclusiveMinimum": 0
63
- },
64
- "maximum": {
65
- "type": "number"
66
- },
67
- "exclusiveMaximum": {
68
- "type": "number"
69
- },
70
- "minimum": {
71
- "type": "number"
72
- },
73
- "exclusiveMinimum": {
74
- "type": "number"
75
- },
76
- "maxLength": {"$ref": "#/definitions/nonNegativeInteger"},
77
- "minLength": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
78
- "pattern": {
79
- "type": "string",
80
- "format": "regex"
81
- },
82
- "additionalItems": {"$ref": "#"},
83
- "items": {
84
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/schemaArray"}],
85
- "default": true
86
- },
87
- "maxItems": {"$ref": "#/definitions/nonNegativeInteger"},
88
- "minItems": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
89
- "uniqueItems": {
90
- "type": "boolean",
91
- "default": false
92
- },
93
- "contains": {"$ref": "#"},
94
- "maxProperties": {"$ref": "#/definitions/nonNegativeInteger"},
95
- "minProperties": {"$ref": "#/definitions/nonNegativeIntegerDefault0"},
96
- "required": {"$ref": "#/definitions/stringArray"},
97
- "additionalProperties": {"$ref": "#"},
98
- "definitions": {
99
- "type": "object",
100
- "additionalProperties": {"$ref": "#"},
101
- "default": {}
102
- },
103
- "properties": {
104
- "type": "object",
105
- "additionalProperties": {"$ref": "#"},
106
- "default": {}
107
- },
108
- "patternProperties": {
109
- "type": "object",
110
- "additionalProperties": {"$ref": "#"},
111
- "propertyNames": {"format": "regex"},
112
- "default": {}
113
- },
114
- "dependencies": {
115
- "type": "object",
116
- "additionalProperties": {
117
- "anyOf": [{"$ref": "#"}, {"$ref": "#/definitions/stringArray"}]
118
- }
119
- },
120
- "propertyNames": {"$ref": "#"},
121
- "const": true,
122
- "enum": {
123
- "type": "array",
124
- "items": true,
125
- "minItems": 1,
126
- "uniqueItems": true
127
- },
128
- "type": {
129
- "anyOf": [
130
- {"$ref": "#/definitions/simpleTypes"},
131
- {
132
- "type": "array",
133
- "items": {"$ref": "#/definitions/simpleTypes"},
134
- "minItems": 1,
135
- "uniqueItems": true
136
- }
137
- ]
138
- },
139
- "format": {"type": "string"},
140
- "contentMediaType": {"type": "string"},
141
- "contentEncoding": {"type": "string"},
142
- "if": {"$ref": "#"},
143
- "then": {"$ref": "#"},
144
- "else": {"$ref": "#"},
145
- "allOf": {"$ref": "#/definitions/schemaArray"},
146
- "anyOf": {"$ref": "#/definitions/schemaArray"},
147
- "oneOf": {"$ref": "#/definitions/schemaArray"},
148
- "not": {"$ref": "#"}
149
- },
150
- "default": true
151
- }
@@ -1,37 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://json-schema.org/draft/2020-12/meta/meta-data",
4
- "$vocabulary": {
5
- "https://json-schema.org/draft/2020-12/vocab/meta-data": true
6
- },
7
- "$dynamicAnchor": "meta",
8
-
9
- "title": "Meta-data vocabulary meta-schema",
10
-
11
- "type": ["object", "boolean"],
12
- "properties": {
13
- "title": {
14
- "type": "string"
15
- },
16
- "description": {
17
- "type": "string"
18
- },
19
- "default": true,
20
- "deprecated": {
21
- "type": "boolean",
22
- "default": false
23
- },
24
- "readOnly": {
25
- "type": "boolean",
26
- "default": false
27
- },
28
- "writeOnly": {
29
- "type": "boolean",
30
- "default": false
31
- },
32
- "examples": {
33
- "type": "array",
34
- "items": true
35
- }
36
- }
37
- }
@@ -1,55 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://json-schema.org/draft/2020-12/schema",
4
- "$vocabulary": {
5
- "https://json-schema.org/draft/2020-12/vocab/core": true,
6
- "https://json-schema.org/draft/2020-12/vocab/applicator": true,
7
- "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
8
- "https://json-schema.org/draft/2020-12/vocab/validation": true,
9
- "https://json-schema.org/draft/2020-12/vocab/meta-data": true,
10
- "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
11
- "https://json-schema.org/draft/2020-12/vocab/content": true
12
- },
13
- "$dynamicAnchor": "meta",
14
-
15
- "title": "Core and Validation specifications meta-schema",
16
- "allOf": [
17
- {"$ref": "meta/core"},
18
- {"$ref": "meta/applicator"},
19
- {"$ref": "meta/unevaluated"},
20
- {"$ref": "meta/validation"},
21
- {"$ref": "meta/meta-data"},
22
- {"$ref": "meta/format-annotation"},
23
- {"$ref": "meta/content"}
24
- ],
25
- "type": ["object", "boolean"],
26
- "$comment": "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",
27
- "properties": {
28
- "definitions": {
29
- "$comment": "\"definitions\" has been replaced by \"$defs\".",
30
- "type": "object",
31
- "additionalProperties": {"$dynamicRef": "#meta"},
32
- "deprecated": true,
33
- "default": {}
34
- },
35
- "dependencies": {
36
- "$comment": "\"dependencies\" has been split and replaced by \"dependentSchemas\" and \"dependentRequired\" in order to serve their differing semantics.",
37
- "type": "object",
38
- "additionalProperties": {
39
- "anyOf": [{"$dynamicRef": "#meta"}, {"$ref": "meta/validation#/$defs/stringArray"}]
40
- },
41
- "deprecated": true,
42
- "default": {}
43
- },
44
- "$recursiveAnchor": {
45
- "$comment": "\"$recursiveAnchor\" has been replaced by \"$dynamicAnchor\".",
46
- "$ref": "meta/core#/$defs/anchorString",
47
- "deprecated": true
48
- },
49
- "$recursiveRef": {
50
- "$comment": "\"$recursiveRef\" has been replaced by \"$dynamicRef\".",
51
- "$ref": "meta/core#/$defs/uriReferenceString",
52
- "deprecated": true
53
- }
54
- }
55
- }