Skip to content

🎥 Make videos programmatically with React

alright

Jonny Burger3710f0019f0d
diff --git a/packages/.monorepo/builder.ts b/packages/.monorepo/builder.ts
index 0ca280bf38..c789e51f37 100644
--- a/packages/.monorepo/builder.ts
+++ b/packages/.monorepo/builder.ts
@@ -69,12 +69,12 @@ export const buildPackage = async ({
target,
format,
});
- if (!output.success) {
- throw new Error('Build failed');
- }
for (const file of output.outputs) {
const text = await file.text();
+ if (text.includes('jonathanburger')) {
+ throw new Error('Absolute path was included');
+ }
const outputPath = './' + path.join('./dist', format, file.path);
await Bun.write(path.join(process.cwd(), outputPath), text);
diff --git a/packages/eslint-plugin/bundle.ts b/packages/eslint-plugin/bundle.ts
index 040852e379..2d3b5d39a0 100644
--- a/packages/eslint-plugin/bundle.ts
+++ b/packages/eslint-plugin/bundle.ts
@@ -2,7 +2,7 @@ import {buildPackage} from '../.monorepo/builder';
await buildPackage({
formats: ['cjs', 'esm'],
- external: [],
+ external: ['@typescript-eslint/utils'],
target: 'node',
entrypoints: ['src/index.ts'],
});
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
index c6dfa81872..64e2d7b764 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -15,7 +15,9 @@
},
"author": "Jonny Burger <[email protected]>",
"license": "ISC",
- "dependencies": {},
+ "dependencies": {
+ "@typescript-eslint/utils": "5.19.0"
+ },
"keywords": [
"eslint",
"eslintplugin"
@@ -24,7 +26,6 @@
"eslint": ">=7.0.0"
},
"devDependencies": {
- "@typescript-eslint/utils": "5.19.0",
"vitest": "0.31.1"
},
"exports": {