Skip to content
This repository was archived by the owner on Dec 3, 2021. It is now read-only.

Commit 7ac84c3

Browse files
author
Christopher Mühl
committed
Move type declarations
1 parent 59cddcc commit 7ac84c3

29 files changed

+50
-113
lines changed

packages/awtrix/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/awtrix/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
],
2424
"license": "CC-BY-4.0",
2525
"bugs": {
26-
"url": "https://github.com/awtrix/awtrix3-host/issues"
26+
"url": "https://github.com/awtrix/awtrix-hd/issues"
2727
},
2828
"homepage": "https://blueforcer.de/2019/01/04/awtrix-2-0/",
2929
"files": [
@@ -99,6 +99,6 @@
9999
"@typescript-eslint/parser": "^2.23.0",
100100
"ts-node": "^8.6.2",
101101
"tsconfig-paths": "^3.9.0",
102-
"typescript": "^4.0.5"
102+
"typescript": "^4.2.3"
103103
}
104104
}

packages/awtrix/src/app/ActiveApplication.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ApplicationConfig } from '../types/Application'
1+
import { ApplicationConfig } from '@awtrix/common/dist/types/app'
22
import { BackendApp } from '@awtrix/common'
33

44
export default class ActiveApplicationBackend {

packages/awtrix/src/app/ApplicationProcessor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Container from './Container'
22
import { BackendApp as ApplicationBackend } from '@awtrix/common'
3-
import { ApplicationIdentifier } from '../types/Application'
3+
import { ApplicationIdentifier } from '@awtrix/common/dist/types/app'
44
import { join, resolve } from 'path'
55
import { debounce } from 'lodash'
66
import chokidar from 'chokidar'

packages/awtrix/src/types/Application.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/awtrix/tsconfig.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,16 @@
11
{
2+
"extends": "../../tsconfig.json",
23
"compilerOptions": {
3-
"target": "es2015",
44
"moduleResolution": "node",
5-
"module": "CommonJS",
5+
"declaration": true,
6+
"importHelpers": true,
7+
"baseUrl": ".",
8+
"outDir": "./dist",
69
"lib": [
710
"esnext",
811
"esnext.asynciterable",
912
"dom"
1013
],
11-
"skipLibCheck": true,
12-
"declaration": true,
13-
"esModuleInterop": true,
14-
"importHelpers": true,
15-
"strict": true,
16-
"outDir": "./dist",
17-
"baseUrl": ".",
18-
"paths": {
19-
"~/*": ["./web/*"],
20-
"@/*": ["./src/*"],
21-
},
2214
"types": [
2315
"node",
2416
"@types/node",
@@ -28,8 +20,8 @@
2820
},
2921
"exclude": [
3022
"node_modules",
31-
"tests",
3223
"dist",
24+
"web",
3325
"src/app/template"
3426
]
3527
}

packages/awtrix/web/components/AppContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import CircularMenu from './Settings/CircularMenu.vue'
2626
import shortid from 'shortid'
2727
import Hammer from 'hammerjs'
2828
import { debounce } from 'lodash'
29-
import { LifecycleApplication } from '@/types/Application'
29+
import { LifecycleApplication } from '@awtrix/common/dist/types/app'
3030
import { Socket } from 'socket.io-client'
3131
3232
enum SwitchingReason {

packages/awtrix/web/components/Application.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<script lang="ts">
1010
import Vue, { PropType } from 'vue'
11-
import { LifecycleApplication } from '@/types/Application'
11+
import { LifecycleApplication } from '@awtrix/common/dist/types/app'
1212
import io, { Socket } from 'socket.io-client'
1313
import { GeneratorType, FrontendApp } from '@awtrix/common'
1414

packages/awtrix/web/components/ApplicationSettings/InputWrapper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<script lang="ts">
1010
import Vue, { PropType } from 'vue'
11-
import { LifecycleApplication } from '@/types/Application'
11+
import { LifecycleApplication } from '@awtrix/common/dist/types/app'
1212
import Dropdown from '../Inputs/Dropdown.vue'
1313
import TextInput from '../Inputs/TextInput.vue'
1414
import IntegerInput from '../Inputs/IntegerInput.vue'

packages/awtrix/web/components/ApplicationSettings/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<script lang="ts">
1818
import Vue, { PropType } from 'vue'
1919
import InputWrapper from './InputWrapper.vue'
20-
import { LifecycleApplication } from '@/types/Application'
20+
import { LifecycleApplication } from '@awtrix/common/dist/types/app'
2121
2222
export default Vue.extend({
2323
name: 'ApplicationSettings',

0 commit comments

Comments
 (0)