BGTDWiki
The repository that holds the open source files of the custom CSS (in SASS), JavaScript (in TS/JS), Lua Modules, and wikitext templates for the Bubble Gum Tower Defense Wiki on Fandom.
This repository exists solely to allow contributors to pull request, or occasionally create issues to contribute to protected pages on the Wiki.
- WikiPages
- Deployment to the wiki, and page resolution
- WikiPages-SASS-Compiler-Middleware
- Compiles SASS/SCSS for WikiPages
- WikiPages-Deno-Bundlerr-Middleware
- Bundles TS/TSX/JS/JSX for WikiPages
Upon the creation of a GitHub release, a private server will fetch the entire Git repository, and compile the files as needed, then saves the new content to the target pages with <Client>.run(comment)
.
Note that files such as ImportJS do not have their own extension.
- Scripts
.js
,.jsx
,.ts
,.tsx
- Stylesheets
.css
,.scss
,.sass
- Modules
.lua
- Wikitext
.wikitext
- Generally,
.wikitext
is not a valid extension and is only used for syntax highlighting for text editing
- Generally,
Please see here for more information.
Scripts and style sheets will be compiled and renamed to their .js
and .css
extensions respectively.
- Scripts will be put through
deno bundle --unstable --no-check {fileName}
, and the output will be put through the Babel transpiler for browser support. - Stylesheets will only be put through the SASS compiler to be rendered.
All contributions are welcome, as long as they follow Fandom's Terms of Use, and Bubble Gum Tower Defense Wiki's policies.
- Install NodeJs (https://nodejs.org/en/)
- Install @rumblewikis/wikipages-deno-bundler-middleware (
npm i @rumblewikis/wikipages-deno-bundler-middleware
) - Install @rumblewikis/wikipages-sass-compiler-middleware (
npm i @rumblewikis/wikipages-sass-compiler-middleware
) - Install dotenv (
npm i dotenv
) - Install the WikiPages CLI (
npm i -g @rumblewikis/wikipages
) - Try out the CLI
wikipages check
- Deno by denoland
- Deno support and lint
- Wikitext by Rowe Wilson Frederisk Holme
- Wikitext syntax highlighting
- SASS by Syler
- SASS syntax highlighting
- lua by sumneko
- For everything cool in Lua
The project contains an .idea
folder for JetBrains IDEs. At the moment experimental.