Skip to content

Commit 7f30c94

Browse files
committed
wip
1 parent 38acd67 commit 7f30c94

File tree

5 files changed

+1620
-1016
lines changed

5 files changed

+1620
-1016
lines changed

.github/workflows/publish-ci.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish JSONForms Property-View Packages
22

33
on:
44
workflow_run:
5-
workflows: ['JSONForms Property-View Build CI']
5+
workflows: ["JSONForms Property-View Build CI"]
66
types: [completed]
77
branches: [master]
88

@@ -34,7 +34,7 @@ jobs:
3434
- name: Use Python 3.11
3535
uses: actions/setup-python@v5
3636
with:
37-
python-version: '3.11'
37+
python-version: "3.11"
3838

3939
- name: Install and Build
4040
shell: bash
@@ -48,15 +48,9 @@ jobs:
4848
- name: Lint with ESLint
4949
run: yarn lint
5050

51-
# Publish the packages. Ignore lifecycle scripts and add verbose logging
52-
# Scripts are ignored because we build and lint before this step
53-
- name: Publish packages
51+
# Publish the built packages
52+
- name: Publish packages to NPM
5453
run: |
55-
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
56-
git config user.email 'eclipse-emfcloud-bot@eclipse.org'
57-
git config user.name 'eclipse-emfcloud-bot'
58-
yarn lerna publish -y --ignore-scripts --loglevel=verbose
54+
yarn publish:latest
5955
env:
60-
NPM_CONFIG_PROVENANCE: 'true'
61-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62-
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}
56+
NPM_CONFIG_PROVENANCE: "true"

example/browser-app/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
"license": "(EPL-2.0 OR MIT)",
55
"version": "0.7.0",
66
"dependencies": {
7-
"@theia/core": "1.64.1",
8-
"@theia/editor": "1.64.1",
9-
"@theia/filesystem": "1.64.1",
10-
"@theia/markers": "1.64.1",
11-
"@theia/messages": "1.64.1",
12-
"@theia/monaco": "1.64.1",
13-
"@theia/navigator": "1.64.1",
14-
"@theia/preferences": "1.64.1",
15-
"@theia/process": "1.64.1",
16-
"@theia/property-view": "1.64.1",
17-
"@theia/terminal": "1.64.1",
18-
"@theia/workspace": "1.64.1",
7+
"@theia/core": "1.66.2",
8+
"@theia/editor": "1.66.2",
9+
"@theia/filesystem": "1.66.2",
10+
"@theia/markers": "1.66.2",
11+
"@theia/messages": "1.66.2",
12+
"@theia/monaco": "1.66.2",
13+
"@theia/navigator": "1.66.2",
14+
"@theia/preferences": "1.66.2",
15+
"@theia/process": "1.66.2",
16+
"@theia/property-view": "1.66.2",
17+
"@theia/terminal": "1.66.2",
18+
"@theia/workspace": "1.66.2",
1919
"@eclipse-emfcloud/person-detail-property-view": "*"
2020
},
2121
"devDependencies": {
22-
"@theia/cli": "1.64.1"
22+
"@theia/cli": "1.66.2"
2323
},
2424
"scripts": {
2525
"prepare": "yarn run clean && yarn build",
@@ -41,4 +41,4 @@
4141
"vscode-builtin-json": "https://open-vsx.org/api/vscode/json/1.62.3/file/vscode.json-1.62.3.vsix",
4242
"vscode-builtin-json-language-features": "https://open-vsx.org/api/vscode/json-language-features/1.62.3/file/vscode.json-language-features-1.62.3.vsix"
4343
}
44-
}
44+
}

jsonforms-property-view/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
"@jsonforms/core": "^3.0.0",
2929
"@jsonforms/react": "^3.0.0",
3030
"@jsonforms/vanilla-renderers": "^3.0.0",
31-
"@theia/core": "^1.61.1",
32-
"@theia/filesystem": "^1.61.1",
33-
"@theia/property-view": "^1.61.1",
34-
"@theia/workspace": "^1.61.1",
31+
"@theia/core": "^1.66.2",
32+
"@theia/filesystem": "^1.66.2",
33+
"@theia/property-view": "^1.66.2",
34+
"@theia/workspace": "^1.66.2",
3535
"react": "^18.2.0",
3636
"react-dom": "^18.2.0"
3737
},

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"build": "lerna run build",
1313
"lint": "lerna run lint -- --max-warnings 0",
1414
"lint:fix": "yarn lint -fix",
15-
"start": "yarn --cwd example/browser-app start"
15+
"start": "yarn --cwd example/browser-app start",
16+
"publish:latest": "lerna publish -y --ignore-scripts --loglevel=verbose"
1617
},
1718
"devDependencies": {
1819
"@typescript-eslint/eslint-plugin": "^5.4.0",
@@ -25,7 +26,7 @@
2526
"eslint-plugin-prettier": "^4.0.0",
2627
"eslint-plugin-react": "^7.22.0",
2728
"eslint-plugin-simple-import-sort": "^7.0.0",
28-
"lerna": "^8.1.8",
29+
"lerna": "^9.0.0",
2930
"prettier": "^2.4.1",
3031
"rimraf": "^6.0.1",
3132
"typescript": "^5.6.2"

0 commit comments

Comments
 (0)