Skip to content

Commit

Permalink
Merge branch 'dev' into dependabot/docker/denoland/deno-distroless-1.…
Browse files Browse the repository at this point in the history
…44.4
  • Loading branch information
eser authored Jul 14, 2024
2 parents 9685afc + a7a8f95 commit 3591101
Show file tree
Hide file tree
Showing 308 changed files with 4,649 additions and 4,309 deletions.
5 changes: 0 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ _etc/
.gitignore
.pre-commit-config.yaml
.tool-versions
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile
LICENSE
pre-commit.ts
README.md
SECURITY.md
version.txt
5 changes: 5 additions & 0 deletions .github/ARCHITECTURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Architecture Guide

This guide aims to explain how this codebase is organized.

## File Structure
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @eser
4 changes: 4 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Code of Conduct

See [@eser/directives](./pkg/directives/README.md) for our sets of rules and
recommendations we follow.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md → .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ in a pull request.
### Code of Conduct

This project and everyone participating in it is governed by the
[cool/directives](directives/README.md). By participating, you are expected to
uphold this code. Please report unacceptable behavior as in specified in the
link.
[@eser/directives](./pkg/directives/README.md). By participating, you are
expected to uphold this code. Please report unacceptable behavior as in
specified in the link.

### Technical Requirements

Expand Down Expand Up @@ -53,7 +53,7 @@ from:

## Submitting a Pull Request

- Adhere to [cool/directives](directives/README.md)
- Adhere to [@eser/directives](./pkg/directives/README.md)
- Fork the repo
- Make your changes in a new branch
- Provide tests for your changes, particularly for new features or fixes
Expand Down
20 changes: 6 additions & 14 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Bug report
about: Create a report to help us improve
title: Bug report
labels: bug
title: ''
labels: bug, needs triage
assignees: ''

---

