Skip to content

Commit bea0203

Browse files
authored
Merge pull request #97 from openscript-ch/v1
Upgrade dependencies
2 parents 58d023e + 15ad983 commit bea0203

Some content is hidden

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

84 files changed

+11709
-40195
lines changed

.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+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "master",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.devcontainer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "react-dsv-import-dev",
3+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm"
4+
}

.devcontainer/Dockerfile

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

.devcontainer/devcontainer.json

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

.eslintignore

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

.eslintrc.js

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

.github/workflows/cd-packages.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Publish packages
2+
3+
on:
4+
pull_request:
5+
types:
6+
- closed
7+
branches:
8+
- master
9+
10+
jobs:
11+
publish-packages:
12+
if: github.event.pull_request.merged == true && github.head_ref == 'changeset-release/master'
13+
name: Publish packages
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
with:
19+
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
20+
fetch-depth: 0
21+
22+
- name: Setup pnpm
23+
uses: pnpm/action-setup@v4
24+
25+
- name: Setup Node
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 22
29+
registry-url: https://registry.npmjs.org
30+
cache: pnpm
31+
32+
- name: Install dependencies
33+
run: pnpm install --frozen-lockfile
34+
35+
- name: Publish
36+
uses: changesets/action@v1
37+
id: changesets
38+
with:
39+
version: pnpm version
40+
publish: pnpm tag
41+
env:
42+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
43+
outputs:
44+
ref: ${{ github.ref }}
45+
published: ${{ steps.changesets.outputs.published }}
46+
47+
deliver-packages:
48+
name: Deliver packages
49+
uses: ./.github/workflows/cd-registries.yaml
50+
needs: publish-packages
51+
with:
52+
ref: ${{ needs.publish-packages.outputs.ref }}
53+
secrets: inherit
54+
if: ${{ needs.publish-packages.outputs.published }}

.github/workflows/cd-registries.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy to registries
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
ref:
7+
required: true
8+
type: string
9+
10+
jobs:
11+
build-and-deploy:
12+
name: Build and deploy packages
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout repo
16+
uses: actions/checkout@v4
17+
with:
18+
ref: ${{ inputs.ref }}
19+
20+
- name: Setup pnpm
21+
uses: pnpm/action-setup@v4
22+
23+
- name: Setup Node
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: 22
27+
registry-url: https://registry.npmjs.org
28+
cache: pnpm
29+
30+
- name: Install dependencies
31+
run: pnpm install --frozen-lockfile
32+
33+
- name: Prepare packages
34+
run: pnpm prepublish
35+
36+
- name: Publish packages on NPM
37+
run: pnpm publish -r --no-git-checks
38+
env:
39+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.github/workflows/cd-storybook.yml

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

.github/workflows/check-size.yml

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

0 commit comments

Comments
 (0)