@basictech/cli 0.0.7 → 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.7_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_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.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_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_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","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_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_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:c7822101f8a0d3952c5317a07cb52aa46b8adf30d46953203a0af08241e1c917","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:fd6788f1f237bd62f628b226c887c20014735bcff178128de1adee5f516b60bb","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:9de0de4970e7e98736edbd15b1eef50adf3370c89dd4b9d3a907ab44ba922cc3","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:5979b659e78fe8af3a66ce36bf824eab398e5ce82fa97fdcd3cc64266424a9ce","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:3b1be8bf292d87f7f9c5a73a94d7206575e7934cd8902c9ffc162396b380cf64","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:2be65de264ea6236878cbe11ac145c8ee8b1760fe7613a77ba41e5767890de83","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:8815f10cb49d192b907dc83b872d4e3f9bec787473fa7832c8660d5a6b34948b","Format":"zip","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:357392805ae154ca65e489c86b9c3ad25c7bf57aa653192eb7bdb897923c38bd","Format":"tar.gz","ID":"default","Replaces":null,"WrappedIn":""}},{"name":"basic-cli_0.0.7_checksums.txt","path":"dist/basic-cli_0.0.7_checksums.txt","internal_type":12,"type":"Checksum","extra":{}}]
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
5979b659e78fe8af3a66ce36bf824eab398e5ce82fa97fdcd3cc64266424a9ce basic-cli_Darwin_arm64.tar.gz
|
|
2
|
-
3b1be8bf292d87f7f9c5a73a94d7206575e7934cd8902c9ffc162396b380cf64 basic-cli_Darwin_x86_64.tar.gz
|
|
3
|
-
2be65de264ea6236878cbe11ac145c8ee8b1760fe7613a77ba41e5767890de83 basic-cli_Linux_arm64.tar.gz
|
|
4
|
-
fd6788f1f237bd62f628b226c887c20014735bcff178128de1adee5f516b60bb basic-cli_Linux_i386.tar.gz
|
|
5
|
-
357392805ae154ca65e489c86b9c3ad25c7bf57aa653192eb7bdb897923c38bd basic-cli_Linux_x86_64.tar.gz
|
|
6
|
-
9de0de4970e7e98736edbd15b1eef50adf3370c89dd4b9d3a907ab44ba922cc3 basic-cli_Windows_arm64.zip
|
|
7
|
-
c7822101f8a0d3952c5317a07cb52aa46b8adf30d46953203a0af08241e1c917 basic-cli_Windows_i386.zip
|
|
8
|
-
8815f10cb49d192b907dc83b872d4e3f9bec787473fa7832c8660d5a6b34948b 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.7","previous_tag":"v0.0.6","version":"0.0.7","commit":"257166d500d4c84fcb40a915fa04f51c2a5c7246","date":"2024-10-30T23:09:01.88368-07:00","runtime":{"goos":"darwin","goarch":"arm64"}}
|