Skip to content

Commit 5cc4111

Browse files
committed
First real commit
1 parent 270b7e0 commit 5cc4111

9 files changed

Lines changed: 1814 additions & 17 deletions

File tree

β€Ž.github/workflows/deps.ymlβ€Ž

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
name: deps
3+
4+
on:
5+
schedule:
6+
- cron: 0 0 1 * *
7+
workflow_dispatch: {}
8+
9+
jobs:
10+
deps:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- id: generate_token
14+
uses: tibdex/github-app-token@v1
15+
with:
16+
app_id: ${{ secrets.DEPS_GITHUB_APP_ID }}
17+
private_key: ${{ secrets.DEPS_GITHUB_APP_KEY }}
18+
- uses: actions/checkout@v2
19+
with:
20+
token: ${{ steps.generate_token.outputs.token }}
21+
- uses: actions/setup-node@v2
22+
with:
23+
node-version: '16'
24+
- run: curl https://deps.app/install.sh | bash -s -- -b $HOME/bin
25+
- run: $HOME/bin/deps ci
26+
env:
27+
DEPS_TOKEN: ${{ secrets.DEPS_TOKEN }}
28+
DEPS_GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: nextrelease
2+
on:
3+
push:
4+
branches: [master]
5+
pull_request:
6+
branches: [master]
7+
types: [labeled, unlabeled, edited, synchronize]
8+
9+
jobs:
10+
sync:
11+
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' && github.head_ref == 'nextrelease' }}
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/setup-node@v2
15+
with:
16+
node-version: '16'
17+
registry-url: 'https://registry.npmjs.org'
18+
- uses: dropseed/nextrelease@v2
19+
env:
20+
NODE_AUTH_TOKEN: ${{ secrets.DROPSEED_NPM_TOKEN }}
21+
with:
22+
prepare_cmd: |
23+
npm version $NEXT_VERSION --no-git-tag-version --allow-same-version
24+
publish_cmd: |
25+
npm ci
26+
npm run build
27+
npm publish --access public
28+
github_token: ${{ secrets.GITHUB_TOKEN }}

β€Ž.gitignoreβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
/dist
3+
.parcel-cache

β€ŽREADME.mdβ€Ž

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1 @@
11
# codeplus
2-
3-
A `<code>` element turbocharger. The code should look readable and normal without the extension (like in markdown docs) -- so a lot of the features are implemented through human-readable code comments.
4-
5-
Maybe it's a web component? https://github.com/github/custom-element-boilerplate
6-
7-
Things I want:
8-
9-
- filename (`// filename.js` as first line)
10-
- tabs (sibling `pre>code` with same group identifier - maybe `// filename.js - Adding x to y example`)
11-
- language switcher (sibling `pre>code` with same filename but different lang)
12-
- light/dark mode toggle?
13-
- walkthrough (highlight line like Stripe docs, hover on https://webauthn.guide/) (`Step 1: ...`)
14-
- copy/paste button (and on "steps")
15-
- collapsing?
16-
- diff coloring
17-
- variables (like client DSN in sentry docs - only swaps them out if variable given, obvious styling, list dropdown if variable is an array)
18-
- variables with prompt/input (ex. project name), maybe on copy/paste?

0 commit comments

Comments
 (0)