Skip to content

Commit fee9e1f

Browse files
prepare for monorepo (#9)
2 parents 0b4f647 + eefad39 commit fee9e1f

File tree

262 files changed

+29778
-5111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+29778
-5111
lines changed

.cursorignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.old.*
2+
_*/**

.github/labeler.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ hamr:
1919
info:
2020
- changed-files:
2121
- any-glob-to-any-file: info/**
22-
test-file-runner:
22+
evals:
2323
- changed-files:
24-
- any-glob-to-any-file: test-file-runner/**
24+
- any-glob-to-any-file: evals/**

.github/workflows/ci.yml

+20
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,35 @@ jobs:
3434
run: deno task test
3535

3636
- name: Generate lcov
37+
if: matrix.os == 'ubuntu-latest'
3738
run: deno task cov:gen
3839

3940
- name: Upload coverage
41+
if: matrix.os == 'ubuntu-latest'
4042
uses: codecov/codecov-action@v4
4143
env:
4244
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4345
with:
4446
name: ${{ matrix.os }}
4547

48+
- name: Run benchmark
49+
if: matrix.os == 'ubuntu-latest'
50+
run: deno task bench | tee output.txt
51+
52+
- name: Store benchmark result
53+
if: github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest'
54+
uses: benchmark-action/github-action-benchmark@v1
55+
with:
56+
name: Artifact Benchmarks
57+
tool: 'benchmarkjs'
58+
output-file-path: output.txt
59+
github-token: ${{ secrets.GITHUB_TOKEN }}
60+
auto-push: true
61+
# Show alert with commit comment on detecting possible performance regression
62+
alert-threshold: '200%'
63+
comment-on-alert: true
64+
fail-on-alert: true
65+
4666
lint:
4767
runs-on: ${{ matrix.os }}
4868
timeout-minutes: 30

.github/workflows/title.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Lint PR title"
1+
name: 'Lint PR title'
22

33
on:
44
pull_request_target:
@@ -42,4 +42,4 @@ jobs:
4242
fixture(/unstable)?
4343
hamr(/unstable)?
4444
info(/unstable)?
45-
test-file-runner(/unstable)?
45+
evals(/unstable)?

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ http/testdata/file#2.txt
1212
http/testdata/test file.txt
1313
coverage/
1414
docs/
15-
.env
15+
.env
16+
concat.txt

.vscode/launch.json

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"request": "launch",
9+
"name": "Circular",
10+
"type": "node",
11+
"cwd": "${workspaceFolder}",
12+
"runtimeExecutable": "~/.deno/bin/deno",
13+
"runtimeArgs": ["task", "lint:circular"],
14+
15+
"attachSimplePort": 9229,
16+
"internalConsoleOptions": "neverOpen",
17+
"console": "integratedTerminal"
18+
},
19+
{
20+
"request": "launch",
21+
"name": "Run Current",
22+
"type": "node",
23+
"cwd": "${workspaceFolder}",
24+
"runtimeExecutable": "~/.deno/bin/deno",
25+
"runtimeArgs": ["test", "--inspect-wait", "--watch", "-A", "${file}"],
26+
27+
"attachSimplePort": 9229,
28+
"internalConsoleOptions": "neverOpen",
29+
"console": "integratedTerminal"
30+
},
31+
{
32+
"request": "launch",
33+
"name": "Execute Current File",
34+
"type": "node",
35+
"cwd": "${fileDirname}",
36+
"runtimeExecutable": "~/.deno/bin/deno",
37+
"runtimeArgs": ["run", "-A", "--inspect-wait", "--watch", "${file}"],
38+
"attachSimplePort": 9229,
39+
"internalConsoleOptions": "neverOpen",
40+
"console": "integratedTerminal"
41+
}
42+
]
43+
}

.vscode/settings.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"deno.enable": true,
3-
"deno.unstable": true,
43
"editor.formatOnSave": true,
5-
"editor.defaultFormatter": "denoland.vscode-deno"
4+
"editor.defaultFormatter": "denoland.vscode-deno",
5+
"[markdown]": {
6+
"editor.defaultFormatter": "denoland.vscode-deno"
7+
},
8+
"[typescript]": {
9+
"editor.defaultFormatter": "denoland.vscode-deno"
10+
}
611
}

README.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,17 @@ for Artifact, the infrastructure of the
1414
The following list contains links to the Artifact Standard Library's packages
1515
and documentation:
1616

17-
| Package | Latest version |
18-
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
19-
| [files](https://jsr.io/@artifact/files) | [![JSR](https://jsr.io/badges/@artifact/files)](https://jsr.io/@artifact/files) |
20-
| [openai](https://jsr.io/@artifact/openai) | [![JSR](https://jsr.io/badges/@artifact/openai)](https://jsr.io/@artifact/openai) |
21-
| [dumb-bot](https://jsr.io/@artifact/dumb-bot) | [![JSR](https://jsr.io/badges/@artifact/dumb-bot)](https://jsr.io/@artifact/dumb-bot) |
22-
| [reasoner](https://jsr.io/@artifact/reasoner) | [![JSR](https://jsr.io/badges/@artifact/reasoner)](https://jsr.io/@artifact/reasoner) |
23-
| [fixture](https://jsr.io/@artifact/fixture) | [![JSR](https://jsr.io/badges/@artifact/fixture)](https://jsr.io/@artifact/fixture) |
24-
| [hamr](https://jsr.io/@artifact/hamr) | [![JSR](https://jsr.io/badges/@artifact/hamr)](https://jsr.io/@artifact/hamr) |
25-
| [info](https://jsr.io/@artifact/info) | [![JSR](https://jsr.io/badges/@artifact/info)](https://jsr.io/@artifact/info) |
26-
| [test-file-runner](https://jsr.io/@artifact/test-file-runner) | [![JSR](https://jsr.io/badges/@artifact/test-file-runner)](https://jsr.io/@artifact/test-file-runner) |
17+
| Package | Latest version |
18+
| ------------------------------------------------- | ----------------------------------------------------------------------------------------- |
19+
| [files](https://jsr.io/@artifact/files) | [![JSR](https://jsr.io/badges/@artifact/files)](https://jsr.io/@artifact/files) |
20+
| [openai](https://jsr.io/@artifact/openai) | [![JSR](https://jsr.io/badges/@artifact/openai)](https://jsr.io/@artifact/openai) |
21+
| [dumb-bot](https://jsr.io/@artifact/dumb-bot) | [![JSR](https://jsr.io/badges/@artifact/dumb-bot)](https://jsr.io/@artifact/dumb-bot) |
22+
| [reasoner](https://jsr.io/@artifact/reasoner) | [![JSR](https://jsr.io/badges/@artifact/reasoner)](https://jsr.io/@artifact/reasoner) |
23+
| [fixture](https://jsr.io/@artifact/fixture) | [![JSR](https://jsr.io/badges/@artifact/fixture)](https://jsr.io/@artifact/fixture) |
24+
| [hamr](https://jsr.io/@artifact/hamr) | [![JSR](https://jsr.io/badges/@artifact/hamr)](https://jsr.io/@artifact/hamr) |
25+
| [info](https://jsr.io/@artifact/info) | [![JSR](https://jsr.io/badges/@artifact/info)](https://jsr.io/@artifact/info) |
26+
| [evals](https://jsr.io/@artifact/evals) | [![JSR](https://jsr.io/badges/@artifact/evals)](https://jsr.io/@artifact/evals) |
27+
| [napp-tools](https://jsr.io/@artifact/napp-tools) | [![JSR](https://jsr.io/badges/@artifact/napp-tools)](https://jsr.io/@artifact/napp-tools) |
2728

2829
## Architecture
2930

_import-artifact/.gitattributes

-2
This file was deleted.

_import-artifact/.github/codecov.yml

-11
This file was deleted.

_import-artifact/.github/dependabot.yml

-7
This file was deleted.

_import-artifact/.github/typos.toml

-2
This file was deleted.

_import-artifact/.github/workflows/ci.yml

-94
This file was deleted.

_import-artifact/.gitignore

-11
This file was deleted.

_import-artifact/.vscode/extensions.json

-7
This file was deleted.

_import-artifact/.vscode/launch.json

-90
This file was deleted.

0 commit comments

Comments
 (0)