Skip to content

Commit 8708c8d

Browse files
committed
init
0 parents  commit 8708c8d

39 files changed

Lines changed: 2954 additions & 0 deletions

.github/workflows/publish.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "🚀 Publish to NPM"
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
13+
with:
14+
node-version: "18"
15+
- uses: oven-sh/setup-bun@v1
16+
- run: bun i && bun test && bun run build
17+
- uses: JS-DevTools/npm-publish@v2
18+
with:
19+
access: "public"
20+
token: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore
2+
3+
# Logs
4+
5+
logs
6+
_.log
7+
npm-debug.log_
8+
yarn-debug.log*
9+
yarn-error.log*
10+
lerna-debug.log*
11+
.pnpm-debug.log*
12+
13+
# Diagnostic reports (https://nodejs.org/api/report.html)
14+
15+
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
16+
17+
# Runtime data
18+
19+
pids
20+
_.pid
21+
_.seed
22+
\*.pid.lock
23+
24+
# Directory for instrumented libs generated by jscoverage/JSCover
25+
26+
lib-cov
27+
28+
# Coverage directory used by tools like istanbul
29+
30+
coverage
31+
\*.lcov
32+
33+
# nyc test coverage
34+
35+
.nyc_output
36+
37+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
38+
39+
.grunt
40+
41+
# Bower dependency directory (https://bower.io/)
42+
43+
bower_components
44+
45+
# node-waf configuration
46+
47+
.lock-wscript
48+
49+
# Compiled binary addons (https://nodejs.org/api/addons.html)
50+
51+
build/Release
52+
53+
# Dependency directories
54+
55+
node_modules/
56+
jspm_packages/
57+
58+
# Snowpack dependency directory (https://snowpack.dev/)
59+
60+
web_modules/
61+
62+
# TypeScript cache
63+
64+
\*.tsbuildinfo
65+
66+
# Optional npm cache directory
67+
68+
.npm
69+
70+
# Optional eslint cache
71+
72+
.eslintcache
73+
74+
# Optional stylelint cache
75+
76+
.stylelintcache
77+
78+
# Microbundle cache
79+
80+
.rpt2_cache/
81+
.rts2_cache_cjs/
82+
.rts2_cache_es/
83+
.rts2_cache_umd/
84+
85+
# Optional REPL history
86+
87+
.node_repl_history
88+
89+
# Output of 'npm pack'
90+
91+
\*.tgz
92+
93+
# Yarn Integrity file
94+
95+
.yarn-integrity
96+
97+
# dotenv environment variable files
98+
99+
.env
100+
.env.development.local
101+
.env.test.local
102+
.env.production.local
103+
.env.local
104+
105+
# parcel-bundler cache (https://parceljs.org/)
106+
107+
.cache
108+
.parcel-cache
109+
110+
# Next.js build output
111+
112+
.next
113+
out
114+
115+
# Nuxt.js build / generate output
116+
117+
.nuxt
118+
dist
119+
120+
# Turborepo
121+
.turbo
122+
123+
# Gatsby files
124+
125+
.cache/
126+
127+
# Comment in the public line in if your project uses Gatsby and not Next.js
128+
129+
# https://nextjs.org/blog/next-9-1#public-directory-support
130+
131+
# public
132+
133+
# vuepress build output
134+
135+
.vuepress/dist
136+
137+
# vuepress v2.x temp and cache directory
138+
139+
.temp
140+
.cache
141+
142+
# Docusaurus cache and generated files
143+
144+
.docusaurus
145+
146+
# Serverless directories
147+
148+
.serverless/
149+
150+
# FuseBox cache
151+
152+
.fusebox/
153+
154+
# DynamoDB Local files
155+
156+
.dynamodb/
157+
158+
# TernJS port file
159+
160+
.tern-port
161+
162+
# Stores VSCode versions used for testing VSCode extensions
163+
164+
.vscode-test
165+
166+
# yarn v2
167+
168+
.yarn/cache
169+
.yarn/unplugged
170+
.yarn/build-state.yml
171+
.yarn/install-state.gz
172+
.pnp.\*
173+
174+
# OS or Editor folders
175+
176+
.DS_Store
177+
._*
178+
Desktop.ini
179+
Thumbs.db
180+
.Spotlight-V100
181+
.Trashes
182+
.cache
183+
.project
184+
.settings
185+
.tmproj
186+
*.esproj
187+
nbproject
188+
*.sublime-project
189+
*.sublime-workspace
190+
.vscode
191+
.idea

