@basictech/cli 0.0.8 → 0.0.9
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/index.js +2 -1
- package/package.json +1 -1
- package/dist/CHANGELOG.md +0 -3
- package/dist/artifacts.json +0 -1
- package/dist/basic-cli_0.0.8_checksums.txt +0 -8
- package/dist/basic-cli_Darwin_arm64.tar.gz +0 -0
- package/dist/basic-cli_Darwin_x86_64.tar.gz +0 -0
- package/dist/basic-cli_Linux_arm64.tar.gz +0 -0
- package/dist/basic-cli_Linux_i386.tar.gz +0 -0
- package/dist/basic-cli_Linux_x86_64.tar.gz +0 -0
- package/dist/basic-cli_Windows_arm64.zip +0 -0
- package/dist/basic-cli_Windows_i386.zip +0 -0
- package/dist/basic-cli_Windows_x86_64.zip +0 -0
- package/dist/basic-cli_darwin_amd64_v1/basic-cli +0 -0
- package/dist/basic-cli_darwin_arm64/basic-cli +0 -0
- package/dist/basic-cli_linux_386/basic-cli +0 -0
- package/dist/basic-cli_linux_amd64_v1/basic-cli +0 -0
- package/dist/basic-cli_linux_arm64/basic-cli +0 -0
- package/dist/basic-cli_windows_386/basic-cli.exe +0 -0
- package/dist/basic-cli_windows_amd64_v1/basic-cli.exe +0 -0
- package/dist/basic-cli_windows_arm64/basic-cli.exe +0 -0
- package/dist/config.yaml +0 -130
- package/dist/metadata.json +0 -1
package/index.js
CHANGED
|
@@ -32,7 +32,8 @@ if (!fs.existsSync(binary)) {
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
const sourcePath = binary
|
|
35
|
-
const
|
|
35
|
+
const fileName = platform == 'windows' ? 'basic-cli.exe' : 'basic-cli'
|
|
36
|
+
const destPath = path.join(__dirname, 'bin', fileName);
|
|
36
37
|
|
|
37
38
|
try {
|
|
38
39
|
// Ensure the bin directory exists
|
package/package.json
CHANGED
package/dist/CHANGELOG.md
DELETED
package/dist/artifacts.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[{"name":"metadata.json","path":"dist/metadata.json","internal_type":30,"type":"Metadata"},{"name":"basic-cli","path":"dist/basic-cli_darwin_arm64/basic-cli","goos":"darwin","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":"","ID":"basic-cli"}},{"name":"basic-cli","path":"dist/basic-cli_linux_386/basic-cli","goos":"linux","goarch":"386","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":"","ID":"basic-cli"}},{"name":"basic-cli.exe","path":"dist/basic-cli_windows_386/basic-cli.exe","goos":"windows","goarch":"386","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":".exe","ID":"basic-cli"}},{"name":"basic-cli","path":"dist/basic-cli_linux_arm64/basic-cli","goos":"linux","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":"","ID":"basic-cli"}},{"name":"basic-cli","path":"dist/basic-cli_linux_amd64_v1/basic-cli","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":"","ID":"basic-cli"}},{"name":"basic-cli.exe","path":"dist/basic-cli_windows_arm64/basic-cli.exe","goos":"windows","goarch":"arm64","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":".exe","ID":"basic-cli"}},{"name":"basic-cli.exe","path":"dist/basic-cli_windows_amd64_v1/basic-cli.exe","goos":"windows","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":".exe","ID":"basic-cli"}},{"name":"basic-cli","path":"dist/basic-cli_darwin_amd64_v1/basic-cli","goos":"darwin","goarch":"amd64","goamd64":"v1","internal_type":4,"type":"Binary","extra":{"Binary":"basic-cli","Ext":"","ID":"basic-cli"}},{"name":"basic-cli_Windows_i386.zip","path":"dist/basic-cli_Windows_i386.zip","goos":"windows","goarch":"386","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli.exe"],"Checksum":"sha256:752827cc96e627639757cd7df713d92e284052e5979d4a8f73496dd89faaad33","Format":"zip","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Linux_i386.tar.gz","path":"dist/basic-cli_Linux_i386.tar.gz","goos":"linux","goarch":"386","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli"],"Checksum":"sha256:c3c2a0c8926345186ebbdec1946d89a5c21f085d0b2878552413378b7d449697","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Windows_arm64.zip","path":"dist/basic-cli_Windows_arm64.zip","goos":"windows","goarch":"arm64","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli.exe"],"Checksum":"sha256:599ca55767935e74e8465053e87161d028c9f9983f8fb0d6de48ebf80cc79f2c","Format":"zip","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Darwin_arm64.tar.gz","path":"dist/basic-cli_Darwin_arm64.tar.gz","goos":"darwin","goarch":"arm64","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli"],"Checksum":"sha256:12a5cf4d440a3b9f971bbd6e2d496bd9652c6fa18f9e22774940ea04c1626993","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Darwin_x86_64.tar.gz","path":"dist/basic-cli_Darwin_x86_64.tar.gz","goos":"darwin","goarch":"amd64","goamd64":"v1","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli"],"Checksum":"sha256:687b917db5cad3dad75a2962e7a83f881d6d53aa2a4545a2e6fbf793fb1d8706","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Linux_x86_64.tar.gz","path":"dist/basic-cli_Linux_x86_64.tar.gz","goos":"linux","goarch":"amd64","goamd64":"v1","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli"],"Checksum":"sha256:7b492eaaf2b71063663ea6c9c95cc1b0563b3d7a815eef82f607c0734ffabdab","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Linux_arm64.tar.gz","path":"dist/basic-cli_Linux_arm64.tar.gz","goos":"linux","goarch":"arm64","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli"],"Checksum":"sha256:e1e8c6d25a6e57f54e0a26c23d33fb7a5137cd15daa7a461608d6ea69344e68a","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_Windows_x86_64.zip","path":"dist/basic-cli_Windows_x86_64.zip","goos":"windows","goarch":"amd64","goamd64":"v1","internal_type":1,"type":"Archive","extra":{"Binaries":["basic-cli.exe"],"Checksum":"sha256:375924591478b335300ae8c7a46a168c82899b10f1ec29ba343caec546032c9e","Format":"zip","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_0.0.8_checksums.txt","path":"dist/basic-cli_0.0.8_checksums.txt","internal_type":12,"type":"Checksum","extra":{}}]
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
12a5cf4d440a3b9f971bbd6e2d496bd9652c6fa18f9e22774940ea04c1626993 basic-cli_Darwin_arm64.tar.gz
|
|
2
|
-
687b917db5cad3dad75a2962e7a83f881d6d53aa2a4545a2e6fbf793fb1d8706 basic-cli_Darwin_x86_64.tar.gz
|
|
3
|
-
e1e8c6d25a6e57f54e0a26c23d33fb7a5137cd15daa7a461608d6ea69344e68a basic-cli_Linux_arm64.tar.gz
|
|
4
|
-
c3c2a0c8926345186ebbdec1946d89a5c21f085d0b2878552413378b7d449697 basic-cli_Linux_i386.tar.gz
|
|
5
|
-
7b492eaaf2b71063663ea6c9c95cc1b0563b3d7a815eef82f607c0734ffabdab basic-cli_Linux_x86_64.tar.gz
|
|
6
|
-
599ca55767935e74e8465053e87161d028c9f9983f8fb0d6de48ebf80cc79f2c basic-cli_Windows_arm64.zip
|
|
7
|
-
752827cc96e627639757cd7df713d92e284052e5979d4a8f73496dd89faaad33 basic-cli_Windows_i386.zip
|
|
8
|
-
375924591478b335300ae8c7a46a168c82899b10f1ec29ba343caec546032c9e basic-cli_Windows_x86_64.zip
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/config.yaml
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
version: 2
|
|
2
|
-
project_name: basic-cli
|
|
3
|
-
release:
|
|
4
|
-
github:
|
|
5
|
-
owner: basicdb
|
|
6
|
-
name: basic-cli
|
|
7
|
-
name_template: '{{.Tag}}'
|
|
8
|
-
builds:
|
|
9
|
-
- id: basic-cli
|
|
10
|
-
goos:
|
|
11
|
-
- linux
|
|
12
|
-
- windows
|
|
13
|
-
- darwin
|
|
14
|
-
goarch:
|
|
15
|
-
- amd64
|
|
16
|
-
- arm64
|
|
17
|
-
- "386"
|
|
18
|
-
goarm:
|
|
19
|
-
- "6"
|
|
20
|
-
gomips:
|
|
21
|
-
- hardfloat
|
|
22
|
-
goamd64:
|
|
23
|
-
- v1
|
|
24
|
-
targets:
|
|
25
|
-
- linux_amd64_v1
|
|
26
|
-
- linux_arm64
|
|
27
|
-
- linux_386
|
|
28
|
-
- windows_amd64_v1
|
|
29
|
-
- windows_arm64
|
|
30
|
-
- windows_386
|
|
31
|
-
- darwin_amd64_v1
|
|
32
|
-
- darwin_arm64
|
|
33
|
-
dir: ./src
|
|
34
|
-
main: .
|
|
35
|
-
binary: basic-cli
|
|
36
|
-
builder: go
|
|
37
|
-
gobinary: go
|
|
38
|
-
command: build
|
|
39
|
-
ldflags:
|
|
40
|
-
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
|
|
41
|
-
env:
|
|
42
|
-
- CGO_ENABLED=0
|
|
43
|
-
archives:
|
|
44
|
-
- id: default
|
|
45
|
-
name_template: '{{ .ProjectName }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }}'
|
|
46
|
-
format: tar.gz
|
|
47
|
-
format_overrides:
|
|
48
|
-
- goos: windows
|
|
49
|
-
format: zip
|
|
50
|
-
files:
|
|
51
|
-
- src: license*
|
|
52
|
-
- src: LICENSE*
|
|
53
|
-
- src: readme*
|
|
54
|
-
- src: README*
|
|
55
|
-
- src: changelog*
|
|
56
|
-
- src: CHANGELOG*
|
|
57
|
-
snapshot:
|
|
58
|
-
version_template: '{{ .Version }}-SNAPSHOT-{{ .ShortCommit }}'
|
|
59
|
-
checksum:
|
|
60
|
-
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
|
|
61
|
-
algorithm: sha256
|
|
62
|
-
changelog:
|
|
63
|
-
filters:
|
|
64
|
-
exclude:
|
|
65
|
-
- '^docs:'
|
|
66
|
-
- '^test:'
|
|
67
|
-
sort: asc
|
|
68
|
-
format: '{{ .SHA }}: {{ .Message }} ({{ with .AuthorUsername }}@{{ . }}{{ else }}{{ .AuthorName }} <{{ .AuthorEmail }}>{{ end }})'
|
|
69
|
-
dist: dist
|
|
70
|
-
env_files:
|
|
71
|
-
github_token: ~/.config/goreleaser/github_token
|
|
72
|
-
gitlab_token: ~/.config/goreleaser/gitlab_token
|
|
73
|
-
gitea_token: ~/.config/goreleaser/gitea_token
|
|
74
|
-
before:
|
|
75
|
-
hooks:
|
|
76
|
-
- go mod tidy
|
|
77
|
-
- go generate ./...
|
|
78
|
-
source:
|
|
79
|
-
name_template: '{{ .ProjectName }}-{{ .Version }}'
|
|
80
|
-
format: tar.gz
|
|
81
|
-
gomod:
|
|
82
|
-
gobinary: go
|
|
83
|
-
announce:
|
|
84
|
-
twitter:
|
|
85
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
86
|
-
mastodon:
|
|
87
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
88
|
-
server: ""
|
|
89
|
-
reddit:
|
|
90
|
-
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
91
|
-
url_template: '{{ .ReleaseURL }}'
|
|
92
|
-
slack:
|
|
93
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
94
|
-
username: GoReleaser
|
|
95
|
-
discord:
|
|
96
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
97
|
-
author: GoReleaser
|
|
98
|
-
color: "3888754"
|
|
99
|
-
icon_url: https://goreleaser.com/static/avatar.png
|
|
100
|
-
teams:
|
|
101
|
-
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
102
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
103
|
-
color: '#2D313E'
|
|
104
|
-
icon_url: https://goreleaser.com/static/avatar.png
|
|
105
|
-
smtp:
|
|
106
|
-
subject_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
107
|
-
body_template: 'You can view details from: {{ .ReleaseURL }}'
|
|
108
|
-
mattermost:
|
|
109
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
110
|
-
title_template: '{{ .ProjectName }} {{ .Tag }} is out!'
|
|
111
|
-
username: GoReleaser
|
|
112
|
-
linkedin:
|
|
113
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
114
|
-
telegram:
|
|
115
|
-
message_template: '{{ mdv2escape .ProjectName }} {{ mdv2escape .Tag }} is out{{ mdv2escape "!" }} Check it out at {{ mdv2escape .ReleaseURL }}'
|
|
116
|
-
parse_mode: MarkdownV2
|
|
117
|
-
webhook:
|
|
118
|
-
message_template: '{ "message": "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}"}'
|
|
119
|
-
content_type: application/json; charset=utf-8
|
|
120
|
-
opencollective:
|
|
121
|
-
title_template: '{{ .Tag }}'
|
|
122
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out!<br/>Check it out at <a href="{{ .ReleaseURL }}">{{ .ReleaseURL }}</a>'
|
|
123
|
-
bluesky:
|
|
124
|
-
message_template: '{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
|
|
125
|
-
git:
|
|
126
|
-
tag_sort: -version:refname
|
|
127
|
-
github_urls:
|
|
128
|
-
download: https://github.com
|
|
129
|
-
gitlab_urls:
|
|
130
|
-
download: https://gitlab.com
|
package/dist/metadata.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"project_name":"basic-cli","tag":"v0.0.8","previous_tag":"v0.0.7","version":"0.0.8","commit":"a615e81f02e0b3cf5abff5aa85f742192ebab7c4","date":"2024-11-01T11:48:03.941506-07:00","runtime":{"goos":"darwin","goarch":"arm64"}}
|