RumbleWikis / BGTDWiki

Repository for Lua Modules, Templates, and MediaWiki JS/CSS on the Bubble Gum Tower Defense Fandom Wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


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.

Reason of Existence

This repository exists solely to allow contributors to pull request, or occasionally create issues to contribute to protected pages on the Wiki.

Dependencies

Deployment

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).

File Types

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

Path Resolving

Please see here for more information.

Compilation

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.

Contributing

All contributions are welcome, as long as they follow Fandom's Terms of Use, and Bubble Gum Tower Defense Wiki's policies.

Prerequisites for the WikiPages CLI

  1. Install NodeJs (https://nodejs.org/en/)
  2. Install @rumblewikis/wikipages-deno-bundler-middleware (npm i @rumblewikis/wikipages-deno-bundler-middleware)
  3. Install @rumblewikis/wikipages-sass-compiler-middleware (npm i @rumblewikis/wikipages-sass-compiler-middleware)
  4. Install dotenv (npm i dotenv)
  5. Install the WikiPages CLI (npm i -g @rumblewikis/wikipages)
  6. Try out the CLI wikipages check

Recommended Visual Studio Code Extensions

  • 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

JetBrains Editors

The project contains an .idea folder for JetBrains IDEs. At the moment experimental.

JetBrains Plugins

  • Deno by JetBrains s.r.c.
    • Deno support and lint
  • EmmyLua by tangzx
    • For everything cool in Lua

About

Repository for Lua Modules, Templates, and MediaWiki JS/CSS on the Bubble Gum Tower Defense Fandom Wiki

License:GNU General Public License v3.0


Languages

Language:Lua 94.3%Language:SCSS 2.9%Language:TypeScript 1.7%Language:JavaScript 1.0%