Skip to content

Commit

Permalink
Bump to 3.0 for V24.4
Browse files Browse the repository at this point in the history
  • Loading branch information
heruan committed Feb 9, 2024
1 parent 2ec9ce0 commit c046d8e
Show file tree
Hide file tree
Showing 20 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<name>SSO Kit</name>

<artifactId>sso-kit</artifactId>
<version>2.3-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
<packaging>pom</packaging>

<licenses>
Expand Down
4 changes: 2 additions & 2 deletions sso-kit-client/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hilla/sso-kit-client-core",
"name": "@vaadin/sso-kit-client-core",
"private": true,
"version": "2.3.0",
"version": "3.0.0",
"description": "SSO Kit Client Core",
"main": "lib/index.js",
"module": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion sso-kit-client/core/test/EndpointImportError.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import { expect } from "@esm-bundle/chai";
import { EndpointImportError } from "../src/index.js";

describe("@hilla/sso-kit-client-core", () => {
describe("@vaadin/sso-kit-client-core", () => {
describe("EndpointImportError", () => {
it("should be exported", async () => {
expect(EndpointImportError).to.be.ok;
Expand Down
2 changes: 1 addition & 1 deletion sso-kit-client/core/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import { expect } from "@esm-bundle/chai";
import { EndpointImportError } from "../src/index.js";

describe("@hilla/sso-kit-client-core", () => {
describe("@vaadin/sso-kit-client-core", () => {
describe("Index", () => {
it("should export EndpointImportError", async () => {
expect(EndpointImportError).to.be.ok;
Expand Down
2 changes: 1 addition & 1 deletion sso-kit-client/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"npmClient": "npm",
"useWorkspaces": true,
"useNx": true,
"version": "2.3.0"
"version": "3.0.0"
}
6 changes: 3 additions & 3 deletions sso-kit-client/lit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hilla/sso-kit-client-lit",
"version": "2.3.0",
"name": "@vaadin/sso-kit-client-lit",
"version": "3.0.0",
"description": "SSO Kit Client Lit",
"main": "lib/lit/src/index.js",
"module": "index.js",
Expand Down Expand Up @@ -55,7 +55,7 @@
"access": "public"
},
"dependencies": {
"@hilla/frontend": "2.0.5",
"@vaadin/hilla-core": "24.4.0-alpha1",
"@vaadin/router": "1.7.5",
"tslib": "^2.3.1"
},
Expand Down
4 changes: 2 additions & 2 deletions sso-kit-client/lit/src/SingleSignOnContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* See <https://vaadin.com/commercial-license-and-service-terms> for the full
* license.
*/
import type { Subscription } from "@hilla/frontend";
import { logout as serverLogout } from "@hilla/frontend";
import type { Subscription } from "@vaadin/hilla-core";
import { logout as serverLogout } from "@vaadin/hilla-core";
import type {
ActionFn,
ActionResult,
Expand Down
4 changes: 2 additions & 2 deletions sso-kit-client/lit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ declare global {
window.Vaadin = window.Vaadin || {};
window.Vaadin.registrations = window.Vaadin.registrations || [];
window.Vaadin.registrations.push({
is: "@hilla/sso-kit-client-lit",
version: "2.3.0",
is: "@vaadin/sso-kit-client-lit",
version: "3.0.0",
});

window.Vaadin.SingleSignOnData = window.Vaadin.SingleSignOnData || {
Expand Down
2 changes: 1 addition & 1 deletion sso-kit-client/lit/test/SingleSignOnContext.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import { expect } from "@esm-bundle/chai";
import { SingleSignOnContext } from "../src/index.js";

describe("@hilla/sso-kit-client-lit", () => {
describe("@vaadin/sso-kit-client-lit", () => {
describe("SingleSignOnContext", () => {
it("should be exported", async () => {
expect(SingleSignOnContext).to.be.ok;
Expand Down
4 changes: 2 additions & 2 deletions sso-kit-client/lit/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import { assert, expect } from "@esm-bundle/chai";
import { EndpointImportError } from "../src/index.js";

describe("@hilla/sso-kit-client-lit", () => {
describe("@vaadin/sso-kit-client-lit", () => {
describe("Index", () => {
it("should export EndpointImportError", async () => {
expect(EndpointImportError).to.be.ok;
Expand All @@ -20,7 +20,7 @@ describe("@hilla/sso-kit-client-lit", () => {
assert.isDefined(window.Vaadin);
assert.isArray(window.Vaadin.registrations);
const formRegistrations = window.Vaadin.registrations?.filter(
(r: any) => r.is === "@hilla/sso-kit-client-lit"
(r: any) => r.is === "@vaadin/sso-kit-client-lit"
);
assert.lengthOf(formRegistrations!, 1);
});
Expand Down
6 changes: 3 additions & 3 deletions sso-kit-client/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hilla/sso-kit-client-react",
"version": "2.3.0",
"name": "@vaadin/sso-kit-client-react",
"version": "3.0.0",
"description": "SSO Kit Client React",
"main": "lib/react/src/index.js",
"module": "index.js",
Expand Down Expand Up @@ -58,7 +58,7 @@
"access": "public"
},
"dependencies": {
"@hilla/frontend": "2.0.0",
"@vaadin/hilla-core": "24.4.0-alpha1",
"react": "^18.2.0",
"react-router-dom": "^6.10.0",
"tslib": "^2.3.1"
Expand Down
4 changes: 2 additions & 2 deletions sso-kit-client/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ declare global {
window.Vaadin = window.Vaadin || {};
window.Vaadin.registrations = window.Vaadin.registrations || [];
window.Vaadin.registrations.push({
is: "@hilla/sso-kit-client-react",
version: "2.3.0",
is: "@vaadin/sso-kit-client-react",
version: "3.0.0",
});
4 changes: 2 additions & 2 deletions sso-kit-client/react/src/useSsoContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import React, {
useEffect,
useState,
} from "react";
import type { Subscription } from "@hilla/frontend";
import { logout as serverLogout } from "@hilla/frontend";
import type { Subscription } from "@vaadin/hilla-core";
import { logout as serverLogout } from "@vaadin/hilla-core";
import type { AccessProps } from "../../core/src/AccessProps.js";
import type { SingleSignOnData } from "../../core/src/SingleSignOnData.js";
import type { User } from "../../core/src/User.js";
Expand Down
4 changes: 2 additions & 2 deletions sso-kit-client/react/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import { assert, expect } from "@esm-bundle/chai";
import { EndpointImportError } from "../src/index.js";

describe("@hilla/sso-kit-client-react", () => {
describe("@vaadin/sso-kit-client-react", () => {
describe("Index", () => {
it("should export EndpointImportError", async () => {
expect(EndpointImportError).to.be.ok;
Expand All @@ -20,7 +20,7 @@ describe("@hilla/sso-kit-client-react", () => {
assert.isDefined(window.Vaadin);
assert.isArray(window.Vaadin.registrations);
const formRegistrations = window.Vaadin.registrations?.filter(
(r: any) => r.is === "@hilla/sso-kit-client-react"
(r: any) => r.is === "@vaadin/sso-kit-client-react"
);
assert.lengthOf(formRegistrations!, 1);
});
Expand Down
2 changes: 1 addition & 1 deletion sso-kit-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.vaadin</groupId>
<artifactId>sso-kit</artifactId>
<version>2.3-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
</parent>

<name>SSO Kit Core</name>
Expand Down
2 changes: 1 addition & 1 deletion sso-kit-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.vaadin</groupId>
<artifactId>sso-kit</artifactId>
<version>2.3-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
</parent>

<name>SSO Kit Demo</name>
Expand Down
2 changes: 1 addition & 1 deletion sso-kit-keycloak/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.vaadin</groupId>
<artifactId>sso-kit</artifactId>
<version>2.3-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
</parent>

<artifactId>sso-kit-keycloak</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sso-kit-keycloak/sso-kit-keycloak-lumo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.vaadin</groupId>
<artifactId>sso-kit-keycloak</artifactId>
<version>2.3-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
</parent>

<name>SSO Kit Lumo Theme for Keycloak</name>
Expand Down
4 changes: 2 additions & 2 deletions sso-kit-starter-hilla/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<parent>
<groupId>com.vaadin</groupId>
<artifactId>sso-kit</artifactId>
<version>2.3-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
</parent>
<version>2.3-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>

<name>SSO Kit Starter for Hilla</name>

Expand Down
2 changes: 1 addition & 1 deletion sso-kit-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.vaadin</groupId>
<artifactId>sso-kit</artifactId>
<version>2.3-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
</parent>

<name>SSO Kit Starter for Flow</name>
Expand Down

0 comments on commit c046d8e

Please sign in to comment.