@ttsc/banner 0.5.0-dev.20260429 → 0.5.0-dev.20260429-4

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/go.mod ADDED
@@ -0,0 +1,3 @@
1
+ module github.com/samchon/ttsc/packages/banner
2
+
3
+ go 1.26
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@ttsc/banner",
3
- "version": "0.5.0-dev.20260429",
3
+ "version": "0.5.0-dev.20260429-4",
4
4
  "description": "First-party ttsc plugin that prepends a banner comment to emitted files.",
5
- "main": "index.cjs",
5
+ "main": "src/index.cjs",
6
6
  "exports": {
7
- ".": "./index.cjs",
7
+ ".": "./src/index.cjs",
8
8
  "./package.json": "./package.json"
9
9
  },
10
10
  "keywords": [
@@ -15,13 +15,12 @@
15
15
  ],
16
16
  "files": [
17
17
  "README.md",
18
- "index.cjs",
19
- "go-plugin/go.mod",
20
- "go-plugin/main.go",
21
- "go-plugin/banner"
18
+ "src/index.cjs",
19
+ "go.mod",
20
+ "plugin"
22
21
  ],
23
22
  "peerDependencies": {
24
- "ttsc": "^0.4.4"
23
+ "ttsc": "^0.5.0-dev.20260429"
25
24
  },
26
25
  "repository": {
27
26
  "type": "git",
@@ -1,4 +1,4 @@
1
- package banner
1
+ package main
2
2
 
3
3
  import (
4
4
  "encoding/json"
@@ -3,8 +3,6 @@ package main
3
3
  import (
4
4
  "fmt"
5
5
  "os"
6
-
7
- "github.com/samchon/ttsc/packages/banner/go-plugin/banner"
8
6
  )
9
7
 
10
8
  const version = "0.0.1"
@@ -25,7 +23,7 @@ func run(args []string) int {
25
23
  case "check":
26
24
  return 0
27
25
  case "output":
28
- return banner.RunOutput(args[1:])
26
+ return RunOutput(args[1:])
29
27
  default:
30
28
  fmt.Fprintf(os.Stderr, "@ttsc/banner: unknown command %q\n", args[0])
31
29
  return 2
@@ -9,7 +9,8 @@ module.exports = function createTtscBanner() {
9
9
  native: {
10
10
  mode: "ttsc-banner",
11
11
  source: {
12
- dir: path.resolve(__dirname, "go-plugin"),
12
+ dir: path.resolve(__dirname, ".."),
13
+ entry: "./plugin",
13
14
  },
14
15
  contractVersion: 1,
15
16
  capabilities: ["output"],
package/go-plugin/go.mod DELETED
@@ -1,3 +0,0 @@
1
- module github.com/samchon/ttsc/packages/banner/go-plugin
2
-
3
- go 1.26