Skip to content

Commit 5bfeded

Browse files
authored
chore: publish 1.5.2 release (#1113)
1 parent 5adcc8b commit 5bfeded

13 files changed

Lines changed: 18 additions & 44 deletions

File tree

apps/nestjs-backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@teable/backend",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"license": "AGPL-3.0",
55
"private": true,
66
"main": "dist/index.js",

apps/nextjs-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@teable/app",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"license": "AGPL-3.0",
55
"private": true,
66
"main": "main/index.js",
Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,5 @@
1-
import { QueryClientProvider } from '@tanstack/react-query';
2-
import { createQueryClient } from '@teable/sdk/context';
3-
import type { GetServerSideProps, InferGetServerSidePropsType } from 'next';
4-
import { useState } from 'react';
5-
import { LoginPage } from '@/features/auth/pages/LoginPage';
6-
import { authConfig } from '@/features/i18n/auth.config';
7-
import ensureLogin from '@/lib/ensureLogin';
8-
import { getTranslationsProps } from '@/lib/i18n';
9-
import withEnv from '@/lib/withEnv';
1+
import LoginRoute from './login';
102

11-
type Props = {
12-
/** Add props here */
13-
};
3+
export { getServerSideProps } from './login';
144

15-
export default function LoginRoute(_props: InferGetServerSidePropsType<typeof getServerSideProps>) {
16-
const [queryClient] = useState(() => createQueryClient());
17-
18-
return (
19-
<QueryClientProvider client={queryClient}>
20-
<LoginPage />
21-
</QueryClientProvider>
22-
);
23-
}
24-
25-
export const getServerSideProps: GetServerSideProps<Props> = withEnv(
26-
ensureLogin(async (context) => {
27-
const { i18nNamespaces } = authConfig;
28-
return {
29-
props: {
30-
...(await getTranslationsProps(context, i18nNamespaces)),
31-
},
32-
};
33-
}, true)
34-
);
5+
export default LoginRoute;

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@teable/teable",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"license": "AGPL-3.0",
55
"private": true,
66
"homepage": "https://github.com/teableio/teable",
@@ -51,6 +51,9 @@
5151
"publish:next:patch": "node ./scripts/publish.mjs patch next",
5252
"publish:next:minor": "node ./scripts/publish.mjs minor next",
5353
"publish:next:major": "node ./scripts/publish.mjs major next",
54+
"publish:latest:patch": "node ./scripts/publish.mjs patch latest",
55+
"publish:latest:minor": "node ./scripts/publish.mjs minor latest",
56+
"publish:latest:major": "node ./scripts/publish.mjs major latest",
5457
"prepare": "run-s install:husky",
5558
"run:plugin": "pnpm -F '@teable/plugin' dev"
5659
},

packages/common-i18n/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@teable/common-i18n",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"license": "MIT",
55
"homepage": "https://github.com/teableio/teable",
66
"private": false,

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@teable/core",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"license": "MIT",
55
"homepage": "https://github.com/teableio/teable",
66
"publishConfig": {

packages/db-main-prisma/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@teable/db-main-prisma",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"license": "MIT",
55
"homepage": "https://github.com/teableio/teable",
66
"private": true,

packages/eslint-config-bases/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@teable/eslint-config-bases",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"license": "MIT",
55
"private": true,
66
"homepage": "https://github.com/teableio/teable",

packages/icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@teable/icons",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"license": "MIT",
55
"homepage": "https://github.com/teableio/teable",
66
"publishConfig": {

packages/openapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@teable/openapi",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"license": "MIT",
55
"homepage": "https://github.com/teableio/teable",
66
"publishConfig": {

0 commit comments

Comments
 (0)