Skip to content

Commit

Permalink
chore: publish 1.5.2 release (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
tea-artist authored Nov 27, 2024
1 parent 5adcc8b commit 5bfeded
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 44 deletions.
2 changes: 1 addition & 1 deletion apps/nestjs-backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/backend",
"version": "1.5.1",
"version": "1.5.2",
"license": "AGPL-3.0",
"private": true,
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/app",
"version": "1.5.1",
"version": "1.5.2",
"license": "AGPL-3.0",
"private": true,
"main": "main/index.js",
Expand Down
35 changes: 3 additions & 32 deletions apps/nextjs-app/src/pages/auth/signup.tsx
Original file line number Diff line number Diff line change
@@ -1,34 +1,5 @@
import { QueryClientProvider } from '@tanstack/react-query';
import { createQueryClient } from '@teable/sdk/context';
import type { GetServerSideProps, InferGetServerSidePropsType } from 'next';
import { useState } from 'react';
import { LoginPage } from '@/features/auth/pages/LoginPage';
import { authConfig } from '@/features/i18n/auth.config';
import ensureLogin from '@/lib/ensureLogin';
import { getTranslationsProps } from '@/lib/i18n';
import withEnv from '@/lib/withEnv';
import LoginRoute from './login';

type Props = {
/** Add props here */
};
export { getServerSideProps } from './login';

export default function LoginRoute(_props: InferGetServerSidePropsType<typeof getServerSideProps>) {
const [queryClient] = useState(() => createQueryClient());

return (
<QueryClientProvider client={queryClient}>
<LoginPage />
</QueryClientProvider>
);
}

export const getServerSideProps: GetServerSideProps<Props> = withEnv(
ensureLogin(async (context) => {
const { i18nNamespaces } = authConfig;
return {
props: {
...(await getTranslationsProps(context, i18nNamespaces)),
},
};
}, true)
);
export default LoginRoute;
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/teable",
"version": "1.5.1",
"version": "1.5.2",
"license": "AGPL-3.0",
"private": true,
"homepage": "https://github.com/teableio/teable",
Expand Down Expand Up @@ -51,6 +51,9 @@
"publish:next:patch": "node ./scripts/publish.mjs patch next",
"publish:next:minor": "node ./scripts/publish.mjs minor next",
"publish:next:major": "node ./scripts/publish.mjs major next",
"publish:latest:patch": "node ./scripts/publish.mjs patch latest",
"publish:latest:minor": "node ./scripts/publish.mjs minor latest",
"publish:latest:major": "node ./scripts/publish.mjs major latest",
"prepare": "run-s install:husky",
"run:plugin": "pnpm -F '@teable/plugin' dev"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/common-i18n/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/common-i18n",
"version": "1.5.1",
"version": "1.5.2",
"license": "MIT",
"homepage": "https://github.com/teableio/teable",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/core",
"version": "1.5.1",
"version": "1.5.2",
"license": "MIT",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/db-main-prisma/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/db-main-prisma",
"version": "1.5.1",
"version": "1.5.2",
"license": "MIT",
"homepage": "https://github.com/teableio/teable",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-bases/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/eslint-config-bases",
"version": "1.5.1",
"version": "1.5.2",
"license": "MIT",
"private": true,
"homepage": "https://github.com/teableio/teable",
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/icons",
"version": "1.5.1",
"version": "1.5.2",
"license": "MIT",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/openapi",
"version": "1.5.1",
"version": "1.5.2",
"license": "MIT",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/sdk",
"version": "1.5.1",
"version": "1.5.2",
"license": "MIT",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/ui-lib",
"version": "1.5.1",
"version": "1.5.2",
"license": "MIT",
"homepage": "https://github.com/teableio/teable",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@teable/plugin",
"version": "1.5.1",
"version": "1.5.2",
"license": "AGPL-3.0",
"private": true,
"scripts": {
Expand Down

0 comments on commit 5bfeded

Please sign in to comment.