diff --git a/package.json b/package.json index eadf215..680e334 100644 --- a/package.json +++ b/package.json @@ -23,19 +23,20 @@ "bootstrap-icons": "^1.10.3", "mdb-vue-ui-kit": "^4.1.1", "pinia": "^2.0.28", + "smoothie": "^1.36.1", "unplugin-vue-macros": "^2.7.9", - "vue": "^3.4.15", - "smoothie": "^1.36.1" + "vue": "^3.4.15" }, "devDependencies": { "@types/jest": "^29.5.12", - "@types/node": "^18.11.12", + "@types/node": "^18.19.33", "@vitejs/plugin-vue": "^4.0.0", "@vue/tsconfig": "^0.1.3", "jest": "latest", "npm-run-all": "^4.1.5", "sass": "^1.57.1", "ts-jest": "^29.0.3", + "tsx": "^4.10.1", "typescript": "~4.9.5", "vite": "^4.0.0", "vue-tsc": "^1.0.12" diff --git a/src/components/config-editor/components/widgets/chart.vue b/src/components/config-editor/components/widgets/chart.vue index e9ed90e..949a90e 100644 --- a/src/components/config-editor/components/widgets/chart.vue +++ b/src/components/config-editor/components/widgets/chart.vue @@ -30,7 +30,7 @@ const chart = new SmoothieChart({ labels: {fillStyle: 'rgb(255, 255, 255)'} }); -const interval: Ref = ref(); +const interval: Ref | undefined> = ref(); const timeSeries: Ref = ref([]); const init = (): void => { diff --git a/src/scripts/genetic.ts b/src/scripts/genetic.ts index ca4999f..1f4c016 100644 --- a/src/scripts/genetic.ts +++ b/src/scripts/genetic.ts @@ -8,6 +8,8 @@ import { createBaseTypesConfig } from '@/lib/config/types'; import { createDummyDrawer } from '@/lib/drawer/dummy'; import { CompoundsAnalyzer } from '@/lib/analysis/compounds'; +console.log(process.argv.slice(2)); + const worldConfig = createBaseWorldConfig(); const typesConfig = createBaseTypesConfig(); const initialConfig = create2dBaseInitialConfig(); diff --git a/tsconfig.json b/tsconfig.json index 76c0d11..28bde8b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "@/*": ["./src/*"] }, "lib": ["es2017", "dom"], - "types": ["unplugin-vue-macros/macros-global"] + "types": ["unplugin-vue-macros/macros-global", "node"] }, "references": [