-
Notifications
You must be signed in to change notification settings - Fork 9
feat(oidc-http-server-pages): generate JSON templates COMPASS-7646 #246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d9c4de4
feat(oidc-http-server-pages): generate JSON templates COMPASS-7646
paula-stacho c9881c3
add template reading util
paula-stacho 2ce78e5
update devtools-connect
paula-stacho cdbb396
cleanup
paula-stacho de0a4f4
add create-templates tests
paula-stacho 9e73c46
add get-static-page tests
paula-stacho 0b45166
improve error handling
paula-stacho a42d91b
increase major oidc-http-server-pages version
paula-stacho c467c15
update reference
paula-stacho 906985e
Apply suggestions from code review
paula-stacho a562ced
reformat
paula-stacho 8d8dcd7
add compression
paula-stacho 24b7e21
separate compression
paula-stacho 5679f30
getTemplates
paula-stacho dcfa54d
improved types
paula-stacho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -13,7 +13,7 @@ | |
| "email": "[email protected]" | ||
| }, | ||
| "homepage": "https://github.com/mongodb-js/devtools-shared", | ||
| "version": "0.1.1", | ||
| "version": "1.0.0", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/mongodb-js/devtools-shared.git" | ||
|
|
@@ -31,15 +31,15 @@ | |
| "scripts": { | ||
| "bootstrap": "npm run compile", | ||
| "prepublishOnly": "npm run compile", | ||
| "compile": "tsc -p tsconfig.json && node dist/create-static-pages.js > dist/static-pages.js && gen-esm-wrapper . ./dist/.esm-wrapper.mjs", | ||
| "compile": "tsc -p tsconfig.json && node dist/create-templates.js && gen-esm-wrapper . ./dist/.esm-wrapper.mjs", | ||
| "typecheck": "tsc --noEmit", | ||
| "eslint": "eslint", | ||
| "prettier": "prettier", | ||
| "lint": "npm run eslint . && npm run prettier -- --check .", | ||
| "depcheck": "depcheck", | ||
| "check": "npm run typecheck && npm run lint && npm run depcheck", | ||
| "check-ci": "npm run check", | ||
| "test": "mocha", | ||
| "test": "npm run compile && mocha", | ||
| "test-cov": "nyc -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test", | ||
| "test-watch": "npm run test -- --watch", | ||
| "test-ci": "npm run test-cov", | ||
|
|
@@ -55,7 +55,6 @@ | |
| "@leafygreen-ui/emotion": "^4.0.7", | ||
| "@types/chai": "^4.2.21", | ||
| "@types/mocha": "^9.1.1", | ||
| "@types/node": "^17.0.35", | ||
| "@types/react": "^17.0.53", | ||
| "@types/react-dom": "^17.0.19", | ||
| "@types/sinon-chai": "^3.2.5", | ||
|
|
@@ -68,8 +67,6 @@ | |
| "prettier": "^2.3.2", | ||
| "react": "^17.0.2", | ||
| "react-dom": "^17.0.2", | ||
| "sinon-chai": "^3.7.0", | ||
| "ts-sinon": "^2.0.1", | ||
| "typescript": "^5.0.4" | ||
| } | ||
| } | ||
71 changes: 0 additions & 71 deletions
71
packages/oidc-http-server-pages/src/create-static-pages.spec.tsx
This file was deleted.
Oops, something went wrong.
146 changes: 0 additions & 146 deletions
146
packages/oidc-http-server-pages/src/create-static-pages.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.