Skip to content

Commit

Permalink
update and add website docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie committed Jan 8, 2025
1 parent 77fc7a1 commit 4fb3f54
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Currently supported template presets include:
- `bundler-esbuild`
- `bundler-import-map`
- `creation-web`
- `creation-extension`
- `extension-default`

You can use `.` for the project name to scaffold in the current directory.

Expand Down
8 changes: 8 additions & 0 deletions docs/docs/guide/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ Currently supported creation templates include:
- **[Facebook Template](https://www.facebook.com/fbgaminghome/developers)**: Create apps for Facebook Instant Games.
- **[YouTube Template](https://developers.google.com/youtube/gaming/playables/reference/sdk)**: Develop YouTube Playables.

## Extension Templates

Extension templates are designed for creating libraries and plugins that enhance PixiJS functionality, such as custom filters or plugins that introduce new features.

These templates leverage [PixiJS ExtensionScript](https://github.com/pixijs/extension-scripts), a CLI tool that simplifies the development process for building PixiJS-compatible extensions. To get the most out of this tool, we recommend reviewing the ExtensionScript documentation.

These templates are best suited for experienced developers familiar with PixiJS and common development toolchains.

## Advanced Usage

Expand Down Expand Up @@ -91,6 +98,7 @@ You can use `.` for the project name to scaffold in the current directory.
- `bundler-esbuild`
- `bundler-import-map`
- `creation-web`
- `extension-default`

## License

Expand Down
19 changes: 13 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ${blueBright('Webpack: bundler-webpack' )}
${yellow ('esbuild: bundler-esbuild' )}
${green ('Import Map: bundler-import-map' )}
${cyan ('Web Creation App: creation-web' )}
${blueBright('Extension: creaction-extension' )}
${blueBright('Extension: extension-default' )}
Coming soon:
${blue ('Discord Creation App: creation-discord' )}
Expand Down Expand Up @@ -96,11 +96,6 @@ const FRAMEWORKS: Framework[] = [
display: "Web",
color: yellow,
},
{
name: "creation-extension",
display: "Extension",
color: blueBright,
},
// {
// name: "creation-discord",
// display: "Discord",
Expand All @@ -118,6 +113,18 @@ const FRAMEWORKS: Framework[] = [
// },
],
},
{
name: "extension",
display: "Extension",
color: blueBright,
variants: [
{
name: "extension-default",
display: "Default",
color: blue,
},
],
},
];

const TEMPLATES = FRAMEWORKS.map(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "template-creation-extension",
"name": "template-extension",
"version": "1.0.0",
"description": "[Description of extension]",
"author": "[Author's name]",
Expand All @@ -14,11 +14,11 @@
}
},
"homepage": "https://pixijs.com/",
"bugs": "https://github.com/pixijs-userland/template-creation-extension/issues",
"bugs": "https://github.com/pixijs-userland/template-extension/issues",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pixijs-userland/template-creation-extension.git"
"url": "https://github.com/pixijs-userland/template-extension.git"
},
"scripts": {
"dev": "xs serve",
Expand Down

0 comments on commit 4fb3f54

Please sign in to comment.