-
Notifications
You must be signed in to change notification settings - Fork 53
feat(script): remove cdn option #5667
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
Open
jmfrancois
wants to merge
12
commits into
master
Choose a base branch
from
jmfrancois/feat/remove-cdn-option
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a1ab028
feat(script): remove cdn option
jmfrancois da624fc
fix: remove pre-release to build UMD
jmfrancois 5087e97
fix: playground
jmfrancois 0c3235a
test: update
jmfrancois 2f1a148
fix(forms): Code
jmfrancois a06191f
fix: add missing build:lib:esm
jmfrancois fdbb039
Merge branch 'master' into jmfrancois/feat/remove-cdn-option
jmfrancois 7a38bbb
fix: test:demo
jmfrancois 27cb062
Create nice-ladybugs-carry.md
jmfrancois 849d8c6
chore: add changeset
jmfrancois da0aeae
Update nice-ladybugs-carry.md
jmfrancois 97e0a97
test: update
jmfrancois 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
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 |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| "@talend/scripts-config-react-webpack": major | ||
| --- | ||
|
|
||
| feat(script): remove cdn option. | ||
|
|
||
| You must review your build process with that new plugin as many things will not work. | ||
| Especially the @talend/assets-api call you may end up with weird behavior. | ||
|
|
||
| The good part is once you have fixed it moving out from @talend/scripts* to an other build tool like vite becomes easy. |
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 |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| --- | ||
| '@talend/react-faceted-search-query-client': major | ||
| '@talend/scripts-config-react-webpack': major | ||
| '@talend/scripts-config-storybook-lib': major | ||
| '@talend/json-schema-form-core': major | ||
| '@talend/react-faceted-search': major | ||
| '@talend/storybook-docs': major | ||
| '@talend/design-system': major | ||
| '@talend/design-tokens': major | ||
| '@talend/react-flow-designer': major | ||
| '@talend/router-bridge': major | ||
| '@talend/ui-storybook-one': major | ||
| '@talend/react-bootstrap': major | ||
| '@talend/design-docs': major | ||
| '@talend/assets-api': major | ||
| '@talend/react-cmf-router': major | ||
| '@talend/react-components': major | ||
| '@talend/react-containers': major | ||
| '@talend/ui-playground': major | ||
| '@talend/react-cmf-cqrs': major | ||
| '@talend/react-dataviz': major | ||
| '@talend/react-stepper': major | ||
| '@talend/react-forms': major | ||
| '@talend/react-sagas': major | ||
| '@talend/bootstrap-theme': major | ||
| '@talend/http': major | ||
| '@talend/react-cmf': major | ||
| --- | ||
|
|
||
| chore: drop UMD format |
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
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 |
|---|---|---|
|
|
@@ -191,7 +191,7 @@ if (!window.Talend.getCDNUrl) { | |
| } | ||
| return `${CDN_URL}/${info.name}/${info.version}${info.path}`; | ||
| } | ||
| return `https://unpkg.com/${info.name}@${info.version}${info.path}`; | ||
| return `https://statics.cloud.talend.com/${info.name}/${info.version}${info.path}`; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❤️ |
||
| }; | ||
| } | ||
|
|
||
|
|
||
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 |
|---|---|---|
|
|
@@ -4,11 +4,19 @@ | |
| "main": "lib/index.js", | ||
| "mainSrc": "src/index.ts", | ||
| "types": "lib/index.d.ts", | ||
| "exports": { | ||
| ".": { | ||
| "import": "./lib-esm/index.js", | ||
| "require": "./lib/index.js" | ||
| }, | ||
| "./lib/*": { | ||
| "import": "./lib-esm/*", | ||
| "require": "./lib/*" | ||
| } | ||
| }, | ||
| "scripts": { | ||
| "build:dev": "talend-scripts build --umd --dev", | ||
| "build:prod": "talend-scripts build --umd --prod", | ||
| "pre-release": "yarn build:dev && yarn build:prod", | ||
| "build:lib": "talend-scripts build", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. an esm version? |
||
| "build:lib:esm": "talend-scripts build --esm", | ||
| "start": "echo nothing to start", | ||
| "test": "talend-scripts test", | ||
| "test:watch": "talend-scripts test --watch", | ||
|
|
||
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
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
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
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
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.