Skip to content

Push to PRD #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

25 changes: 14 additions & 11 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";


export default [
{ files: ["**/*.{js,mjs,cjs,ts}"] },
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];
export default {
root: true,
env: {
browser: true,
node: true,
},
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:chai-friendly/recommended"],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "chai-friendly"],
rules: {
"no-unused-expressions": "off",
"chai-friendly/no-unused-expressions": "error",
},
};
1 change: 0 additions & 1 deletion lib/hypercerts-api
Submodule hypercerts-api deleted from 8c970a
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"esbuild": "^0.19.8",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-chai-friendly": "^1.0.1",
"globals": "^15.14.0",
"husky": "^9.1.7",
"json-schema-to-typescript": "^13.1.1",
Expand All @@ -70,7 +71,7 @@
},
"scripts": {
"build": "pnpm types:json && pnpm codegen:api && rollup -c",
"codegen:api": "npx orval --input ./lib/hypercerts-api/src/__generated__/swagger.json --output ./src/__generated__/api.ts",
"codegen:api": "npx orval --input https://api.hypercerts.org/swagger.json --output ./src/__generated__/api.ts",
"clean": "rm -rf ./dist",
"prebuild": "pnpm clean",
"prepack": "pnpm build",
Expand All @@ -83,7 +84,7 @@
"commitlint": "commitlint --config commitlintrc.ts --edit"
},
"lint-staged": {
"*.{js, jsx,ts,tsx}": [
"*.{js,jsx,ts,tsx}": [
"eslint --quiet --fix"
],
"*.{json,js,ts,jsx,tsx,html}": [
Expand Down
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading