Skip to content

Version 2.1.0 — Tests, lint/typecheck, publish guards, and src/ layout

Latest

Choose a tag to compare

@devbaji devbaji released this 02 May 10:13
· 20 commits to master since this release

Highlights

Minor release focused on maintainer tooling, quality gates, and a clearer src/ project layout. No intentional breaking changes to the public runtime API (app.use(...), GoogleLogin, helpers).

Tooling & quality

  • Tests: Vitest + Vue Test Utils with mocked Google Identity Services for fast, deterministic checks.
  • Lint & types: ESLint (Vue + TypeScript) and vue-tsc typechecking via npm run lint.
  • Git hooks: Husky pre-commit runs lint + tests.
  • Publish: prepublishOnly runs lint + tests + build so published dist/* matches what was verified.

Architecture (repository layout)

  • Replaced the old src/plugin/ tree with a flatter src/ structure (e.g. components/, composables/, google/, utils/, plus shared modules at src/ root).
  • @/ path alias for internal source imports (Vite, Vitest, Rollup); published bundles in dist/ remain resolved paths for consumers.

Housekeeping

  • Removed unused assets/deps where applicable (e.g. stray lockfiles / unused docs assets); npm-only lockfile going forward.