Skip to content

Commit ce6c1f1

Browse files
authored
Merge pull request #84 from mixn/v2
2 parents 63b7915 + 97ca90c commit ce6c1f1

File tree

89 files changed

+19009
-9022
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+19009
-9022
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
root = true
22

33
[*]
4-
indent_style = tab
4+
indent_style = space
55
end_of_line = lf
66
charset = utf-8
77
trim_trailing_whitespace = true
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help fix something about `carbon-now-cli`
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
16+
1. Run `carbon-now` with…
17+
2. Wait for image to download…
18+
3. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Info (please complete the following information):**
27+
28+
- OS [e.g. macOS, Linux, Windows, iOS]:
29+
- `--engine` used [e.g. `chromium`, `firefox`, `webkit`]:
30+
- Carbon URL (run with `--open-in-browser` to see) [e.g. carbon.now.sh?bg=pink]:
31+
32+
33+
<details>
34+
<summary>Code snippet</summary>
35+
<pre>
36+
<!-- Paste an example code snippet, if applicable -->
37+
</pre>
38+
</details>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: feature-request
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I’m always frustrated when [...]
12+
13+
**Describe the solution you’d like:**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you’ve considered:**
17+
A clear and concise description of any alternative solutions or features you’ve considered.
18+
19+
**Additional context:**
20+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/other.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Other
3+
about: Let us know about something else
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the change:**
11+
A clear and concise description of your proposal.
12+
13+
**Screenshots:**
14+
If applicable, add screenshots to help explain the issue.
15+
16+
**Info (please complete the following information):**
17+
18+
- OS [e.g. macOS, Linux, Windows, iOS]:
19+
- `--engine` used [e.g. `chromium`, `firefox`, `webkit`]:
20+
21+
<details>
22+
<summary>Code snippet</summary>
23+
<pre>
24+
<!-- Paste an example code snippet, if applicable -->
25+
</pre>
26+
</details>

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: 'npm'
4+
directory: '/'
5+
schedule:
6+
interval: 'daily'

.github/workflows/tests.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Tests
2+
on: [pull_request, push, workflow_dispatch]
3+
4+
jobs:
5+
checkout-and-run:
6+
runs-on: macos-latest
7+
strategy:
8+
matrix:
9+
node-version: [v18.0.0]
10+
steps:
11+
- name: Check out repository code
12+
uses: actions/checkout@v2
13+
- name: Use Node.js ${{ matrix.node-version }}
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: ${{ matrix.node-version }}
17+
- name: Install dependencies
18+
run: npm install
19+
- name: Install Playwright
20+
run: npx playwright install --with-deps
21+
- name: Run tests
22+
run: npm run test
23+
timeout-minutes: 10

.gitignore

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
node_modules
22
.vscode
3-
carbon.png
4-
carbon.svg
5-
carbon
63
assets
74
.DS_Store
5+
dist/
6+
bundle/
7+
coverage/
8+
/test-results/
9+
/playwright-report/
10+
/playwright/.cache/

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npm test

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v18.0.0

.prettierignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
test/test-dummies/*
2+
!test/test-dummies/_config.json
3+
dist/
4+
bundle/
5+
static/*
6+
readme.md
7+
license
8+
coverage/

0 commit comments

Comments
 (0)