goscript 0.0.63 → 0.0.68

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.
@@ -6,8 +6,12 @@ import (
6
6
  "github.com/aperturerobotics/cli"
7
7
  )
8
8
 
9
+ // version is set by goreleaser via ldflags
10
+ var version = "dev"
11
+
9
12
  func main() {
10
13
  app := cli.NewApp()
14
+ app.Version = version
11
15
 
12
16
  app.Authors = []*cli.Author{
13
17
  {Name: "Christian Stewart", Email: "christian@aperture.us"},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "goscript",
3
3
  "description": "Go to TypeScript transpiler",
4
- "version": "0.0.63",
4
+ "version": "0.0.68",
5
5
  "author": {
6
6
  "name": "Aperture Robotics LLC.",
7
7
  "email": "support@aperture.us",
@@ -61,7 +61,7 @@
61
61
  "release:version": "npm version patch -m \"release: v%s\" --no-git-tag-version",
62
62
  "release:version:minor": "npm version minor -m \"release: v%s\" --no-git-tag-version",
63
63
  "release:commit": "git reset && git add package.json && git commit -s -m \"release: v$(node -p \"require('./package.json').version\")\" && git tag v$(node -p \"require('./package.json').version\")",
64
- "release:publish": "git push && git push --tags && npm run build && npm publish",
64
+ "release:publish": "git push && git push --tags",
65
65
  "lint": "npm run lint:go && npm run lint:js",
66
66
  "lint:go": "golangci-lint run .",
67
67
  "lint:js": "eslint -c eslint.config.mjs ./",