Skip to content

Commit 26335bc

Browse files
committed
Hypermod workflow file
1 parent 5248c0e commit 26335bc

File tree

105 files changed

+2180
-662
lines changed

Some content is hidden

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

105 files changed

+2180
-662
lines changed

.github/workflows/documentation.yml renamed to .github/workflows/documentation.yml.disabled

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v1
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: '18.x'
17+
node-version: '20.17.*'
1818
- name: Generate docs
1919
run: |
2020
yarn install --frozen-lockfile
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/checkout@v1
3333
- uses: actions/setup-node@v1
3434
with:
35-
node-version: '18.x'
35+
node-version: '20.17.*'
3636
- uses: webfactory/ssh-agent@v0.5.0
3737
with:
3838
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}

.github/workflows/hypermod.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Hypermod
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
deploymentId:
7+
description: "The deployment ID containing instructions to apply on a repository"
8+
deploymentKey:
9+
description: "The deployment key to authenticate the request"
10+
jobs:
11+
receive_hypermod_event:
12+
permissions: write-all
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Run Hypermod CLI
17+
uses: hypermod-io/action@v1
18+
with:
19+
deploymentId: ${{ inputs.deploymentId }}
20+
deploymentKey: ${{ inputs.deploymentKey }}
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1717
fetch-depth: 0
1818

19-
- name: Setup Node.js 18.x
19+
- name: Setup Node.js 20.17.*
2020
uses: actions/setup-node@master
2121
with:
22-
node-version: 18.x
22+
node-version: 20.17.*
2323

2424
- name: Install Dependencies
2525
run: yarn

.github/workflows/test-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [18.x]
14+
node-version: [20.17.*]
1515

1616
steps:
1717
- uses: actions/checkout@v2

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [18.x]
15+
node-version: [20.17.*]
1616

1717
steps:
1818
- uses: actions/checkout@v2

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [18.x]
15+
node-version: [20.17.*]
1616

1717
steps:
1818
- uses: actions/checkout@v2

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18
1+
v20.17

README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,27 @@ The community-owned global registry and documentation hub for codemods. Providin
1414

1515
## Features
1616

