diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ee3bf3..38104b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - cache: "npm" + cache: 'npm' - name: Install dependencies run: npm ci diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1537967..d6097a2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,8 +17,8 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: "24.x" - registry-url: "https://npm.pkg.github.com/" + node-version: '24.x' + registry-url: 'https://npm.pkg.github.com/' - name: Install dependencies run: npm install diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..2a9073f --- /dev/null +++ b/.prettierignore @@ -0,0 +1,31 @@ +# Build outputs +dist/ +build/ +*.min.js + +# Dependencies +node_modules/ + +# Package files +package-lock.json +yarn.lock +pnpm-lock.yaml + +# Generated files +*.d.ts.map + +# Logs +*.log + +# Environment files +.env +.env.local +.env.*.local + +# IDE files +.vscode/ +.idea/ + +# OS files +.DS_Store +Thumbs.db diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..1a36101 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,11 @@ +{ + "semi": true, + "trailingComma": "es5", + "singleQuote": true, + "printWidth": 120, + "tabWidth": 2, + "useTabs": false, + "bracketSpacing": true, + "arrowParens": "avoid", + "endOfLine": "lf" +} diff --git a/src/index.ts b/src/index.ts index 6257b1a..35ac608 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import { BackendExtension } from "@runtimed/extensions"; +import { BackendExtension } from '@runtimed/extensions'; const extension: BackendExtension = {}; export default extension;