Skip to content

Commit

Permalink
fix: build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
flauc committed Jan 11, 2025
1 parent faad5da commit 84e27dc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 23 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
run: npm ci --legacy-peer-deps

- name: Build Library
run: npm run build
run: npm run build:lib

- name: Build Manifest
run: npm run build:manifest

- name: Release
run: npm run semantic-release || true
Expand Down
24 changes: 5 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"dev": "concurrently \"npm run dev:demo\" \"npm run dev:lib\"",
"dev:demo": "vite --config vite.demo.config.ts",
"dev:lib": "vite build --watch",
"build": "vite build && node process.js && cem analyze",
"build": "npm run build:lib && npm run build:manifest",
"build:lib": "vite build && node process.js",
"build:manifest": "cem analyze",
"build:demo": "vite build --config vite.demo.config.ts",
"preview": "vite preview --config vite.demo.config.ts",
"check": "svelte-check --tsconfig ./tsconfig.json",
Expand All @@ -18,12 +20,12 @@
"semantic-release": "semantic-release"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "0.10.3",
"@custom-elements-manifest/analyzer": "0.10.4",
"@sveltejs/vite-plugin-svelte": "2.4.2",
"@tsconfig/svelte": "5.0.4",
"autoprefixer": "10.4.20",
"concurrently": "9.0.1",
"custom-element-vs-code-integration": "^1.4.1",
"custom-element-vs-code-integration": "1.4.1",
"firebase": "10.13.2",
"glob": "11.0.0",
"postcss": "8.4.47",
Expand Down

0 comments on commit 84e27dc

Please sign in to comment.