Skip to content

Commit 682acb8

Browse files
committed
refactor: rename library entry points to lib.{js,ts}
1 parent 1e5e679 commit 682acb8

File tree

12 files changed

+8
-8
lines changed

12 files changed

+8
-8
lines changed

pnpm-workspaces/packages/first/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ npm_link_all_packages(name = "node_modules")
55

66
js_library(
77
name = "tsc",
8-
srcs = ["src/main.js"],
8+
srcs = ["src/lib.js"],
99
)
1010

1111
js_library(
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "@bazel-poc/first",
3-
"main": "src/main.js"
3+
"main": "src/lib.js"
44
}

pnpm-workspaces/packages/one/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ npm_link_all_packages(name = "node_modules")
66

77
ts_project(
88
name = "tsc",
9-
srcs = ["src/main.ts"],
9+
srcs = ["src/lib.ts"],
1010
declaration = True,
1111
tsconfig = "//:tsconfig",
1212
deps = [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "@bazel-poc/one",
3-
"main": "src/main.js"
3+
"main": "src/lib.js"
44
}
File renamed without changes.

pnpm-workspaces/packages/shared/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ npm_link_all_packages(name = "node_modules")
66

77
ts_project(
88
name = "tsc",
9-
srcs = ["src/main.ts"],
9+
srcs = ["src/lib.ts"],
1010
declaration = True,
1111
tsconfig = "//:tsconfig",
1212
deps = [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "@bazel-poc/shared",
3-
"main": "src/main.js"
3+
"main": "src/lib.js"
44
}

pnpm-workspaces/packages/two/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ npm_link_all_packages(name = "node_modules")
55

66
js_library(
77
name = "tsc",
8-
srcs = ["src/main.js"],
8+
srcs = ["src/lib.js"],
99
deps = [
1010
"//:node_modules/@bazel-poc/first",
1111
"//:node_modules/cowsay",

0 commit comments

Comments
 (0)