**Describe the bug**\
Expand All @@ -24,18 +23,11 @@ A clear and concise description of what you expected to happen.
**Screenshots**\
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
**Environment (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
- OS: [e.g. Ubuntu 20.04, MacOS 11]
- Deno Version:
- Cool Version:

**Additional context**\
Add any other context about the problem here.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea or voice a concern
title: 'Feature request: '
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**\
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ Thumbs.db
.env.local
.env.*.local

# tool outputs
*.tsbuildinfo

# sensitive files
*.key
*.pem
Expand Down
62 changes: 28 additions & 34 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-added-large-files
args: ["--maxkb=1024"]
exclude: |
(?x)^(
bundler/esbuild_v0.20.0.wasm
pkg/bundler/esbuild_v0.20.0.wasm
)$
- id: check-case-conflict
- id: check-executables-have-shebangs
Expand All @@ -29,18 +29,19 @@ repos:
args: ["--autofix", "--no-ensure-ascii", "--no-sort-keys"]
- id: trailing-whitespace
- repo: https://github.com/crate-ci/typos
rev: v1.16.23
rev: v1.23.2
hooks:
- id: typos
verbose: true
args: [
]
args:
- "--config"
- ".github/typos.toml"
exclude: |
(?x)^(
docs/.*
docs/.*|
)$
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.0.0
rev: v3.3.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
Expand All @@ -50,7 +51,7 @@ repos:
- id: local-precommit
name: local pre-commit tasks
description: Runs local pre-commit tasks.
entry: bash -c 'deno run -A pre-commit.ts; git add -u' --
entry: bash -c 'deno task script:validate-configs; git add -u' --
always_run: true
pass_filenames: false
language: system
Expand All @@ -62,36 +63,29 @@ repos:
exclude: |
(?x)^(
_etc/.*|
.github/FUNDING.yml|
.github/ISSUE_TEMPLATE/bug_report.md|
.github/ISSUE_TEMPLATE/feature_request.md|
.github/PULL_REQUEST_TEMPLATE.md|
.github/.*|
.git/COMMIT_EDITMSG|
appserver/README.md|
bundler/README.md|
bundler/esbuild_v0.20.0.wasm|
collector/README.md|
di/README.md|
directives/README.md|
docs/.*|
dotenv/README.md|
events/README.md|
file-loader/README.md|
fp/README.md|
functions/README.md|
jsx-runtime/README.md|
jsx-runtime.test/README.md|
lime/README.md|
lime.test/README.md|
parsing/README.md|
standards/README.md|
CODEOWNERS|
CODE_OF_CONDUCT.md|
CONTRIBUTING.md|
pkg/app-runtime/README.md|
pkg/bundler/README.md|
pkg/bundler/esbuild_v0.20.0.wasm|
pkg/collector/README.md|
pkg/config/README.md|
pkg/di/README.md|
pkg/directives/README.md|
pkg/dotenv/README.md|
pkg/events/README.md|
pkg/fp/README.md|
pkg/functions/README.md|
pkg/jsx-runtime/README.md|
pkg/jsx-runtime.test/README.md|
pkg/lime/README.md|
pkg/lime.test/README.md|
pkg/parsing/README.md|
pkg/standards/README.md|
Dockerfile|
LICENSE|
README.md|
SECURITY.md
README.md
)$
- id: check-integrity
name: check integrity
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
deno 1.41.3
pre-commit 3.6.2
deno 1.45.1
pre-commit 3.7.1
4 changes: 0 additions & 4 deletions CODE_OF_CONDUCT.md

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ COPY deps.ts .
RUN deno cache deps.ts

# These steps will be re-run upon each file change in your working directory:
COPY ./ ./
COPY ./pkg/ ./

# Compile the main app so that it doesn't need to be compiled each startup/entry.
RUN deno cache mod.ts
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ strives to offer you an intuitive and delightful development experience.

### Component Set

| Component | Area | Description |
| --------------------------------- | ----------------- | --------------------------------------------------- |
| 📓 [cool/directives](directives/) | Rules | The ground rules adhered to by the entire ecosystem |
| 📑 [cool/standards](standards/) | Abstraction | Provides common abstraction layers for DI |
| ⚙️ [cool/di](di/) | Manager | Dependency injection system |
| 🧱 [cool/fp](fp/) | Functions Library | Tools for functional programming |
| 🔐 [cool/dotenv](dotenv/) | Manager | Load configurations from environment |
| 〰️ [cool/parsing](parsing/) | Manager | Parsing tools for various strings and streams |
| Component | Area | Description |
| -------------------------------------- | ----------------- | --------------------------------------------------- |
| 📓 [@eser/directives](pkg/directives/) | Rules | The ground rules adhered to by the entire ecosystem |
| 📑 [@eser/standards](pkg/standards/) | Abstraction | Provides common abstraction layers for DI |
| ⚙️ [@eser/di](pkg/di/) | Manager | Dependency injection system |
| 🧱 [@eser/fp](pkg/fp/) | Functions Library | Tools for functional programming |
| 🔐 [@eser/dotenv](pkg/dotenv/) | Manager | Load configurations from environment |
| 〰️ [@eser/parsing](pkg/parsing/) | Manager | Parsing tools for various strings and streams |

Visit the respective component page for detailed usage instructions.

Expand All @@ -78,7 +78,7 @@ We strive to run the following code seamlessly across
[all platforms we support](#platform-support):

```js
import { Runtime, Context } from "$cool/runtime/mod.ts";
import { Runtime, Context } from "@eser/runtime";

const home = (ctx: Context) => {
return ctx.results.jsx(<h1>Hello there!</h1>);
Expand Down Expand Up @@ -159,7 +159,7 @@ done.

If you're going to report a bug or request a new feature, please ensure first
that you comply with the conditions found under
[cool/directives](https://github.com/eser/cool/blob/dev/directives/README.md).
[@eser/directives](https://github.com/eser/cool/blob/dev/pkg/directives/README.md).
After that, you can report an issue or request using
[GitHub Issues](https://github.com/eser/cool/issues). Thanks in advance.

Expand Down
63 changes: 0 additions & 63 deletions _etc/tasks/check-license.ts

This file was deleted.

3 changes: 0 additions & 3 deletions _etc/tasks/deps.ts

This file was deleted.

52 changes: 0 additions & 52 deletions appserver/appserver.ts

This file was deleted.

Loading

0 comments on commit 3591101

Please sign in to comment.