add: adding project structure

This commit is contained in:
Patrick Stewart 2024-06-14 14:30:04 -07:00
parent 23e4579bfb
commit 0a0eb33388
19 changed files with 140 additions and 1 deletions

0
.editorconfig Normal file
View file

0
.env.example.yaml Normal file
View file

0
.gitattributes vendored Normal file
View file

3
CHANGELOG.md Normal file
View file

@ -0,0 +1,3 @@
## 1.0.0
- Initial version.

View file

@ -1 +1,24 @@
# fabric
A bare-bones Dart web app.
Uses [`package:web`](https://pub.dev/packages/web)
to interop with JS and the DOM.
## Running and building
To run the app,
activate and use [`package:webdev`](https://dart.dev/tools/webdev):
```
dart pub global activate webdev
webdev serve
```
To build a production version ready for deployment,
use the `webdev build` command:
```
webdev build
```
To learn how to interop with web APIs and other JS libraries,
check out https://dart.dev/interop/js-interop.

30
analysis_options.yaml Normal file
View file

@ -0,0 +1,30 @@
# This file configures the static analysis results for your project (errors,
# warnings, and lints).
#
# This enables the 'recommended' set of lints from `package:lints`.
# This set helps identify many issues that may lead to problems when running
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
# style and format.
#
# If you want a smaller set of lints you can change this to specify
# 'package:lints/core.yaml'. These are just the most critical lints
# (the recommended set includes the core lints).
# The core lints are also what is used by pub.dev for scoring packages.
include: package:lints/recommended.yaml
# Uncomment the following section to specify additional rules.
# linter:
# rules:
# - camel_case_types
# analyzer:
# exclude:
# - path/to/excluded/files/**
# For more information about the core and recommended set of lints, see
# https://dart.dev/go/core-lints
# For additional information about configuring this file, see
# https://dart.dev/guides/language/analysis-options

0
app/.gitkeep Normal file
View file

0
bootstrap/.gitkeep Normal file
View file

0
config/.gitkeep Normal file
View file

0
database/.gitkeep Normal file
View file

14
devbox.json Normal file
View file

@ -0,0 +1,14 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.11.0/.schema/devbox.schema.json",
"packages": ["dart@latest"],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
]
}
}
}

53
devbox.lock Normal file
View file

@ -0,0 +1,53 @@
{
"lockfile_version": "1",
"packages": {
"dart@latest": {
"last_modified": "2024-06-03T07:19:07Z",
"resolved": "github:NixOS/nixpkgs/4a4ecb0ab415c9fccfb005567a215e6a9564cdf5#dart",
"source": "devbox-search",
"version": "3.4.2",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/9piqr817cdsgmz31m8q723lxhcpgqsa4-dart-3.4.2",
"default": true
}
],
"store_path": "/nix/store/9piqr817cdsgmz31m8q723lxhcpgqsa4-dart-3.4.2"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/1j3h5yqxvgzakv5gir1ssg7wggwxhmsd-dart-3.4.2",
"default": true
}
],
"store_path": "/nix/store/1j3h5yqxvgzakv5gir1ssg7wggwxhmsd-dart-3.4.2"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/k8a6gkss3s19p5dhbzgbdqqk5b8qzd7d-dart-3.4.2",
"default": true
}
],
"store_path": "/nix/store/k8a6gkss3s19p5dhbzgbdqqk5b8qzd7d-dart-3.4.2"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/wbj1csi5fk2w99aiglwgg1mv406pw4pn-dart-3.4.2",
"default": true
}
],
"store_path": "/nix/store/wbj1csi5fk2w99aiglwgg1mv406pw4pn-dart-3.4.2"
}
}
}
}
}

0
fabric.dart Normal file
View file

0
public/index.dart Normal file
View file

16
pubspec.yaml Normal file
View file

@ -0,0 +1,16 @@
name: web_temp
description: An absolute bare-bones web app.
version: 1.0.0
# repository: https://github.com/my_org/my_repo
environment:
sdk: ^3.4.0
# Add regular dependencies here.
dependencies:
web: ^0.5.1
dev_dependencies:
build_runner: ^2.4.8
build_web_compilers: ^4.0.9
lints: ^3.0.0

0
resource/.gitkeep Normal file
View file

0
routes/.gitkeep Normal file
View file

0
storage/.gitkeep Normal file
View file

0
test/.gitkeep Normal file
View file