Skip to content

Commit fecfefe

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

51 files changed

Lines changed: 4831 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: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
29+
- name: Configure CI Git User
30+
run: |
31+
git config --global user.name ${{ vars.BOT_APP_USERNAME }}
32+
git config --global user.email ${{ vars.BOT_APP_EMAIL }}
33+
34+
- name: Install Packages
35+
run: yarn install
36+
37+
# - name: Authenticate with Registry
38+
# run: |
39+
# echo "@yetanothercode:registry=https://registry.npmjs.org/" > .npmrc
40+
# echo "registry=https://registry.npmjs.org/" >> .npmrc
41+
# echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
42+
# npm whoami
43+
# env:
44+
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
46+
- name: Create tags
47+
run: yarn release
48+
env:
49+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
50+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
51+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/tag.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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+
32+
- name: Configure CI Git User
33+
run: |
34+
git config --global user.name ${{ vars.BOT_APP_USERNAME }}
35+
git config --global user.email ${{ vars.BOT_APP_EMAIL }}
36+
37+
- name: Install Packages
38+
run: yarn install
39+
40+
# - name: Authenticate with Registry
41+
# run: |
42+
# echo "@yetanothercode:registry=https://registry.npmjs.org/" > .npmrc
43+
# echo "registry=https://registry.npmjs.org/" >> .npmrc
44+
# echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
45+
# npm whoami
46+
# env:
47+
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
48+
49+
- name: Create tags
50+
run: yarn tag
51+
env:
52+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
53+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
54+
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)