Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
161 changes: 0 additions & 161 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @gathertown/eng-prod
92 changes: 92 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: CI

on:
push: {}

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18, 20, 22, 24]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Restore cache
uses: actions/cache@v4
with:
path: node_modules
key: dependency-cache-${{ hashFiles('yarn.lock') }}
- name: Install dependencies
run: corepack enable && corepack install && yarn install --immutable
- name: Run unit tests
run: yarn run ci:coverage
# - name: Submit coverage data to codecov
# run: bash <(curl -s https://codecov.io/bash)

analysis:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- name: Restore cache
uses: actions/cache@v4
with:
path: node_modules
key: dependency-cache-${{ hashFiles('yarn.lock') }}
- name: Install dependencies
run: corepack enable && corepack install && yarn install --immutable
- name: Run linting
run: yarn run lint

# publish:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# node-version-file: .nvmrc
# - name: Restore cache
# uses: actions/cache@v4
# with:
# path: node_modules
# key: dependency-cache-${{ hashFiles('yarn.lock') }}
# - name: Install dependencies
# run: corepack enable && corepack install && yarn install --immutable
# - name: Validate Commit Messages
# run: yarn run release:validate
# - name: Publish to NPM
# run: printf "noop running conventional-github-releaser"
#
# validate-publish:
# needs: [dependency_cache, test, analysis]
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# node-version-file: .nvmrc
# - name: Restore cache
# uses: actions/cache@v4
# with:
# path: node_modules
# key: dependency-cache-${{ hashFiles('yarn.lock') }}
# - name: Install dependencies
# run: corepack enable && corepack install && yarn install --immutable
# - name: Validate Commit Messages
# run: yarn run release:validate
# - name: Publish to NPM
# run: printf "noop running conventional-github-releaser"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ Thumbs.db
# Yarn
.pnp.*
.yarn/install-state.gz
.yarn/plugins
3 changes: 0 additions & 3 deletions .jestrc

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.19.2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how dare you not use mise

16 changes: 16 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
defaultSemverRangePrefix: "~"
enableConstraintsChecks: true
enableGlobalCache: true
enableTelemetry: false
nmMode: hardlinks-local
nodeLinker: node-modules

supportedArchitectures:
os:
- current
- darwin
- linux
- win32
cpu:
- current
- x64
- arm64

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs
spec: "https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js"
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Additions and modifications to `worker-loader` copyright (c) 2018 Walker Henderson
Additions and modifications to `worlet-loader` copyright (c) 2025 Gather Presence, Inc.
Copy link

Copilot AI May 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like worlet-loader is a typo—should be worker-loader to match the original project name.

Suggested change
Additions and modifications to `worlet-loader` copyright (c) 2025 Gather Presence, Inc.
Additions and modifications to `worker-loader` copyright (c) 2025 Gather Presence, Inc.

Copilot uses AI. Check for mistakes.
Based on additions and modifications to `worker-loader` copyright (c) 2018 Walker Henderson

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = {
testEnvironment: "node",
};

module.exports = config
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gathertown/worklet-loader",
"version": "3.0.0",
"author": "Walker Henderson",
"author": "Gather Presence, Inc. <engineering@gather.town>",
"description": "worklet loader module for webpack",
"repository": {
"url": "git+https://github.com/gathertown/worklet-loader.git"
Expand All @@ -14,20 +14,20 @@
"dist"
],
"scripts": {
"start": "npm run build -- -w",
"start": "yarn run build -w",
"build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
"clean": "rm -rf dist",
"lint": "eslint --cache src test",
"lint-staged": "lint-staged",
"prebuild": "npm run clean",
"prepare": "npm run build",
"prebuild": "yarn run clean",
"prepare": "yarn run build",
"release": "standard-version",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
"ci:lint": "npm run lint && npm run security",
"ci:test": "npm run test -- --runInBand",
"ci:coverage": "npm run test:coverage -- --runInBand",
"ci:lint": "yarn run lint",
"ci:test": "yarn run test --runInBand",
"ci:coverage": "yarn run test:coverage --runInBand",
"defaults": "webpack-defaults",
"webpack-defaults": "webpack-defaults"
},
Expand Down Expand Up @@ -64,7 +64,7 @@
}
},
"engines": {
"node": ">= 6.9.0 || >= 8.9.0"
"node": ">=18.20.8 <25"
},
"pre-commit": "lint-staged",
"lint-staged": {
Expand Down
Loading
Loading