Skip to content

Commit

Permalink
refactor: update folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
balsigergil committed Jan 16, 2024
1 parent 4e0ba97 commit 37b5d2e
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Get npm cache directory
id: npm-cache-dir
shell: bash
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
- uses: actions/cache@v3
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<strong>A lightweight yet powerful unstyled web components library with customization capabilities.</strong>
<br>
<br>
<!--<div align="center">
<div align="center">
<img alt="Package size" src="https://img.shields.io/bundlephobia/minzip/bloum?style=for-the-badge">
<a aria-label="NPM version" href="https://www.npmjs.com/package/bloum">
<img alt="NPM version" src="https://img.shields.io/npm/v/bloum?style=for-the-badge">
Expand All @@ -17,7 +17,7 @@
<a aria-label="Build status" href="https://github.com/balsigergil/bloum/actions/workflows/playwright.yml">
<img alt="Build status" src="https://img.shields.io/github/actions/workflow/status/balsigergil/bloum/playwright?style=for-the-badge">
</a>
</div>-->
</div>
</div>

## Table of Contents
Expand Down
2 changes: 1 addition & 1 deletion example/prod.html → example/pages/prod.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bloum</title>
<script type="module" src="src/prod.ts"></script>
<script type="module" src="../src/prod.ts"></script>
</head>
<body>
<div class="wrapper">
Expand Down
2 changes: 1 addition & 1 deletion example/tailwind.html → example/pages/tailwind.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bloum</title>
<script type="module" src="src/tailwind.ts"></script>
<script type="module" src="../src/tailwind.ts"></script>
</head>
<body>
<div class="m-4 space-y-4">
Expand Down
2 changes: 1 addition & 1 deletion example/unstyled.html → example/pages/unstyled.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bloum</title>
<script type="module" src="src/unstyled.ts"></script>
<script type="module" src="../src/unstyled.ts"></script>
</head>
<body>
<div class="wrapper">
Expand Down
2 changes: 2 additions & 0 deletions example/src/prod.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
import "bloum";
import "bloum/dist/style.min.css";
import "bloum/dist/modern.min.css";
import "./example.css";
5 changes: 5 additions & 0 deletions package-lock.json

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

0 comments on commit 37b5d2e

Please sign in to comment.