17-
🔭 Explore an extensive list of codemods [contributed by the community](https://www.codeshiftcommunity.com/docs/registry).
18-
19-
[Create](https://www.codeshiftcommunity.com/docs/authoring), [test](https://www.codeshiftcommunity.com/docs/testing) and [publish](https://www.codeshiftcommunity.com/docs/consuming) codemods from anywhere.
17+
🔭 Explore an extensive list of codemods [contributed by the community](https://www.hypermod.io/explore).
2018

2119
⚡️ Use our [helpers & testing utilities](https://www.codeshiftcommunity.com/docs/utils) to make writing codemods a breeze.
2220

23-
🧠 Up-skill your engineering team using our [guides & resources](https://www.codeshiftcommunity.com/docs/your-first-codemod).
21+
🧠 Up-skill your engineering team using our [guides & resources](https://www.hypermod.io/docs/guides/your-first-codemod).
2422

2523
🎨 Perfect for [Design Systems & Monorepos](https://www.codeshiftcommunity.com/docs/monorepos).
2624

2725
🦄 Bring your own [AST transformer](https://www.codeshiftcommunity.com/docs/css-codemods).
2826

2927
## Getting started
3028

31-
- [Writing codemods](https://codeshiftcommunity.github.io/CodeshiftCommunity/docs/authoring)
32-
- [Testing codemods](https://codeshiftcommunity.github.io/CodeshiftCommunity/docs/testing)
33-
- [Guides & learning resources](https://codeshiftcommunity.github.io/CodeshiftCommunity/docs/your-first-codemod)
34-
- [Publishing & contribution](https://codeshiftcommunity.github.io/CodeshiftCommunity/docs/contribution)
35-
- [Consuming codemods](https://codeshiftcommunity.github.io/CodeshiftCommunity/docs/consuming)
29+
- [Writing codemods](https://hypermod-io.github.io/hypermod-community//docs/authoring)
30+
- [Testing codemods](https://hypermod-io.github.io/hypermod-community//docs/testing)
31+
- [Guides & learning resources](https://hypermod-io.github.io/hypermod-community//docs/your-first-codemod)
32+
- [Publishing & contribution](https://hypermod-io.github.io/hypermod-community//docs/contribution)
33+
- [Consuming codemods](https://hypermod-io.github.io/hypermod-community//docs/consuming)
3634

3735
## Registry
3836

39-
[The registry](https://www.codeshiftcommunity.com/docs/registry) contains all community contributed codemods, hosted and published directly from the CodeshiftCommunity repository.
37+
[The registry](https://www.codeshiftcommunity.com/docs/registry) contains all community-contributed codemods, hosted and published directly from the CodeshiftCommunity repository.
4038

4139
Source for these packages are located in the [/community folder](https://github.com/hypermod-io/hypermod-community/tree/main/community).
4240

@@ -48,9 +46,9 @@ Source for these packages are located in the [/community folder](https://github.
4846

4947
Downloading and running codemods as well as initialising and maintaining codemod packages can all be done via the Hypermod CLI (`@hypermod/cli`).
5048

51-
[Please see the docs for more information and examples](https://www.codeshiftcommunity.com/docs/cli)
49+
[Please see the docs for more information and examples](https://www.hypermod.io/docs/tools/cli)
5250

53-
We recommend running the CLI with $ npx to ensure you always have the latest version.
51+
We recommend running the CLI with `$ npx` to ensure you always have the latest version.
5452

5553
`$ npx @hypermod/cli --packages mylib@1.0.0 /project/src`
5654

@@ -63,6 +61,7 @@ and run with:
6361
`$ hypermod or $ hypermod-cli`
6462

6563
## Used by
64+
6665
- [Algolia](https://www.algolia.com/doc/guides/building-search-ui/upgrade-guides/react/)
6766
- [Compiled CSS-in-JS](https://github.com/atlassian-labs/compiled/tree/master/packages/codemods)
6867
- [react-resource-router](https://github.com/atlassian-labs/react-resource-router/tree/master/codemods)

community/@atlaskit__avatar/CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# @hypermod/mod-atlaskit\_\_avatar
22

3+
## 0.4.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [68eabcf]
8+
- @hypermod/utils@0.7.0
9+
10+
## 0.4.0
11+
12+
### Minor Changes
13+
14+
- 6baffa1: Bumps jscodeshift, which may have unintended side-effects
15+
16+
### Patch Changes
17+
18+
- Updated dependencies [6baffa1]
19+
- @hypermod/utils@0.6.0
20+
21+
## 0.3.3
22+
23+
### Patch Changes
24+
25+
- Updated dependencies [c17dd18]
26+
- @hypermod/utils@0.5.0
27+
328
## 0.3.2
429

530
### Patch Changes

community/@atlaskit__avatar/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hypermod/mod-atlaskit__avatar",
3-
"version": "0.3.2",
3+
"version": "0.4.1",
44
"license": "MIT",
55
"source": "src/hypermod.config.js",
66
"main": "dist/hypermod.config.js",
@@ -11,16 +11,16 @@
1111
"validate": "hypermod validate ."
1212
},
1313
"dependencies": {
14-
"@hypermod/utils": "^0.4.1",
15-
"jscodeshift": "^0.13.1"
14+
"@hypermod/utils": "^0.7.0",
15+
"jscodeshift": "^17.1.2"
1616
},
1717
"devDependencies": {
18-
"@hypermod/cli": "^0.22.0",
18+
"@hypermod/cli": "^0.27.0",
1919
"@types/jest": "^29.0.0",
2020
"@types/node": "^16.11.0",
2121
"jest": "^29.0.0",
2222
"prettier": "^2.0.0",
23-
"ts-jest": "^29.0.0",
23+
"ts-jest": "^29.2.5",
2424
"typescript": "^5.2.2"
2525
},
2626
"repository": "https://github.com/hypermod-io/hypermod-community/tree/main/community/@atlaskit__avatar"

0 commit comments

Comments
 (0)