-
Notifications
You must be signed in to change notification settings - Fork 55
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
fix(TDOPS-6075): Move jsfc in fork, rename folder json-schema-form-core and some small fixes #5272
Conversation
Co-authored-by: Alexandre Amalric <[email protected]>
"rimraf": "^5.0.5", | ||
"webpack": "^5.90.3" | ||
}, | ||
"dependencies": { | ||
"json-refs": "3.0.15", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change here: add json-refs and path-brwoserify
@@ -2,7 +2,7 @@ | |||
// in the list format. | |||
export default function (titleMap: Array<any>, originalEnum?: any) { | |||
if (!Array.isArray(titleMap)) { | |||
const canonical = []; | |||
const canonical: any = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change here: add missing type
@@ -1,4 +1,4 @@ | |||
import * as JsonRefs from './../lib/json-refs-standalone'; | |||
import * as JsonRefs from 'json-refs'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change here: Replace local usage by package in node_modules
@@ -16,7 +16,7 @@ const stripNullType = type => { | |||
|
|||
// Creates an default titleMap list from an enum, i.e. a list of strings. | |||
const enumToTitleMap = enm => { | |||
const titleMap = []; // canonical titleMap format is a list. | |||
const titleMap: any = []; // canonical titleMap format is a list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change here: add missing type
@@ -2,6 +2,7 @@ | |||
"extends": "@talend/scripts-config-typescript/tsconfig.json", | |||
"include": ["src/**/*"], | |||
"compilerOptions": { | |||
"noImplicitAny": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change here: As any has been added to unblock tsc compilation, we need this
output: { | ||
filename: 'index.js', | ||
}, | ||
resolve: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add custom polyfill for json-refs
Size Change: +167 kB (+1%) Total Size: 17.6 MB
ℹ️ View Unchanged
|
What is the problem this PR is trying to solve?
What is the chosen solution to this problem?
Please check if the PR fulfills these requirements
yarn changeset
to a request a release from the CI if wanted.[ ] This PR introduces a breaking change