Skip to content
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

feat(packages/sui-bundler): add flag for creating libs with css chunks #1738

Open
wants to merge 666 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
666 commits
Select commit Hold shift + click to select a range
6294dd8
feat(packages/sui-lint): Add sui/decorator-async-inline-error rule to…
oriolpuig Jul 2, 2024
fe8b7f5
chore(Root): Update package-lock
oriolpuig Jul 2, 2024
bee8cb2
docs(packages/sui-decorators): Add documentation for new @AsyncInline…
oriolpuig Jul 2, 2024
d997ff7
feat(packages/sui-decorators): @inlineError - Add warning to avoid us…
oriolpuig Jul 2, 2024
6124f6b
feat(packages/eslint-plugin-sui): Create new rule for decorator-inlin…
oriolpuig Jul 2, 2024
3d7d977
feat(packages/sui-lint): Add new decorator-inline-error to domain pac…
oriolpuig Jul 2, 2024
c0d8b2e
feat(packages/eslint-plugin-sui): rephrase message for inlineErrorMis…
jordevo Jul 3, 2024
c0e1abc
Merge pull request #1784 from SUI-Components/feat-eslint-plugin-sui-i…
jordevo Jul 3, 2024
c699721
release(packages/eslint-plugin-sui): v1.9.0 [skip ci]
sui-bot Jul 3, 2024
9ebc5af
feat(packages/sui-decorators): Create new @Deprecated() decorator
oriolpuig Jul 3, 2024
163a959
feat(packages/eslint-plugin-sui): @inlineError must be on non-async f…
oriolpuig Jul 3, 2024
ef3c679
refactor(packages/eslint-plugin-sui): Clean @AsyncInlineError decorat…
oriolpuig Jul 3, 2024
4529691
feat(packages/sui-polyfills): Added polyfills for Array.prototype.at,…
Jul 4, 2024
8e23b37
Merge pull request #1786 from SUI-Components/feature/addMissingPolyfills
ferransimon Jul 4, 2024
22e6f88
release(packages/sui-polyfills): v1.22.0 [skip ci]
sui-bot Jul 4, 2024
6d567b7
upgrade(deps): bump @pactflow/pact-msw-adapter from 2.0.0 to 2.0.1
dependabot[bot] Jul 4, 2024
faca9bc
Update README.md
nucliweb Jul 18, 2024
aa22a8d
feat(packages/eslint-plugin-sui): Create rules for @Deprecated() deco…
oriolpuig Jul 19, 2024
5b9ee47
feat(packages/eslint-plugin-sui): Make decorator-deprecated-remark-me…
oriolpuig Jul 24, 2024
ec08bf4
feat(packages/eslint-plugin-sui): Make deprecated-decorator rules run…
oriolpuig Jul 24, 2024
026e5b6
feat(packages/sui-performance): add performance package
andresz1 Jul 26, 2024
10b8569
feat(packages/sui-performance): documentation and tests
andresz1 Jul 26, 2024
bcf5250
docs(packages/sui-performance): improve docs
andresz1 Jul 26, 2024
4ca18ab
Merge pull request #1794 from SUI-Components/feat/performance
andresz1 Jul 29, 2024
eefa0ae
release(packages/sui-performance): v1.1.0 [skip ci]
sui-bot Jul 29, 2024
b066902
feat(packages/sui-performance): move queue
andresz1 Jul 29, 2024
e13e7e1
Merge pull request #1795 from SUI-Components/feat/perf-queue
andresz1 Jul 30, 2024
39e2d3f
release(packages/sui-performance): v1.2.0 [skip ci]
sui-bot Jul 30, 2024
95687cb
docs(packages/sui-performance): small update
andresz1 Jul 30, 2024
36fd186
docs(packages/sui-performance): Add sample and documentation to the P…
nucliweb Jul 30, 2024
3fd00ad
chore(Root): update package-lock
nucliweb Jul 30, 2024
7ca3a04
docs(packages/sui-performance): Add trace-cafe URLs with the Performa…
nucliweb Jul 30, 2024
d3eb457
chore(Root): upgrade package-lock dependencies
nucliweb Jul 31, 2024
59bf7db
Merge pull request #1796 from SUI-Components/feat/perf-doc
andresz1 Jul 31, 2024
3165813
Merge pull request #1797 from SUI-Components/doc/performance
nucliweb Jul 31, 2024
2a449cd
upgrade(deps): bump nodemon from 3.0.1 to 3.1.4
dependabot[bot] Jul 31, 2024
105fcc4
upgrade(deps): bump @babel/plugin-transform-modules-commonjs
dependabot[bot] Jul 31, 2024
2bfe892
docs(packages/sui-performance): Fix typo
nucliweb Jul 31, 2024
70b6f9f
Merge pull request #1798 from SUI-Components/doc/performance
nucliweb Jul 31, 2024
c8e2bce
Merge pull request #1785 from SUI-Components/poc/create_new_deprecate…
oriolpuig Jul 31, 2024
cf124e9
release(packages/eslint-plugin-sui): v1.10.0 [skip ci]
sui-bot Jul 31, 2024
bd1488a
release(packages/sui-decorators): v3.27.0 [skip ci]
sui-bot Jul 31, 2024
dc694df
Merge branch 'master' into poc/create_new_async_inline_error
oriolpuig Jul 31, 2024
baeeb54
docs(packages/sui-decorators): Update readme with deprecated decorato…
oriolpuig Jul 31, 2024
df766db
refactor(packages/eslint-plugin-sui): Create helper methods to improv…
oriolpuig Aug 1, 2024
e476274
feat(packages/sui-js): to query string config upgrade
Aug 1, 2024
3e11d67
test(packages/sui-js): update to query string tests
Aug 1, 2024
4e5f312
test(packages/sui-js): update test
Aug 1, 2024
605970e
test(packages/sui-js): update to query string test
Aug 1, 2024
1daa177
feat(packages/sui-bundler): add ts support for all the bundling modes
kikoruiz Aug 1, 2024
6e297e3
feat(packages/sui-js): fix lint
Aug 1, 2024
37eaf3b
Merge pull request #1799 from SUI-Components/feature/to-query-string-…
AgonisticKatai Aug 1, 2024
c096fd7
release(packages/sui-js): v2.33.0 [skip ci]
sui-bot Aug 1, 2024
de91053
fix(packages/sui-i18n): Do not reuse regex when checking nested inter…
Aug 1, 2024
86e409e
Merge pull request #1800 from SUI-Components/ts-support-for-ssr-dev
kikoruiz Aug 1, 2024
09703ea
release(packages/sui-bundler): v9.62.0 [skip ci]
sui-bot Aug 1, 2024
e8ed174
feat(packages/sui-i18n): Reuse the interpolate regex and handle its s…
Aug 2, 2024
2486e0a
feat(packages/sui-js): parse query string allow sparse config
Aug 2, 2024
794c850
feat(packages/sui-bundler): update dep
stivaliserna Aug 2, 2024
8224f90
feat(packages/sui-test): update dep
stivaliserna Aug 2, 2024
034ccb1
feat(Root): update lock file
stivaliserna Aug 2, 2024
79cb856
docs(packages/sui-js): update readme
Aug 2, 2024
10b2873
Merge pull request #1802 from SUI-Components/feature/parse-query-stri…
AgonisticKatai Aug 2, 2024
6019b3c
release(packages/sui-js): v2.34.0 [skip ci]
sui-bot Aug 2, 2024
5b41211
Merge pull request #1801 from SUI-Components/fix/interpolateWithMulti…
ferransimon Aug 2, 2024
09a129f
release(packages/sui-i18n): v1.35.0 [skip ci]
sui-bot Aug 2, 2024
d73d516
fix(packages/sui-domain): sort params
andresz1 Aug 20, 2024
21eea77
fix(packages/sui-domain): change default constructor
andresz1 Aug 20, 2024
b3fd14b
Merge pull request #1805 from SUI-Components/fix/domain-params
andresz1 Aug 20, 2024
add67db
release(packages/sui-domain): v2.18.0 [skip ci]
sui-bot Aug 20, 2024
4b6493d
Merge pull request #1574 from SUI-Components/doc/add-project-stats-se…
kikoruiz Aug 21, 2024
14fd57f
Merge branch 'master' into dependabot/npm_and_yarn/copy-paste-1.5.3
kikoruiz Aug 21, 2024
d8f6b5e
Merge pull request #1715 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Aug 21, 2024
21b2556
release(packages/sui-component-dependencies): v1.8.0 [skip ci]
sui-bot Aug 21, 2024
0edc800
release(packages/sui-react-router): v1.18.0 [skip ci]
sui-bot Aug 21, 2024
5efffc1
release(packages/sui-studio): v11.44.0 [skip ci]
sui-bot Aug 21, 2024
d5579be
Merge pull request #1634 from SUI-Components/feat/update-node-version
kikoruiz Aug 21, 2024
d8d782f
Merge branch 'master' into dependabot/npm_and_yarn/copy-paste-1.5.3
kikoruiz Aug 21, 2024
357c01b
chore(Root): update deps
kikoruiz Aug 21, 2024
6d93ad7
Merge pull request #1716 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Aug 21, 2024
78a798f
release(packages/babel-preset-sui): v3.54.0 [skip ci]
sui-bot Aug 21, 2024
fe06416
release(packages/sui-widget-embedder): v6.4.0 [skip ci]
sui-bot Aug 21, 2024
20eaa8e
Merge pull request #1771 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Aug 22, 2024
63ae19d
Merge pull request #1783 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Aug 22, 2024
a111563
release(packages/sui-ssr): v8.30.0 [skip ci]
sui-bot Aug 22, 2024
08c550a
chore(Root): add labeled pr workflow
kikoruiz Aug 22, 2024
b3b7e7f
chore(Root): simplify dependabot tags
kikoruiz Aug 22, 2024
8203088
Merge branch 'master' into dependabot/npm_and_yarn/babel/plugin-trans…
kikoruiz Aug 22, 2024
cfa13b5
chore(Root): fix tag assignment
kikoruiz Aug 22, 2024
3258ec8
chore(Root): fix tag sent to npm
kikoruiz Aug 22, 2024
3b78497
Merge pull request #1791 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Aug 23, 2024
405f800
release(packages/sui-test): v8.37.0 [skip ci]
sui-bot Aug 23, 2024
cb491c3
upgrade(deps): bump chai-dom from 1.11.0 to 1.12.0
dependabot[bot] Aug 26, 2024
25d3361
upgrade(deps): bump webpack-hot-middleware from 2.25.4 to 2.26.1
dependabot[bot] Aug 26, 2024
a9da4d8
upgrade(deps): bump eslint-plugin-chai-friendly from 0.7.2 to 0.7.4
dependabot[bot] Aug 26, 2024
3833509
Merge pull request #1746 from SUI-Components/poc/create_new_async_inl…
oriolpuig Aug 28, 2024
f7fd463
release(packages/eslint-plugin-sui): v1.11.0 [skip ci]
sui-bot Aug 28, 2024
34d43fe
release(packages/sui-decorators): v3.28.0 [skip ci]
sui-bot Aug 28, 2024
a55ab14
release(packages/sui-lint): v4.46.0 [skip ci]
sui-bot Aug 28, 2024
d03909a
Merge branch 'master' into update-vulnerable-deps
kikoruiz Aug 28, 2024
ef691ba
Merge pull request #1803 from SUI-Components/update-vulnerable-deps
kikoruiz Aug 29, 2024
7e89895
release(packages/sui-bundler): v9.63.0 [skip ci]
sui-bot Aug 29, 2024
e447d44
upgrade(deps): bump clean-css from 5.3.1 to 5.3.3
dependabot[bot] Aug 29, 2024
8627021
fix(packages/sui-lint): disable decorator rule temporarily
stivaliserna Aug 29, 2024
08637b9
Merge pull request #1811 from SUI-Components/fix-lint-error
stivaliserna Aug 29, 2024
0ff1245
release(packages/sui-lint): v4.47.0 [skip ci]
sui-bot Aug 29, 2024
8e90d4f
fix(packages/sui-lint): disable correct decorator rule to avoid lint …
stivaliserna Aug 29, 2024
7e8adb3
Merge pull request #1812 from SUI-Components/disable-inline-error-dec…
stivaliserna Aug 29, 2024
24843a3
release(packages/sui-lint): v4.48.0 [skip ci]
sui-bot Aug 29, 2024
ad02053
feat(packages/sui-domain): Update axios dependency due to high securi…
ruben-martin-lozano Aug 29, 2024
3bcf525
feat(packages/sui-test): force new release
kikoruiz Aug 30, 2024
379e08e
release(packages/sui-test): v8.38.0 [skip ci]
sui-bot Aug 30, 2024
feb4c8f
Merge pull request #1810 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Aug 30, 2024
96c87c0
release(packages/sui-critical-css): v1.27.0 [skip ci]
sui-bot Aug 30, 2024
56f01f2
upgrade(deps): bump node-fetch from 2.6.7 to 2.7.0
dependabot[bot] Aug 30, 2024
28fcf57
Merge pull request #1807 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Aug 30, 2024
ea3476e
release(packages/sui-ssr): v8.31.0 [skip ci]
sui-bot Aug 30, 2024
f1e44d3
Merge pull request #1806 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Aug 30, 2024
738347c
release(packages/sui-studio): v11.45.0 [skip ci]
sui-bot Aug 30, 2024
2a037c6
Merge pull request #1809 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Aug 30, 2024
9623717
Merge pull request #1808 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Aug 30, 2024
faef5f0
release(packages/sui-lint): v4.49.0 [skip ci]
sui-bot Aug 30, 2024
d6bbf03
release(packages/sui-ci): v1.28.0 [skip ci]
sui-bot Aug 30, 2024
904542b
release(packages/sui-critical-css): v1.28.0 [skip ci]
sui-bot Aug 30, 2024
2b80655
release(packages/sui-studio): v11.46.0 [skip ci]
sui-bot Aug 30, 2024
d690514
Merge pull request #1813 from SUI-Components/feat/SCMI-125980-vulnera…
ruben-martin-lozano Aug 30, 2024
e0801e5
release(packages/sui-domain): v2.19.0 [skip ci]
sui-bot Aug 30, 2024
4822d16
fix(packages/eslint-plugin-sui): Fix null check
carlosvillu Aug 30, 2024
e733585
Merge pull request #1814 from SUI-Components/fix-eslint-plugin-sui
carlosvillu Aug 30, 2024
55cbfb2
release(packages/eslint-plugin-sui): v1.12.0 [skip ci]
sui-bot Aug 30, 2024
0f6e490
fix(packages/eslint-plugin-sui): fix decorator-inline-error
carlosvillu Sep 3, 2024
22bdb86
refactor(packages/eslint-plugin-sui): fix lint errors
carlosvillu Sep 4, 2024
1448614
Merge pull request #1820 from SUI-Components/fix-eslint-plugin-sui-in…
carlosvillu Sep 4, 2024
ceb6017
release(packages/eslint-plugin-sui): v1.13.0 [skip ci]
sui-bot Sep 4, 2024
99e2b38
feat(packages/sui-bundler): change bundler entry point name
andresz1 Sep 9, 2024
3198095
Merge pull request #1821 from SUI-Components/feat/change-dev-entry-po…
andresz1 Sep 9, 2024
1b5bfd9
release(packages/sui-bundler): v9.64.0 [skip ci]
sui-bot Sep 9, 2024
caca7a7
feat(packages/sui-segment-wrapper): add segment wrapper package
kikoruiz Sep 18, 2024
10ef456
chore(Root): update deps and docs
kikoruiz Sep 18, 2024
267990d
feat(packages/sui-segment-wrapper): remove umd folder
kikoruiz Sep 18, 2024
55de270
chore(Root): ignore umd and fix eslintrc source
kikoruiz Sep 18, 2024
8123b8e
feat(packages/sui-segment-wrapper): change some names
kikoruiz Sep 19, 2024
338b6b8
Merge pull request #1823 from SUI-Components/add-segment-wrapper
kikoruiz Sep 19, 2024
4b1a692
upgrade(deps): bump style-loader from 3.3.1 to 3.3.4
dependabot[bot] Sep 19, 2024
fb45550
upgrade(deps): bump qs from 6.11.2 to 6.13.0
dependabot[bot] Sep 19, 2024
06128b2
upgrade(deps): bump jest-environment-jsdom from 29.3.1 to 29.7.0
dependabot[bot] Sep 19, 2024
d114650
upgrade(deps): bump eslint-plugin-import from 2.26.0 to 2.30.0
dependabot[bot] Sep 19, 2024
35416c6
release(packages/sui-segment-wrapper): v4.1.0 [skip ci]
sui-bot Sep 19, 2024
28292e2
chore(Root): fix gitignore
kikoruiz Sep 19, 2024
70fe6ca
feat(packages/sui-segment-wrapper): force new release
kikoruiz Sep 19, 2024
fb0e522
release(packages/sui-segment-wrapper): v4.2.0 [skip ci]
sui-bot Sep 19, 2024
1391d02
chore(Root): execute lib scripts after install
kikoruiz Sep 19, 2024
489d66a
Merge branch 'master' of github.com:SUI-Components/sui
kikoruiz Sep 19, 2024
5a0ee5b
feat(packages/sui-segment-wrapper): force new release
kikoruiz Sep 19, 2024
3448686
release(packages/sui-segment-wrapper): v4.3.0 [skip ci]
sui-bot Sep 19, 2024
62ff432
Merge pull request #1822 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Sep 26, 2024
24a5e6e
Merge pull request #1819 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Sep 26, 2024
83b670b
Merge pull request #1817 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Sep 26, 2024
bff4c4b
release(packages/sui-js): v2.35.0 [skip ci]
sui-bot Sep 26, 2024
fbabcc3
feat(packages/sui-lint): force release
kikoruiz Sep 26, 2024
7194109
feat(packages/sui-jest): force release
kikoruiz Sep 26, 2024
c98b88c
release(packages/sui-jest): v1.3.0 [skip ci]
sui-bot Sep 26, 2024
385be21
release(packages/sui-lint): v4.50.0 [skip ci]
sui-bot Sep 26, 2024
1634c34
feat(packages/sui-pde): upgrade optimizely version and add use-decisi…
andresz1 Sep 26, 2024
9b56dea
Merge pull request #1816 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Sep 27, 2024
c9f9cc9
upgrade(deps): bump swc-loader from 0.2.1 to 0.2.6
dependabot[bot] Sep 27, 2024
95b0b81
release(packages/sui-bundler): v9.65.0 [skip ci]
sui-bot Sep 27, 2024
5188d34
Merge pull request #1815 from SUI-Components/dependabot/npm_and_yarn/…
kikoruiz Sep 27, 2024
ff05bfe
release(packages/sui-bundler): v9.66.0 [skip ci]
sui-bot Sep 27, 2024
5eb8207
release(packages/sui-test): v8.39.0 [skip ci]
sui-bot Sep 27, 2024
1586fc7
fix(packages/sui-precommit): update dset dependency to avoid vulnerab…
Sep 27, 2024
bfe428a
feat(Root): update package-lock
Sep 27, 2024
6e4f2d5
feat(packages/sui-test-contract): switch to an upgraded package
kikoruiz Sep 27, 2024
bc15e5c
feat(packages/sui-mockmock): upgrade axios version
kikoruiz Sep 27, 2024
c40a4d2
chore(Root): update deps
kikoruiz Sep 27, 2024
8cb0f68
Merge pull request #1826 from SUI-Components/update-deps
kikoruiz Sep 27, 2024
f45749f
release(packages/sui-mockmock): v2.6.0 [skip ci]
sui-bot Sep 27, 2024
bd3a42a
release(packages/sui-test-contract): v2.16.0 [skip ci]
sui-bot Sep 27, 2024
4c2663f
Merge pull request #1825 from SUI-Components/fix/no-jira-update-dset-…
lolarufino Sep 30, 2024
b5cbb6e
release(packages/sui-precommit): v3.3.0 [skip ci]
sui-bot Sep 30, 2024
f94cc22
fix(packages/sui-ssr): update express dep and lock file
Sep 27, 2024
26ff563
Merge pull request #1827 from SUI-Components/fix/update-express-depen…
codemaoz90 Sep 30, 2024
99f2ea1
release(packages/sui-ssr): v8.32.0 [skip ci]
sui-bot Sep 30, 2024
ecbb326
feat(packages/sui-pde): update usedecision hook
andresz1 Oct 2, 2024
2b86724
feat(packages/sui-pde): add decision component
andresz1 Oct 2, 2024
e00f881
feat(packages/sui-pde): update doc
andresz1 Oct 2, 2024
ac678bd
feat(packages/sui-pde): update use decision hook
andresz1 Oct 2, 2024
e669b28
feat(packages/sui-segment-wrapper): add ga4 client id to segment events
kikoruiz Oct 2, 2024
d8b892f
test(packages/sui-pde): update tests
andresz1 Oct 3, 2024
6131d4b
Merge pull request #1824 from SUI-Components/feat/upgrade-optimizely-pde
andresz1 Oct 3, 2024
6b843ae
release(packages/sui-pde): v2.26.0 [skip ci]
sui-bot Oct 3, 2024
4f19d0f
chore(Root): install packages before publishing
kikoruiz Oct 3, 2024
649aa1a
chore(Root): install latest versions
kikoruiz Oct 3, 2024
3eb7f2c
fix(packages/sui-segment-wrapper): fix google analytics script load
kikoruiz Oct 4, 2024
d770f2e
feat(packages/sui-pde): add decide listener
andresz1 Oct 9, 2024
ceb50c1
Merge pull request #1834 from SUI-Components/add-ga4-integration-object
kikoruiz Oct 9, 2024
c89f51a
release(packages/sui-segment-wrapper): v4.4.0 [skip ci]
sui-bot Oct 9, 2024
4bf566f
feat(packages/sui-pde): update pde
andresz1 Oct 9, 2024
068cd7e
test(packages/sui-pde): update broken tests
andresz1 Oct 9, 2024
3627577
Merge pull request #1837 from SUI-Components/feat/decide-experiment-v…
andresz1 Oct 9, 2024
de38c3f
release(packages/sui-pde): v2.27.0 [skip ci]
sui-bot Oct 9, 2024
22f0f14
feat(packages/sui-pde): update default adapter
andresz1 Oct 9, 2024
52ae19a
Merge pull request #1838 from SUI-Components/feat/decide-experiment-v…
andresz1 Oct 9, 2024
6e84c1d
release(packages/sui-pde): v2.28.0 [skip ci]
sui-bot Oct 9, 2024
b2ac6ed
feat(packages/sui-logger): Migrate sui-logger from inner source
nucliweb Oct 9, 2024
a5c16dd
docs(packages/sui-logger): Update the documentation
nucliweb Oct 10, 2024
3b13263
feat(packages/sui-logger): remove beta tag
nucliweb Oct 10, 2024
fa9fd16
feat(packages/sui-segment-wrapper): send init event and retrieve the …
kikoruiz Oct 10, 2024
429926d
Merge pull request #1840 from SUI-Components/send-init-event
kikoruiz Oct 10, 2024
efff08e
release(packages/sui-segment-wrapper): v4.5.0 [skip ci]
sui-bot Oct 10, 2024
7be7e24
Merge pull request #1839 from SUI-Components/feat/sui-logger
nucliweb Oct 11, 2024
c6b1c23
release(packages/sui-logger): v1.1.0 [skip ci]
sui-bot Oct 11, 2024
d9a6996
refactor(packages/sui-logger): rename Reporter and migraet to SWC
nucliweb Oct 14, 2024
f0e0847
Update packages/sui-logger/README.md
nucliweb Oct 14, 2024
34b4801
Merge pull request #1841 from SUI-Components/refactor/sui-logger
nucliweb Oct 14, 2024
81f980c
release(packages/sui-logger): v1.2.0 [skip ci]
sui-bot Oct 14, 2024
7db4964
feat(packages/sui-logger): improve the documentation
nucliweb Oct 14, 2024
145ca42
fix(packages/sui-logger): fix typo
nucliweb Oct 14, 2024
7909816
Merge pull request #1842 from SUI-Components/doc/sui-logger
nucliweb Oct 14, 2024
2b96994
release(packages/sui-logger): v1.3.0 [skip ci]
sui-bot Oct 14, 2024
4dd520d
feat(packages/sui-pde): avoid sending impression when consents are no…
andresz1 Oct 15, 2024
beb8462
Merge pull request #1843 from SUI-Components/fix/pde-consents
andresz1 Oct 15, 2024
356ed14
release(packages/sui-pde): v2.29.0 [skip ci]
sui-bot Oct 15, 2024
b631c23
feat(packages/lint-repository-sui): Add jest adoption rule to lint
Oct 15, 2024
4f023a9
feat(packages/sui-lint): Add jest adoption rule to @s-ui/lint
Oct 15, 2024
88a066e
Merge pull request #1844 from SUI-Components/feat/jest-adoption-rule
jelowin Oct 15, 2024
8064757
release(packages/lint-repository-sui): v1.13.0 [skip ci]
sui-bot Oct 15, 2024
8774e70
Merge pull request #1845 from SUI-Components/feat/add-jest-adoption-rule
jelowin Oct 15, 2024
67647e8
release(packages/sui-lint): v4.51.0 [skip ci]
sui-bot Oct 15, 2024
4106c99
refactor(packages/sui-logger): add missed Trackers in client and serv…
nucliweb Oct 15, 2024
0cf7fa0
Merge pull request #1846 from SUI-Components/feat/sui-logger
nucliweb Oct 15, 2024
cbe1b95
release(packages/sui-logger): v1.4.0 [skip ci]
sui-bot Oct 15, 2024
206dd74
feat(packages/sui-decorators): remove console.log
carlosvillu Oct 16, 2024
8966eab
Merge pull request #1847 from SUI-Components/remove-decorator-log
carlosvillu Oct 16, 2024
12fd0f7
release(packages/sui-decorators): v3.29.0 [skip ci]
sui-bot Oct 16, 2024
46949d8
feat(packages/sui-bundler): add tailwind support
andresz1 Mar 20, 2023
e0dd668
feat(packages/sui-bundler): update tailwindcss call
andresz1 Mar 20, 2023
ce7c945
feat(packages/sui-bundler): add tailwindcss to client dev
andresz1 Oct 17, 2024
6f1c9c2
feat(Root): update lock file
andresz1 Oct 17, 2024
a92c1cc
feat(packages/sui-bundler): lint issue
andresz1 Oct 17, 2024
07eab2f
Merge pull request #1593 from SUI-Components/feat/add-tailwind
andresz1 Oct 18, 2024
ad29323
release(packages/sui-bundler): v9.67.0 [skip ci]
sui-bot Oct 18, 2024
b2c8feb
feat(packages/sui-bundler): add experimental spritemaps
andresz1 Oct 18, 2024
5da6feb
feat(packages/sui-bundler): update documentation
andresz1 Oct 18, 2024
e25b96e
feat(packages/sui-bundler): update api
andresz1 Oct 18, 2024
56397fd
docs(packages/sui-pde): fix typo
andresz1 Oct 18, 2024
b108712
Merge pull request #1849 from SUI-Components/feat/experimental-sprite…
andresz1 Oct 18, 2024
9442251
release(packages/sui-bundler): v9.68.0 [skip ci]
sui-bot Oct 18, 2024
23933a4
Merge pull request #1850 from SUI-Components/fix/pde-doc-typo
andresz1 Oct 18, 2024
4ab07e2
Merge branch 'feat/use-chunks-in-umd-css' of github.com:SUI-Component…
carlosvillu Oct 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/sui-bundler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,14 @@ $ sui-bundler lib src/index.js -o umd/fancy -p http://my-cdn.com/fancy --umd="My

