Skip to content

Commit 57d3b5c

Browse files
authored
feat!: initial creation of the package (#1)
Just the initial Version of the package.
1 parent 38f35f8 commit 57d3b5c

31 files changed

+5746
-3
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 with multi-package
4+
repos, or single-package repos to help you version and publish your code. You can find the full documentation for it
5+
[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: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"access": "public",
4+
"baseBranch": "main",
5+
"changelog": ["@mheob/changeset-changelog", { "repo": "mheob/changeset-changelog" }],
6+
"commit": false,
7+
"fixed": [],
8+
"ignore": [],
9+
"linked": [],
10+
"updateInternalDependencies": "patch"
11+
}

.changeset/sixty-insects-brush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@mheob/changeset-changelog': major
3+
---
4+
5+
Initial creation of the package

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_style = tab
8+
indent_size = 2
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.md]
13+
indent_style = space
14+
max_line_length = off
15+
trim_trailing_whitespace = false
16+
17+
[*.{yml,yaml}]
18+
max_line_length = off
19+
indent_style = space

.eslintrc.cjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/** @type {import('eslint').ESLint.ConfigData} */
2+
module.exports = {
3+
root: true,
4+
extends: ['@mheob/eslint-config'],
5+
rules: {
6+
'unicorn/no-null': 'off',
7+
},
8+
};

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Learn how to add code owners here:
2+
# https://help.github.com/en/articles/about-code-owners
3+
4+
* @mheob

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "friday"
8+
time: "00:23"

.github/renovate.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["local>mheob/.github:renovate-config"],
4+
"schedule": ["before 4am on Wednesday"]
5+
}

.github/workflows/check.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Check
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
check:
13+
name: Check
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout Repo
17+
uses: actions/checkout@v3
18+
19+
- name: Setup PNPM
20+
uses: pnpm/action-setup@v2
21+
with:
22+
version: 7
23+
24+
- name: Setup Node
25+
uses: actions/setup-node@v3
26+
with:
27+
node-version-file: ".nvmrc"
28+
cache: "pnpm"
29+
30+
- name: Install Dependencies
31+
run: pnpm install --frozen-lockfile
32+
33+
- name: Build files
34+
run: pnpm run build
35+
36+
- name: Lint files
37+
run: pnpm run lint
38+
39+
- name: Test files
40+
run: pnpm run test:run

.github/workflows/release.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
paths:
6+
- ".changeset/**"
7+
- "src/**"
8+
- "package.json"
9+
branches:
10+
- main
11+
12+
concurrency: ${{ github.workflow }}-${{ github.ref }}
13+
14+
jobs:
15+
release:
16+
name: Release
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout Repo
20+
uses: actions/checkout@v3
21+
with:
22+
token: ${{ secrets.MACHINE_USER_TOKEN }}
23+
24+
- name: Setup PNPM
25+
uses: pnpm/action-setup@v2
26+
with:
27+
version: 7
28+
29+
- name: Setup Node
30+
uses: actions/setup-node@v3
31+
with:
32+
node-version-file: ".nvmrc"
33+
cache: "pnpm"
34+
35+
- name: Install Dependencies
36+
run: pnpm install --frozen-lockfile
37+
38+
- name: Build files
39+
run: pnpm run build
40+
41+
- name: Create Release Pull Request or Publish to npm
42+
id: changesets
43+
uses: changesets/action@v1
44+
with:
45+
commit: "chore(release): bump version and deploy"
46+
title: "chore(release): bump version and deploy"
47+
publish: pnpm run release
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.MACHINE_USER_TOKEN }}
50+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)