.gitpod.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This configuration file was automatically generated by Gitpod.
2+
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
3+
# and commit this file to your remote git repository to share the goodness with others.
4+
5+
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
6+
7+
tasks:
8+
- init: npm install && npm run build
9+
10+

.npmignore

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore
2+
3+
# Logs
4+
5+
logs
6+
_.log
7+
npm-debug.log_
8+
yarn-debug.log*
9+
yarn-error.log*
10+
lerna-debug.log*
11+
.pnpm-debug.log*
12+
13+
# Diagnostic reports (https://nodejs.org/api/report.html)
14+
15+
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
16+
17+
# Runtime data
18+
19+
pids
20+
_.pid
21+
_.seed
22+
\*.pid.lock
23+
24+
# Directory for instrumented libs generated by jscoverage/JSCover
25+
26+
lib-cov
27+
28+
# Coverage directory used by tools like istanbul
29+
30+
coverage
31+
\*.lcov
32+
33+
# nyc test coverage
34+
35+
.nyc_output
36+
37+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
38+
39+
.grunt
40+
41+
# Bower dependency directory (https://bower.io/)
42+
43+
bower_components
44+
45+
# node-waf configuration
46+
47+
.lock-wscript
48+
49+
# Compiled binary addons (https://nodejs.org/api/addons.html)
50+
51+
build/Release
52+
53+
# Dependency directories
54+
55+
node_modules/
56+
jspm_packages/
57+
58+
# Snowpack dependency directory (https://snowpack.dev/)
59+
60+
web_modules/
61+
62+
# TypeScript cache
63+
64+
\*.tsbuildinfo
65+
66+
# Optional npm cache directory
67+
68+
.npm
69+
70+
# Optional eslint cache
71+
72+
.eslintcache
73+
74+
# Optional stylelint cache
75+
76+
.stylelintcache
77+
78+
# Microbundle cache
79+
80+
.rpt2_cache/
81+
.rts2_cache_cjs/
82+
.rts2_cache_es/
83+
.rts2_cache_umd/
84+
85+
# Optional REPL history
86+
87+
.node_repl_history
88+
89+
# Output of 'npm pack'
90+
91+
\*.tgz
92+
93+
# Yarn Integrity file
94+
95+
.yarn-integrity
96+
97+
# dotenv environment variable files
98+
99+
.env
100+
.env.development.local
101+
.env.test.local
102+
.env.production.local
103+
.env.local
104+
105+
# parcel-bundler cache (https://parceljs.org/)
106+
107+
.cache
108+
.parcel-cache
109+
110+
# Next.js build output
111+
112+
.next
113+
out
114+
115+
# Nuxt.js build / generate output
116+
117+
.nuxt
118+
119+
# Gatsby files
120+
121+
.cache/
122+
123+
# Comment in the public line in if your project uses Gatsby and not Next.js
124+
125+
# https://nextjs.org/blog/next-9-1#public-directory-support
126+
127+
# public
128+
129+
# vuepress build output
130+
131+
.vuepress/dist
132+
133+
# vuepress v2.x temp and cache directory
134+
135+
.temp
136+
.cache
137+
138+
# Docusaurus cache and generated files
139+
140+
.docusaurus
141+
142+
# Serverless directories
143+
144+
.serverless/
145+
146+
# FuseBox cache
147+
148+
.fusebox/
149+
150+
# DynamoDB Local files
151+
152+
.dynamodb/
153+
154+
# TernJS port file
155+
156+
.tern-port
157+
158+
# Stores VSCode versions used for testing VSCode extensions
159+
160+
.vscode-test
161+
162+
# yarn v2
163+
164+
.yarn/cache
165+
.yarn/unplugged
166+
.yarn/build-state.yml
167+
.yarn/install-state.gz
168+
.pnp.\*

0 commit comments

Comments
 (0)