Skip to content

Commit

Permalink
chore(deps): tweak build paths
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed Aug 13, 2024
1 parent 9d0a7d6 commit e898ce4
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
- run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
if: ${{ github.event_name == 'pull_request' }}
- run: npm run report:package
- run: mv coverage/lcov-report build || true
- run: mv coverage/lcov-report dist || true
- run: cat ./coverage/lcov.info | npx coveralls || true
- uses: actions/configure-pages@v4
- uses: actions/upload-pages-artifact@v3
with:
path: build
path: dist
- run: npx semantic-release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
env:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ local.py
# Generated files
# -------------------------------------------------
dist
build
/var/static/
/var/media/
/docs/_build/
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ node_modules
coverage/
dist/
*.bundle.js
build/
1 change: 0 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export default tseslint.config(
"coverage",
"docs",
"dist",
"build",
"es",
"**/*.min.js",
"**/*.bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"test": "vitest run --coverage.enabled",
"test:watch": "vitest watch",
"report:coverage": "open coverage/lcov-report/index.html",
"report:package": "npm pack --dry-run --loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' | tee build/package.txt",
"report:package": "npm pack --dry-run --loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' | tee dist/package.txt",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0 && prettier --check '**/?(.)*.{md,css,scss,js,ts,tsx,json,yaml,yml,html}'",
"format": "prettier --write '**/?(.)*.{md,css,scss,js,ts,tsx,json,yaml,yml,html}'",
"test:ci": "npm run lint -s && npm run build -s && npm run test -- --coverage.thresholds.100",
Expand Down
1 change: 0 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default defineConfig({
provider: "v8",
exclude: [
"./*.{js,mjs,ts}",
"build",
"dist",
"docs",
"pasting",
Expand Down

0 comments on commit e898ce4

Please sign in to comment.