{"id":15377134,"url":"https://github.com/crashmax-dev/vue-template","last_synced_at":"2025-04-15T16:41:41.040Z","repository":{"id":229456539,"uuid":"776745978","full_name":"crashmax-dev/vue-template","owner":"crashmax-dev","description":"Vue 3 template","archived":false,"fork":false,"pushed_at":"2025-02-22T14:44:22.000Z","size":10631,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T22:34:59.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crashmax-dev.github.io/vue-template/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crashmax-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-24T11:26:37.000Z","updated_at":"2025-03-19T12:27:30.000Z","dependencies_parsed_at":"2024-03-27T11:45:38.783Z","dependency_job_id":"19b57a75-a9dc-4452-8d64-a49820b5d12b","html_url":"https://github.com/crashmax-dev/vue-template","commit_stats":{"total_commits":32,"total_committers":1,"mean_commits":32.0,"dds":0.0,"last_synced_commit":"d82169e30f7af427782ce8ce792417011a917d93"},"previous_names":["crashmax-dev/pnpm-workspace","crashmax-dev/vue-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashmax-dev%2Fvue-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashmax-dev%2Fvue-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashmax-dev%2Fvue-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crashmax-dev%2Fvue-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crashmax-dev","download_url":"https://codeload.github.com/crashmax-dev/vue-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249110316,"owners_count":21214307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T14:09:47.116Z","updated_at":"2025-04-15T16:41:41.022Z","avatar_url":"https://github.com/crashmax-dev.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue 3 Template\n\n## Requirements\n\n- Node.js \u003e=20.18.x\n- PNPM 9.15.x\n\n## Stack\n\n- [PNPM](https://pnpm.io)\n- [Turborepo](https://turbo.build/repo/docs)\n- [Vite](https://vite.dev)\n- [Vue](https://vuejs.org)\n- [Histoire](https://histoire.dev)\n- [Vitest](https://vitest.dev)\n\n## Scripts\n\n- `pnpm i` — Install dependencies\n- `pnpm dev` — Running apps (http://localhost:5173) and Histoire (http://localhost:6006)\n- `pnpm build` — Building apps and packages\n- `pnpm test` — Runnning tests once\n- `pnpm test:unit` — Running unit tests\n- `pnpm test:unit-ui` — Running unit tests with [UI](https://vitest.dev/guide/ui.html)\n- `pnpm lint` — Check the linting\n- `pnpm lint:fix` — Linting and fixing\n\n## Publish packages to NPM\n\nAdd the code below to [.github/workflows/ci.yaml](.github/workflows/ci.yaml) and add `NPM_TOKEN` to the GitHub repository secrets.\n\n```yaml\n- name: Publish packages to NPM\n  shell: bash\n  run: |\n    echo \"//registry.npmjs.org/:_authToken=\"${{ secrets.NPM_TOKEN }}\"\" \u003e ~/.npmrc\n    pnpm -r --filter=./packages/* publish --access public --provenance\n```\n\nand create a configuration for `vite.config.ts`\n\n```ts\nimport { defineConfig } from 'vite'\nimport dts from 'vite-plugin-dts'\n\nexport default defineConfig({\n  plugins: [dts()],\n  build: {\n    target: 'esnext',\n    sourcemap: true,\n    minify: false,\n    emptyOutDir: false,\n    lib: {\n      entry: './src/index.ts',\n      name: 'utils',\n      fileName: 'index',\n      formats: ['es'],\n    },\n    rollupOptions: {\n      output: {\n        exports: 'named',\n      },\n    },\n  },\n})\n```\n\nand you will need to specify the export in the package.json file\n\n```json\n{\n  \"exports\": {\n    \".\": {\n      \"types\": \"./dist/index.d.ts\",\n      \"import\": \"./dist/index.js\"\n    }\n  },\n  \"files\": [\n    \"dist\"\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrashmax-dev%2Fvue-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrashmax-dev%2Fvue-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrashmax-dev%2Fvue-template/lists"}