Skip to content

Commit a72b1e0

Browse files
committed
Merge remote-tracking branch 'upstream/master' into categorization-to-functional
2 parents 1d1863b + 01b08f0 commit a72b1e0

File tree

160 files changed

+10973
-5360
lines changed

Some content is hidden

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

160 files changed

+10973
-5360
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/javascript-node/.devcontainer/base.Dockerfile
22

3-
# [Choice] Node.js version: 16
4-
ARG VARIANT="16"
3+
# [Choice] Node.js version: 18
4+
ARG VARIANT="18"
55
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:1-${VARIANT}
66

77
# Install chromium and point the CHROME_BIN environment variable to it

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"name": "Node.js",
55
"build": {
66
"dockerfile": "Dockerfile",
7-
// Update 'VARIANT' to pick a Node version: 16
7+
// Update 'VARIANT' to pick a Node version: 18
88
"args": {
9-
"VARIANT": "16"
9+
"VARIANT": "18"
1010
}
1111
},
1212
// Set *default* container specific settings.json values on container create.

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ body:
3636
attributes:
3737
label: Screenshots
3838
description: If applicable, add screenshots to help explain your problem.
39-
- type: input
40-
validations:
41-
required: true
42-
attributes:
43-
label: In which browser are you experiencing the issue?
44-
placeholder: Google Chrome 91.0.4472.114
45-
description: Provide the full name and don't forget to add the version!
4639
- type: input
4740
validations:
4841
required: true
@@ -57,8 +50,7 @@ body:
5750
- Core
5851
- React
5952
- Angular
60-
- Vue 3
61-
- Vue 2
53+
- Vue
6254
- Other (please specify in the Additional context field)
6355
- type: dropdown
6456
attributes:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ body:
3939
- Core
4040
- React
4141
- Angular
42-
- Vue 3
43-
- Vue 2
42+
- Vue
4443
- Other (please specify in the Additional context field)
4544
- type: dropdown
4645
attributes:

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup node
2121
uses: actions/setup-node@v3
2222
with:
23-
node-version: 16
23+
node-version: 18
2424

2525
- uses: pnpm/[email protected]
2626
name: Install pnpm

.github/workflows/publish.yaml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
name: "Publish"
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
next_version:
7+
type: "string"
8+
description: "version (e.g. 3.4.0-alpha.0)"
9+
required: true
10+
skip_publish:
11+
type: "boolean"
12+
description: "mark in case only the version update shall be executed, skipping the release to npm"
13+
required: true
14+
skip_push:
15+
type: "boolean"
16+
description: "mark in case the version update shall not be pushed back to the repository"
17+
required: true
18+
stable_release:
19+
type: "boolean"
20+
description: "mark in case this is a full stable release (flag is ignored in case publish is skipped)"
21+
required: true
22+
23+
jobs:
24+
publish:
25+
permissions:
26+
contents: "write"
27+
id-token: "write"
28+
runs-on: "ubuntu-latest"
29+
steps:
30+
- uses: "actions/checkout@v4"
31+
with:
32+
token: "${{ secrets.JSONFORMS_PUBLISH_PAT }}"
33+
34+
- name: "Configure Git Credentials"
35+
run: |
36+
git config user.name "jsonforms-publish[bot]"
37+
git config user.email "[email protected]"
38+
39+
- name: "Setup node"
40+
uses: "actions/setup-node@v3"
41+
with:
42+
node-version: "18"
43+
registry-url: "https://registry.npmjs.org"
44+
45+
- uses: "pnpm/[email protected]"
46+
name: "Install pnpm"
47+
id: "pnpm-install"
48+
with:
49+
version: "8"
50+
run_install: false
51+
52+
- name: "Install Packages"
53+
run: "pnpm i --frozen-lockfile"
54+
55+
- name: "Build"
56+
run: "pnpm run build"
57+
58+
- name: "Test"
59+
run: "pnpm run test"
60+
61+
- name: "Versioning"
62+
run: "pnpm exec lerna version ${{ github.event.inputs.next_version }} --no-push --force-publish --yes"
63+
64+
- name: "Adjust PeerDependencies"
65+
run: |
66+
cd packages/angular && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}"
67+
cd ../angular-material && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}" && pnpm pkg set peerDependencies.@jsonforms/angular="${{ github.event.inputs.next_version }}"
68+
cd ../examples && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}"
69+
cd ../material-renderers && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}" && pnpm pkg set peerDependencies.@jsonforms/react="${{ github.event.inputs.next_version }}"
70+
cd ../react && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}"
71+
cd ../vanilla-renderers && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}" && pnpm pkg set peerDependencies.@jsonforms/react="${{ github.event.inputs.next_version }}"
72+
cd ../vue && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}"
73+
cd ../vue-vanilla && pnpm pkg set peerDependencies.@jsonforms/core="${{ github.event.inputs.next_version }}" && pnpm pkg set peerDependencies.@jsonforms/vue="${{ github.event.inputs.next_version }}"
74+
75+
- name: "Tag and Commit"
76+
run: |
77+
git add -A && git commit --amend --no-edit
78+
git tag v${{ github.event.inputs.next_version }} -f
79+
80+
- name: "Publish to npm"
81+
if: "github.event.inputs.skip_publish == 'false'"
82+
run: "pnpm publish --recursive ${{ github.event.inputs.stable_release == 'true' && ' ' || '--tag next' }}"
83+
env:
84+
NODE_AUTH_TOKEN: "${{ secrets.NPM_TOKEN }}"
85+
NPM_CONFIG_PROVENANCE: "true"
86+
87+
- name: "push"
88+
if: "github.event.inputs.skip_push == 'false'"
89+
run: |
90+
git push
91+
git push origin v${{ github.event.inputs.next_version }}

.github/workflows/release.yaml

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

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ stats.html
1313
!.vscode/settings.json
1414

1515
.coveralls.yml
16-
packages/examples-react/build
16+
packages/examples-react/build
17+
18+
**/.angular/cache

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.20.1
1+
v18.19.0

.vscode/settings.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,10 @@
4949
"**/node_modules": true,
5050
"**/lib": true
5151
},
52-
"typescript.tsdk": "node_modules/typescript/lib"
52+
"typescript.tsdk": "node_modules/typescript/lib",
53+
"[javascript][javascriptreact][typescript][typescriptreact][vue]": {
54+
"editor.codeActionsOnSave": {
55+
"source.fixAll.eslint": "explicit"
56+
}
57+
}
5358
}

0 commit comments

Comments
 (0)