Skip to content

Commit 82becad

Browse files
author
Justin Kimbrell
committed
# Conflicts: # .github/workflows/master.yaml
2 parents 764cae0 + 1933084 commit 82becad

File tree

465 files changed

+42962
-8196
lines changed

Some content is hidden

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

465 files changed

+42962
-8196
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": [
4+
"@changesets/changelog-github",
5+
{
6+
"repo": "objectivehtml/FlipClock"
7+
}
8+
],
9+
"commit": false,
10+
"fixed": [],
11+
"linked": [],
12+
"access": "public",
13+
"baseBranch": "master",
14+
"updateInternalDependencies": "patch",
15+
"ignore": []
16+
}

.changeset/pre.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"mode": "pre",
3+
"tag": "beta",
4+
"initialVersions": {
5+
"flipclock": "1.0.0-beta.1"
6+
},
7+
"changesets": [
8+
"yellow-suits-sink"
9+
]
10+
}

.changeset/yellow-suits-sink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"flipclock": patch
3+
---
4+
5+
Updated README.md

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!docs/.vitepress/

.eslintrc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": ["@typescript-eslint", "no-only-tests", "eslint-comments"],
5+
"ignorePatterns": ["node_modules", "dist"],
6+
"parserOptions": {
7+
"project": "./tsconfig.json",
8+
"tsconfigRootDir": ".",
9+
"sourceType": "module"
10+
},
11+
"rules": {
12+
"indent": "warn",
13+
"keyword-spacing": "warn",
14+
"semi": "warn",
15+
"prefer-const": "warn",
16+
"no-console": "warn",
17+
"no-debugger": "warn",
18+
"no-only-tests/no-only-tests": "warn",
19+
"@typescript-eslint/no-unused-vars": [
20+
"warn",
21+
{
22+
"argsIgnorePattern": "^_",
23+
"varsIgnorePattern": "^_",
24+
"caughtErrorsIgnorePattern": "^_"
25+
}
26+
],
27+
"@typescript-eslint/no-unnecessary-type-assertion": "warn",
28+
"@typescript-eslint/no-unnecessary-condition": "warn",
29+
"@typescript-eslint/no-useless-empty-export": "warn",
30+
"eslint-comments/no-unused-disable": "warn"
31+
}
32+
}

.github/workflows/beta.yaml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Sample workflow for building and deploying a VitePress site to GitHub Pages
2+
#
3+
name: Prerelease
4+
5+
on:
6+
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
7+
# using the `master` branch as the default branch.
8+
push:
9+
branches: [beta]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15+
permissions:
16+
contents: write
17+
pages: write
18+
id-token: write
19+
pull-requests: write
20+
packages: write
21+
22+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
23+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
24+
concurrency:
25+
group: pages
26+
cancel-in-progress: false
27+
28+
jobs:
29+
# Build job
30+
build:
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@v4
35+
with:
36+
fetch-depth: 0
37+
- uses: pnpm/action-setup@v3
38+
- name: Setup Node
39+
uses: actions/setup-node@v4
40+
with:
41+
node-version: 22
42+
cache: pnpm
43+
- name: Setup Pages
44+
uses: actions/configure-pages@v4
45+
- name: Install dependencies
46+
run: pnpm install --frozen-lockfile
47+
- name: Build
48+
run: pnpm build
49+
- name: Upload artifact
50+
uses: actions/upload-pages-artifact@v3
51+
with:
52+
path: docs/.vitepress/dist
53+
- name: Create Release Pull Request or Publish
54+
id: changesets
55+
uses: changesets/action@v1
56+
with:
57+
commit: "ci: version bump from changesets"
58+
publish: pnpm changeset publish
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
62+
63+
# Deployment job
64+
deploy:
65+
environment:
66+
name: github-pages
67+
url: ${{ steps.deployment.outputs.page_url }}
68+
needs: build
69+
runs-on: ubuntu-latest
70+
name: Deploy
71+
steps:
72+
- name: Deploy to GitHub Pages
73+
id: deployment
74+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,30 @@
1+
dist
2+
coverage
3+
.vitepress/cache
4+
.wrangler
5+
.output
6+
.vercel
7+
.netlify
8+
.vinxi
9+
app.config.timestamp_*.js
10+
11+
# Environment
12+
.env
13+
.env*.local
14+
15+
# dependencies
16+
/node_modules
17+
18+
# IDEs and editors
19+
/.idea
20+
.project
21+
.classpath
22+
*.launch
23+
.settings/
24+
25+
# Temp
26+
gitignore
27+
28+
# System Files
129
.DS_Store
2-
node_modules
30+
Thumbs.db

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm exec -- commitlint --edit ${1}

0 commit comments

Comments
 (0)