fix(live-editing): improve generated standalone and styles handling#3925
Open
dobromirts wants to merge 23 commits intovnextfrom
Open
fix(live-editing): improve generated standalone and styles handling#3925dobromirts wants to merge 23 commits intovnextfrom
dobromirts wants to merge 23 commits intovnextfrom
Conversation
Updating Master with changes from Vnext
Updating prod with changes from staging
Updating latest fixes from staging to prod
…ail-chart-3823-master fix(lob): import IgxCategoryChartModule instead of IgxCategoryChartCoreModule - master
…-master fix(Chat): Updated chat imports
CD Fixes for prod
Updating prod with fixes before 21.1
fix: slider styling and ticks-mirror samples
Updating production for 21.1
Update samples for grid lite with angular wrapper (#3916)
Updating prod for cell merging issue
| ? stylesFile.content | ||
| : stylesFile.content.replace(/((?:@use [^\n]+\n)+)/, '$1@import "tailwindcss";\n'); | ||
| stylesFile.content = stylesFile.content.replace(/@import ["']tailwindcss["'];?\r?\n?/g, ''); | ||
| fs.writeFileSync(sharedJsonPath, JSON.stringify(sharedJson)); |
Check failure
Code scanning / CodeQL
Potential file system race condition High
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Added missing name, version, and scripts (ng, start, build) to the generated package.json for each standalone sample — previously the file was not a valid npm package and npm start would fail in StackBlitz/CodeSandbox
Added ^ semver range prefix to exact-pinned dependency versions in sampleDependencies so samples always resolve the latest compatible version instead of being pinned to a stale exact release
DevDependencies in generated package.json are now sourced from the main package.json ranges instead of hardcoded values in shared.json, which got overwritten on every generate-live-editing run
Bumped Angular peer dependencies from ^21.0.0 to ^21.1.0 to match the installed version and ensure @angular/compiler-cli 21.1.x is resolved — required by igniteui-angular 21.1.x which uses the passThroughInput compiler API introduced in 21.1
@import "tailwindcss" is now stripped from the shared styles.scss after generate-live-editing and injected back only into samples that declare tailwindcss as a dependency — both in the live editing source viewer and in the standalone sample output from repositoryfy