refactor: org name changed from bitsocialhq to bitsocialnet

This commit is contained in:
plebeius
2026-03-09 17:01:35 +08:00
parent 3b341922c4
commit 417482060d
150 changed files with 209 additions and 209 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ const testState = vi.hoisted(() => ({
localForageSetItemMock: vi.fn(),
}));
vi.mock('@bitsocialhq/bitsocial-react-hooks/dist/lib/localforage-lru/index.js', () => ({
vi.mock('@bitsocialnet/bitsocial-react-hooks/dist/lib/localforage-lru/index.js', () => ({
default: {
createInstance: () => ({
getItem: (url: string) => testState.localForageGetItemMock(url),
@@ -5,7 +5,7 @@ const testState = vi.hoisted(() => ({
subplebbits: {} as Record<string, { roles?: Record<string, { role?: string }> }>,
}));
vi.mock('@bitsocialhq/bitsocial-react-hooks/dist/stores/subplebbits', () => ({
vi.mock('@bitsocialnet/bitsocial-react-hooks/dist/stores/subplebbits', () => ({
default: {
getState: () => ({
subplebbits: testState.subplebbits,
+1 -1
View File
@@ -1,4 +1,4 @@
import { ChallengeVerification } from '@bitsocialhq/bitsocial-react-hooks';
import { ChallengeVerification } from '@bitsocialnet/bitsocial-react-hooks';
import directoriesData from '../../data/5chan-directories.json';
import { getBoardPath } from './route-utils';
+1 -1
View File
@@ -1,4 +1,4 @@
import localForageLru from '@bitsocialhq/bitsocial-react-hooks/dist/lib/localforage-lru/index.js';
import localForageLru from '@bitsocialnet/bitsocial-react-hooks/dist/lib/localforage-lru/index.js';
import { canEmbed } from '../../components/embed';
import memoize from 'memoizee';
import { isValidURL } from './url-utils';
+2 -2
View File
@@ -1,5 +1,5 @@
import type { Comment } from '@bitsocialhq/bitsocial-react-hooks';
import useSubplebbitsStore from '@bitsocialhq/bitsocial-react-hooks/dist/stores/subplebbits';
import type { Comment } from '@bitsocialnet/bitsocial-react-hooks';
import useSubplebbitsStore from '@bitsocialnet/bitsocial-react-hooks/dist/stores/subplebbits';
/**
* Checks if a text matches a pattern according to various pattern matching rules:
+1 -1
View File
@@ -1,4 +1,4 @@
import type { Comment } from '@bitsocialhq/bitsocial-react-hooks';
import type { Comment } from '@bitsocialnet/bitsocial-react-hooks';
export type PostMenuProps = {
cid?: string;
+1 -1
View File
@@ -1,4 +1,4 @@
import type { Comment } from '@bitsocialhq/bitsocial-react-hooks';
import type { Comment } from '@bitsocialnet/bitsocial-react-hooks';
type QuoteTargetAvailability = 'available' | 'unresolved' | 'unavailable';