Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update discord invite #618

Merged
merged 5 commits into from
Nov 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Local Development

Welcome 🎉!! If you've found a bug, or have an idea to add a feature we'd love to hear from you. It may save time to first ping the group on [Partytown's Discord channel](https://discord.gg/bNVSQmPzqy) to talk through any ideas or any issues that may be a bug.
Welcome 🎉!! If you've found a bug, or have an idea to add a feature we'd love to hear from you. It may save time to first ping the group on [Partytown's Discord channel](https://discord.gg/aHKdpdWv7a) to talk through any ideas or any issues that may be a bug.

## Installation

Expand Down
7 changes: 6 additions & 1 deletion src/lib/sandbox/main-custom-element.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { type CustomElementData, type PartytownWebWorker, type WinId, WorkerMessageType } from '../types';
import {
type CustomElementData,
type PartytownWebWorker,
type WinId,
WorkerMessageType,
} from '../types';
import { defineConstructorName } from '../utils';
import { getAndSetInstanceId } from './main-instances';
import { winCtxs } from './main-constants';
Expand Down
7 changes: 6 additions & 1 deletion src/lib/sandbox/read-main-platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ import {
serializeConfig,
} from '../utils';
import { config, docImpl, libPath, mainWindow } from './main-globals';
import { InterfaceType, type InterfaceInfo, type InterfaceMember, type InitWebWorkerData } from '../types';
import {
InterfaceType,
type InterfaceInfo,
type InterfaceMember,
type InitWebWorkerData,
} from '../types';

export const readMainPlatform = () => {
const elm = docImpl.createElement('i');
Expand Down
6 changes: 5 additions & 1 deletion src/lib/web-worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { callWorkerRefHandler } from './worker-serialization';
import { createEnvironment } from './worker-environment';
import { debug } from '../utils';
import { environments, webWorkerCtx } from './worker-constants';
import { type ForwardMainTriggerData, type MessageFromSandboxToWorker, WorkerMessageType } from '../types';
import {
type ForwardMainTriggerData,
type MessageFromSandboxToWorker,
WorkerMessageType,
} from '../types';
import { initNextScriptsInWebWorker } from './worker-exec';
import { initWebWorker } from './init-web-worker';
import { logWorker, normalizedWinId } from '../log';
Expand Down
7 changes: 6 additions & 1 deletion src/lib/web-worker/media/canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ import {
randomId,
} from './bridge';
import { ContextKey, defineCstr, notImpl } from './utils';
import { CallType, type WorkerConstructor, type WorkerInstance, type WorkerWindow } from '../../types';
import {
CallType,
type WorkerConstructor,
type WorkerInstance,
type WorkerWindow,
} from '../../types';

export const initCanvas = (WorkerBase: WorkerConstructor, win: WorkerWindow) => {
const HTMLCanvasDescriptorMap: PropertyDescriptorMap & ThisType<Node> = {
Expand Down
8 changes: 7 additions & 1 deletion src/lib/web-worker/worker-css-style-declaration.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { type ApplyPath, CallType, type InstanceId, type WinId, type WorkerConstructor } from '../types';
import {
type ApplyPath,
CallType,
type InstanceId,
type WinId,
type WorkerConstructor,
} from '../types';
import { cachedDimensions, InstanceDataKey } from './worker-constants';
import { callMethod, getter, setter } from './worker-proxy';
import { defineConstructorName } from '../utils';
Expand Down
Loading