Skip to content

Commit de92452

Browse files
committed
releasing 1.0.0
1 parent 0b7a476 commit de92452

File tree

7 files changed

+5834
-16
lines changed

7 files changed

+5834
-16
lines changed

.github/workflows/publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish to npm
2+
3+
on:
4+
release:
5+
types: [created]
6+
# Or trigger on version tags:
7+
# push:
8+
# tags:
9+
# - 'v*'
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: '20'
20+
registry-url: 'https://registry.npmjs.org'
21+
22+
- run: npm ci
23+
- run: npm test
24+
- run: npm publish
25+
env:
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,21 +103,21 @@
103103
}
104104

105105
h2 {
106-
color: var(--text-color);
106+
color: #000000;
107107
font-size: 1.8rem;
108108
margin-bottom: 20px;
109109
padding-bottom: 10px;
110110
border-bottom: 2px solid var(--border-color);
111111
}
112112

113113
h3 {
114-
color: var(--text-color);
114+
color: #000000;
115115
font-size: 1.3rem;
116116
margin: 30px 0 15px;
117117
}
118118

119119
h4 {
120-
color: var(--text-light);
120+
color: #000000;
121121
font-size: 1.1rem;
122122
margin: 20px 0 10px;
123123
}

examples/browser.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
padding: 20px;
1313
line-height: 1.6;
1414
}
15-
h1 { color: #0066cc; }
15+
h1 { color: #000000; }
16+
h2, h3, h4 { color: #000000; }
17+
a { color: #327bba; }
1618
.card {
1719
background: #f8f9fa;
1820
border: 1px solid #e1e4e8;
@@ -33,13 +35,13 @@
3335
}
3436
input { width: 100%; box-sizing: border-box; }
3537
button {
36-
background: #0066cc;
38+
background: #327bba;
3739
color: white;
3840
border: none;
3941
cursor: pointer;
4042
margin: 5px 5px 5px 0;
4143
}
42-
button:hover { background: #004d99; }
44+
button:hover { background: #2a6a9e; }
4345
button:disabled { background: #ccc; cursor: not-allowed; }
4446
#output {
4547
background: #1e1e1e;
@@ -92,10 +94,8 @@ <h3>Output</h3>
9294
</div>
9395

9496
<!-- Include the Sirv SDK -->
95-
<script src="https://unpkg.com/sirv-rest-api-js/dist/sirv.min.js"></script>
96-
97-
<!-- For local development, use: -->
98-
<!-- <script src="../dist/sirv.min.js"></script> -->
97+
<!-- For production, use: <script src="https://unpkg.com/sirv-rest-api-js/dist/sirv.min.js"></script> -->
98+
<script src="../dist/sirv.min.js"></script>
9999

100100
<script>
101101
let sirv = null;

0 commit comments

Comments
 (0)