Git Product home page Git Product logo

albion-square's People

albion-square's Issues

Create README

Description

Create README file

  • Project description
  • System dependencies
  • Build steps

Core package

Description

Bundle all core functionality under one "core package".

Adopt TSyringe

Description

Core logic operates in a singleton pattern. However, no logic should be running at the root of the module and should be contained in a function or class. Since core modules depend on others, they should be contained in class. To manage instances, TSyringe must be used for IoC.

Convert core internal imports to use module files instead of index files

Description

Following up on issue #23.

// item-data.ts
import { localizationSchema } from "#data";

const itemSchema = new Schema<ItemDocument>({
	// ...
	localizationDocument: {
		type: localizationSchema,
		required: true,
	},
});
// data/index.ts
export * from "#internal/data/game-version-data";
export * from "#internal/data/item-data";
export * from "#internal/data/localization-data";

The flow is:

  • index.ts imports item-data.ts
  • item-data.ts then import { localizationSchema } from "#data", where #data resolves back to index.ts
  • However, index.ts is "currently executing" item-data.ts and has not reached localization-data.ts

Solution

Within @as/core, imports should resolve directly to the business logic files and not index files.

Refactor dependency management

  • Set dependency range to minor updates
  • Regenerate pnpm-lock.yaml
  • Update docs
  • For simplicity during building, move out all dependencies from devDependencies

Adopt VSCode Dev Containers

Overview

As different projects use different Node versions, it would be beneficial to adopt VSCode Dev Containers, so that Node version is fixed to project.

Re-create Next app

Description

Next app was created a long time ago. Create a new Next app so that dependencies are up to date.

Generalize ADP functions

Description

Functions related to Albion Data Project should be generalized to metadata and version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.