Skip to content

Commit f165148

Browse files
committed
chore(config): clean up bun, turbo, and next.js config
1 parent ca87d7c commit f165148

File tree

7 files changed

+8
-31
lines changed

7 files changed

+8
-31
lines changed

apps/sim/next.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
const nextConfig: NextConfig = {
1212
devIndicators: false,
1313
images: {
14+
formats: ['image/avif', 'image/webp'],
1415
remotePatterns: [
1516
{
1617
protocol: 'https',

bunfig.toml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,5 @@
1-
# Bun Configuration File
2-
31
[install]
4-
# Recommend using exact versions for better reproducibility
52
exact = true
6-
# Auto-detect lockfile and registry changes
7-
registry = "https://registry.npmjs.org/"
8-
# Cache binaries for faster install
9-
cache = true
10-
# Strict mode for more reliable dependency resolution
11-
strict = false
12-
# Enables frozen lockfile by default to prevent accidental changes
13-
frozen = false
14-
15-
# Configure workspaces for monorepo
16-
workspaces = ["apps/*", "packages/*"]
17-
18-
[test]
19-
# Test configuration
20-
preload = "./apps/sim/test/setup.ts"
21-
extensions = [".test.ts", ".test.tsx"]
22-
timeout = 10000
233

244
[run]
25-
# Environment setting for running scripts
265
env = { NEXT_PUBLIC_APP_URL = "http://localhost:3000" }
27-
28-
[build]
29-
# Build configuration
30-
minify = true
31-
32-
[debug]
33-
# Configure debug mode
34-
inject-preload = true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simstudio",
3-
"packageManager": "bun@1.3.10",
3+
"packageManager": "bun@1.3.11",
44
"version": "0.0.0",
55
"private": true,
66
"license": "Apache-2.0",

packages/logger/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@sim/logger",
33
"version": "0.1.0",
44
"private": true,
5+
"sideEffects": false,
56
"type": "module",
67
"license": "Apache-2.0",
78
"engines": {

packages/testing/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "@sim/testing",
33
"version": "0.1.0",
44
"private": true,
5+
"sideEffects": [
6+
"./src/setup/*"
7+
],
58
"type": "module",
69
"license": "Apache-2.0",
710
"engines": {

packages/tsconfig/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@sim/tsconfig",
33
"version": "0.0.0",
44
"private": true,
5+
"sideEffects": false,
56
"license": "Apache-2.0",
67
"description": "Shared TypeScript configurations for Sim monorepo",
78
"exports": {

turbo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://v2-8-13.turborepo.dev/schema.json",
2+
"$schema": "https://turbo.build/schema.json",
33
"envMode": "loose",
44
"tasks": {
55
"transit": {

0 commit comments

Comments
 (0)