Skip to content

Commit 385a66e

Browse files
committed
Bug: Fix typo in org name in src
1 parent 6877598 commit 385a66e

3 files changed

Lines changed: 24 additions & 27 deletions

File tree

dist/index.d.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

dist/index.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,39 @@ function getViteConfiguration() {
44
return {
55
optimizeDeps: {
66
include: [
7-
"@semantic-org/astro-lit/dist/client.js",
8-
"@semantic-org/astro-lit/client-shim.js",
9-
"@semantic-org/astro-lit/hydration-support.js",
7+
"@semantic-ui/astro-lit/dist/client.js",
8+
"@semantic-ui/astro-lit/client-shim.js",
9+
"@semantic-ui/astro-lit/hydration-support.js",
1010
"@webcomponents/template-shadowroot/template-shadowroot.js",
1111
"@lit-labs/ssr-client/lit-element-hydrate-support.js"
1212
],
13-
exclude: ["@semantic-org/astro-lit/server.js"]
13+
exclude: ["@semantic-ui/astro-lit/server.js"]
1414
},
1515
ssr: {
16-
external: ["lit-element", "@lit-labs/ssr", "@semantic-org/astro-lit", "lit/decorators.js"]
16+
external: ["lit-element", "@lit-labs/ssr", "@semantic-ui/astro-lit", "lit/decorators.js"]
1717
}
1818
};
1919
}
2020
function getContainerRenderer() {
2121
return {
22-
name: "@semantic-org/astro-lit",
23-
serverEntrypoint: "@semantic-org/astro-lit/server.js"
22+
name: "@semantic-ui/astro-lit",
23+
serverEntrypoint: "@semantic-ui/astro-lit/server.js"
2424
};
2525
}
2626
function index_default() {
2727
return {
28-
name: "@semantic-org/astro-lit",
28+
name: "@semantic-ui/astro-lit",
2929
hooks: {
3030
"astro:config:setup": ({ updateConfig, addRenderer, injectScript }) => {
3131
injectScript(
3232
"head-inline",
3333
readFileSync(new URL("../client-shim.min.js", import.meta.url), { encoding: "utf-8" })
3434
);
35-
injectScript("before-hydration", `import '@semantic-org/astro-lit/hydration-support.js';`);
35+
injectScript("before-hydration", `import '@semantic-ui/astro-lit/hydration-support.js';`);
3636
addRenderer({
37-
name: "@semantic-org/astro-lit",
38-
serverEntrypoint: "@semantic-org/astro-lit/server.js",
39-
clientEntrypoint: "@semantic-org/astro-lit/dist/client.js"
37+
name: "@semantic-ui/astro-lit",
38+
serverEntrypoint: "@semantic-ui/astro-lit/server.js",
39+
clientEntrypoint: "@semantic-ui/astro-lit/dist/client.js"
4040
});
4141
updateConfig({
4242
vite: getViteConfiguration()

src/index.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,30 @@ function getViteConfiguration() {
55
return {
66
optimizeDeps: {
77
include: [
8-
'@semantic-org/astro-lit/dist/client.js',
9-
'@semantic-org/astro-lit/client-shim.js',
10-
'@semantic-org/astro-lit/hydration-support.js',
8+
'@semantic-ui/astro-lit/dist/client.js',
9+
'@semantic-ui/astro-lit/client-shim.js',
10+
'@semantic-ui/astro-lit/hydration-support.js',
1111
'@webcomponents/template-shadowroot/template-shadowroot.js',
1212
'@lit-labs/ssr-client/lit-element-hydrate-support.js',
1313
],
14-
exclude: ['@semantic-org/astro-lit/server.js'],
14+
exclude: ['@semantic-ui/astro-lit/server.js'],
1515
},
1616
ssr: {
17-
external: ['lit-element', '@lit-labs/ssr', '@semantic-org/astro-lit', 'lit/decorators.js'],
17+
external: ['lit-element', '@lit-labs/ssr', '@semantic-ui/astro-lit', 'lit/decorators.js'],
1818
},
1919
};
2020
}
2121

2222
export function getContainerRenderer(): ContainerRenderer {
2323
return {
24-
name: '@semantic-org/astro-lit',
25-
serverEntrypoint: '@semantic-org/astro-lit/server.js',
24+
name: '@semantic-ui/astro-lit',
25+
serverEntrypoint: '@semantic-ui/astro-lit/server.js',
2626
};
2727
}
2828

2929
export default function (): AstroIntegration {
3030
return {
31-
name: '@semantic-org/astro-lit',
31+
name: '@semantic-ui/astro-lit',
3232
hooks: {
3333
'astro:config:setup': ({ updateConfig, addRenderer, injectScript }) => {
3434
// Inject the necessary polyfills on every page (inlined for speed).
@@ -37,12 +37,12 @@ export default function (): AstroIntegration {
3737
readFileSync(new URL('../client-shim.min.js', import.meta.url), { encoding: 'utf-8' })
3838
);
3939
// Inject the hydration code, before a component is hydrated.
40-
injectScript('before-hydration', `import '@semantic-org/astro-lit/hydration-support.js';`);
40+
injectScript('before-hydration', `import '@semantic-ui/astro-lit/hydration-support.js';`);
4141
// Add the lit renderer so that Astro can understand lit components.
4242
addRenderer({
43-
name: '@semantic-org/astro-lit',
44-
serverEntrypoint: '@semantic-org/astro-lit/server.js',
45-
clientEntrypoint: '@semantic-org/astro-lit/dist/client.js',
43+
name: '@semantic-ui/astro-lit',
44+
serverEntrypoint: '@semantic-ui/astro-lit/server.js',
45+
clientEntrypoint: '@semantic-ui/astro-lit/dist/client.js',
4646
});
4747
// Update the vite configuration.
4848
updateConfig({

0 commit comments

Comments
 (0)