Skip to content

Commit 8ff547e

Browse files
authored
Merge pull request #7 from Piitschy/dev
fix npm deployment
2 parents 7b800a7 + c7d94fa commit 8ff547e

File tree

3 files changed

+24
-18
lines changed

3 files changed

+24
-18
lines changed

.goreleaser.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ builds:
2727
- amd64
2828
- arm64
2929

30-
archives:
31-
- format: tar.gz
32-
# this name template makes the OS and Arch compatible with the results of `uname`.
33-
name_template: >-
34-
{{ .ProjectName }}_
35-
{{- title .Os }}_
36-
{{- if eq .Arch "amd64" }}x86_64
37-
{{- else if eq .Arch "386" }}i386
38-
{{- else }}{{ .Arch }}{{ end }}
39-
{{- if .Arm }}v{{ .Arm }}{{ end }}
40-
# use zip for windows archives
41-
format_overrides:
42-
- goos: windows
43-
format: zip
30+
# archives:
31+
# - format: tar.gz
32+
# # this name template makes the OS and Arch compatible with the results of `uname`.
33+
# name_template: >-
34+
# {{ .ProjectName }}_
35+
# {{- title .os }}_
36+
# {{- if eq .Arch "amd64" }}x86_64
37+
# {{- else if eq .Arch "386" }}i386
38+
# {{- else }}{{ .Arch }}{{ end }}
39+
# {{- if .Arm }}v{{ .Arm }}{{ end }}
40+
# # use zip for windows archives
41+
# format_overrides:
42+
# - goos: windows
43+
# format: zip
4444

4545
changelog:
4646
sort: asc

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,16 @@ For complete backup and restore functionality, see [Postgres Migration](https://
2323

2424
## Installation
2525

26+
If you have Go installed, you can install the CLI by running:
2627
```bash
2728
go install github.com/Piitschy/drcts@latest
2829
```
2930

31+
Alternatively, you can download use npm to install the CLI:
32+
```bash
33+
npm install -g drcts
34+
```
35+
3036
## Usage
3137

3238
### Authenticate

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "drcts",
3-
"version": "0.1.2",
3+
"version": "0.1.4",
44
"description": "Directus Data Model CLI (drcts) to migrate schemas from one instance to an other.",
55
"main": "index.js",
66
"scripts": {
@@ -25,13 +25,13 @@
2525
"bugs": {
2626
"url": "https://github.com/Piitschy/drcts/issues"
2727
},
28-
"dependencies": {
29-
"golang-npm": "^0.0.2"
30-
},
3128
"homepage": "https://github.com/Piitschy/drcts#readme",
3229
"goBinary": {
3330
"name": "drcts",
3431
"path": "./bin",
3532
"url": "https://github.com/Piitschy/drcts/releases/download/v{{version}}/drcts_{{version}}_{{platform}}_{{arch}}.tar.gz"
33+
},
34+
"dependencies": {
35+
"go-npm": "^0.1.9"
3636
}
3737
}

0 commit comments

Comments
 (0)