Skip to content

Commit e898ce4

Browse files
committed
chore(deps): tweak build paths
1 parent 9d0a7d6 commit e898ce4

File tree

6 files changed

+3
-7
lines changed

6 files changed

+3
-7
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ jobs:
3939
- run: npx commitlint --from HEAD~${{ github.event.pull_request.commits }} --to HEAD
4040
if: ${{ github.event_name == 'pull_request' }}
4141
- run: npm run report:package
42-
- run: mv coverage/lcov-report build || true
42+
- run: mv coverage/lcov-report dist || true
4343
- run: cat ./coverage/lcov.info | npx coveralls || true
4444
- uses: actions/configure-pages@v4
4545
- uses: actions/upload-pages-artifact@v3
4646
with:
47-
path: build
47+
path: dist
4848
- run: npx semantic-release
4949
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
5050
env:

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ local.py
7676
# Generated files
7777
# -------------------------------------------------
7878
dist
79-
build
8079
/var/static/
8180
/var/media/
8281
/docs/_build/

.prettierignore

-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ node_modules
33
coverage/
44
dist/
55
*.bundle.js
6-
build/

eslint.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export default tseslint.config(
99
"coverage",
1010
"docs",
1111
"dist",
12-
"build",
1312
"es",
1413
"**/*.min.js",
1514
"**/*.bundle.js",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"test": "vitest run --coverage.enabled",
8181
"test:watch": "vitest watch",
8282
"report:coverage": "open coverage/lcov-report/index.html",
83-
"report:package": "npm pack --dry-run --loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' | tee build/package.txt",
83+
"report:package": "npm pack --dry-run --loglevel notice 2>&1 >/dev/null | sed -e 's/^npm notice //' | tee dist/package.txt",
8484
"lint": "eslint . --report-unused-disable-directives --max-warnings 0 && prettier --check '**/?(.)*.{md,css,scss,js,ts,tsx,json,yaml,yml,html}'",
8585
"format": "prettier --write '**/?(.)*.{md,css,scss,js,ts,tsx,json,yaml,yml,html}'",
8686
"test:ci": "npm run lint -s && npm run build -s && npm run test -- --coverage.thresholds.100",

vite.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export default defineConfig({
1313
provider: "v8",
1414
exclude: [
1515
"./*.{js,mjs,ts}",
16-
"build",
1716
"dist",
1817
"docs",
1918
"pasting",

0 commit comments

Comments
 (0)