Skip to content

Visualize Your Ideas With Code

ci(release): 10.0.0 [skip ci]

github-actions[bot]43d697910dfa
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f2112ed6..5aae4e5f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,66 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [10.0.0](https://github.com/motion-canvas/motion-canvas/compare/v9.1.2...v10.0.0) (2022-08-14)
+
+
+### Bug Fixes
+
+* change executable file permissions ([#38](https://github.com/motion-canvas/motion-canvas/issues/38)) ([23025a2](https://github.com/motion-canvas/motion-canvas/commit/23025a2caefd993f7e4751b1efced3a25ed497a6))
+
+
+### Features
+
+* add scaffolding package ([#36](https://github.com/motion-canvas/motion-canvas/issues/36)) ([266a561](https://github.com/motion-canvas/motion-canvas/commit/266a561c619b57b403ec9c64185985b48bff29da)), closes [#30](https://github.com/motion-canvas/motion-canvas/issues/30)
+* **docs:** add migration guide for v10 ([#37](https://github.com/motion-canvas/motion-canvas/issues/37)) ([0905daa](https://github.com/motion-canvas/motion-canvas/commit/0905daa60f42943554555834339d3ab70fe9b9c3))
+* switch to Vite ([#28](https://github.com/motion-canvas/motion-canvas/issues/28)) ([65b9133](https://github.com/motion-canvas/motion-canvas/commit/65b91337dbc47fe51cecc83657f79fab15343a0d)), closes [#141414](https://github.com/motion-canvas/motion-canvas/issues/141414) [#13](https://github.com/motion-canvas/motion-canvas/issues/13)
+
+
+### Reverts
+
+* "ci(release): 9.1.3 [skip ci]" ([62953a6](https://github.com/motion-canvas/motion-canvas/commit/62953a6a8a1b1da3eb2e5f51c9fe60c716d6b94b))
+
+
+### BREAKING CHANGES
+
+* change the overall structure of a project
+
+`vite` and `@motion-canvas/vite-plugin` packages are now required to build a project:
+```
+npm i -D vite @motion-canvas/vite-plugin
+```
+The following `vite.config.ts` file needs to be created in the root of the project:
+```ts
+import {defineConfig} from 'vite';
+import motionCanvas from '@motion-canvas/vite-plugin';
+
+export default defineConfig({
+ plugins: [motionCanvas()],
+});
+```
+
+Types exposed by Motion Canvas are no longer global.
+An additional `motion-canvas.d.ts` file needs to be created in the `src` directory:
+```ts
+/// <reference types="@motion-canvas/core/project" />
+```
+
+ Finally, the `bootstrap` function no longer exists.
+ Project files should export an instance of the `Project` class instead:
+ ```ts
+ import {Project} from '@motion-canvas/core/lib';
+
+ import example from './scenes/example.scene';
+
+ export default new Project({
+ name: 'project',
+ scenes: [example],
+ // same options as in bootstrap() are available:
+
+
+
+
+
## 9.1.2 (2022-08-06)
diff --git a/lerna.json b/lerna.json
index 68a89709..7577ef51 100644
--- a/lerna.json
+++ b/lerna.json
@@ -3,7 +3,7 @@
"useNx": true,
"useWorkspaces": true,
"private": false,
- "version": "9.1.2",
+ "version": "10.0.0",
"ignoreChanges": [
"**/*.test.ts",
"**/*.md"
diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md
index 5d77c5be..2840bba3 100644
--- a/packages/core/CHANGELOG.md
+++ b/packages/core/CHANGELOG.md
@@ -3,6 +3,60 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [10.0.0](https://github.com/motion-canvas/motion-canvas/compare/v9.1.2...v10.0.0) (2022-08-14)
+
+
+### Features
+
+* add scaffolding package ([#36](https://github.com/motion-canvas/motion-canvas/issues/36)) ([266a561](https://github.com/motion-canvas/motion-canvas/commit/266a561c619b57b403ec9c64185985b48bff29da)), closes [#30](https://github.com/motion-canvas/motion-canvas/issues/30)
+* switch to Vite ([#28](https://github.com/motion-canvas/motion-canvas/issues/28)) ([65b9133](https://github.com/motion-canvas/motion-canvas/commit/65b91337dbc47fe51cecc83657f79fab15343a0d)), closes [#141414](https://github.com/motion-canvas/motion-canvas/issues/141414) [#13](https://github.com/motion-canvas/motion-canvas/issues/13)
+
+
+### Reverts
+
+* "ci(release): 9.1.3 [skip ci]" ([62953a6](https://github.com/motion-canvas/motion-canvas/commit/62953a6a8a1b1da3eb2e5f51c9fe60c716d6b94b))
+
+
+### BREAKING CHANGES
+
+* change the overall structure of a project
+
+`vite` and `@motion-canvas/vite-plugin` packages are now required to build a project:
+```
+npm i -D vite @motion-canvas/vite-plugin
+```
+The following `vite.config.ts` file needs to be created in the root of the project:
+```ts
+import {defineConfig} from 'vite';
+import motionCanvas from '@motion-canvas/vite-plugin';
+
+export default defineConfig({
+ plugins: [motionCanvas()],
+});
+```
+
+Types exposed by Motion Canvas are no longer global.
+An additional `motion-canvas.d.ts` file needs to be created in the `src` directory:
+```ts
+/// <reference types="@motion-canvas/core/project" />
+```
+
+ Finally, the `bootstrap` function no longer exists.
+ Project files should export an instance of the `Project` class instead:
+ ```ts
+ import {Project} from '@motion-canvas/core/lib';
+
+ import example from './scenes/example.scene';
+
+ export default new Project({
+ name: 'project',
+ scenes: [example],
+ // same options as in bootstrap() are available:
+
+
+
+
+
## 9.1.2 (2022-08-06)
diff --git a/packages/core/package.json b/packages/core/package.json
index 3f17414f..d6b39620 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@motion-canvas/core",
- "version": "9.1.2",
+ "version": "10.0.0",
"description": "Web-based tool for creating animations programmatically",
"main": "lib/index.js",
"author": "motion-canvas",
diff --git a/packages/create/CHANGELOG.md b/packages/create/CHANGELOG.md
new file mode 100644
index 00000000..ed4d3cbe
--- /dev/null
+++ b/packages/create/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change Log
+
+All notable changes to this project will be documented in this file.
+See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+
+# [10.0.0](https://github.com/motion-canvas/motion-canvas/compare/v9.1.2...v10.0.0) (2022-08-14)
+
+
+### Bug Fixes
+
+* change executable file permissions ([#38](https://github.com/motion-canvas/motion-canvas/issues/38)) ([23025a2](https://github.com/motion-canvas/motion-canvas/commit/23025a2caefd993f7e4751b1efced3a25ed497a6))
+
+
+### Features
+
+* add scaffolding package ([#36](https://github.com/motion-canvas/motion-canvas/issues/36)) ([266a561](https://github.com/motion-canvas/motion-canvas/commit/266a561c619b57b403ec9c64185985b48bff29da)), closes [#30](https://github.com/motion-canvas/motion-canvas/issues/30)
+
+
+### Reverts
+
+* "ci(release): 9.1.3 [skip ci]" ([62953a6](https://github.com/motion-canvas/motion-canvas/commit/62953a6a8a1b1da3eb2e5f51c9fe60c716d6b94b))
diff --git a/packages/create/package.json b/packages/create/package.json
index 32f40a87..989b713c 100644
--- a/packages/create/package.json
+++ b/packages/create/package.json
@@ -1,6 +1,6 @@
{
"name": "@motion-canvas/create",
- "version": "9.1.2",
+ "version": "10.0.0",
"description": "Quickly scaffold Motion Canvas projects",
"main": "index.js",
"author": "motion-canvas",
@@ -21,9 +21,9 @@
"url": "https://github.com/motion-canvas/motion-canvas.git"
},
"devDependencies": {
- "@motion-canvas/core": "^9.1.2",
- "@motion-canvas/ui": "^9.1.2",
- "@motion-canvas/vite-plugin": "*"
+ "@motion-canvas/core": "^10.0.0",
+ "@motion-canvas/ui": "^10.0.0",
+ "@motion-canvas/vite-plugin": "^10.0.0"
},
"dependencies": {
"prompts": "^2.4.2"
diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md
index 5d77c5be..c8668fd8 100644
--- a/packages/ui/CHANGELOG.md
+++ b/packages/ui/CHANGELOG.md
@@ -3,6 +3,59 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [10.0.0](https://github.com/motion-canvas/motion-canvas/compare/v9.1.2...v10.0.0) (2022-08-14)
+
+
+### Features
+
+* switch to Vite ([#28](https://github.com/motion-canvas/motion-canvas/issues/28)) ([65b9133](https://github.com/motion-canvas/motion-canvas/commit/65b91337dbc47fe51cecc83657f79fab15343a0d)), closes [#141414](https://github.com/motion-canvas/motion-canvas/issues/141414) [#13](https://github.com/motion-canvas/motion-canvas/issues/13)
+
+
+### Reverts
+
+* "ci(release): 9.1.3 [skip ci]" ([62953a6](https://github.com/motion-canvas/motion-canvas/commit/62953a6a8a1b1da3eb2e5f51c9fe60c716d6b94b))
+
+
+### BREAKING CHANGES
+
+* change the overall structure of a project
+
+`vite` and `@motion-canvas/vite-plugin` packages are now required to build a project:
+```
+npm i -D vite @motion-canvas/vite-plugin
+```
+The following `vite.config.ts` file needs to be created in the root of the project:
+```ts
+import {defineConfig} from 'vite';
+import motionCanvas from '@motion-canvas/vite-plugin';
+
+export default defineConfig({
+ plugins: [motionCanvas()],
+});
+```
+
+Types exposed by Motion Canvas are no longer global.
+An additional `motion-canvas.d.ts` file needs to be created in the `src` directory:
+```ts
+/// <reference types="@motion-canvas/core/project" />
+```
+
+ Finally, the `bootstrap` function no longer exists.
+ Project files should export an instance of the `Project` class instead:
+ ```ts
+ import {Project} from '@motion-canvas/core/lib';
+
+ import example from './scenes/example.scene';
+
+ export default new Project({
+ name: 'project',
+ scenes: [example],
+ // same options as in bootstrap() are available:
+
+
+
+
+
## 9.1.2 (2022-08-06)
diff --git a/packages/ui/package.json b/packages/ui/package.json
index ef126a07..a0c330ab 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -1,6 +1,6 @@
{
"name": "@motion-canvas/ui",
- "version": "9.1.2",
+ "version": "10.0.0",
"description": "A visual editor for Motion Canvas",
"main": "dist/main.js",
"types": "types/main.d.ts",
@@ -28,7 +28,7 @@
"@motion-canvas/core": "*"
},
"devDependencies": {
- "@motion-canvas/core": "^9.1.2",
+ "@motion-canvas/core": "^10.0.0",
"@preact/preset-vite": "^2.3.0",
"preact": "10.7.3",
"typescript": "^4.6.4",
diff --git a/packages/vite-plugin/CHANGELOG.md b/packages/vite-plugin/CHANGELOG.md
new file mode 100644
index 00000000..812ded5b
--- /dev/null
+++ b/packages/vite-plugin/CHANGELOG.md
@@ -0,0 +1,54 @@
+# Change Log
+
+All notable changes to this project will be documented in this file.
+See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+
+# [10.0.0](https://github.com/motion-canvas/motion-canvas/compare/v9.1.2...v10.0.0) (2022-08-14)
+
+
+### Features
+
+* add scaffolding package ([#36](https://github.com/motion-canvas/motion-canvas/issues/36)) ([266a561](https://github.com/motion-canvas/motion-canvas/commit/266a561c619b57b403ec9c64185985b48bff29da)), closes [#30](https://github.com/motion-canvas/motion-canvas/issues/30)
+* switch to Vite ([#28](https://github.com/motion-canvas/motion-canvas/issues/28)) ([65b9133](https://github.com/motion-canvas/motion-canvas/commit/65b91337dbc47fe51cecc83657f79fab15343a0d)), closes [#141414](https://github.com/motion-canvas/motion-canvas/issues/141414) [#13](https://github.com/motion-canvas/motion-canvas/issues/13)
+
+
+### Reverts
+
+* "ci(release): 9.1.3 [skip ci]" ([62953a6](https://github.com/motion-canvas/motion-canvas/commit/62953a6a8a1b1da3eb2e5f51c9fe60c716d6b94b))
+
+
+### BREAKING CHANGES
+
+* change the overall structure of a project
+
+`vite` and `@motion-canvas/vite-plugin` packages are now required to build a project:
+```
+npm i -D vite @motion-canvas/vite-plugin
+```
+The following `vite.config.ts` file needs to be created in the root of the project:
+```ts
+import {defineConfig} from 'vite';
+import motionCanvas from '@motion-canvas/vite-plugin';
+
+export default defineConfig({
+ plugins: [motionCanvas()],
+});
+```
+
+Types exposed by Motion Canvas are no longer global.
+An additional `motion-canvas.d.ts` file needs to be created in the `src` directory:
+```ts
+/// <reference types="@motion-canvas/core/project" />
+```
+
+ Finally, the `bootstrap` function no longer exists.
+ Project files should export an instance of the `Project` class instead:
+ ```ts
+ import {Project} from '@motion-canvas/core/lib';
+
+ import example from './scenes/example.scene';
+
+ export default new Project({
+ name: 'project',
+ scenes: [example],
+ // same options as in bootstrap() are available:
diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json
index d92854ac..4e3c7a7e 100644
--- a/packages/vite-plugin/package.json
+++ b/packages/vite-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@motion-canvas/vite-plugin",
- "version": "9.1.1",
+ "version": "10.0.0",
"description": "A Vite plugin for Motion Canvas projects",
"main": "lib/main.js",
"author": "motion-canvas",