@remotion/skia
Advanced tools
Comparing version 4.0.149 to 4.0.150
@@ -1,3 +0,16 @@ | ||
import {build} from 'bun'; | ||
import {build, revision} from 'bun'; | ||
if (process.env.NODE_ENV !== 'production') { | ||
throw new Error('This script must be run using NODE_ENV=production'); | ||
} | ||
if (!revision.startsWith('07ce')) { | ||
// eslint-disable-next-line no-console | ||
console.warn('warn: Remotion currently uses a fork of Bun to bundle.'); | ||
// eslint-disable-next-line no-console | ||
console.log( | ||
'You dont currently run the fork, this could lead to duplicate key warnings in React.', | ||
); | ||
} | ||
const mainModule = await build({ | ||
@@ -16,5 +29,3 @@ entrypoints: ['src/index.ts'], | ||
const [file] = mainModule.outputs; | ||
const text = (await file.text()) | ||
.replace(/jsxDEV/g, 'jsx') | ||
.replace(/react\/jsx-dev-runtime/g, 'react/jsx-runtime'); | ||
const text = await file.text(); | ||
@@ -21,0 +32,0 @@ await Bun.write('dist/esm/index.mjs', text); |
{ | ||
"name": "@remotion/skia", | ||
"version": "4.0.149", | ||
"version": "4.0.150", | ||
"description": "Utilities for using react-native-skia in Remotion", | ||
@@ -19,3 +19,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"remotion": "4.0.149" | ||
"remotion": "4.0.150" | ||
}, | ||
@@ -37,4 +37,4 @@ "peerDependencies": { | ||
"react-dom": "18.3.1", | ||
"@remotion/bundler": "4.0.149", | ||
"remotion": "4.0.149" | ||
"remotion": "4.0.150", | ||
"@remotion/bundler": "4.0.150" | ||
}, | ||
@@ -73,4 +73,4 @@ "keywords": [ | ||
"lint": "eslint src --ext ts,tsx", | ||
"build": "bun bundle.ts" | ||
"build": "bun --env-file=../.env.bundle bundle.ts" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13388
248
+ Addedremotion@4.0.150(transitive)
- Removedremotion@4.0.149(transitive)
Updatedremotion@4.0.150