@shipdit/cli 0.7.0 → 0.7.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/README.md +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ typed flag keys and return values.
|
|
|
61
61
|
Install the Go SDK in your application module:
|
|
62
62
|
|
|
63
63
|
```sh
|
|
64
|
-
go get github.com/alasti-company/
|
|
64
|
+
go get github.com/alasti-company/shipd-go
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
Go 1.23+ is required. Create `shipd.config.go` using your directory's package name:
|
|
@@ -69,7 +69,7 @@ Go 1.23+ is required. Create `shipd.config.go` using your directory's package na
|
|
|
69
69
|
```go
|
|
70
70
|
package main
|
|
71
71
|
|
|
72
|
-
import "github.com/alasti-company/
|
|
72
|
+
import "github.com/alasti-company/shipd-go/config"
|
|
73
73
|
|
|
74
74
|
var Config = config.ShipdConfig{
|
|
75
75
|
"new-checkout": {
|
package/dist/index.mjs
CHANGED
|
@@ -5188,7 +5188,7 @@ function generateGoConfigSource(flags, packageName = "main") {
|
|
|
5188
5188
|
return `// Generated by shipd pull. Pull replaces this file; review changes before committing.
|
|
5189
5189
|
package ${packageName}
|
|
5190
5190
|
|
|
5191
|
-
import "github.com/alasti-company/
|
|
5191
|
+
import "github.com/alasti-company/shipd-go/config"
|
|
5192
5192
|
|
|
5193
5193
|
var Config = config.ShipdConfig${entries.length ? `{\n${entries.join("\n")}\n}` : "{}"}
|
|
5194
5194
|
`;
|
|
@@ -5746,7 +5746,7 @@ package ${packageName}
|
|
|
5746
5746
|
|
|
5747
5747
|
import (
|
|
5748
5748
|
\t"encoding/json"
|
|
5749
|
-
${flags.some((f) => Object.values(f.traits ?? {}).some((t) => t.required)) ? " \"errors\"\n" : ""}${flags.length ? " shipd \"github.com/alasti-company/
|
|
5749
|
+
${flags.some((f) => Object.values(f.traits ?? {}).some((t) => t.required)) ? " \"errors\"\n" : ""}${flags.length ? " shipd \"github.com/alasti-company/shipd-go\"\n" : ""})
|
|
5750
5750
|
|
|
5751
5751
|
// Defaults returns a fresh map of the config's defaults for shipd.Options.
|
|
5752
5752
|
func Defaults() map[string]any {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipdit/cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "shipd's command-line interface",
|
|
5
5
|
"homepage": "https://docs.useshipd.com",
|
|
6
6
|
"bugs": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"commander": "^15.0.0",
|
|
20
20
|
"jiti": "^2.5.1",
|
|
21
|
-
"shipdit": "0.
|
|
21
|
+
"shipdit": "0.6.0",
|
|
22
22
|
"zod": "^4.6.7"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|