Skip to content

🎥 Make videos programmatically with React

use next.js for player-example

Jonny Burger136d99248556
diff --git a/packages/player-example/.env b/packages/player-example/.env
deleted file mode 100644
index 7d910f1484..0000000000
--- a/packages/player-example/.env
+++ /dev/null
@@ -1 +0,0 @@
-SKIP_PREFLIGHT_CHECK=true
\ No newline at end of file
diff --git a/packages/player-example/.gitignore b/packages/player-example/.gitignore
index 4d29575de8..acce189ecf 100644
--- a/packages/player-example/.gitignore
+++ b/packages/player-example/.gitignore
@@ -21,3 +21,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
+.next
diff --git a/packages/player-example/config/modules.js b/packages/player-example/config/modules.js
deleted file mode 100644
index 15d244a66c..0000000000
--- a/packages/player-example/config/modules.js
+++ /dev/null
@@ -1,114 +0,0 @@
-'use strict';
-
-const fs = require('fs');
-const path = require('path');
-const paths = require('./paths');
-const chalk = require('react-dev-utils/chalk');
-
-/**
- * Get additional module paths based on the baseUrl of a compilerOptions object.
- *
- * @param {Object} options
- */
-function getAdditionalModulePaths(options = {}) {
- const {baseUrl} = options;
-
- if (!baseUrl) {
- return '';
- }
-
- const baseUrlResolved = path.resolve(paths.appPath, baseUrl);
-
- // We don't need to do anything if `baseUrl` is set to `node_modules`. This is
- // the default behavior.
- if (path.relative(paths.appNodeModules, baseUrlResolved) === '') {
- return null;
- }
-
- // Allow the user set the `baseUrl` to `appSrc`.
- if (path.relative(paths.appSrc, baseUrlResolved) === '') {
- return [paths.appSrc];
- }
-
- // If the path is equal to the root directory we ignore it here.
- // We don't want to allow importing from the root directly as source files are
- // not transpiled outside of `src`. We do allow importing them with the
- // absolute path (e.g. `src/Components/Button.js`) but we set that up with
- // an alias.
- if (path.relative(paths.appPath, baseUrlResolved) === '') {
- return null;
- }
-
- // Otherwise, throw an error.
- throw new Error(
- chalk.red.bold(
- "Your project's `baseUrl` can only be set to `src` or `node_modules`." +
- ' Create React App does not support other values at this time.'
- )
- );
-}
-
-/**
- * Get webpack aliases based on the baseUrl of a compilerOptions object.
- *
- * @param {*} options
- */
-function getWebpackAliases(options = {}) {
- const {baseUrl} = options;
-
- if (!baseUrl) {
- return {};
- }
-
- const baseUrlResolved = path.resolve(paths.appPath, baseUrl);
-
- if (path.relative(paths.appPath, baseUrlResolved) === '') {
- return {
- src: paths.appSrc,
- };
- }
-}
-
-/**
- * Get jest aliases based on the baseUrl of a compilerOptions object.
- *
- * @param {*} options
- */
-function getJestAliases(options = {}) {
- const {baseUrl} = options;
-
- if (!baseUrl) {
- return {};
- }
-
- const baseUrlResolved = path.resolve(paths.appPath, baseUrl);
-
- if (path.relative(paths.appPath, baseUrlResolved) === '') {
- return {
- '^src/(.*)$': '<rootDir>/src/$1',
- };
- }
-}
-
-function getModules() {
- // Check if TypeScript is setup
- const hasTsConfig = fs.existsSync(paths.appTsConfig);
- const hasJsConfig = fs.existsSync(paths.appJsConfig);
-
- if (hasTsConfig && hasJsConfig) {
- throw new Error(
- 'You have both a tsconfig.json and a jsconfig.json. If you are using TypeScript please remove your jsconfig.json file.'
- );
- }
-
- const additionalModulePaths = getAdditionalModulePaths({});
-
- return {
- additionalModulePaths,
- webpackAliases: getWebpackAliases({}),
- jestAliases: getJestAliases({}),
- hasTsConfig,
- };
-}
-
-module.exports = getModules();
diff --git a/packages/player-example/config/paths.js b/packages/player-example/config/paths.js
deleted file mode 100644
index 1ffcda8fd6..0000000000
--- a/packages/player-example/config/paths.js
+++ /dev/null
@@ -1,70 +0,0 @@
-'use strict';
-
-const path = require('path');
-const fs = require('fs');
-const getPublicUrlOrPath = require('react-dev-utils/getPublicUrlOrPath');
-
-// Make sure any symlinks in the project folder are resolved:
-// https://github.com/facebook/create-react-app/issues/637
-const appDirectory = fs.realpathSync(process.cwd());
-const resolveApp = (relativePath) => path.resolve(appDirectory, relativePath);
-
-// We use `PUBLIC_URL` environment variable or "homepage" field to infer
-// "public path" at which the app is served.
-// webpack needs to know it to put the right <script> hrefs into HTML even in
-// single-page apps that may serve index.html for nested URLs like /todos/42.
-// We can't use a relative path in HTML because we don't want to load something
-// like /todos/42/static/js/bundle.7289d.js. We have to know the root.
-const publicUrlOrPath = getPublicUrlOrPath(
- process.env.NODE_ENV === 'development',
- require(resolveApp('package.json')).homepage,
- process.env.PUBLIC_URL
-);
-
-const buildPath = process.env.BUILD_PATH || 'build';
-
-const moduleFileExtensions = [
- 'web.mjs',
- 'mjs',
- 'web.js',
- 'js',
- 'web.ts',
- 'ts',
- 'web.tsx',
- 'tsx',
- 'json',
- 'web.jsx',
- 'jsx',
-];
-
-// Resolve file paths in the same order as webpack
-const resolveModule = (resolveFn, filePath) => {
- const extension = moduleFileExtensions.find((extension) =>
- fs.existsSync(resolveFn(`${filePath}.${extension}`))
- );
-
- if (extension) {
- return resolveFn(`${filePath}.${extension}`);
- }
-
- return resolveFn(`${filePath}.js`);
-};
-
-// Config after eject: we're in ./config/
-module.exports = {
- appPath: resolveApp('.'),
- appBuild: resolveApp(buildPath),
- appPublic: resolveApp('public'),
- appHtml: resolveApp('public/index.html'),
- appIndexJs: resolveModule(resolveApp, 'src/index'),
- appPackageJson: resolveApp('package.json'),
- appSrc: resolveApp('src'),
- appTsConfig: resolveApp('tsconfig.json'),
- appJsConfig: resolveApp('jsconfig.json'),
- yarnLockFile: resolveApp('yarn.lock'),
- appNodeModules: resolveApp('node_modules'),
- appWebpackCache: resolveApp('node_modules/.cache'),
- publicUrlOrPath,
-};
-
-module.exports.moduleFileExtensions = moduleFileExtensions;
diff --git a/packages/player-example/config/webpack.config.js b/packages/player-example/config/webpack.config.js
deleted file mode 100644
index 281de69741..0000000000
--- a/packages/player-example/config/webpack.config.js
+++ /dev/null
@@ -1,317 +0,0 @@
-'use strict';
-
-const fs = require('fs');
-const path = require('path');
-const webpack = require('webpack');
-const HtmlWebpackPlugin = require('html-webpack-plugin');
-const InlineChunkHtmlPlugin = require('react-dev-utils/InlineChunkHtmlPlugin');
-const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');
-const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
-const paths = require('./paths');
-const modules = require('./modules');
-const ModuleNotFoundPlugin = require('react-dev-utils/ModuleNotFoundPlugin');
-const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
-
-const createEnvironmentHash = require('./webpack/persistentCache/createEnvironmentHash');
-
-// Source maps are resource heavy and can cause out of memory issue for large source files.
-const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== 'false';
-
-const reactRefreshRuntimeEntry = require.resolve('react-refresh/runtime');
-const reactRefreshWebpackPluginRuntimeEntry = require.resolve(
- '@pmmmwh/react-refresh-webpack-plugin'
-);
-
-// Some apps do not need the benefits of saving a web request, so not inlining the chunk
-// makes for a smoother build process.
-const shouldInlineRuntimeChunk = process.env.INLINE_RUNTIME_CHUNK !== 'false';
-
-const imageInlineSizeLimit = parseInt(
- process.env.IMAGE_INLINE_SIZE_LIMIT || '10000',
- 10
-);
-
-// Check if TypeScript is setup
-const useTypeScript = fs.existsSync(paths.appTsConfig);
-
-// This is the production and development configuration.
-// It is focused on developer experience, fast rebuilds, and a minimal bundle.
-// eslint-disable-next-line complexity
-module.exports = function (webpackEnv) {
- const isEnvDevelopment = webpackEnv === 'development';
- const isEnvProduction = webpackEnv === 'production';
-
- // Variable used for enabling profiling in Production
- // passed into alias object. Uses a flag if passed into the build command
- const isEnvProductionProfile =
- isEnvProduction && process.argv.includes('--profile');
-
- // We will provide `paths.publicUrlOrPath` to our app
- // as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.
- // Omit trailing slash as %PUBLIC_URL%/xyz looks better than %PUBLIC_URL%xyz.
- // Get environment variables to inject into our app.
- const publicUrl = paths.publicUrlOrPath.slice(0, -1);
- const env = {
- // Useful for determining whether we’re running in production mode.
- // Most importantly, it switches React into the correct mode.
- NODE_ENV: process.env.NODE_ENV || 'development',
- // Useful for resolving the correct path to static assets in `public`.
- // For example, <img src={process.env.PUBLIC_URL + '/img/logo.png'} />.
- // This should only be used as an escape hatch. Normally you would put
- // images into the `src` and `import` them in code to get their paths.
- PUBLIC_URL: publicUrl,
- // We support configuring the sockjs pathname during development.
- // These settings let a developer run multiple simultaneous projects.
- // They are used as the connection `hostname`, `pathname` and `port`
- // in webpackHotDevClient. They are used as the `sockHost`, `sockPath`
- // and `sockPort` options in webpack-dev-server.
- WDS_SOCKET_HOST: process.env.WDS_SOCKET_HOST,
- WDS_SOCKET_PATH: process.env.WDS_SOCKET_PATH,
- WDS_SOCKET_PORT: process.env.WDS_SOCKET_PORT,
- // Whether or not react-refresh is enabled.
- // It is defined here so it is available in the webpackHotDevClient.
- FAST_REFRESH: process.env.FAST_REFRESH !== 'false',
- };
-
- const shouldUseReactRefresh = env.FAST_REFRESH;
-
- return {
- target: ['browserslist'],
- // Webpack noise constrained to errors and warnings
- stats: 'errors-warnings',
- mode: isEnvProduction ? 'production' : isEnvDevelopment && 'development',
- // Stop compilation early in production
- bail: isEnvProduction,
- devtool: isEnvProduction
- ? shouldUseSourceMap
- ? 'source-map'
- : false
- : isEnvDevelopment && 'cheap-module-source-map',
- // These are the "entry points" to our application.
- // This means they will be the "root" imports that are included in JS bundle.
- entry: [require.resolve('../src/react-shim.js'), paths.appIndexJs],
- output: {
- // The build folder.
- path: paths.appBuild,
- // Add /* filename */ comments to generated require()s in the output.
- pathinfo: isEnvDevelopment,
- // There will be one main bundle, and one file per asynchronous chunk.
- // In development, it does not produce real files.
- filename: isEnvProduction
- ? 'static/js/[name].[contenthash:8].js'
- : isEnvDevelopment && 'static/js/bundle.js',
- // There are also additional JS chunk files if you use code splitting.
- chunkFilename: isEnvProduction
- ? 'static/js/[name].[contenthash:8].chunk.js'
- : isEnvDevelopment && 'static/js/[name].chunk.js',
- assetModuleFilename: 'static/media/[name].[hash][ext]',
- // Webpack uses `publicPath` to determine where the app is being served from.
- // It requires a trailing slash, or the file assets will get an incorrect path.
- // We inferred the "public path" (such as / or /my-project) from homepage.
- publicPath: paths.publicUrlOrPath,
- // Point sourcemap entries to original disk location (format as URL on Windows)
- devtoolModuleFilenameTemplate: isEnvProduction
- ? (info) =>
- path
- .relative(paths.appSrc, info.absoluteResourcePath)
- .replace(/\\/g, '/')
- : isEnvDevelopment &&
- ((info) =>
- path.resolve(info.absoluteResourcePath).replace(/\\/g, '/')),
- },
- cache: {
- type: 'filesystem',
- version: createEnvironmentHash(env),
- cacheDirectory: paths.appWebpackCache,
- store: 'pack',
- buildDependencies: {
- defaultWebpack: ['webpack/lib/'],
- config: [__filename],
- tsconfig: [paths.appTsConfig, paths.appJsConfig].filter((f) =>
- fs.existsSync(f)
- ),
- },
- },
- infrastructureLogging: {
- level: 'none',
- },
- optimization: {
- minimize: isEnvProduction,
- },
- resolve: {
- // This allows you to set a fallback for where webpack should look for modules.
- // We placed these paths second because we want `node_modules` to "win"
- // if there are any conflicts. This matches Node resolution mechanism.
- // https://github.com/facebook/create-react-app/issues/253
- modules: ['node_modules', paths.appNodeModules].concat(
- modules.additionalModulePaths || []
- ),
- // These are the reasonable defaults supported by the Node ecosystem.
- // We also include JSX as a common component filename extension to support
- // some tools, although we do not recommend using it, see:
- // https://github.com/facebook/create-react-app/issues/290
- // `web` extension prefixes have been added for better support
- // for React Native Web.
- extensions: paths.moduleFileExtensions
- .map((ext) => `.${ext}`)
- .filter((ext) => useTypeScript || !ext.includes('ts')),
- alias: {
- // Support React Native Web
- // https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/
- 'react-native': 'react-native-web',
- // Allows for better profiling with ReactDevTools
- ...(isEnvProductionProfile && {
- 'react-dom$': 'react-dom/profiling',
- 'scheduler/tracing': 'scheduler/tracing-profiling',
- }),
- ...(modules.webpackAliases || {}),
- },
- plugins: [
- // Prevents users from importing files from outside of src/ (or node_modules/).
- // This often causes confusion because we only process files within src/ with babel.
- // To fix this, we prevent you from importing files out of src/ -- if you'd like to,
- // please link the files into your node_modules/ and let module-resolution kick in.
- // Make sure your source files are compiled, as they will not be processed in any way.
- new ModuleScopePlugin(paths.appSrc, [
- paths.appPackageJson,
- reactRefreshRuntimeEntry,
- reactRefreshWebpackPluginRuntimeEntry,
- ]),
- ],
- },
- module: {
- strictExportPresence: true,
- rules: [
- {
- // "oneOf" will traverse all following loaders until one will
- // match the requirements. When no loader matches it will fall
- // back to the "file" loader at the end of the loader list.
- oneOf: [
- // TODO: Merge this config once `image/avif` is in the mime-db
- // https://github.com/jshttp/mime-db
- {
- test: [/\.avif$/],
- type: 'asset',
- mimetype: 'image/avif',
- parser: {
- dataUrlCondition: {
- maxSize: imageInlineSizeLimit,
- },
- },
- },
- // "url" loader works like "file" loader except that it embeds assets
- // smaller than specified limit in bytes as data URLs to avoid requests.
- // A missing `test` is equivalent to a match.
- {
- test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/],
- type: 'asset',
- parser: {
- dataUrlCondition: {
- maxSize: imageInlineSizeLimit,
- },
- },
- },
- // Process application JS with Babel.
- // The preset includes JSX, Flow, TypeScript, and some ESnext features.
- {
- test: /\.(js|mjs|jsx|ts|tsx)$/,
- include: paths.appSrc,
- loader: require.resolve(
- '@remotion/bundler/dist/esbuild-loader/index.js'
- ),
- options: {
- target: 'chrome85',
- loader: 'tsx',
- implementation: require('esbuild'),
- },
- },
- // Process any JS outside of the app with Babel.
- // Unlike the application JS, we only compile the standard ES features.
- {
- test: /\.(js|mjs)$/,
- exclude: /@babel(?:\/|\\{1,2})runtime/,
- loader: require.resolve(
- '@remotion/bundler/dist/esbuild-loader/index.js'
- ),
- options: {
- target: 'chrome85',
- loader: 'tsx',
- implementation: require('esbuild'),
- },
- },
-
- // "file" loader makes sure those assets get served by WebpackDevServer.
- // When you `import` an asset, you get its (virtual) filename.
- // In production, they would get copied to the `build` folder.
- // This loader doesn't use a "test" so it will catch all modules
- // that fall through the other loaders.
- {
- // Exclude `js` files to keep "css" loader working as it injects
- // its runtime that would otherwise be processed through "file" loader.
- // Also exclude `html` and `json` extensions so they get processed
- // by webpacks internal loaders.
- exclude: [/^$/, /\.(js|mjs|jsx|ts|tsx)$/, /\.html$/, /\.json$/],
- type: 'asset/resource',
- },
- // ** STOP ** Are you adding a new loader?
- // Make sure to add the new loader(s) before the "file" loader.
- ],
- },
- ].filter(Boolean),
- },
- plugins: [
- // Generates an `index.html` file with the <script> injected.
- new HtmlWebpackPlugin({
- inject: true,
- template: paths.appHtml,
- ...(isEnvProduction
- ? {
- minify: {
- removeComments: true,
- collapseWhitespace: true,
- removeRedundantAttributes: true,
- useShortDoctype: true,
- removeEmptyAttributes: true,
- removeStyleLinkTypeAttributes: true,
- keepClosingSlash: true,
- minifyJS: true,
- minifyCSS: true,
- minifyURLs: true,
- },
- }
- : undefined),
- }),
- // Inlines the webpack runtime script. This script is too small to warrant
- // a network request.
- // https://github.com/facebook/create-react-app/issues/5358
- isEnvProduction &&
- shouldInlineRuntimeChunk &&
- new InlineChunkHtmlPlugin(HtmlWebpackPlugin, [/runtime-.+[.]js/]),
- // Makes some environment variables available in index.html.
- // The public URL is available as %PUBLIC_URL% in index.html, e.g.:
- // <link rel="icon" href="%PUBLIC_URL%/favicon.ico">
- // It will be an empty string unless you specify "homepage"
- // in `package.json`, in which case it will be the pathname of that URL.
- new InterpolateHtmlPlugin(HtmlWebpackPlugin, env),
- // This gives some necessary context to module not found errors, such as
- // the requesting resource.
- new ModuleNotFoundPlugin(paths.appPath),
- // Makes some environment variables available to the JS code, for example:
- // if (process.env.NODE_ENV === 'production') { ... }. See `./env.js`.
- // It is absolutely essential that NODE_ENV is set to production
- // during a production build.
- // Otherwise React will be compiled in the very slow development mode.
- new webpack.DefinePlugin(env),
- // Experimental hot reloading for React .
- // https://github.com/facebook/react/tree/main/packages/react-refresh
- isEnvDevelopment &&
- shouldUseReactRefresh &&
- new ReactRefreshWebpackPlugin({
- overlay: false,
- }),
- ].filter(Boolean),
- // Turn off performance processing because we utilize
- // our own hints via the FileSizeReporter
- performance: false,
- };
-};
diff --git a/packages/player-example/config/webpack/persistentCache/createEnvironmentHash.js b/packages/player-example/config/webpack/persistentCache/createEnvironmentHash.js
deleted file mode 100644
index 4487e853e1..0000000000
--- a/packages/player-example/config/webpack/persistentCache/createEnvironmentHash.js
+++ /dev/null
@@ -1,9 +0,0 @@
-'use strict';
-const { createHash } = require('crypto');
-
-module.exports = env => {
- const hash = createHash('md5');
- hash.update(JSON.stringify(env));
-
- return hash.digest('hex');
-};
diff --git a/packages/player-example/config/webpackDevServer.config.js b/packages/player-example/config/webpackDevServer.config.js
deleted file mode 100644
index 2c459264d9..0000000000
--- a/packages/player-example/config/webpackDevServer.config.js
+++ /dev/null
@@ -1,119 +0,0 @@
-'use strict';
-
-const evalSourceMapMiddleware = require('react-dev-utils/evalSourceMapMiddleware');
-const noopServiceWorkerMiddleware = require('react-dev-utils/noopServiceWorkerMiddleware');
-const ignoredFiles = require('react-dev-utils/ignoredFiles');
-const redirectServedPath = require('react-dev-utils/redirectServedPathMiddleware');
-const paths = require('./paths');
-
-const host = process.env.HOST || '0.0.0.0';
-const sockHost = process.env.WDS_SOCKET_HOST;
-const sockPath = process.env.WDS_SOCKET_PATH; // Default: '/ws'
-const sockPort = process.env.WDS_SOCKET_PORT;
-
-module.exports = function (proxy, allowedHost) {
- const disableFirewall =
- !proxy || process.env.DANGEROUSLY_DISABLE_HOST_CHECK === 'true';
- return {
- // WebpackDevServer 2.4.3 introduced a security fix that prevents remote
- // websites from potentially accessing local content through DNS rebinding:
- // https://github.com/webpack/webpack-dev-server/issues/887
- // https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a
- // However, it made several existing use cases such as development in cloud
- // environment or subdomains in development significantly more complicated:
- // https://github.com/facebook/create-react-app/issues/2271
- // https://github.com/facebook/create-react-app/issues/2233
- // While we're investigating better solutions, for now we will take a
- // compromise. Since our WDS configuration only serves files in the `public`
- // folder we won't consider accessing them a vulnerability. However, if you
- // use the `proxy` feature, it gets more dangerous because it can expose
- // remote code execution vulnerabilities in backends like Django and Rails.
- // So we will disable the host check normally, but enable it if you have
- // specified the `proxy` setting. Finally, we let you override it if you
- // really know what you're doing with a special environment variable.
- // Note: ["localhost", ".localhost"] will support subdomains - but we might
- // want to allow setting the allowedHosts manually for more complex setups
- allowedHosts: disableFirewall ? 'all' : [allowedHost],
- headers: {
- 'Access-Control-Allow-Origin': '*',
- 'Access-Control-Allow-Methods': '*',
- 'Access-Control-Allow-Headers': '*',
- },
- // Enable gzip compression of generated files.
- compress: true,
- static: {
- // By default WebpackDevServer serves physical files from current directory
- // in addition to all the virtual build products that it serves from memory.
- // This is confusing because those files won’t automatically be available in
- // production build folder unless we copy them. However, copying the whole
- // project directory is dangerous because we may expose sensitive files.
- // Instead, we establish a convention that only files in `public` directory
- // get served. Our build script will copy `public` into the `build` folder.
- // In `index.html`, you can get URL of `public` folder with %PUBLIC_URL%:
- // <link rel="icon" href="%PUBLIC_URL%/favicon.ico">
- // In JavaScript code, you can access it with `process.env.PUBLIC_URL`.
- // Note that we only recommend to use `public` folder as an escape hatch
- // for files like `favicon.ico`, `manifest.json`, and libraries that are
- // for some reason broken when imported through webpack. If you just want to
- // use an image, put it in `src` and `import` it from JavaScript instead.
- directory: paths.appPublic,
- publicPath: [paths.publicUrlOrPath],
- // By default files from `contentBase` will not trigger a page reload.
- watch: {
- // Reportedly, this avoids CPU overload on some systems.
- // https://github.com/facebook/create-react-app/issues/293
- // src/node_modules is not ignored to support absolute imports
- // https://github.com/facebook/create-react-app/issues/1065
- ignored: ignoredFiles(paths.appSrc),
- },
- },
- client: {
- webSocketURL: {
- // Enable custom sockjs pathname for websocket connection to hot reloading server.
- // Enable custom sockjs hostname, pathname and port for websocket connection
- // to hot reloading server.
- hostname: sockHost,
- pathname: sockPath,
- port: sockPort,
- },
- overlay: {
- errors: true,
- warnings: false,
- },
- },
- devMiddleware: {
- // It is important to tell WebpackDevServer to use the same "publicPath" path as
- // we specified in the webpack config. When homepage is '.', default to serving
- // from the root.
- // remove last slash so user can land on `/test` instead of `/test/`
- publicPath: paths.publicUrlOrPath.slice(0, -1),
- },
-
- host,
- historyApiFallback: {
- // Paths with dots should still use the history fallback.
- // See https://github.com/facebook/create-react-app/issues/387.
- disableDotRule: true,
- index: paths.publicUrlOrPath,
- },
- // `proxy` is run between `before` and `after` `webpack-dev-server` hooks
- proxy,
- onBeforeSetupMiddleware(devServer) {
- // Keep `evalSourceMapMiddleware`
- // middlewares before `redirectServedPath` otherwise will not have any effect
- // This lets us fetch source contents from webpack for the error overlay
- devServer.app.use(evalSourceMapMiddleware(devServer));
- },
- onAfterSetupMiddleware(devServer) {
- // Redirect to `PUBLIC_URL` or `homepage` from `package.json` if url not match
- devServer.app.use(redirectServedPath(paths.publicUrlOrPath));
-
- // This service worker file is effectively a 'no-op' that will reset any
- // previous service worker registered for the same host:port combination.
- // We do this in development to avoid hitting the production cache if
- // it used the same host and port.
- // https://github.com/facebook/create-react-app/issues/2272#issuecomment-302832432
- devServer.app.use(noopServiceWorkerMiddleware(paths.publicUrlOrPath));
- },
- };
-};
diff --git a/packages/player-example/next-env.d.ts b/packages/player-example/next-env.d.ts
new file mode 100644
index 0000000000..4f11a03dc6
--- /dev/null
+++ b/packages/player-example/next-env.d.ts
@@ -0,0 +1,5 @@
+/// <reference types="next" />
+/// <reference types="next/image-types/global" />
+
+// NOTE: This file should not be edited
+// see https://nextjs.org/docs/basic-features/typescript for more information.
diff --git a/packages/player-example/package.json b/packages/player-example/package.json
index 5789bd39d8..c1c0c9ee8a 100644
--- a/packages/player-example/package.json
+++ b/packages/player-example/package.json
@@ -8,45 +8,23 @@
"Shankhadeep Dey <[email protected]>"
],
"dependencies": {
- "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@remotion/bundler": "3.3.33",
"@remotion/eslint-config": "3.3.33",
"@remotion/gif": "3.3.33",
"@remotion/player": "3.3.33",
"@remotion/preload": "3.3.33",
- "@types/node": "^12.0.0",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.10",
- "browserslist": "^4.21.4",
- "camelcase": "^6.2.1",
- "esbuild": "0.16.12",
"eslint": "^8.3.0",
- "fs-extra": "^10.0.0",
- "html-webpack-plugin": "^5.5.0",
- "react": "18.0.0",
- "react-dev-utils": "^12.0.1",
- "react-dom": "18.0.0",
- "react-refresh": "^0.11.0",
+ "react": "18.2.0",
+ "react-dom": "18.2.0",
"remotion": "3.3.33",
"typescript": "^4.7.0",
- "webpack": "5.74.0",
- "webpack-dev-server": "^4.6.0"
+ "next": "^13.1.3"
},
"scripts": {
"lint": "eslint src --ext ts,tsx",
- "start": "node scripts/start",
- "build-site": "node scripts/build"
- },
- "browserslist": {
- "production": [
- ">0.2%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 1 chrome version",
- "last 1 firefox version",
- "last 1 safari version"
- ]
+ "dev": "next dev",
+ "build-site": "next build"
}
}
diff --git a/packages/player-example/pages/_app.tsx b/packages/player-example/pages/_app.tsx
new file mode 100644
index 0000000000..469ef1ec40
--- /dev/null
+++ b/packages/player-example/pages/_app.tsx
@@ -0,0 +1,7 @@
+import type {AppProps} from 'next/app';
+
+function MyApp({Component, pageProps}: AppProps) {
+ return <Component {...pageProps} />;
+}
+
+export default MyApp;
diff --git a/packages/player-example/pages/index.tsx b/packages/player-example/pages/index.tsx
new file mode 100644
index 0000000000..cd77b53ca2
--- /dev/null
+++ b/packages/player-example/pages/index.tsx
@@ -0,0 +1,51 @@
+import {Thumbnail} from '@remotion/player';
+import React, {ComponentType} from 'react';
+import App from '../src/App';
+import CarSlideshow from '../src/CarSlideshow';
+import {ThumbnailDemo} from '../src/ThumbnailDemo';
+import {VideoautoplayDemo} from '../src/VideoAutoplay';
+
+const Car = () =>
+ new Promise<{default: ComponentType<unknown>}>((resolve) => {
+ setTimeout(
+ () =>
+ resolve({
+ default: CarSlideshow as ComponentType<unknown>,
+ }),
+ 3000
+ );
+ });
+
+export default function () {
+ return (
+ <React.StrictMode>
+ <h2>Player</h2>
+ <div
+ style={{
+ display: 'flex',
+ flexDirection: 'row',
+ justifyContent: 'center',
+ }}
+ >
+ <App lazyComponent={Car} durationInFrames={500} />
+ <App component={VideoautoplayDemo} durationInFrames={2700} />
+ </div>
+ <h2>Thumbnail</h2>
+ <Thumbnail
+ lazyComponent={Car}
+ frameToDisplay={480}
+ compositionHeight={200}
+ compositionWidth={500}
+ durationInFrames={5000}
+ fps={30}
+ style={{
+ border: '4px solid red',
+ }}
+ inputProps={{
+ title: 'Hi there',
+ }}
+ />
+ <ThumbnailDemo />
+ </React.StrictMode>
+ );
+}
diff --git a/packages/player-example/public/index.html b/packages/player-example/public/index.html
deleted file mode 100644
index b4a2e32d0c..0000000000
--- a/packages/player-example/public/index.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8" />
- <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="theme-color" content="#000000" />
- <meta
- name="description"
- content="Web site created using create-react-app"
- />
- <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
- <!--
- Notice the use of %PUBLIC_URL% in the tags above.
- It will be replaced with the URL of the `public` folder during the build.
- Only files inside the `public` folder can be referenced from the HTML.
-
- Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
- work correctly both with client-side routing and a non-root public URL.
- Learn how to configure a non-root public URL by running `npm run build`.
- -->
- <title>React App</title>
- </head>
- <body>
- <noscript>You need to enable JavaScript to run this app.</noscript>
- <div id="root"></div>
- <!--
- This HTML file is a template.
- If you open it directly in the browser, you will see an empty page.
-
- You can add webfonts, meta tags, or analytics to this file.
- The build step will place the bundled scripts into the <body> tag.
-
- To begin the development, run `npm start` or `yarn start`.
- To create a production bundle, use `npm run build` or `yarn build`.
- -->
- </body>
-</html>
diff --git a/packages/player-example/scripts/build.js b/packages/player-example/scripts/build.js
deleted file mode 100644
index 1e9df39fef..0000000000
--- a/packages/player-example/scripts/build.js
+++ /dev/null
@@ -1,205 +0,0 @@
-'use strict';
-
-// Do this as the first thing so that any code reading it knows the right env.
-process.env.BABEL_ENV = 'production';
-process.env.NODE_ENV = 'production';
-
-// Makes the script crash on unhandled rejections instead of silently
-// ignoring them. In the future, promise rejections that are not handled will
-// terminate the Node.js process with a non-zero exit code.
-process.on('unhandledRejection', (err) => {
- throw err;
-});
-
-const path = require('path');
-const chalk = require('react-dev-utils/chalk');
-const fs = require('fs-extra');
-const webpack = require('webpack');
-const configFactory = require('../config/webpack.config');
-const paths = require('../config/paths');
-const checkRequiredFiles = require('react-dev-utils/checkRequiredFiles');
-const formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
-const printHostingInstructions = require('react-dev-utils/printHostingInstructions');
-const FileSizeReporter = require('react-dev-utils/FileSizeReporter');
-const printBuildError = require('react-dev-utils/printBuildError');
-
-const measureFileSizesBeforeBuild =
- FileSizeReporter.measureFileSizesBeforeBuild;
-const printFileSizesAfterBuild = FileSizeReporter.printFileSizesAfterBuild;
-const useYarn = fs.existsSync(paths.yarnLockFile);
-
-// These sizes are pretty large. We'll warn for bundles exceeding them.
-const WARN_AFTER_BUNDLE_GZIP_SIZE = 512 * 1024;
-const WARN_AFTER_CHUNK_GZIP_SIZE = 1024 * 1024;
-
-const isInteractive = process.stdout.isTTY;
-
-// Warn and crash if required files are missing
-if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {
- process.exit(1);
-}
-
-const argv = process.argv.slice(2);
-
-// Generate configuration
-const config = configFactory('production');
-
-// We require that you explicitly set browsers and do not fall back to
-// browserslist defaults.
-const {checkBrowsers} = require('react-dev-utils/browsersHelper');
-checkBrowsers(paths.appPath, isInteractive)
- .then(() => {
- // First, read the current file sizes in build directory.
- // This lets us display how much they changed later.
- return measureFileSizesBeforeBuild(paths.appBuild);
- })
- .then((previousFileSizes) => {
- // Remove all content but keep the directory so that
- // if you're in it, you don't end up in Trash
- fs.emptyDirSync(paths.appBuild);
- // Merge with the public folder
- copyPublicFolder();
- // Start the webpack build
- return build(previousFileSizes);
- })
- .then(
- ({stats, previousFileSizes, warnings}) => {
- if (warnings.length) {
- console.log(chalk.yellow('Compiled with warnings.\n'));
- console.log(warnings.join('\n\n'));
- console.log(
- '\nSearch for the ' +
- chalk.underline(chalk.yellow('keywords')) +
- ' to learn more about each warning.'
- );
- console.log(
- 'To ignore, add ' +
- chalk.cyan('// eslint-disable-next-line') +
- ' to the line before.\n'
- );
- } else {
- console.log(chalk.green('Compiled successfully.\n'));
- }
-
- console.log('File sizes after gzip:\n');
- printFileSizesAfterBuild(
- stats,
- previousFileSizes,
- paths.appBuild,
- WARN_AFTER_BUNDLE_GZIP_SIZE,
- WARN_AFTER_CHUNK_GZIP_SIZE
- );
- console.log();
-
- const appPackage = require(paths.appPackageJson);
- const publicUrl = paths.publicUrlOrPath;
- const publicPath = config.output.publicPath;
- const buildFolder = path.relative(process.cwd(), paths.appBuild);
- printHostingInstructions(
- appPackage,
- publicUrl,
- publicPath,
- buildFolder,
- useYarn
- );
- },
- (err) => {
- const tscCompileOnError = process.env.TSC_COMPILE_ON_ERROR === 'true';
- if (tscCompileOnError) {
- console.log(
- chalk.yellow(
- 'Compiled with the following type errors (you may want to check these before deploying your app):\n'
- )
- );
- printBuildError(err);
- } else {
- console.log(chalk.red('Failed to compile.\n'));
- printBuildError(err);
- process.exit(1);
- }
- }
- )
- .catch((err) => {
- if (err && err.message) {
- console.log(err.message);
- }
- process.exit(1);
- });
-
-// Create the production build and print the deployment instructions.
-function build(previousFileSizes) {
- console.log('Creating an optimized production build...');
-
- const compiler = webpack(config);
- return new Promise((resolve, reject) => {
- compiler.run((err, stats) => {
- let messages;
- if (err) {
- if (!err.message) {
- return reject(err);
- }
-
- let errMessage = err.message;
-
- // Add additional information for postcss errors
- if (Object.prototype.hasOwnProperty.call(err, 'postcssNode')) {
- errMessage +=
- '\nCompileError: Begins at CSS selector ' +
- err['postcssNode'].selector;
- }
-
- messages = formatWebpackMessages({
- errors: [errMessage],
- warnings: [],
- });
- } else {
- messages = formatWebpackMessages(
- stats.toJson({all: false, warnings: true, errors: true})
- );
- }
- if (messages.errors.length) {
- // Only keep the first error. Others are often indicative
- // of the same problem, but confuse the reader with noise.
- if (messages.errors.length > 1) {
- messages.errors.length = 1;
- }
- return reject(new Error(messages.errors.join('\n\n')));
- }
- if (
- process.env.CI &&
- (typeof process.env.CI !== 'string' ||
- process.env.CI.toLowerCase() !== 'false') &&
- messages.warnings.length
- ) {
- // Ignore sourcemap warnings in CI builds. See #8227 for more info.
- const filteredWarnings = messages.warnings.filter(
- (w) => !/Failed to parse source map/.test(w)
- );
- if (filteredWarnings.length) {
- console.log(
- chalk.yellow(
- '\nTreating warnings as errors because process.env.CI = true.\n' +
- 'Most CI servers set it automatically.\n'
- )
- );
- return reject(new Error(filteredWarnings.join('\n\n')));
- }
- }
-
- const resolveArgs = {
- stats,
- previousFileSizes,
- warnings: messages.warnings,
- };
-
- return resolve(resolveArgs);
- });
- });
-}
-
-function copyPublicFolder() {
- fs.copySync(paths.appPublic, paths.appBuild, {
- dereference: true,
- filter: (file) => file !== paths.appHtml,
- });
-}
diff --git a/packages/player-example/scripts/start.js b/packages/player-example/scripts/start.js
deleted file mode 100644
index 6303545eb3..0000000000
--- a/packages/player-example/scripts/start.js
+++ /dev/null
@@ -1,169 +0,0 @@
-'use strict';
-
-// Do this as the first thing so that any code reading it knows the right env.
-process.env.BABEL_ENV = 'development';
-process.env.NODE_ENV = 'development';
-
-// Makes the script crash on unhandled rejections instead of silently
-// ignoring them. In the future, promise rejections that are not handled will
-// terminate the Node.js process with a non-zero exit code.
-process.on('unhandledRejection', (err) => {
- throw err;
-});
-
-const fs = require('fs');
-const chalk = require('react-dev-utils/chalk');
-const webpack = require('webpack');
-const WebpackDevServer = require('webpack-dev-server');
-const clearConsole = require('react-dev-utils/clearConsole');
-const checkRequiredFiles = require('react-dev-utils/checkRequiredFiles');
-const {
- choosePort,
- createCompiler,
- prepareProxy,
- prepareUrls,
-} = require('react-dev-utils/WebpackDevServerUtils');
-const openBrowser = require('react-dev-utils/openBrowser');
-const paths = require('../config/paths');
-const configFactory = require('../config/webpack.config');
-const createDevServerConfig = require('../config/webpackDevServer.config');
-const react = require(require.resolve('react', {paths: [paths.appPath]}));
-const publicUrl = paths.publicUrlOrPath.slice(0, -1);
-const env = {
- // Useful for determining whether we’re running in production mode.
- // Most importantly, it switches React into the correct mode.
- NODE_ENV: process.env.NODE_ENV || 'development',
- // Useful for resolving the correct path to static assets in `public`.
- // For example, <img src={process.env.PUBLIC_URL + '/img/logo.png'} />.
- // This should only be used as an escape hatch. Normally you would put
- // images into the `src` and `import` them in code to get their paths.
- PUBLIC_URL: publicUrl,
- // We support configuring the sockjs pathname during development.
- // These settings let a developer run multiple simultaneous projects.
- // They are used as the connection `hostname`, `pathname` and `port`
- // in webpackHotDevClient. They are used as the `sockHost`, `sockPath`
- // and `sockPort` options in webpack-dev-server.
- WDS_SOCKET_HOST: process.env.WDS_SOCKET_HOST,
- WDS_SOCKET_PATH: process.env.WDS_SOCKET_PATH,
- WDS_SOCKET_PORT: process.env.WDS_SOCKET_PORT,
- // Whether or not react-refresh is enabled.
- // It is defined here so it is available in the webpackHotDevClient.
- FAST_REFRESH: process.env.FAST_REFRESH !== 'false',
-};
-const useYarn = fs.existsSync(paths.yarnLockFile);
-const isInteractive = process.stdout.isTTY;
-
-// Warn and crash if required files are missing
-if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {
- process.exit(1);
-}
-
-// Tools like Cloud9 rely on this.
-const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000;
-const HOST = process.env.HOST || '0.0.0.0';
-
-if (process.env.HOST) {
- console.log(
- chalk.cyan(
- `Attempting to bind to HOST environment variable: ${chalk.yellow(
- chalk.bold(process.env.HOST)
- )}`
- )
- );
- console.log(
- `If this was unintentional, check that you haven't mistakenly set it in your shell.`
- );
- console.log(
- `Learn more here: ${chalk.yellow('https://cra.link/advanced-config')}`
- );
- console.log();
-}
-
-// We require that you explicitly set browsers and do not fall back to
-// browserslist defaults.
-const {checkBrowsers} = require('react-dev-utils/browsersHelper');
-checkBrowsers(paths.appPath, isInteractive)
- .then(() => {
- // We attempt to use the default port but if it is busy, we offer the user to
- // run on a different port. `choosePort()` Promise resolves to the next free port.
- return choosePort(HOST, DEFAULT_PORT);
- })
- .then((port) => {
- if (port == null) {
- // We have not found a port.
- return;
- }
-
- const config = configFactory('development');
- const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';
- const appName = require(paths.appPackageJson).name;
-
- const useTypeScript = fs.existsSync(paths.appTsConfig);
- const urls = prepareUrls(
- protocol,
- HOST,
- port,
- paths.publicUrlOrPath.slice(0, -1)
- );
- // Create a webpack compiler that is configured with custom messages.
- const compiler = createCompiler({
- appName,
- config,
- urls,
- useYarn,
- useTypeScript,
- webpack,
- });
- // Load proxy config
- const proxySetting = require(paths.appPackageJson).proxy;
- const proxyConfig = prepareProxy(
- proxySetting,
- paths.appPublic,
- paths.publicUrlOrPath
- );
- // Serve webpack assets generated by the compiler over a web server.
- const serverConfig = {
- ...createDevServerConfig(proxyConfig, urls.lanUrlForConfig),
- host: HOST,
- port,
- };
- const devServer = new WebpackDevServer(serverConfig, compiler);
- // Launch WebpackDevServer.
- devServer.startCallback(() => {
- if (isInteractive) {
- clearConsole();
- }
-
- if (env.FAST_REFRESH) {
- console.log(
- chalk.yellow(
- `Fast Refresh requires React 16.10 or higher. You are using React ${react.version}.`
- )
- );
- }
-
- console.log(chalk.cyan('Starting the development server...\n'));
- openBrowser(urls.localUrlForBrowser);
- });
-
- ['SIGINT', 'SIGTERM'].forEach((sig) => {
- process.on(sig, () => {
- devServer.close();
- process.exit();
- });
- });
-
- if (process.env.CI !== 'true') {
- // Gracefully exit when stdin ends
- process.stdin.on('end', () => {
- devServer.close();
- process.exit();
- });
- }
- })
- .catch((err) => {
- if (err && err.message) {
- console.log(err.message);
- }
- process.exit(1);
- });
diff --git a/packages/player-example/src/index.tsx b/packages/player-example/src/index.tsx
index 9b8d275bc8..e0a5fbe26c 100644
--- a/packages/player-example/src/index.tsx
+++ b/packages/player-example/src/index.tsx
@@ -8,47 +8,4 @@ import {ThumbnailDemo} from './ThumbnailDemo';
const rootElement = document.getElementById('root');
-const Car = () =>
- new Promise<{default: ComponentType<unknown>}>((resolve) => {
- setTimeout(
- () =>
- resolve({
- default: CarSlideshow as ComponentType<unknown>,
- }),
- 3000
- );
- });
-
-createRoot(rootElement as HTMLElement).render(
- <div style={{}}>
- <React.StrictMode>
- <h2>Player</h2>
- <div
- style={{
- display: 'flex',
- flexDirection: 'row',
- justifyContent: 'center',
- }}
- >
- <App lazyComponent={Car} durationInFrames={500} />
- <App component={VideoautoplayDemo} durationInFrames={2700} />
- </div>
- <h2>Thumbnail</h2>
- <Thumbnail
- lazyComponent={Car}
- frameToDisplay={480}
- compositionHeight={200}
- compositionWidth={500}
- durationInFrames={5000}
- fps={30}
- style={{
- border: '4px solid red',
- }}
- inputProps={{
- title: 'Hi there',
- }}
- />
- <ThumbnailDemo />
- </React.StrictMode>
- </div>
-);
+createRoot(rootElement as HTMLElement).render(<div style={{}}></div>);
diff --git a/packages/player-example/tsconfig.json b/packages/player-example/tsconfig.json
index bad070d5fa..a6c07a37ba 100644
--- a/packages/player-example/tsconfig.json
+++ b/packages/player-example/tsconfig.json
@@ -1,21 +1,37 @@
{
- "include": ["./src/**/*"],
- "compilerOptions": {
- "strict": true,
- "esModuleInterop": true,
- "lib": ["dom", "es2015"],
- "jsx": "react-jsx",
- "target": "es5",
- "allowJs": true,
- "skipLibCheck": true,
- "allowSyntheticDefaultImports": true,
- "forceConsistentCasingInFileNames": true,
- "noFallthroughCasesInSwitch": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "noEmit": true
- },
- "references": [{"path": "../player"}, {"path": "../core"}]
+ "include": [
+ "./src/**/*"
+ ],
+ "compilerOptions": {
+ "strict": true,
+ "esModuleInterop": true,
+ "lib": [
+ "dom",
+ "es2015"
+ ],
+ "jsx": "preserve",
+ "target": "es5",
+ "allowJs": true,
+ "skipLibCheck": true,
+ "allowSyntheticDefaultImports": true,
+ "forceConsistentCasingInFileNames": true,
+ "noFallthroughCasesInSwitch": true,
+ "module": "esnext",
+ "moduleResolution": "node",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+ "incremental": true
+ },
+ "references": [
+ {
+ "path": "../player"
+ },
+ {
+ "path": "../core"
+ }
+ ],
+ "exclude": [
+ "node_modules"
+ ]
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index bb21a46c49..85c24b138d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -846,53 +846,33 @@ importers:
packages/player-example:
specifiers:
- '@pmmmwh/react-refresh-webpack-plugin': ^0.5.3
'@remotion/bundler': 3.3.33
'@remotion/eslint-config': 3.3.33
'@remotion/gif': 3.3.33
'@remotion/player': 3.3.33
'@remotion/preload': 3.3.33
- '@types/node': ^12.0.0
'@types/react': 18.0.26
'@types/react-dom': 18.0.10
- browserslist: ^4.21.4
- camelcase: ^6.2.1
- esbuild: 0.16.12
eslint: ^8.3.0
- fs-extra: ^10.0.0
- html-webpack-plugin: ^5.5.0
- react: 18.0.0
- react-dev-utils: ^12.0.1
- react-dom: 18.0.0
- react-refresh: ^0.11.0
+ next: ^13.1.3
+ react: 18.2.0
+ react-dom: 18.2.0
remotion: 3.3.33
typescript: ^4.7.0
- webpack: 5.74.0
- webpack-dev-server: ^4.6.0
dependencies:
- '@pmmmwh/react-refresh-webpack-plugin': 0.5.5_g2twpi6upwsrfmw5og652sb76a
'@remotion/bundler': link:../bundler
'@remotion/eslint-config': link:../eslint-config
'@remotion/gif': link:../gif
'@remotion/player': link:../player
'@remotion/preload': link:../preload
- '@types/node': 12.20.27
'@types/react': 18.0.26
'@types/react-dom': 18.0.10
- browserslist: 4.21.4
- camelcase: 6.3.0
- esbuild: 0.16.12
eslint: 8.13.0
- fs-extra: 10.1.0
- html-webpack-plugin: [email protected]
- react: 18.0.0
- react-dev-utils: 12.0.1_sldhse4phuqfuybes2kmxdma7y
- react-dom: [email protected]
- react-refresh: 0.11.0
+ next: 13.1.3_biqbaboplfbrettd7655fr4n2y
+ react: 18.2.0
+ react-dom: [email protected]
remotion: link:../core
typescript: 4.7.2
- webpack-dev-server: [email protected]
packages/preload:
specifiers:
@@ -7641,6 +7621,127 @@ packages:
resolution: {integrity: sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA==}
dev: false
+ /@next/env/13.1.3:
+ resolution: {integrity: sha512-ye0yvGmlzQQJnzNC7tC/ZhgRMd0s54msgrDOft1SjEG1Fbb+RBxGsalPqG3tUGuchA25z3npAtkFoAP8d2wPnw==}
+ dev: false
+
+ /@next/swc-android-arm-eabi/13.1.3:
+ resolution: {integrity: sha512-kXL0z7uVUHdUkXY997oZcoz4PXWXRJq3R9x2UYz0uW8OHsZinxTW/BgyzH8nfTB/4/a0nox4fgzQRurjem3nGQ==}
+ engines: {node: '>= 10'}
+ cpu: [arm]
+ os: [android]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-android-arm64/13.1.3:
+ resolution: {integrity: sha512-ZHYC5Ze+syk9mex/T5XILHox5xjJotQ5GmPqHrJpXh9AOuIZnfhNP/zeLYaOXWaJmrE55Ni56VxHgckJfpGeBw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [android]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-darwin-arm64/13.1.3:
+ resolution: {integrity: sha512-B8Gyx/XhoxiiD4kHjnNVPCdgvLvIeQQGE2Nq6P7gsG0t17mMcPS4Y8fh/kVJSZAu5B5bAACwYIsI5bKMFzM+Ug==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-darwin-x64/13.1.3:
+ resolution: {integrity: sha512-SCXf0JA3tR9FcsFA53a3LWDaxoIWFoLSbN3m88cYQYQMluObxwo6SBeUD9E3F4pM0bXEeIGOh8Y6u8w0GmmGoQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-freebsd-x64/13.1.3:
+ resolution: {integrity: sha512-bUf1HYF3znES0Kd75fRnVp7LXlwF3MiuTk/qh32t1VH8CHSGsJmPPtHw4ag5GgwCbIn3AwWJQgqS+jyVYj40CA==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [freebsd]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-linux-arm-gnueabihf/13.1.3:
+ resolution: {integrity: sha512-ibl6YbAoOVH5whhHcC3s4auSKLIzWyhRdv9M8373m8xaTWkAGtFNgbJysaTBm4M9RlePPX0G81oul9wmpkP48w==}
+ engines: {node: '>= 10'}
+ cpu: [arm]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-linux-arm64-gnu/13.1.3:
+ resolution: {integrity: sha512-ChsZxyNgAu1JHLQWZq4L6lJ4VQ4Rj30qA8VCGkr1AFiqwWabri9dc5y32zJSmqa6Ex6NVDyYCNBKUGlcUOmDtw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-linux-arm64-musl/13.1.3:
+ resolution: {integrity: sha512-WoYE9I/1iEW9wldxFxhu+OZmU4IbwQQl/w5nFrgbSIyGz3g3JeaQxJOdyMggX3WOjWF9khdJ4r4ANa0TsF28DA==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-linux-x64-gnu/13.1.3:
+ resolution: {integrity: sha512-fz5j+p1MsD0Kb+vMUkHzKxzFDteqzAqtdC41NyRvyKYhAffyDsfjGB542nmtt+EdxtlpDWfH204gN6nNXDDI7w==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-linux-x64-musl/13.1.3:
+ resolution: {integrity: sha512-kw98zZnIAGyElE8GqsY5oH/n/vLYWqhEHlhHlY9ZzPIhsKwybWqLTq6ZPA60fEgRm9+UoU6u7lGD9pjZhTBRvA==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-win32-arm64-msvc/13.1.3:
+ resolution: {integrity: sha512-bfulLL1SkaECHnv1Oz1nLdwpMu/B/TQEzA3+XoJYoiZaKHuTrufDIr+fTUasK5l7KQmB1y8LXSMKEKVeZomeGg==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-win32-ia32-msvc/13.1.3:
+ resolution: {integrity: sha512-5UwjzQWgUdKAinZgLSYB8BG5jtTUuUGBh//7EwDXf+nqfTEZ7VOaDuHWeO6MQLkuSgQOIpwL5uMJQFJY1rX69A==}
+ engines: {node: '>= 10'}
+ cpu: [ia32]
+ os: [win32]
+ requiresBuild: true
+ dev: false
+ optional: true
+
+ /@next/swc-win32-x64-msvc/13.1.3:
+ resolution: {integrity: sha512-P9fSi+/FZKGQXV4kCJg2td2jkIvDryDFZr/mn+0xfWiC/rcSov9CHK0W3qh+ZXyItLEe6dOtAdGxlTYOijHthw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
+ requiresBuild: true
+ dev: false
+ optional: true
+
/@nodelib/fs.scandir/2.1.5:
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
engines: {node: '>= 8'}
@@ -7832,46 +7933,6 @@ packages:
'@octokit/openapi-types': 11.0.0
dev: false
- /@pmmmwh/react-refresh-webpack-plugin/0.5.5_g2twpi6upwsrfmw5og652sb76a:
- resolution: {integrity: sha512-RbG7h6TuP6nFFYKJwbcToA1rjC1FyPg25NR2noAZ0vKI+la01KTSRPkuVPE+U88jXv7javx2JHglUcL1MHcshQ==}
- engines: {node: '>= 10.13'}
- peerDependencies:
- '@types/webpack': 4.x || 5.x
- react-refresh: '>=0.10.0 <1.0.0'
- sockjs-client: ^1.4.0
- type-fest: '>=0.17.0 <3.0.0'
- webpack: '>=4.43.0 <6.0.0'
- webpack-dev-server: 3.x || 4.x
- webpack-hot-middleware: 2.x
- webpack-plugin-serve: 0.x || 1.x
- peerDependenciesMeta:
- '@types/webpack':
- optional: true
- sockjs-client:
- optional: true
- type-fest:
- optional: true
- webpack-dev-server:
- optional: true
- webpack-hot-middleware:
- optional: true
- webpack-plugin-serve:
- optional: true
- dependencies:
- ansi-html-community: 0.0.8
- common-path-prefix: 3.0.0
- core-js-pure: 3.22.0
- error-stack-parser: 2.0.6
- find-up: 5.0.0
- html-entities: 2.3.3
- loader-utils: 2.0.2
- react-refresh: 0.11.0
- schema-utils: 3.1.1
- source-map: 0.7.3
- webpack-dev-server: [email protected]
- dev: false
-
/@polka/url/1.0.0-next.21:
resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==}
dev: false
@@ -8523,6 +8584,12 @@ packages:
'@swc/core-win32-ia32-msvc': 1.3.27
'@swc/core-win32-x64-msvc': 1.3.27
+ /@swc/helpers/0.4.14:
+ resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==}
+ dependencies:
+ tslib: 2.4.0
+ dev: false
+
/@szmarczak/http-timer/1.1.2:
resolution: {integrity: sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==}
engines: {node: '>=6'}
@@ -8836,10 +8903,6 @@ packages:
'@types/node': 18.11.2
dev: true
- /@types/node/12.20.27:
- resolution: {integrity: sha512-qZdePUDSLAZRXXV234bLBEUM0nAQjoxbcSwp1rqSMUe1rZ47mwU6OjciR/JvF1Oo8mc0ys6GE0ks0HGgqAZoGg==}
- dev: false
-
/@types/node/14.17.20:
resolution: {integrity: sha512-gI5Sl30tmhXsqkNvopFydP7ASc4c2cLfGNQrVKN3X90ADFWFsPEsotm/8JHSUJQKTHbwowAHtcJPeyVhtKv0TQ==}
dev: true
@@ -10029,12 +10092,6 @@ packages:
/async-limiter/1.0.1:
resolution: {integrity: sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==}
- /async/2.6.3:
- resolution: {integrity: sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==}
- dependencies:
- lodash: 4.17.21
- dev: false
-
/async/3.2.4:
resolution: {integrity: sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==}
@@ -10884,6 +10941,10 @@ packages:
engines: {node: '>= 10'}
dev: false
+ /client-only/0.0.1:
+ resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}
+ dev: false
+
/clipboard/2.0.8:
resolution: {integrity: sha512-Y6WO0unAIQp5bLmk1zdThRhgJt/x3ks6f30s3oE3H1mgIEU33XyQjEf8gsf6DxC7NPX8Y1SsNWjUjL/ywLnnbQ==}
dependencies:
@@ -11052,10 +11113,6 @@ packages:
engines: {node: '>= 12'}
dev: false
- /common-path-prefix/3.0.0:
- resolution: {integrity: sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==}
- dev: false
-
/commondir/1.0.1:
resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==}
@@ -11121,11 +11178,6 @@ packages:
xdg-basedir: 4.0.0
dev: false
- /connect-history-api-fallback/1.6.0:
- resolution: {integrity: sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==}
- engines: {node: '>=0.8'}
- dev: false
-
/connect-history-api-fallback/2.0.0:
resolution: {integrity: sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==}
engines: {node: '>=0.8'}
@@ -11313,11 +11365,6 @@ packages:
dependencies:
browserslist: 4.21.4
- /core-js-pure/3.22.0:
- resolution: {integrity: sha512-ylOC9nVy0ak1N+fPIZj00umoZHgUVqmucklP5RT5N+vJof38klKn8Ze6KGyvchdClvEBr6LcQqJpI216LUMqYA==}
- requiresBuild: true
- dev: false
-
/core-js-pure/3.25.2:
resolution: {integrity: sha512-ItD7YpW1cUB4jaqFLZXe1AXkyqIxz6GqPnsDV4uF4hVcWh/WAGIqSqw5p0/WdsILM0Xht9s3Koyw05R3K6RtiA==}
requiresBuild: true
@@ -13463,38 +13510,6 @@ packages:
- supports-color
dev: false
- /fork-ts-checker-webpack-plugin/6.5.1_sldhse4phuqfuybes2kmxdma7y:
- resolution: {integrity: sha512-x1wumpHOEf4gDROmKTaB6i4/Q6H3LwmjVO7fIX47vBwlZbtPjU33hgoMuD/Q/y6SU8bnuYSoN6ZQOLshGp0T/g==}
- engines: {node: '>=10', yarn: '>=1.0.0'}
- peerDependencies:
- eslint: '>= 6'
- typescript: '>= 2.7'
- vue-template-compiler: '*'
- webpack: '>= 4'
- peerDependenciesMeta:
- eslint:
- optional: true
- vue-template-compiler:
- optional: true
- dependencies:
- '@babel/code-frame': 7.16.7
- '@types/json-schema': 7.0.9
- chalk: 4.1.2
- chokidar: 3.5.3
- cosmiconfig: 6.0.0
- deepmerge: 4.2.2
- eslint: 8.13.0
- fs-extra: 9.1.0
- glob: 7.2.0
- memfs: 3.4.1
- minimatch: 3.1.2
- schema-utils: 2.7.0
- semver: 7.3.7
- tapable: 1.1.3
- typescript: 4.7.2
- dev: false
-
/fork-ts-checker-webpack-plugin/6.5.1_v5dq5tvy5mxgxe2jcvr5h43l3u:
resolution: {integrity: sha512-x1wumpHOEf4gDROmKTaB6i4/Q6H3LwmjVO7fIX47vBwlZbtPjU33hgoMuD/Q/y6SU8bnuYSoN6ZQOLshGp0T/g==}
engines: {node: '>=10', yarn: '>=1.0.0'}
@@ -14271,7 +14286,7 @@ packages:
lodash: 4.17.21
pretty-error: 4.0.0
tapable: 2.2.1
+ webpack: 5.74.0_@[email protected]
dev: false
/htmlparser2/6.1.0:
@@ -16576,6 +16591,50 @@ packages:
resolution: {integrity: sha1-yobR/ogoFpsBICCOPchCS524NCw=}
dev: false
+ /next/13.1.3_biqbaboplfbrettd7655fr4n2y:
+ resolution: {integrity: sha512-ig7m7Po/F+Wp0xl+9RKYZq+PYfgVmONH6hBPVT2+jrdUmZkrqsN5ioSe4oQbCAb9tMtVr07agVdK2HFjD15Yug==}
+ engines: {node: '>=14.6.0'}
+ hasBin: true
+ peerDependencies:
+ fibers: '>= 3.1.0'
+ node-sass: ^6.0.0 || ^7.0.0
+ react: ^18.2.0
+ react-dom: ^18.2.0
+ sass: ^1.3.0
+ peerDependenciesMeta:
+ fibers:
+ optional: true
+ node-sass:
+ optional: true
+ sass:
+ optional: true
+ dependencies:
+ '@next/env': 13.1.3
+ '@swc/helpers': 0.4.14
+ caniuse-lite: 1.0.30001409
+ postcss: 8.4.14
+ react: 18.2.0
+ react-dom: [email protected]
+ styled-jsx: [email protected]
+ optionalDependencies:
+ '@next/swc-android-arm-eabi': 13.1.3
+ '@next/swc-android-arm64': 13.1.3
+ '@next/swc-darwin-arm64': 13.1.3
+ '@next/swc-darwin-x64': 13.1.3
+ '@next/swc-freebsd-x64': 13.1.3
+ '@next/swc-linux-arm-gnueabihf': 13.1.3
+ '@next/swc-linux-arm64-gnu': 13.1.3
+ '@next/swc-linux-arm64-musl': 13.1.3
+ '@next/swc-linux-x64-gnu': 13.1.3
+ '@next/swc-linux-x64-musl': 13.1.3
+ '@next/swc-win32-arm64-msvc': 13.1.3
+ '@next/swc-win32-ia32-msvc': 13.1.3
+ '@next/swc-win32-x64-msvc': 13.1.3
+ transitivePeerDependencies:
+ - '@babel/core'
+ - babel-plugin-macros
+ dev: false
+
/nice-try/1.0.5:
resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==}
@@ -17517,17 +17576,6 @@ packages:
'@babel/runtime': 7.15.4
dev: false
- /portfinder/1.0.28:
- resolution: {integrity: sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==}
- engines: {node: '>= 0.12.0'}
- dependencies:
- async: 2.6.3
- debug: 3.2.7
- mkdirp: 0.5.5
- transitivePeerDependencies:
- - supports-color
- dev: false
-
/posix-character-classes/0.1.1:
resolution: {integrity: sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==}
engines: {node: '>=0.10.0'}
@@ -17993,6 +18041,15 @@ packages:
source-map-js: 0.6.2
dev: false
+ /postcss/8.4.14:
+ resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==}
+ engines: {node: ^10 || ^12 || >=14}
+ dependencies:
+ nanoid: 3.3.4
+ picocolors: 1.0.0
+ source-map-js: 1.0.2
+ dev: false
+
/postcss/8.4.18:
resolution: {integrity: sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==}
engines: {node: ^10 || ^12 || >=14}
@@ -18397,44 +18454,6 @@ packages:
- webpack
dev: false
- /react-dev-utils/12.0.1_sldhse4phuqfuybes2kmxdma7y:
- resolution: {integrity: sha512-84Ivxmr17KjUupyqzFode6xKhjwuEJDROWKJy/BthkL7Wn6NJ8h4WE6k/exAv6ImS+0oZLRRW5j/aINMHyeGeQ==}
- engines: {node: '>=14'}
- dependencies:
- '@babel/code-frame': 7.16.7
- address: 1.1.2
- browserslist: 4.21.4
- chalk: 4.1.2
- cross-spawn: 7.0.3
- detect-port-alt: 1.1.6
- escape-string-regexp: 4.0.0
- filesize: 8.0.7
- find-up: 5.0.0
- fork-ts-checker-webpack-plugin: 6.5.1_sldhse4phuqfuybes2kmxdma7y
- global-modules: 2.0.0
- globby: 11.1.0
- gzip-size: 6.0.0
- immer: 9.0.12
- is-root: 2.1.0
- loader-utils: 3.2.0
- open: 8.4.0
- pkg-up: 3.1.0
- prompts: 2.4.2
- react-error-overlay: 6.0.11
- recursive-readdir: 2.2.2
- shell-quote: 1.7.3
- strip-ansi: 6.0.1
- text-table: 0.2.0
- typescript: 4.7.2
- transitivePeerDependencies:
- - eslint
- - supports-color
- - typescript
- - vue-template-compiler
- - webpack
- dev: false
-
/react-dev-utils/12.0.1_v5dq5tvy5mxgxe2jcvr5h43l3u:
resolution: {integrity: sha512-84Ivxmr17KjUupyqzFode6xKhjwuEJDROWKJy/BthkL7Wn6NJ8h4WE6k/exAv6ImS+0oZLRRW5j/aINMHyeGeQ==}
engines: {node: '>=14'}
@@ -18694,11 +18713,6 @@ packages:
scheduler: 0.21.0
dev: false
- /react-refresh/0.11.0:
- resolution: {integrity: sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==}
- engines: {node: '>=0.10.0'}
- dev: false
-
/react-refresh/0.14.0:
resolution: {integrity: sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==}
engines: {node: '>=0.10.0'}
@@ -19541,13 +19555,6 @@ packages:
resolution: {integrity: sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=}
dev: false
- /selfsigned/2.0.1:
- resolution: {integrity: sha512-LmME957M1zOsUhG+67rAjKfiWFox3SBxE/yymatMZsAx+oMrJ0YQ8AToOnyCm7xbeg2ep37IHLxdu0o2MavQOQ==}
- engines: {node: '>=10'}
- dependencies:
- node-forge: 1.3.1
- dev: false
-
/selfsigned/2.1.1:
resolution: {integrity: sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ==}
engines: {node: '>=10'}
@@ -19896,14 +19903,6 @@ packages:
- supports-color
dev: false
- /sockjs/0.3.21:
- resolution: {integrity: sha512-DhbPFGpxjc6Z3I+uX07Id5ZO2XwYsWOrYjaSeieES78cq+JaJvVe5q/m1uvjIQhXinhIeCFRH6JgXe+mvVMyXw==}
- dependencies:
- faye-websocket: 0.11.4
- uuid: 3.4.0
- websocket-driver: 0.7.4
- dev: false
-
/sockjs/0.3.24:
resolution: {integrity: sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==}
dependencies:
@@ -20394,6 +20393,23 @@ packages:
supports-color: 5.5.0
dev: false
+ /styled-jsx/[email protected]:
+ resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==}
+ engines: {node: '>= 12.0.0'}
+ peerDependencies:
+ '@babel/core': '*'
+ babel-plugin-macros: '*'
+ react: '>= 16.8.0 || 17.x.x || ^18.0.0-0'
+ peerDependenciesMeta:
+ '@babel/core':
+ optional: true
+ babel-plugin-macros:
+ optional: true
+ dependencies:
+ client-only: 0.0.1
+ react: 18.2.0
+ dev: false
+
/stylehacks/[email protected]:
resolution: {integrity: sha512-SzLmvHQTrIWfSgljkQCw2++C9+Ne91d/6Sp92I8c5uHTcy/PgeHamwITIbBW9wnFTY/3ZfSXR9HIL6Ikqmcu6Q==}
engines: {node: ^10 || ^12 || >=14.0}
@@ -21926,7 +21942,7 @@ packages:
mime-types: 2.1.34
range-parser: 1.2.1
schema-utils: 4.0.0
+ webpack: 5.74.0_@[email protected]
dev: false
/webpack-dev-server/[email protected]:
@@ -21977,54 +21993,6 @@ packages:
- utf-8-validate
dev: false
- /webpack-dev-server/[email protected]:
- resolution: {integrity: sha512-dwld70gkgNJa33czmcj/PlKY/nOy/BimbrgZRaR9vDATBQAYgLzggR0nxDtPLJiLrMgZwbE6RRfJ5vnBBasTyg==}
- engines: {node: '>= 12.13.0'}
- hasBin: true
- peerDependencies:
- webpack: ^4.37.0 || ^5.0.0
- webpack-cli: '*'
- peerDependenciesMeta:
- webpack-cli:
- optional: true
- dependencies:
- '@types/bonjour': 3.5.10
- '@types/connect-history-api-fallback': 1.3.5
- '@types/express': 4.17.13
- '@types/serve-index': 1.9.1
- '@types/sockjs': 0.3.33
- '@types/ws': 8.5.3
- ansi-html-community: 0.0.8
- bonjour-service: 1.0.11
- chokidar: 3.5.3
- colorette: 2.0.16
- compression: 1.7.4
- connect-history-api-fallback: 1.6.0
- default-gateway: 6.0.3
- express: 4.17.3
- graceful-fs: 4.2.8
- html-entities: 2.3.3
- http-proxy-middleware: 2.0.4_@[email protected]
- ipaddr.js: 2.0.1
- open: 8.4.0
- p-retry: 4.6.1
- portfinder: 1.0.28
- rimraf: 3.0.2
- schema-utils: 4.0.0
- selfsigned: 2.0.1
- serve-index: 1.9.1
- sockjs: 0.3.21
- spdy: 4.0.2
- webpack-dev-middleware: [email protected]
- ws: 8.5.0
- transitivePeerDependencies:
- - bufferutil
- - debug
- - supports-color
- - utf-8-validate
- dev: false
-
/webpack-merge/5.8.0:
resolution: {integrity: sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==}
engines: {node: '>=10.0.0'}
@@ -22392,19 +22360,6 @@ packages:
utf-8-validate:
optional: true
- /ws/8.5.0:
- resolution: {integrity: sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==}
- engines: {node: '>=10.0.0'}
- peerDependencies:
- bufferutil: ^4.0.1
- utf-8-validate: ^5.0.2
- peerDependenciesMeta:
- bufferutil:
- optional: true
- utf-8-validate:
- optional: true
- dev: false
-
/ws/8.7.0:
resolution: {integrity: sha512-c2gsP0PRwcLFzUiA8Mkr37/MI7ilIlHQxaEAtd0uNMbVMoy8puJyafRlm0bV9MbGSabUPeLrRRaqIBcFcA2Pqg==}
engines: {node: '>=10.0.0'}