Browse Source

Organize files

Put source files in src/
feature/transactions
TheoryOfNekomata 4 years ago
parent
commit
499a3d4cdd
12 changed files with 7 additions and 12 deletions
  1. +2
    -2
      packages/app/zeichen.config.ts
  2. +0
    -0
      packages/core/src/plugin.ts
  3. +0
    -0
      packages/core/src/storage.ts
  4. +0
    -1
      packages/core/tsconfig.json
  5. +0
    -0
      packages/plugin-local-storage/src/Engine.ts
  6. +1
    -1
      packages/plugin-local-storage/src/Storage.ts
  7. +1
    -1
      packages/plugin-local-storage/src/index.ts
  8. +0
    -2
      packages/plugin-local-storage/tsconfig.json
  9. +1
    -1
      packages/plugin-remote-storage/src/Engine.ts
  10. +1
    -1
      packages/plugin-remote-storage/src/Storage.ts
  11. +1
    -1
      packages/plugin-remote-storage/src/index.ts
  12. +0
    -2
      packages/plugin-remote-storage/tsconfig.json

+ 2
- 2
packages/app/zeichen.config.ts View File

@@ -1,5 +1,5 @@
import LocalStorage from '../plugin-local-storage'
import RemoteStorage from '../plugin-remote-storage'
import LocalStorage from '../plugin-local-storage/src'
import RemoteStorage from '../plugin-remote-storage/src'


export default { export default {
plugins: [ plugins: [


packages/core/plugin.ts → packages/core/src/plugin.ts View File


packages/core/storage.ts → packages/core/src/storage.ts View File


+ 0
- 1
packages/core/tsconfig.json View File

@@ -12,7 +12,6 @@
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"module": "esnext", "module": "esnext",
"moduleResolution": "node", "moduleResolution": "node",
"isolatedModules": true,
"declaration": true, "declaration": true,
"declarationDir": "./dist", "declarationDir": "./dist",
"emitDeclarationOnly": true, "emitDeclarationOnly": true,


packages/plugin-local-storage/Engine.ts → packages/plugin-local-storage/src/Engine.ts View File


packages/plugin-local-storage/Storage.ts → packages/plugin-local-storage/src/Storage.ts View File

@@ -1,4 +1,4 @@
import Storage, { Collection, OutOfSyncError } from '../core/storage'
import Storage, { Collection, OutOfSyncError } from '../../core/src/storage'
import Engine from './Engine' import Engine from './Engine'


export default class LocalStorage<T> implements Storage<T> { export default class LocalStorage<T> implements Storage<T> {

packages/plugin-local-storage/index.ts → packages/plugin-local-storage/src/index.ts View File

@@ -1,4 +1,4 @@
import { Plugin } from '../core/plugin'
import { Plugin } from '../../core/src/plugin'
import Storage from './Storage' import Storage from './Storage'


type PluginConfig = {} type PluginConfig = {}

+ 0
- 2
packages/plugin-local-storage/tsconfig.json View File

@@ -12,10 +12,8 @@
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"module": "esnext", "module": "esnext",
"moduleResolution": "node", "moduleResolution": "node",
"isolatedModules": true,
"declaration": true, "declaration": true,
"declarationDir": "./dist", "declarationDir": "./dist",
"emitDeclarationOnly": true,
"sourceMap": true, "sourceMap": true,
"strict": false "strict": false
}, },


packages/plugin-remote-storage/Engine.ts → packages/plugin-remote-storage/src/Engine.ts View File

@@ -1,4 +1,4 @@
import { Deserializer, Serializer } from '../core/storage'
import { Deserializer, Serializer } from '../../core/src/storage'


const CREATED = 201 const CREATED = 201
const NO_CONTENT = 204 const NO_CONTENT = 204

packages/plugin-remote-storage/Storage.ts → packages/plugin-remote-storage/src/Storage.ts View File

@@ -1,4 +1,4 @@
import Storage, { Collection } from '../core/storage'
import Storage, { Collection } from '../../core/src/storage'
import Engine from './Engine' import Engine from './Engine'


export default class RemoteStorage<T> implements Storage<T> { export default class RemoteStorage<T> implements Storage<T> {

packages/plugin-remote-storage/index.ts → packages/plugin-remote-storage/src/index.ts View File

@@ -1,4 +1,4 @@
import { Plugin } from '../core/plugin'
import { Plugin } from '../../core/src/plugin'
import Storage from './Storage' import Storage from './Storage'


type PluginConfig = { type PluginConfig = {

+ 0
- 2
packages/plugin-remote-storage/tsconfig.json View File

@@ -12,10 +12,8 @@
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"module": "esnext", "module": "esnext",
"moduleResolution": "node", "moduleResolution": "node",
"isolatedModules": true,
"declaration": true, "declaration": true,
"declarationDir": "./dist", "declarationDir": "./dist",
"emitDeclarationOnly": true,
"sourceMap": true, "sourceMap": true,
"strict": false "strict": false
}, },


Loading…
Cancel
Save