├── .gitattributes ├── .github ├── COMMIT_CONVENTION.md └── workflows │ ├── deploy.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── __tests__ ├── index.html ├── main.ts └── tts.ts ├── docs ├── .DS_Store ├── .vitepress │ ├── config.ts │ └── theme │ │ ├── components │ │ ├── Demo.vue │ │ ├── Layout.vue │ │ └── Live2D.vue │ │ ├── index.ts │ │ └── typedoc-theme.mjs ├── demos │ └── index.ts ├── guide │ ├── case │ │ ├── index.md │ │ ├── react.md │ │ └── vue.md │ ├── intro │ │ ├── index.md │ │ └── quick-start.md │ ├── model │ │ ├── area.md │ │ ├── change.md │ │ ├── event.md │ │ └── index.md │ └── motion │ │ ├── index.md │ │ ├── list.md │ │ ├── motion-sync.md │ │ └── play.md ├── index.md └── public │ ├── favicon.ico │ └── logo.svg ├── eslint.config.mjs ├── lib ├── cubism2.js └── cubism5.js ├── package.json ├── pnpm-lock.yaml ├── scripts ├── git-hooks │ └── commit-msg.mjs └── release.js ├── src ├── index.ts ├── l2d.ts ├── model.ts ├── types.ts └── vite-env.d.ts ├── tsconfig.json ├── typedoc.config.cjs └── vite.config.ts /.gitattributes: -------------------------------------------------------------------------------- 1 | lib/** linguist-vendored -------------------------------------------------------------------------------- /.github/COMMIT_CONVENTION.md: -------------------------------------------------------------------------------- 1 | ## Git Commit Message Convention 2 | 3 | > This is adapted from [Angular's commit convention](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular). 4 | 5 | #### TL;DR: 6 | 7 | Messages must be matched by the following regex: 8 | 9 | ```js 10 | /^(revert: )?(feat|fix|polish|docs|style|refactor|perf|test|workflow|ci|chore|types)(\(.+\))?: .{1,50}/; 11 | ``` 12 | 13 | #### Examples 14 | 15 | Appears under "Features" header, `compiler` subheader: 16 | 17 | ``` 18 | feat(compiler): add 'comments' option 19 | ``` 20 | 21 | Appears under "Bug Fixes" header, `v-model` subheader, with a link to issue #28: 22 | 23 | ``` 24 | fix(v-model): handle events on blur 25 | 26 | close #28 27 | ``` 28 | 29 | Appears under "Performance Improvements" header, and under "Breaking Changes" with the breaking change explanation: 30 | 31 | ``` 32 | perf(core): improve vdom diffing by removing 'foo' option 33 | 34 | BREAKING CHANGE: The 'foo' option has been removed. 35 | ``` 36 | 37 | The following commit and commit `667ecc1` do not appear in the changelog if they are under the same release. If not, the revert commit appears under the "Reverts" header. 38 | 39 | ``` 40 | revert: feat(compiler): add 'comments' option 41 | 42 | This reverts commit 667ecc1654a317a13331b17617d973392f415f02. 43 | ``` 44 | 45 | ### Full Message Format 46 | 47 | A commit message consists of a **header**, **body** and **footer**. The header has a **type**, **scope** and **subject**: 48 | 49 | ``` 50 | (): 51 | 52 | 53 | 54 |