Skip to content

Commit 7249e56

Browse files
authored
Merge pull request #1 from manni497/feature/react19z
React 19
2 parents 86ff3d6 + 6f62ada commit 7249e56

57 files changed

Lines changed: 5389 additions & 7496 deletions

Some content is hidden

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

.github/FUNDING.yml

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

.github/ISSUE_TEMPLATE/bug-report.md

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

.github/dependabot.yml

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

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ jobs:
8383
- run: rm -rf node_modules && yarn install --frozen-lockfile
8484
- run: npm run lint
8585
- run: npm run build --if-present
86-
- run: npm run test:ci
86+
- run: npm run test:ci

.github/workflows/coverage.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: Create Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version_type:
7+
type: choice
8+
description: Semantic Version Type
9+
options:
10+
- major
11+
- minor
12+
- patch
13+
- no-version-update
14+
15+
pre_release:
16+
type: choice
17+
description: Pre Release?
18+
options:
19+
- stable
20+
- alpha
21+
- beta
22+
- rc
23+
24+
jobs:
25+
release-it:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: tibdex/github-app-token@v2
29+
id: generate-token
30+
with:
31+
app_id: ${{ secrets.RELEASE_BOT_APP_ID }}
32+
private_key: ${{ secrets.RELEASE_BOT_APP_PRIVATE_KEY }}
33+
34+
- name: checkout
35+
uses: actions/checkout@v4
36+
with:
37+
token: ${{ steps.generate-token.outputs.token }}
38+
# we need everything so release-it can compare the current version with the latest tag
39+
fetch-depth: 0
40+
41+
- name: initialize mandatory git config
42+
run: |
43+
git config user.name "GitHub Release Bot"
44+
git config user.email release-bot@neolution.ch
45+
46+
- name: install yarn packages
47+
run: |
48+
yarn --frozen-lockfile
49+
50+
- name: set NPM Token
51+
run: |
52+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
53+
env:
54+
NPM_TOKEN: ${{ secrets.NPM_TOKEN_NEOLUTION }}
55+
56+
- name: build
57+
run: yarn build
58+
59+
- name: run release-it
60+
run: |
61+
params=()
62+
63+
if [[ ${{ github.event.inputs.version_type }} != "no-version-update" ]]; then
64+
params+=(${{ github.event.inputs.version_type }})
65+
fi
66+
67+
if [[ ${{ github.event.inputs.pre_release }} != "stable" ]]; then
68+
params+=(--preRelease=${{ github.event.inputs.pre_release }})
69+
params+=(--plugins.@release-it/keep-a-changelog.keepUnreleased)
70+
params+=(--no-plugins.@release-it/keep-a-changelog.strictLatest)
71+
fi
72+
73+
params+=(--ci)
74+
75+
yarn release-it "${params[@]}"
76+
env:
77+
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}

.github/workflows/docs.yml

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

.github/workflows/pkg.pr.new.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: PKG PR New
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
types: [opened, synchronize, ready_for_review]
6+
push:
7+
branches:
8+
- main
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
22+
- run: rm -rf node_modules && yarn --frozen-lockfile
23+
24+
# append the git commit to the package.json version.
25+
# We do this because some cache mechanisms (like nextjs) don't work well with the same version and ignore the changes
26+
# until you manually delete the caches
27+
- run: jq '.version = .version + "-" + env.GITHUB_SHA' package.json > package.json.tmp && mv package.json.tmp package.json
28+
29+
- run: yarn build
30+
31+
- run: npx pkg-pr-new publish

.github/workflows/release-please.yml

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ node_modules
1010
.history
1111
npm-debug.log
1212
package-lock.json
13+
.vs

0 commit comments

Comments
 (0)