diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c5ae6cd..d6cb68c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,6 +5,7 @@ on: - 'main' jobs: build-and-deploy: + if: github.repository != 'profectus-engine/Profectus' # Don't build placeholder mod on main repo runs-on: ubuntu-latest steps: - name: Checkout 🛎️ diff --git a/.replit b/.replit index 9978ad8..0319a6b 100644 --- a/.replit +++ b/.replit @@ -1,2 +1,13 @@ +run = "npm install; npm run serve" + +[packager] language = "nodejs" -run = "npm run serve" + [packager.features] + packageSearch = true + guessImports = false + +[languages.javascript] +pattern = "**/{*.js,*.jsx,*.ts,*.tsx}" + + [languages.javascript.languageServer] + start = [ "typescript-language-server", "--stdio" ] diff --git a/README.md b/README.md index 81fbe90..738d83d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # Profectus +A game engine that grows with you + +[![Run on Repl.it](https://repl.it/badge/github/profectus-engine/Profectus)](https://repl.it/github/profectus-engine/Profectus) + +[Read the docs](https://moddingtree.com) + ## Project setup ``` npm install @@ -19,6 +25,3 @@ npm run build ``` npm run lint ``` - -### Customize configuration -See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/package.json b/package.json index e3aacfb..be517dc 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { + "start": "vue-cli-service serve", "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint" @@ -54,5 +55,8 @@ "vue-cli-service lint", "git add" ] + }, + "engines": { + "node": "16.x" } } diff --git a/replit.nix b/replit.nix new file mode 100644 index 0000000..1b59d2e --- /dev/null +++ b/replit.nix @@ -0,0 +1,7 @@ +{ pkgs }: { + deps = [ + pkgs.nodejs-16_x + pkgs.nodePackages.typescript-language-server + pkgs.nodePackages.npm + ]; +} diff --git a/src/components/Layer.vue b/src/components/Layer.vue index 8fd0838..f25d912 100644 --- a/src/components/Layer.vue +++ b/src/components/Layer.vue @@ -23,8 +23,9 @@