Skip to content

Commit 1d8b2de

Browse files
ecklfdglsparsons
andauthored
Rework Rust runtime and builder (#80)
* initial rework * add tsconfig * add demo * update Cargo.toml * update README * rename exports * rename exported types, add prettier * 4.0.1-canary.0 * use canary for demo, cleanup * use style guide, cleanup * update README * add more examples * improve examples * polish demos * demo: nextjs, fix layout, use identical seed * runtime: used boxed err * update dep, simplify examples * merged handler example (wip) * Change `impl IntoResponse` into `Response<Body>` (#1) * Rework to allow merging api endpoints * Rework all examples and simplify structure * remove `IntoResponse` --------- Co-authored-by: Florentin / 珞辰 <[email protected]> * dedup body (#2) * dedup body * merge pub use * update docs, use Cargo workspaces * update examples, `0.2.0` * `4.0.0-canary.1` * fix typo * migrate fixtures tests (wip) * migrate fixtures tests - 2 (wip) * migrate fixtures tests - 3 (wip) * add dynamic path example * `4.0.0-canary.2` * migrate fixtures test * add husky * add `.env.example` for cron * add http helpers (#3) * add http helpers * remove opinionated payload * re-add direct crate ref, fix invalid eslint * `4.0.0-canary.3` * `0.2.1` * remove merged example * update README * cleanup workspace members * cleanup * fix newline * rm gitignore from test * `4.0.0.beta.0` --------- Co-authored-by: Douglas Parsons <[email protected]>
1 parent a9495a0 commit 1d8b2de

File tree

120 files changed

+28735
-11919
lines changed

Some content is hidden

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

120 files changed

+28735
-11919
lines changed

.eslintrc.js

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
const { resolve } = require('node:path');
2+
3+
const project = resolve(__dirname, 'tsconfig.test.json');
4+
5+
module.exports = {
6+
root: true,
7+
extends: [
8+
require.resolve('@vercel/style-guide/eslint/node'),
9+
require.resolve('@vercel/style-guide/eslint/typescript'),
10+
],
11+
overrides: [
12+
{
13+
files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
14+
extends: [require.resolve('@vercel/style-guide/eslint/jest')],
15+
},
16+
],
17+
parserOptions: {
18+
project,
19+
},
20+
settings: {
21+
'import/resolver': {
22+
typescript: {
23+
project,
24+
},
25+
},
26+
},
27+
ignorePatterns: ['examples'],
28+
};

0 commit comments

Comments
 (0)