Skip to content

Commit 7e8e1fa

Browse files
committed
feat: general updates and removed old gh-tools
1 parent 4a913c6 commit 7e8e1fa

51 files changed

Lines changed: 4839 additions & 73189 deletions

Some content is hidden

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

.github/workflows/main.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/create-github-app-token@v2
13+
id: app-token
14+
with:
15+
app-id: ${{ vars.BOT_APP_ID }}
16+
private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
17+
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
with:
21+
ref: master
22+
token: ${{ steps.app-token.outputs.token }}
23+
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: 22
28+
registry-url: 'https://registry.npmjs.org'
29+
scope: '@yetanothercode'
30+
always-auth: true
31+
env:
32+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
33+
34+
- name: Configure CI Git User
35+
run: |
36+
git config --global user.name ${{ vars.BOT_APP_USERNAME }}[bot]
37+
git config --global user.email ${{ vars.BOT_APP_EMAIL }}
38+
39+
- name: Install Packages
40+
run: yarn install
41+
42+
# - name: Authenticate with Registry
43+
# run: |
44+
# echo "@yetanothercode:registry=https://registry.npmjs.org/" > .npmrc
45+
# echo "registry=https://registry.npmjs.org/" >> .npmrc
46+
# echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
47+
# npm whoami
48+
# env:
49+
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
50+
51+
- name: Publish to Registry
52+
run: yarn release
53+
env:
54+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
55+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
56+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/tag.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Generate Tags
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
tag:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Configure GitHub App
13+
uses: actions/create-github-app-token@v2
14+
id: app-token
15+
with:
16+
app-id: ${{ vars.BOT_APP_ID }}
17+
private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
18+
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
with:
22+
ref: master
23+
token: ${{ steps.app-token.outputs.token }}
24+
25+
- name: Setup Node.js
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 22
29+
registry-url: 'https://registry.npmjs.org'
30+
scope: '@yetanothercode'
31+
always-auth: true
32+
env:
33+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
34+
35+
- name: Configure CI Git User
36+
run: |
37+
git config --global user.name ${{ vars.BOT_APP_USERNAME }}[bot]
38+
git config --global user.email ${{ vars.BOT_APP_EMAIL }}
39+
40+
- name: Install Packages
41+
run: yarn install
42+
43+
# - name: Authenticate with Registry
44+
# run: |
45+
# echo "@yetanothercode:registry=https://registry.npmjs.org/" > .npmrc
46+
# echo "registry=https://registry.npmjs.org/" >> .npmrc
47+
# echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
48+
# npm whoami
49+
# env:
50+
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
51+
52+
- name: Create tags
53+
run: yarn tag
54+
env:
55+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
56+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
57+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
.yarn
22
.pnp.*
3+
4+
/.nx/workspace-data

.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// @ts-check
22
module.exports = {
3-
...require('@cirocfc/yet-another-prettier-config'),
3+
...require('@yetanothercode/yet-another-prettier-config'),
44
};

.vscode/pnpify/prettier/index.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

.vscode/pnpify/prettier/package.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)