-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace rush with lage and beachball * Restore dep versions * Remove mentions of rush * Cleanup * Cleanup * Cleanup root package.json file * Continue if lint/test failure encountered * Cleanup merge * Update dependencies * Update deps again * Use node 20 * Fix missmatched peer dependency versions * Update publish pipeline * Update codeowners * Readd extract-api * Fix slow property-grid test * Cleanup * Update deprecated dependency * Fix property grid search box in narrow panel * Remove unnecessary pipeline steps * Cleanup e2e pipeline * Reduce e2e output noise * More e2e pipeline cleanup * Missed pnpm install * Fix codeowners * Cleanup beachball config * Run CI on multiple platforms * Cleanup pipeline * Fix beachball config * Do not use shared lock file * Cleanup merge * Disable pnpm side-effects-cache to make sure post install script is run
- Loading branch information
1 parent
ef55b16
commit 5d64b08
Showing
116 changed files
with
91,717 additions
and
28,117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
common/temp/ | ||
**/node_modules/ | ||
lib/ | ||
playwright-report/ | ||
test-results/ | ||
test-results/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# Convert all line endings for files detected as text to lf to avoid OS specific | ||
# line endings showing up in git diffs | ||
* text=auto | ||
|
||
# Ensure these file types use the correct OS specific line endings | ||
*.bat eol=crlf | ||
*.sh eol=lf | ||
|
||
# Don't allow people to merge changes to these generated files, because the result | ||
# may be invalid. You need to run "rush update" again. | ||
# may be invalid. You need to run "pnpm install" again. | ||
pnpm-lock.yaml merge=binary | ||
shrinkwrap.yaml merge=binary | ||
npm-shrinkwrap.json merge=binary | ||
yarn.lock merge=binary | ||
|
||
# Rush's JSON config files use JavaScript-style code comments. The rule below prevents pedantic | ||
# syntax highlighters such as GitHub's from highlighting these comments as errors. Your text editor | ||
# may also require a special configuration to allow comments in JSON. | ||
# | ||
# For more information, see this issue: https://github.com/Microsoft/web-build-tools/issues/1088 | ||
# | ||
*.json linguist-language=JSON-with-Comments | ||
CHANGELOG.json text eol=lf | ||
CHANGELOG.md text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@bentley:registry=https://registry.npmjs.org/ | ||
registry=https://registry.npmjs.org/ | ||
|
||
resolution-mode=lowest-direct | ||
|
||
link-workspace-packages=false | ||
shared-workspace-lockfile=false | ||
|
||
side-effects-cache=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
trigger: | ||
- master | ||
- gh-readonly-queue/master | ||
|
||
pr: | ||
drafts: false | ||
branches: | ||
include: | ||
- master | ||
|
||
jobs: | ||
- job: Build | ||
condition: succeeded() | ||
workspace: | ||
clean: all | ||
|
||
strategy: | ||
matrix: | ||
"Windows - Node 18.16.0": | ||
NodeVersion: 18.16.0 | ||
OS: windows-latest | ||
"Linux - Node 18.16.0": | ||
NodeVersion: 18.16.0 | ||
OS: ubuntu-latest | ||
"Mac - Node 18.16.0": | ||
NodeVersion: 18.16.0 | ||
OS: macOS-latest | ||
|
||
pool: | ||
vmImage: $(OS) | ||
|
||
steps: | ||
- template: templates/build-steps.yaml | ||
|
||
- job: Run_e2e_tests | ||
displayName: "Run e2e tests" | ||
condition: succeeded() | ||
workspace: | ||
clean: all | ||
|
||
pool: | ||
vmImage: ubuntu-latest | ||
|
||
variables: | ||
- group: "viewer-components-react e2e tests env" | ||
|
||
steps: | ||
- template: templates/e2e-steps.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
parameters: | ||
- name: dev | ||
type: boolean | ||
default: false | ||
displayName: "Publish pre-release versions" | ||
|
||
trigger: none | ||
pr: none | ||
|
||
pool: | ||
vmImage: "ubuntu-latest" | ||
|
||
variables: | ||
- group: "Caleb - iTwin GitHub Token" | ||
- name: REPO_URL | ||
value: github.com/iTwin/viewer-components-react | ||
- NodeVersion: 18.16.0 | ||
|
||
steps: | ||
- template: templates/build-steps.yaml | ||
- script: | | ||
git config --global user.email imodeljs-admin@users.noreply.github.com | ||
git config --global user.name imodeljs-admin | ||
git remote set-url origin "https://$(GITHUBTOKEN)@$(REPO_URL)" | ||
pnpm run publish --message "applying package updates" $beachballOptions | ||
displayName: "Publish packages" | ||
env: | ||
${{ if eq(parameters.dev, true) }}: | ||
beachballOptions: "--config beachball.config.dev.js --keep-change-files" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
steps: | ||
# 1. Configure node | ||
- task: NodeTool@0 | ||
displayName: "Use Node $(NodeVersion)" | ||
inputs: | ||
versionSpec: "$(NodeVersion)" | ||
|
||
- task: Npm@1 | ||
displayName: install pnpm ^8.11.0 | ||
inputs: | ||
command: "custom" | ||
customCommand: "install -g pnpm@^8.11.0" | ||
|
||
- script: pnpm install --frozen-lockfile | ||
displayName: pnpm install | ||
|
||
- script: pnpm audit --registry=https://registry.npmjs.org --audit-level=high --production | ||
displayName: Audit | ||
|
||
# - script: pnpm exec prettier . --check | ||
# displayName: Check formatting | ||
|
||
- script: pnpm exec lage lint cover --grouped | ||
displayName: Build, Lint and Cover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
steps: | ||
- task: NodeTool@0 | ||
displayName: Use Node 18.16.0 | ||
inputs: | ||
versionSpec: 18.16.0 | ||
|
||
- task: Npm@1 | ||
displayName: install pnpm ^8.11.0 | ||
inputs: | ||
command: "custom" | ||
customCommand: "install -g pnpm@^8.11.0" | ||
|
||
- script: pnpm install --frozen-lockfile | ||
displayName: pnpm install | ||
|
||
- script: pnpm test:e2e | ||
displayName: "pnpm test:e2e" | ||
env: | ||
CI: true | ||
IMJS_AUTH_CLIENT_CLIENT_ID: $(IMJS_AUTH_CLIENT_CLIENT_ID) | ||
IMJS_USER_EMAIL: $(IMJS_USER_EMAIL) | ||
IMJS_USER_PASSWORD: $(IMJS_USER_PASSWORD) | ||
|
||
- publish: $(System.DefaultWorkingDirectory)/packages/itwin/tree-widget/test-results | ||
artifact: TreeWidgetE2ETestResults | ||
condition: succeededOrFailed() | ||
|
||
- publish: $(System.DefaultWorkingDirectory)/packages/itwin/property-grid/test-results | ||
artifact: PropertyGridE2ETestResults | ||
condition: succeededOrFailed() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Ignore artifacts | ||
change | ||
lib | ||
|
||
# Ignore auto-generated files | ||
CHANGELOG.md | ||
CHANGELOG.json | ||
|
||
# Ignore vscode settings | ||
.vscode | ||
|
||
# Ignore pnpm files | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
|
||
# Ignore configs and pipelines | ||
.pipelines | ||
.github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"printWidth": 160, | ||
"trailingComma": "all", | ||
"tabWidth": 2, | ||
"singleQuote": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// cSpell Settings | ||
{ | ||
// Version of the setting file | ||
"version": "0.2", | ||
// language - current active spelling language | ||
"language": "en", | ||
"ignorePaths": [ | ||
"package.json", | ||
"package-lock.json", | ||
"tsconfig.json", | ||
"tslint.json" | ||
], | ||
"words": [ | ||
"changehint" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"recommendations": [ | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
"mike-co.import-sorter", | ||
"streetsidesoftware.code-spell-checker" | ||
] | ||
} |
Oops, something went wrong.