Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Hard lock dependency versions #298

Merged
merged 13 commits into from
Feb 28, 2025
1 change: 1 addition & 0 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
version: 8
run_install: |
- recursive: true
- args: [--frozen-lockfile]

# TODO: We are building the components twice (once for publishing to CDN)
# and once for publishing to docs. We might want to combine the workflows
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
version: 8
run_install: |
- recursive: true
- args: [--frozen-lockfile]

- name: Lint
run: pnpm lint
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
version: 8
run_install: |
- recursive: true
- args: [--frozen-lockfile]

- name: Publish to NPM
run: pnpm publish:components
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
version: 8
run_install: |
- recursive: true
- args: [--frozen-lockfile]

- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
Expand Down
23 changes: 23 additions & 0 deletions dev/source-build.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web Components - Source Build Test</title>
<script type="module" src="/dist/components.js"></script>
</head>

<body>
<oe-verification-grid id="verification-grid">
<oe-verification verified="true" shortcut="Y"></oe-verification>
<oe-verification verified="false" shortcut="N"></oe-verification>

<oe-data-source slot="data-source" for="verification-grid" src="/grid-items.json" local></oe-data-source>
</oe-verification-grid>

<p>
This page tests using a source build. Make sure that you have run <code>pnpm build:components</code> before
testing components on this page.
</p>
</body>
</html>
6 changes: 5 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@

<section>
<a href="/dev/theme/theme.html">Theme Creator</a>
<a href="/dev/cdn.html">CDN</a>
<a href="/dist/docs/index.html">Docs</a>
</section>

<section>
<a href="/dev/cdn.html">CDN</a>
<a href="/dev/source-build.html">Source Build</a>
</section>

<style>
a {
display: block;
Expand Down
80 changes: 40 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,48 +30,48 @@
},
"customElements": "dist/custom-elements.json",
"dependencies": {
"@json2csv/plainjs": "^7.0.6",
"@lit-labs/preact-signals": "^1.0.2",
"@lit/context": "^1.1.1",
"@shoelace-style/shoelace": "^2.15.1",
"change-case": "^5.4.4",
"chroma-js": "^2.4.2",
"colorbrewer": "^1.5.6",
"csvtojson": "^2.0.10",
"fft-windowing-ts": "^0.2.7",
"lit": "^3.1.3",
"music-metadata-browser": "^2.5.10",
"prismjs": "^1.29.0"
"@json2csv/plainjs": "7.0.6",
"@lit-labs/preact-signals": "1.0.3",
"@lit/context": "1.1.4",
"@shoelace-style/shoelace": "2.20.0",
"change-case": "5.4.4",
"chroma-js": "3.1.2",
"colorbrewer": "1.5.9",
"csvtojson": "2.0.10",
"fft-windowing-ts": "0.2.7",
"lit": "3.2.1",
"music-metadata": "11.0.0",
"prismjs": "1.29.0"
},
"devDependencies": {
"@11ty/eleventy": "3.0.0-beta.1",
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"@custom-elements-manifest/analyzer": "^0.9.4",
"@playwright/test": "1.46.0",
"@sand4rt/experimental-ct-web": "1.46.0",
"@types/audioworklet": "^0.0.55",
"@types/chroma-js": "^2.4.4",
"@types/colorbrewer": "^1.0.32",
"@types/node": "^20.12.10",
"autoprefixer": "^10.4.19",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-plugin-lit": "^1.13.0",
"postcss-nested": "^6.0.1",
"prettier": "^3.3.3",
"rimraf": "^5.0.5",
"rollup": "4.12.0",
"rollup-plugin-summary": "^2.0.0",
"terser": "^5.31.0",
"ts-lit-plugin": "^2.0.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.7.1",
"user-agent-data-types": "^0.4.2",
"vite": "^5.2.10",
"vite-plugin-cem": "^0.7.0",
"vite-plugin-mkcert": "^1.17.5",
"vite-plugin-node-polyfills": "^0.21.0",
"vite-svg-loader": "^5.1.0"
"@11ty/eleventy": "3.0.0",
"@11ty/eleventy-plugin-syntaxhighlight": "5.0.0",
"@custom-elements-manifest/analyzer": "0.10.4",
"@playwright/test": "1.50.1",
"@sand4rt/experimental-ct-web": "1.50.1",
"@types/audioworklet": "0.0.71",
"@types/chroma-js": "3.1.1",
"@types/colorbrewer": "1.0.32",
"@types/node": "22.13.5",
"autoprefixer": "10.4.20",
"concurrently": "9.1.2",
"eslint": "8.57.0",
"eslint-plugin-lit": "1.13.0",
"postcss-nested": "7.0.2",
"prettier": "3.5.2",
"rimraf": "6.0.1",
"rollup": "4.34.8",
"rollup-plugin-summary": "3.0.0",
"terser": "5.39.0",
"ts-lit-plugin": "2.0.2",
"typescript": "5.4.5",
"typescript-eslint": "7.15.0",
"user-agent-data-types": "0.4.2",
"vite": "6.2.0",
"vite-plugin-cem": "0.8.2",
"vite-plugin-mkcert": "1.17.6",
"vite-plugin-node-polyfills": "0.23.0",
"vite-svg-loader": "5.1.0"
},
"pnpm": {
"overrides": {
Expand Down
Loading
Loading