Merge remote-tracking branch 'template/main'
This commit is contained in:
commit
992290aa53
9 changed files with 39 additions and 13 deletions
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
|
@ -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 🛎️
|
||||
|
|
13
.replit
13
.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" ]
|
||||
|
|
|
@ -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/).
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
7
replit.nix
Normal file
7
replit.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs }: {
|
||||
deps = [
|
||||
pkgs.nodejs-16_x
|
||||
pkgs.nodePackages.typescript-language-server
|
||||
pkgs.nodePackages.npm
|
||||
];
|
||||
}
|
|
@ -23,8 +23,9 @@
|
|||
<script lang="ts">
|
||||
import Links from "@/components/links/Links.vue";
|
||||
import modInfo from "@/data/modInfo.json";
|
||||
import { CoercableComponent, PersistentRef, StyleValue } from "@/features/feature";
|
||||
import { CoercableComponent, StyleValue } from "@/features/feature";
|
||||
import { Link } from "@/features/links";
|
||||
import { PersistentRef } from "@/game/persistence";
|
||||
import player from "@/game/player";
|
||||
import { computeComponent, processedPropType, wrapRef } from "@/util/vue";
|
||||
import { computed, defineComponent, nextTick, PropType, toRefs, unref, watch } from "vue";
|
||||
|
|
|
@ -117,7 +117,6 @@ function ignore() {
|
|||
}
|
||||
|
||||
.nan-modal-discord {
|
||||
height: 2em;
|
||||
margin: 0;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
|
|
@ -52,7 +52,8 @@
|
|||
|
||||
<script setup lang="ts">
|
||||
import { BoardNode, GenericBoard, getNodeProperty } from "@/features/boards/board";
|
||||
import { FeatureComponent, PersistentState, Visibility } from "@/features/feature";
|
||||
import { FeatureComponent, Visibility } from "@/features/feature";
|
||||
import { PersistentState } from "@/game/persistence";
|
||||
import { computed, ref, toRefs } from "vue";
|
||||
import panZoom from "vue-panzoom";
|
||||
import BoardLinkVue from "./BoardLink.vue";
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
import { getUniqueID, Replace } from "@/features/feature";
|
||||
import { globalBus } from "@/game/events";
|
||||
import { GenericLayer } from "@/game/layers";
|
||||
import {
|
||||
DefaultValue,
|
||||
getUniqueID,
|
||||
Persistent,
|
||||
persistent,
|
||||
PersistentRef,
|
||||
PersistentState,
|
||||
Replace
|
||||
} from "@/features/feature";
|
||||
import { globalBus } from "@/game/events";
|
||||
import { GenericLayer } from "@/game/layers";
|
||||
PersistentState
|
||||
} from "@/game/persistence";
|
||||
import Decimal from "@/lib/break_eternity";
|
||||
import { Computable, GetComputableType, processComputable } from "@/util/computed";
|
||||
import { createLazyProxy } from "@/util/proxies";
|
||||
|
|
Loading…
Reference in a new issue