Skip to content

Commit

Permalink
fix: Fixed package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
iFaxity committed Jun 26, 2022
1 parent 6d4e47e commit aebde3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ jobs:
path: ${{ env.CACHE_PATHS }}
key: ${{ runner.os }}#${{ hashFiles('package-lock.json') }}

# Run TSC Lint
- name: Lint TypeScript
run: npm run lint

# Run tests
- name: Run Vitest
run: npm run test:coverage
Expand Down Expand Up @@ -79,6 +83,8 @@ jobs:
run: npm ci
- name: Build
run: npm run build
- name: Build types
run: npm run build:types

- name: Release
run: npx semantic-release
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default defineConfig({
entry: resolve(__dirname, './src/index.ts'),
formats: [ 'cjs', 'es' ],
name: 'interlinqed',
fileName: (format) => `interlinqed.${format}.js`
fileName: (format) => `index.${format}.js`
},
},
});

0 comments on commit aebde3e

Please sign in to comment.