🎥 Make videos programmatically with React
kick off paths package
Jonny Burgerb41a4a7a82b3
diff --git a/packages/cli/src/upgrade.ts b/packages/cli/src/upgrade.tsindex bd2210df07..cffdcb5556 100644--- a/packages/cli/src/upgrade.ts+++ b/packages/cli/src/upgrade.ts@@ -54,6 +54,7 @@ export const upgrade = async (remotionRoot: string) => {'@remotion/skia','@remotion/lottie','@remotion/media-utils',+ '@remotion/paths','@remotion/babel-loader','@remotion/lambda','@remotion/player',diff --git a/packages/cli/src/versions.ts b/packages/cli/src/versions.tsindex e49e384087..305c4065e8 100644--- a/packages/cli/src/versions.ts+++ b/packages/cli/src/versions.ts@@ -13,6 +13,7 @@ const packages = ['@remotion/skia','@remotion/lottie','@remotion/media-utils',+ '@remotion/paths','@remotion/babel-loader','@remotion/lambda','@remotion/preload',diff --git a/packages/paths/.eslintrc b/packages/paths/.eslintrcnew file mode 100644index 0000000000..d1d3a75fcd--- /dev/null+++ b/packages/paths/.eslintrc@@ -0,0 +1,6 @@+{+ "extends": "@jonny",+ "rules": {+ "no-bitwise": "off"+ }+}diff --git a/packages/paths/.npmignore b/packages/paths/.npmignorenew file mode 100644index 0000000000..6fdeec6a7f--- /dev/null+++ b/packages/paths/.npmignore@@ -0,0 +1,8 @@+dist/test/**+src+.eslintrc+tsconfig.tsbuildinfo+.prettierrc+jest.config.js+*.tgz+.turbodiff --git a/packages/paths/.prettierrc.js b/packages/paths/.prettierrc.jsnew file mode 100644index 0000000000..32eb24f3bf--- /dev/null+++ b/packages/paths/.prettierrc.js@@ -0,0 +1,14 @@+module.exports = {+ singleQuote: true,+ bracketSpacing: false,+ useTabs: true,+ overrides: [+ {+ files: ['*.yml'],+ options: {+ singleQuote: false,+ },+ },+ ],+ plugins: [require.resolve('prettier-plugin-organize-imports')],+};diff --git a/packages/paths/LICENSE.md b/packages/paths/LICENSE.mdnew file mode 100644index 0000000000..e368b7a6b9--- /dev/null+++ b/packages/paths/LICENSE.md@@ -0,0 +1,7 @@+Copyright (c) 2022 JonnyBurger++Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.diff --git a/packages/paths/package.json b/packages/paths/package.jsonnew file mode 100644index 0000000000..7d3ec8c9ed--- /dev/null+++ b/packages/paths/package.json@@ -0,0 +1,36 @@+{+ "name": "@remotion/paths",+ "version": "3.2.9",+ "description": "Utility functions for SVg paths",+ "main": "dist/index.js",+ "sideEffects": false,+ "scripts": {+ "lint": "eslint src --ext ts,tsx",+ "watch": "tsc -w",+ "build": "tsc -d"+ },+ "author": "",+ "license": "MIT",+ "repository": {+ "url": "https://github.com/remotion-dev/remotion"+ },+ "bugs": {+ "url": "https://github.com/remotion-dev/remotion/issues"+ },+ "devDependencies": {+ "@jonny/eslint-config": "3.0.266",+ "@types/node": "^16.7.5",+ "eslint": "8.13.0",+ "prettier": "^2.0.5",+ "prettier-plugin-organize-imports": "^2.3.4",+ "typescript": "^4.7.0"+ },+ "keywords": [+ "svg",+ "paths",+ "utilities"+ ],+ "publishConfig": {+ "access": "public"+ }+}diff --git a/packages/paths/tsconfig.json b/packages/paths/tsconfig.jsonnew file mode 100644index 0000000000..f314771498--- /dev/null+++ b/packages/paths/tsconfig.json@@ -0,0 +1,10 @@+{+ "extends": "../tsconfig.settings.json",+ "compilerOptions": {+ "composite": true,+ "rootDir": "src",+ "outDir": "dist"+ },+ "include": ["src"],+ "references": [{"path": "../core"}]+}