Skip to content

Commit

Permalink
chore: rename paw -> tail
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Jul 20, 2021
1 parent 92a1105 commit fd533d5
Show file tree
Hide file tree
Showing 39 changed files with 49 additions and 3,314 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# pawchat
# tailchat
This is a basic chat client and easy to expand.
4 changes: 2 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "pawchat-app",
"name": "tailchat-app",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/pawchat/pawchat.git",
"repository": "https://github.com/msgbyte/tailchat.git",
"author": "moonrailgun <[email protected]>",
"license": "GPLv3",
"private": true
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "pawchat",
"name": "tailchat",
"version": "1.0.0",
"main": "index.js",
"workspaces": [
"web",
"shared",
"app"
],
"repository": "https://github.com/pawchat/pawchat.git",
"repository": "https://github.com/msgbyte/tailchat.git",
"author": "moonrailgun <[email protected]>",
"license": "GPLv3",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions shared/components/Provider.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { CacheProvider } from '../cache/Provider';

export const PawProvider: React.FC = React.memo((props) => {
export const TcProvider: React.FC = React.memo((props) => {
return <CacheProvider>{props.children}</CacheProvider>;
});
PawProvider.displayName = 'PawProvider';
TcProvider.displayName = 'TcProvider';
2 changes: 1 addition & 1 deletion shared/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Pawchat 共享配置
* TailChat 共享配置
*/

export const config = {
Expand Down
2 changes: 1 addition & 1 deletion shared/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type {
export { regField } from './components/FastForm/field';
export { regFormContainer } from './components/FastForm/container';
export type { FastFormContainerComponent } from './components/FastForm/container';
export { PawProvider } from './components/Provider';
export { TcProvider } from './components/Provider';

// i18n
export { t, setLanguage, useTranslation } from './i18n';
Expand Down
4 changes: 2 additions & 2 deletions shared/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "pawchat-shared",
"name": "tailchat-shared",
"version": "1.0.0",
"main": "index.tsx",
"repository": "https://github.com/pawchat/pawchat.git",
"repository": "https://github.com/msgbyte/tailchat.git",
"author": "moonrailgun <[email protected]>",
"license": "GPLv3",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion shared/redux/hooks/useAppSelector.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { AppState } from 'pawchat-shared/redux/slices';
import type { AppState } from 'tailchat-shared/redux/slices';
import { useSelector, useDispatch } from 'react-redux';

export function useAppSelector<T>(
Expand Down
Loading

0 comments on commit fd533d5

Please sign in to comment.