diff --git a/BUILD.bazel b/BUILD.bazel index 507f0123..48e8f76c 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -60,7 +60,7 @@ types_only( npm_link_package( name = "node_modules/@rules_prerender/declarative_shadow_dom", - src = "//packages/rules_prerender/declarative_shadow_dom:pkg", + src = "//packages/declarative_shadow_dom:pkg", visibility = ["//visibility:public"], ) link_prerender_component( diff --git a/examples/external/BUILD.bazel b/examples/external/BUILD.bazel index 4358bbf1..14729cce 100644 --- a/examples/external/BUILD.bazel +++ b/examples/external/BUILD.bazel @@ -19,7 +19,7 @@ npm_link_package( ) npm_link_package( name = "node_modules/@rules_prerender/declarative_shadow_dom", - src = "@rules_prerender//packages/rules_prerender/declarative_shadow_dom:pkg", + src = "@rules_prerender//packages/declarative_shadow_dom:pkg", visibility = ["//visibility:public"], ) link_prerender_component( diff --git a/packages/rules_prerender/declarative_shadow_dom/BUILD.bazel b/packages/declarative_shadow_dom/BUILD.bazel similarity index 100% rename from packages/rules_prerender/declarative_shadow_dom/BUILD.bazel rename to packages/declarative_shadow_dom/BUILD.bazel diff --git a/packages/rules_prerender/declarative_shadow_dom/README.md b/packages/declarative_shadow_dom/README.md similarity index 100% rename from packages/rules_prerender/declarative_shadow_dom/README.md rename to packages/declarative_shadow_dom/README.md diff --git a/packages/rules_prerender/declarative_shadow_dom/declarative_shadow_dom.ts b/packages/declarative_shadow_dom/declarative_shadow_dom.ts similarity index 100% rename from packages/rules_prerender/declarative_shadow_dom/declarative_shadow_dom.ts rename to packages/declarative_shadow_dom/declarative_shadow_dom.ts diff --git a/packages/rules_prerender/declarative_shadow_dom/declarative_shadow_dom_polyfill.ts b/packages/declarative_shadow_dom/declarative_shadow_dom_polyfill.ts similarity index 100% rename from packages/rules_prerender/declarative_shadow_dom/declarative_shadow_dom_polyfill.ts rename to packages/declarative_shadow_dom/declarative_shadow_dom_polyfill.ts diff --git a/packages/rules_prerender/declarative_shadow_dom/declarative_shadow_dom_test.ts b/packages/declarative_shadow_dom/declarative_shadow_dom_test.ts similarity index 86% rename from packages/rules_prerender/declarative_shadow_dom/declarative_shadow_dom_test.ts rename to packages/declarative_shadow_dom/declarative_shadow_dom_test.ts index 757a7b11..f10ecf46 100644 --- a/packages/rules_prerender/declarative_shadow_dom/declarative_shadow_dom_test.ts +++ b/packages/declarative_shadow_dom/declarative_shadow_dom_test.ts @@ -1,4 +1,4 @@ -import { createAnnotation } from '../../../common/models/prerender_annotation'; +import { createAnnotation } from '../../common/models/prerender_annotation'; import { polyfillDeclarativeShadowDom } from './declarative_shadow_dom'; describe('declarative_shadow_dom', () => { diff --git a/packages/rules_prerender/declarative_shadow_dom/package.json b/packages/declarative_shadow_dom/package.json similarity index 100% rename from packages/rules_prerender/declarative_shadow_dom/package.json rename to packages/declarative_shadow_dom/package.json diff --git a/packages/rules_prerender/BUILD.bazel b/packages/rules_prerender/BUILD.bazel index 309d8d26..6d4c2a84 100644 --- a/packages/rules_prerender/BUILD.bazel +++ b/packages/rules_prerender/BUILD.bazel @@ -134,7 +134,6 @@ bzl_library( ts_project( name = "scripts", srcs = ["scripts.ts"], - visibility = ["//packages/rules_prerender/declarative_shadow_dom:__pkg__"], deps = ["//common/models:prerender_annotation"], )