Then you can find your library directly in the provided namespace variable: `window.MyFancyLibraryNamespace` or `window.MyFancyLibraryNamespace.default` for ES6 exports.

#### Use css chunks

You can use `--chunk-css` option for creating different chunks for each css file

```
$ sui-bundler lib src/index.js -o umd/fancy -p http://my-cdn.com/fancy --chunk-css
```

## Configuration

This tool works with zero configuration out the box but you could use some configuration in order to optimize or adapt the output to your needs. For that, you need to add a property `sui-bundler` inside a `config` property in the package.json of your project.
Expand Down
5 changes: 3 additions & 2 deletions packages/sui-bundler/bin/sui-bundler-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ program
.option('-u, --umd [libraryName]', 'Whether to output library as umb')
.option('-r, --root', 'Create build in root dir instead of version subdir')
.option('-p, --path [path]', 'Absolute public path where files will be located.')
.option('--chunk-css', 'Bundle css in chunks')
.on('--help', () =>
console.log(`Examples:
$ sui-bundler lib src/index.js -o umd/my-lib -p http://my-cdn.com/my-lib -C'
Expand All @@ -27,7 +28,7 @@ program

const [entry] = program.args
const options = program.opts()
const {clean = false, output, umd = false, root = false} = options
const {clean = false, output, umd = false, root = false, chunkCss = false} = options
const publicPath = options.path

if (!output) {
Expand All @@ -46,7 +47,7 @@ process.env.NODE_ENV = process.env.NODE_ENV || 'production'

const version = getPackageJson(process.cwd()).version
const outputFolder = path.join(process.cwd(), output, path.sep, root ? '' : version)
const webpackConfig = {...config, entry: path.resolve(process.cwd(), entry)}
const webpackConfig = {...config({chunkCss}), entry: path.resolve(process.cwd(), entry)}
webpackConfig.output.publicPath = publicPath + (root ? '' : version + '/')
webpackConfig.output.path = outputFolder

Expand Down
109 changes: 61 additions & 48 deletions packages/sui-bundler/webpack.config.lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,55 +9,68 @@ const sassRules = require('./shared/module-rules-sass.js')
const {extractComments, sourceMap, supportLegacyBrowsers} = require('./shared/config.js')
const {aliasFromConfig} = require('./shared/resolve-alias.js')

const cssFileName = 'styles.css'

module.exports = {
mode: 'production',
resolve: {
alias: {
...aliasFromConfig
module.exports = ({chunkCss} = {}) => {
const chunkCssName = config.onlyHash ? '[contenthash:8].css' : '[name].[contenthash:8].css'
const cssFileName = chunkCss ? chunkCssName : 'styles.css'
return {
mode: 'production',
resolve: {
alias: {
...aliasFromConfig
},
fallback: {
assert: false,
fs: false,
http: require.resolve('stream-http'),
https: require.resolve('https-browserify'),
path: false
},
extensions: ['.js', '.json'],
modules: ['node_modules', path.resolve(process.cwd())]
},
entry: config.vendor
? {
app: MAIN_ENTRY_POINT,
vendor: config.vendor
}
: MAIN_ENTRY_POINT,
target: 'web',
output: {
filename: 'index.js'
},
fallback: {
assert: false,
fs: false,
http: require.resolve('stream-http'),
https: require.resolve('https-browserify'),
path: false
optimization: {
// avoid looping over all the modules after the compilation
checkWasmTypes: false,
minimize: true,
minimizer: [
minifyJs({
extractComments,
sourceMap
})
]
},
extensions: ['.js', '.json'],
modules: ['node_modules', path.resolve(process.cwd())]
},
entry: config.vendor
? {
app: MAIN_ENTRY_POINT,
vendor: config.vendor
}
: MAIN_ENTRY_POINT,
target: 'web',
output: {
filename: 'index.js'
},
optimization: {
// avoid looping over all the modules after the compilation
checkWasmTypes: false,
minimize: true,
minimizer: [minifyJs({extractComments, sourceMap})]
},
plugins: cleanList([
new webpack.ProvidePlugin({
process: 'process/browser'
}),
new MiniCssExtractPlugin({
filename: cssFileName,
chunkFilename: cssFileName
}),
new webpack.optimize.LimitChunkCountPlugin({
maxChunks: 1
}),
new webpack.EnvironmentPlugin(envVars(config.env)),
definePlugin()
]),
module: {
rules: [createBabelRules({supportLegacyBrowsers}), sassRules]
plugins: cleanList([
new webpack.ProvidePlugin({
process: 'process/browser'
}),
new MiniCssExtractPlugin({
filename: cssFileName,
chunkFilename: cssFileName
}),
!chunkCss &&
new webpack.optimize.LimitChunkCountPlugin({
maxChunks: 1
}),
new webpack.EnvironmentPlugin(envVars(config.env)),
definePlugin()
]),
module: {
rules: [
createBabelRules({
supportLegacyBrowsers
}),
sassRules
]
}
}
}
Loading