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

refactor: add create-nuxt-app and split into distributions #678

Merged
merged 10 commits into from
Jan 16, 2025

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Jan 16, 2025

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This is a rather big PR aimed to incorporate publishing a new minimal create-nuxt-app package (from https://github.com/nuxt/create-nuxt-app - resolves nuxt/create-nuxt-app#1023).

It also splits out nuxi and @nuxt/cli into separate directories for more straightforward understanding of the repository and how they relate to each other.

... as well as doing a bit more tidying, like removing old prettier config + shamefully-hoist settings

Copy link

github-actions bot commented Jan 16, 2025

Bundle Stats

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
0 β†’ 54 0 B β†’ 5.67 MB (+5.67 MB) -
Changeset (largest 100 files by percent change)
File Ξ” Size
node_modules/jiti/dist/babel.cjs πŸ†• +1.82 MB 0 B β†’ 1.82 MB
node_modules/@babel/parser/lib/index.js πŸ†• +489.47 kB 0 B β†’ 489.47 kB
node_modules/node-fetch-native/dist/proxy.cjs πŸ†• +460.12 kB 0 B β†’ 460.12 kB
node_modules/magicast/dist/index.mjs πŸ†• +284.11 kB 0 B β†’ 284.11 kB
node_modules/acorn/dist/acorn.mjs πŸ†• +220.25 kB 0 B β†’ 220.25 kB
node_modules/jiti/dist/jiti.cjs πŸ†• +197.97 kB 0 B β†’ 197.97 kB
node_modules/node-forge/lib/tls.js πŸ†• +132.84 kB 0 B β†’ 132.84 kB
node_modules/node-fetch-native/dist/node.cjs πŸ†• +116.74 kB 0 B β†’ 116.74 kB
node_modules/node-fetch-native/dist/node.mjs πŸ†• +110.86 kB 0 B β†’ 110.86 kB
node_modules/crossws/dist/shared/crossws.YgHWLi0G.mjs πŸ†• +103.9 kB 0 B β†’ 103.9 kB
node_modules/node-forge/lib/x509.js πŸ†• +101.35 kB 0 B β†’ 101.35 kB
node_modules/node-forge/lib/util.js πŸ†• +71.08 kB 0 B β†’ 71.08 kB
node_modules/node-forge/lib/rsa.js πŸ†• +59.66 kB 0 B β†’ 59.66 kB
node_modules/mlly/dist/index.mjs πŸ†• +52.35 kB 0 B β†’ 52.35 kB
node_modules/consola/dist/chunks/prompt.mjs πŸ†• +46.07 kB 0 B β†’ 46.07 kB
node_modules/node-forge/lib/asn1.js πŸ†• +43.23 kB 0 B β†’ 43.23 kB
node_modules/source-map-js/lib/source-map-consumer.js πŸ†• +41.8 kB 0 B β†’ 41.8 kB
node_modules/fuse.js/dist/fuse.mjs πŸ†• +40.06 kB 0 B β†’ 40.06 kB
node_modules/node-forge/lib/aes.js πŸ†• +39.16 kB 0 B β†’ 39.16 kB
node_modules/node-forge/lib/pkcs7.js πŸ†• +38.6 kB 0 B β†’ 38.6 kB
node_modules/node-forge/lib/jsbn.js πŸ†• +35.48 kB 0 B β†’ 35.48 kB
node_modules/node-forge/lib/pkcs12.js πŸ†• +33.55 kB 0 B β†’ 33.55 kB
node_modules/consola/dist/shared/consola.DC9Xh_QO.mjs πŸ†• +31.89 kB 0 B β†’ 31.89 kB
node_modules/node-forge/lib/pbe.js πŸ†• +31.25 kB 0 B β†’ 31.25 kB
node_modules/node-forge/lib/cipherModes.js πŸ†• +29.24 kB 0 B β†’ 29.24 kB
node_modules/chokidar/esm/index.js πŸ†• +28.23 kB 0 B β†’ 28.23 kB
node_modules/tar/lib/unpack.js πŸ†• +26.38 kB 0 B β†’ 26.38 kB
node_modules/uqr/dist/index.mjs πŸ†• +25.75 kB 0 B β†’ 25.75 kB
node_modules/node-forge/lib/ed25519.js πŸ†• +25.44 kB 0 B β†’ 25.44 kB
node_modules/listhen/dist/chunks/xdg-open.mjs πŸ†• +25.32 kB 0 B β†’ 25.32 kB
node_modules/listhen/dist/index.mjs πŸ†• +24 kB 0 B β†’ 24 kB
node_modules/chokidar/esm/handler.js πŸ†• +23.83 kB 0 B β†’ 23.83 kB
node_modules/crossws/dist/adapters/node.mjs πŸ†• +21.03 kB 0 B β†’ 21.03 kB
node_modules/node-forge/lib/des.js πŸ†• +20.46 kB 0 B β†’ 20.46 kB
node_modules/h3/dist/index.mjs πŸ†• +18.95 kB 0 B β†’ 18.95 kB
node_modules/node-forge/lib/sha512.js πŸ†• +17.35 kB 0 B β†’ 17.35 kB
node_modules/minipass/index.js πŸ†• +17.12 kB 0 B β†’ 17.12 kB
node_modules/httpxy/dist/index.mjs πŸ†• +17.11 kB 0 B β†’ 17.11 kB
node_modules/tar/lib/parse.js πŸ†• +16.69 kB 0 B β†’ 16.69 kB
node_modules/ohash/dist/index.mjs πŸ†• +16.45 kB 0 B β†’ 16.45 kB
node_modules/source-map-js/lib/util.js πŸ†• +16.2 kB 0 B β†’ 16.2 kB
node_modules/tar/lib/write-entry.js πŸ†• +15.71 kB 0 B β†’ 15.71 kB
node_modules/tinyexec/dist/main.js πŸ†• +15.34 kB 0 B β†’ 15.34 kB
node_modules/semver/classes/range.js πŸ†• +15.25 kB 0 B β†’ 15.25 kB
node_modules/source-map-js/lib/source-map-generator.js πŸ†• +15.17 kB 0 B β†’ 15.17 kB
node_modules/source-map-js/lib/source-node.js πŸ†• +14.01 kB 0 B β†’ 14.01 kB
node_modules/citty/dist/index.mjs πŸ†• +13.61 kB 0 B β†’ 13.61 kB
node_modules/consola/dist/core.mjs πŸ†• +13.21 kB 0 B β†’ 13.21 kB
node_modules/node-forge/lib/prng.js πŸ†• +12.52 kB 0 B β†’ 12.52 kB
node_modules/node-forge/lib/rc2.js πŸ†• +12.12 kB 0 B β†’ 12.12 kB
node_modules/node-forge/lib/pkcs7asn1.js πŸ†• +11.65 kB 0 B β†’ 11.65 kB
node_modules/giget/dist/index.mjs πŸ†• +10.51 kB 0 B β†’ 10.51 kB
node_modules/fs-minipass/index.js πŸ†• +10.44 kB 0 B β†’ 10.44 kB
node_modules/tar/lib/pack.js πŸ†• +10.39 kB 0 B β†’ 10.39 kB
node_modules/dotenv/lib/main.js πŸ†• +10.24 kB 0 B β†’ 10.24 kB
src/commands/module/add.ts πŸ†• +10.05 kB 0 B β†’ 10.05 kB
node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs πŸ†• +9.9 kB 0 B β†’ 9.9 kB
node_modules/confbox/dist/shared/confbox.f9f03f05.mjs πŸ†• +9.8 kB 0 B β†’ 9.8 kB
node_modules/node-forge/lib/sha256.js πŸ†• +9.77 kB 0 B β†’ 9.77 kB
node_modules/minizlib/index.js πŸ†• +9.69 kB 0 B β†’ 9.69 kB
node_modules/tar/lib/header.js πŸ†• +9.41 kB 0 B β†’ 9.41 kB
node_modules/node-forge/lib/log.js πŸ†• +9.41 kB 0 B β†’ 9.41 kB
node_modules/node-forge/lib/aesCipherSuites.js πŸ†• +9.33 kB 0 B β†’ 9.33 kB
node_modules/node-forge/lib/sha1.js πŸ†• +9.28 kB 0 B β†’ 9.28 kB
node_modules/semver/classes/semver.js πŸ†• +8.95 kB 0 B β†’ 8.95 kB
node_modules/node-forge/lib/prime.js πŸ†• +8.89 kB 0 B β†’ 8.89 kB
node_modules/yallist/yallist.js πŸ†• +8.85 kB 0 B β†’ 8.85 kB
node_modules/signal-exit/dist/mjs/index.js πŸ†• +8.79 kB 0 B β†’ 8.79 kB
node_modules/node-forge/lib/pkcs1.js πŸ†• +8.5 kB 0 B β†’ 8.5 kB
node_modules/semver/internal/re.js πŸ†• +8.32 kB 0 B β†’ 8.32 kB
node_modules/readdirp/esm/index.js πŸ†• +8.28 kB 0 B β†’ 8.28 kB
node_modules/node-forge/lib/md5.js πŸ†• +8.16 kB 0 B β†’ 8.16 kB
node_modules/crossws/dist/shared/crossws.DTY7a69w.mjs πŸ†• +8.07 kB 0 B β†’ 8.07 kB
node_modules/nypm/dist/index.mjs πŸ†• +8.04 kB 0 B β†’ 8.04 kB
node_modules/node-forge/lib/pss.js πŸ†• +7.98 kB 0 B β†’ 7.98 kB
node_modules/semver/ranges/subset.js πŸ†• +7.67 kB 0 B β†’ 7.67 kB
node_modules/node-forge/lib/ssh.js πŸ†• +7.3 kB 0 B β†’ 7.3 kB
src/utils/dev.ts πŸ†• +7.13 kB 0 B β†’ 7.13 kB
node_modules/get-port-please/dist/index.mjs πŸ†• +7.11 kB 0 B β†’ 7.11 kB
src/commands/dev.ts πŸ†• +7 kB 0 B β†’ 7 kB
node_modules/node-forge/lib/oids.js πŸ†• +6.97 kB 0 B β†’ 6.97 kB
node_modules/node-forge/lib/pem.js πŸ†• +6.84 kB 0 B β†’ 6.84 kB
node_modules/node-forge/lib/cipher.js πŸ†• +6.83 kB 0 B β†’ 6.83 kB
node_modules/execa/index.js πŸ†• +6.79 kB 0 B β†’ 6.79 kB
node_modules/consola/dist/shared/consola.CBi6Nm9s.mjs πŸ†• +6.73 kB 0 B β†’ 6.73 kB
node_modules/pathe/dist/shared/pathe.ff20891b.mjs πŸ†• +6.13 kB 0 B β†’ 6.13 kB
node_modules/tar/lib/replace.js πŸ†• +6.04 kB 0 B β†’ 6.04 kB
node_modules/node-forge/lib/pbkdf2.js πŸ†• +5.96 kB 0 B β†’ 5.96 kB
node_modules/untun/dist/chunks/index.mjs πŸ†• +5.87 kB 0 B β†’ 5.87 kB
node_modules/tar/lib/mkdir.js πŸ†• +5.76 kB 0 B β†’ 5.76 kB
node_modules/ufo/dist/index.mjs πŸ†• +5.71 kB 0 B β†’ 5.71 kB
src/commands/upgrade.ts πŸ†• +5.69 kB 0 B β†’ 5.69 kB
node_modules/node-forge/lib/random.js πŸ†• +5.36 kB 0 B β†’ 5.36 kB
node_modules/node-forge/lib/kem.js πŸ†• +5.33 kB 0 B β†’ 5.33 kB
node_modules/node-forge/lib/baseN.js πŸ†• +5.21 kB 0 B β†’ 5.21 kB
src/commands/init.ts πŸ†• +5.07 kB 0 B β†’ 5.07 kB
node_modules/pathe/dist/shared/pathe.BLwDEnA5.mjs πŸ†• +5.06 kB 0 B β†’ 5.06 kB
node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs πŸ†• +5.03 kB 0 B β†’ 5.03 kB
node_modules/source-map-js/lib/base64-vlq.js πŸ†• +4.87 kB 0 B β†’ 4.87 kB
node_modules/tar/lib/path-reservations.js πŸ†• +4.68 kB 0 B β†’ 4.68 kB
View detailed bundle breakdown

Added

Asset File Size % Changed
shared/nuxi.SEuYCQjN.mjs 0 B β†’ 2.02 MB (+2.02 MB) -
chunks/index2.mjs 0 B β†’ 909.09 kB (+909.09 kB) -
chunks/index8.mjs 0 B β†’ 882.9 kB (+882.9 kB) -
chunks/init.mjs 0 B β†’ 805.33 kB (+805.33 kB) -
shared/nuxi.CscKye8B.mjs 0 B β†’ 285.09 kB (+285.09 kB) -
shared/nuxi.52LeSNXY.mjs 0 B β†’ 152.13 kB (+152.13 kB) -
chunks/node.mjs 0 B β†’ 134.34 kB (+134.34 kB) -
shared/nuxi.Dy8tIv7d.mjs 0 B β†’ 76.15 kB (+76.15 kB) -
chunks/index6.mjs 0 B β†’ 70.29 kB (+70.29 kB) -
chunks/dev2.mjs 0 B β†’ 68.95 kB (+68.95 kB) -
chunks/prompt.mjs 0 B β†’ 46.07 kB (+46.07 kB) -
chunks/search.mjs 0 B β†’ 42.99 kB (+42.99 kB) -
shared/nuxi.BPuj-7ta.mjs 0 B β†’ 42.89 kB (+42.89 kB) -
chunks/xdg-open.mjs 0 B β†’ 25.32 kB (+25.32 kB) -
shared/nuxi.CeDCJTol.mjs 0 B β†’ 18.95 kB (+18.95 kB) -
shared/nuxi.iVR055UQ.mjs 0 B β†’ 17.69 kB (+17.69 kB) -
chunks/index3.mjs 0 B β†’ 17.11 kB (+17.11 kB) -
chunks/main.mjs 0 B β†’ 15.34 kB (+15.34 kB) -
shared/nuxi.BgpyaHY1.mjs 0 B β†’ 14.64 kB (+14.64 kB) -
chunks/add2.mjs 0 B β†’ 11.89 kB (+11.89 kB) -
chunks/dev.mjs 0 B β†’ 9.58 kB (+9.58 kB) -
shared/nuxi.D0nEg9Qw.mjs 0 B β†’ 8.04 kB (+8.04 kB) -
chunks/add.mjs 0 B β†’ 6.83 kB (+6.83 kB) -
chunks/index5.mjs 0 B β†’ 6.55 kB (+6.55 kB) -
shared/nuxi.BZI8rqcO.mjs 0 B β†’ 6.13 kB (+6.13 kB) -
chunks/index7.mjs 0 B β†’ 5.87 kB (+5.87 kB) -
shared/nuxi.ChFrgAY-.mjs 0 B β†’ 5.71 kB (+5.71 kB) -
chunks/upgrade.mjs 0 B β†’ 5.69 kB (+5.69 kB) -
chunks/multipart-parser.mjs 0 B β†’ 5.11 kB (+5.11 kB) -
shared/nuxi.aFo6nWls.mjs 0 B β†’ 5.06 kB (+5.06 kB) -
chunks/multipart-parser2.mjs 0 B β†’ 4.58 kB (+4.58 kB) -
chunks/info.mjs 0 B β†’ 4.39 kB (+4.39 kB) -
chunks/analyze.mjs 0 B β†’ 3.18 kB (+3.18 kB) -
chunks/preview.mjs 0 B β†’ 2.84 kB (+2.84 kB) -
chunks/build.mjs 0 B β†’ 1.97 kB (+1.97 kB) -
shared/nuxi.BgENdoyd.mjs 0 B β†’ 1.76 kB (+1.76 kB) -
chunks/dev-child.mjs 0 B β†’ 1.75 kB (+1.75 kB) -
chunks/typecheck.mjs 0 B β†’ 1.74 kB (+1.74 kB) -
shared/nuxi.DdI-vRyV.mjs 0 B β†’ 1.54 kB (+1.54 kB) -
shared/nuxi.jHNMu6i2.mjs 0 B β†’ 1.34 kB (+1.34 kB) -
chunks/index4.mjs 0 B β†’ 1.24 kB (+1.24 kB) -
chunks/test.mjs 0 B β†’ 1.16 kB (+1.16 kB) -
shared/nuxi.BzgW4uzf.mjs 0 B β†’ 1.11 kB (+1.11 kB) -
chunks/prepare.mjs 0 B β†’ 984 B (+984 B) -
shared/nuxi.E-ZsRS8r.mjs 0 B β†’ 943 B (+943 B) -
shared/nuxi.BYrxtw3J.mjs 0 B β†’ 804 B (+804 B) -
chunks/devtools.mjs 0 B β†’ 764 B (+764 B) -
chunks/cleanup.mjs 0 B β†’ 471 B (+471 B) -
chunks/generate.mjs 0 B β†’ 388 B (+388 B) -
shared/nuxi.CxVFoSdk.mjs 0 B β†’ 294 B (+294 B) -
chunks/index.mjs 0 B β†’ 274 B (+274 B) -
index.mjs 0 B β†’ 188 B (+188 B) -
chunks/satisfies.mjs 0 B β†’ 116 B (+116 B) -
shared/nuxi.BSm0_9Hr.mjs 0 B β†’ 107 B (+107 B) -

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

No assets were unchanged

Copy link

pkg-pr-new bot commented Jan 16, 2025

Open in Stackblitz

npm i https://pkg.pr.new/create-nuxt-app@678
npm i https://pkg.pr.new/nuxi@678
npm i https://pkg.pr.new/@nuxt/cli@678

commit: b326e9a

@danielroe danielroe marked this pull request as ready for review January 16, 2025 12:44
@danielroe danielroe requested review from atinux and pi0 and removed request for atinux January 16, 2025 12:44
Copy link

github-actions bot commented Jan 16, 2025

Bundle Stats β€” nuxi size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
0 β†’ 54 0 B β†’ 5.67 MB (+5.67 MB) -
Changeset (largest 100 files by percent change)
File Ξ” Size
node_modules/jiti/dist/babel.cjs πŸ†• +1.82 MB 0 B β†’ 1.82 MB
node_modules/@babel/parser/lib/index.js πŸ†• +489.47 kB 0 B β†’ 489.47 kB
node_modules/node-fetch-native/dist/proxy.cjs πŸ†• +460.12 kB 0 B β†’ 460.12 kB
node_modules/magicast/dist/index.mjs πŸ†• +284.11 kB 0 B β†’ 284.11 kB
node_modules/acorn/dist/acorn.mjs πŸ†• +220.25 kB 0 B β†’ 220.25 kB
node_modules/jiti/dist/jiti.cjs πŸ†• +197.97 kB 0 B β†’ 197.97 kB
node_modules/node-forge/lib/tls.js πŸ†• +132.84 kB 0 B β†’ 132.84 kB
node_modules/node-fetch-native/dist/node.cjs πŸ†• +116.74 kB 0 B β†’ 116.74 kB
node_modules/node-fetch-native/dist/node.mjs πŸ†• +110.86 kB 0 B β†’ 110.86 kB
node_modules/crossws/dist/shared/crossws.YgHWLi0G.mjs πŸ†• +103.9 kB 0 B β†’ 103.9 kB
node_modules/node-forge/lib/x509.js πŸ†• +101.35 kB 0 B β†’ 101.35 kB
node_modules/node-forge/lib/util.js πŸ†• +71.08 kB 0 B β†’ 71.08 kB
node_modules/node-forge/lib/rsa.js πŸ†• +59.66 kB 0 B β†’ 59.66 kB
node_modules/mlly/dist/index.mjs πŸ†• +52.35 kB 0 B β†’ 52.35 kB
node_modules/consola/dist/chunks/prompt.mjs πŸ†• +46.07 kB 0 B β†’ 46.07 kB
node_modules/node-forge/lib/asn1.js πŸ†• +43.23 kB 0 B β†’ 43.23 kB
node_modules/source-map-js/lib/source-map-consumer.js πŸ†• +41.8 kB 0 B β†’ 41.8 kB
node_modules/fuse.js/dist/fuse.mjs πŸ†• +40.06 kB 0 B β†’ 40.06 kB
node_modules/node-forge/lib/aes.js πŸ†• +39.16 kB 0 B β†’ 39.16 kB
node_modules/node-forge/lib/pkcs7.js πŸ†• +38.6 kB 0 B β†’ 38.6 kB
node_modules/node-forge/lib/jsbn.js πŸ†• +35.48 kB 0 B β†’ 35.48 kB
node_modules/node-forge/lib/pkcs12.js πŸ†• +33.55 kB 0 B β†’ 33.55 kB
node_modules/consola/dist/shared/consola.DC9Xh_QO.mjs πŸ†• +31.89 kB 0 B β†’ 31.89 kB
node_modules/node-forge/lib/pbe.js πŸ†• +31.25 kB 0 B β†’ 31.25 kB
node_modules/node-forge/lib/cipherModes.js πŸ†• +29.24 kB 0 B β†’ 29.24 kB
node_modules/chokidar/esm/index.js πŸ†• +28.23 kB 0 B β†’ 28.23 kB
node_modules/tar/lib/unpack.js πŸ†• +26.38 kB 0 B β†’ 26.38 kB
node_modules/uqr/dist/index.mjs πŸ†• +25.75 kB 0 B β†’ 25.75 kB
node_modules/node-forge/lib/ed25519.js πŸ†• +25.44 kB 0 B β†’ 25.44 kB
node_modules/listhen/dist/chunks/xdg-open.mjs πŸ†• +25.32 kB 0 B β†’ 25.32 kB
node_modules/listhen/dist/index.mjs πŸ†• +24 kB 0 B β†’ 24 kB
node_modules/chokidar/esm/handler.js πŸ†• +23.83 kB 0 B β†’ 23.83 kB
node_modules/crossws/dist/adapters/node.mjs πŸ†• +21.03 kB 0 B β†’ 21.03 kB
node_modules/node-forge/lib/des.js πŸ†• +20.46 kB 0 B β†’ 20.46 kB
node_modules/h3/dist/index.mjs πŸ†• +18.95 kB 0 B β†’ 18.95 kB
node_modules/node-forge/lib/sha512.js πŸ†• +17.35 kB 0 B β†’ 17.35 kB
node_modules/minipass/index.js πŸ†• +17.12 kB 0 B β†’ 17.12 kB
node_modules/httpxy/dist/index.mjs πŸ†• +17.11 kB 0 B β†’ 17.11 kB
node_modules/tar/lib/parse.js πŸ†• +16.69 kB 0 B β†’ 16.69 kB
node_modules/ohash/dist/index.mjs πŸ†• +16.45 kB 0 B β†’ 16.45 kB
node_modules/source-map-js/lib/util.js πŸ†• +16.2 kB 0 B β†’ 16.2 kB
node_modules/tar/lib/write-entry.js πŸ†• +15.71 kB 0 B β†’ 15.71 kB
node_modules/tinyexec/dist/main.js πŸ†• +15.34 kB 0 B β†’ 15.34 kB
node_modules/semver/classes/range.js πŸ†• +15.25 kB 0 B β†’ 15.25 kB
node_modules/source-map-js/lib/source-map-generator.js πŸ†• +15.17 kB 0 B β†’ 15.17 kB
node_modules/source-map-js/lib/source-node.js πŸ†• +14.01 kB 0 B β†’ 14.01 kB
node_modules/citty/dist/index.mjs πŸ†• +13.61 kB 0 B β†’ 13.61 kB
node_modules/consola/dist/core.mjs πŸ†• +13.21 kB 0 B β†’ 13.21 kB
node_modules/node-forge/lib/prng.js πŸ†• +12.52 kB 0 B β†’ 12.52 kB
node_modules/node-forge/lib/rc2.js πŸ†• +12.12 kB 0 B β†’ 12.12 kB
node_modules/node-forge/lib/pkcs7asn1.js πŸ†• +11.65 kB 0 B β†’ 11.65 kB
node_modules/giget/dist/index.mjs πŸ†• +10.51 kB 0 B β†’ 10.51 kB
node_modules/fs-minipass/index.js πŸ†• +10.44 kB 0 B β†’ 10.44 kB
node_modules/tar/lib/pack.js πŸ†• +10.39 kB 0 B β†’ 10.39 kB
node_modules/dotenv/lib/main.js πŸ†• +10.24 kB 0 B β†’ 10.24 kB
src/commands/module/add.ts πŸ†• +10.05 kB 0 B β†’ 10.05 kB
node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs πŸ†• +9.9 kB 0 B β†’ 9.9 kB
node_modules/confbox/dist/shared/confbox.f9f03f05.mjs πŸ†• +9.8 kB 0 B β†’ 9.8 kB
node_modules/node-forge/lib/sha256.js πŸ†• +9.77 kB 0 B β†’ 9.77 kB
node_modules/minizlib/index.js πŸ†• +9.69 kB 0 B β†’ 9.69 kB
node_modules/tar/lib/header.js πŸ†• +9.41 kB 0 B β†’ 9.41 kB
node_modules/node-forge/lib/log.js πŸ†• +9.41 kB 0 B β†’ 9.41 kB
node_modules/node-forge/lib/aesCipherSuites.js πŸ†• +9.33 kB 0 B β†’ 9.33 kB
node_modules/node-forge/lib/sha1.js πŸ†• +9.28 kB 0 B β†’ 9.28 kB
node_modules/semver/classes/semver.js πŸ†• +8.95 kB 0 B β†’ 8.95 kB
node_modules/node-forge/lib/prime.js πŸ†• +8.89 kB 0 B β†’ 8.89 kB
node_modules/yallist/yallist.js πŸ†• +8.85 kB 0 B β†’ 8.85 kB
node_modules/signal-exit/dist/mjs/index.js πŸ†• +8.79 kB 0 B β†’ 8.79 kB
node_modules/node-forge/lib/pkcs1.js πŸ†• +8.5 kB 0 B β†’ 8.5 kB
node_modules/semver/internal/re.js πŸ†• +8.32 kB 0 B β†’ 8.32 kB
node_modules/readdirp/esm/index.js πŸ†• +8.28 kB 0 B β†’ 8.28 kB
node_modules/node-forge/lib/md5.js πŸ†• +8.16 kB 0 B β†’ 8.16 kB
node_modules/crossws/dist/shared/crossws.DTY7a69w.mjs πŸ†• +8.07 kB 0 B β†’ 8.07 kB
node_modules/nypm/dist/index.mjs πŸ†• +8.04 kB 0 B β†’ 8.04 kB
node_modules/node-forge/lib/pss.js πŸ†• +7.98 kB 0 B β†’ 7.98 kB
node_modules/semver/ranges/subset.js πŸ†• +7.67 kB 0 B β†’ 7.67 kB
node_modules/node-forge/lib/ssh.js πŸ†• +7.3 kB 0 B β†’ 7.3 kB
src/utils/dev.ts πŸ†• +7.13 kB 0 B β†’ 7.13 kB
node_modules/get-port-please/dist/index.mjs πŸ†• +7.11 kB 0 B β†’ 7.11 kB
src/commands/dev.ts πŸ†• +7 kB 0 B β†’ 7 kB
node_modules/node-forge/lib/oids.js πŸ†• +6.97 kB 0 B β†’ 6.97 kB
node_modules/node-forge/lib/pem.js πŸ†• +6.84 kB 0 B β†’ 6.84 kB
node_modules/node-forge/lib/cipher.js πŸ†• +6.83 kB 0 B β†’ 6.83 kB
node_modules/execa/index.js πŸ†• +6.79 kB 0 B β†’ 6.79 kB
node_modules/consola/dist/shared/consola.CBi6Nm9s.mjs πŸ†• +6.73 kB 0 B β†’ 6.73 kB
node_modules/pathe/dist/shared/pathe.ff20891b.mjs πŸ†• +6.13 kB 0 B β†’ 6.13 kB
node_modules/tar/lib/replace.js πŸ†• +6.04 kB 0 B β†’ 6.04 kB
node_modules/node-forge/lib/pbkdf2.js πŸ†• +5.96 kB 0 B β†’ 5.96 kB
node_modules/untun/dist/chunks/index.mjs πŸ†• +5.87 kB 0 B β†’ 5.87 kB
node_modules/tar/lib/mkdir.js πŸ†• +5.76 kB 0 B β†’ 5.76 kB
node_modules/ufo/dist/index.mjs πŸ†• +5.71 kB 0 B β†’ 5.71 kB
src/commands/upgrade.ts πŸ†• +5.69 kB 0 B β†’ 5.69 kB
node_modules/node-forge/lib/random.js πŸ†• +5.36 kB 0 B β†’ 5.36 kB
node_modules/node-forge/lib/kem.js πŸ†• +5.33 kB 0 B β†’ 5.33 kB
node_modules/node-forge/lib/baseN.js πŸ†• +5.21 kB 0 B β†’ 5.21 kB
src/commands/init.ts πŸ†• +5.07 kB 0 B β†’ 5.07 kB
node_modules/pathe/dist/shared/pathe.BLwDEnA5.mjs πŸ†• +5.06 kB 0 B β†’ 5.06 kB
node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs πŸ†• +5.03 kB 0 B β†’ 5.03 kB
node_modules/source-map-js/lib/base64-vlq.js πŸ†• +4.87 kB 0 B β†’ 4.87 kB
node_modules/tar/lib/path-reservations.js πŸ†• +4.68 kB 0 B β†’ 4.68 kB
View detailed bundle breakdown

Added

Asset File Size % Changed
shared/nuxi.SEuYCQjN.mjs 0 B β†’ 2.02 MB (+2.02 MB) -
chunks/index2.mjs 0 B β†’ 909.09 kB (+909.09 kB) -
chunks/index8.mjs 0 B β†’ 882.9 kB (+882.9 kB) -
chunks/init.mjs 0 B β†’ 805.33 kB (+805.33 kB) -
shared/nuxi.CscKye8B.mjs 0 B β†’ 285.09 kB (+285.09 kB) -
shared/nuxi.52LeSNXY.mjs 0 B β†’ 152.13 kB (+152.13 kB) -
chunks/node.mjs 0 B β†’ 134.34 kB (+134.34 kB) -
shared/nuxi.Dy8tIv7d.mjs 0 B β†’ 76.15 kB (+76.15 kB) -
chunks/index6.mjs 0 B β†’ 70.29 kB (+70.29 kB) -
chunks/dev2.mjs 0 B β†’ 68.95 kB (+68.95 kB) -
chunks/prompt.mjs 0 B β†’ 46.07 kB (+46.07 kB) -
chunks/search.mjs 0 B β†’ 42.99 kB (+42.99 kB) -
shared/nuxi.BPuj-7ta.mjs 0 B β†’ 42.89 kB (+42.89 kB) -
chunks/xdg-open.mjs 0 B β†’ 25.32 kB (+25.32 kB) -
shared/nuxi.CeDCJTol.mjs 0 B β†’ 18.95 kB (+18.95 kB) -
shared/nuxi.iVR055UQ.mjs 0 B β†’ 17.69 kB (+17.69 kB) -
chunks/index3.mjs 0 B β†’ 17.11 kB (+17.11 kB) -
chunks/main.mjs 0 B β†’ 15.34 kB (+15.34 kB) -
shared/nuxi.BgpyaHY1.mjs 0 B β†’ 14.64 kB (+14.64 kB) -
chunks/add2.mjs 0 B β†’ 11.89 kB (+11.89 kB) -
chunks/dev.mjs 0 B β†’ 9.58 kB (+9.58 kB) -
shared/nuxi.D0nEg9Qw.mjs 0 B β†’ 8.04 kB (+8.04 kB) -
chunks/add.mjs 0 B β†’ 6.83 kB (+6.83 kB) -
chunks/index5.mjs 0 B β†’ 6.55 kB (+6.55 kB) -
shared/nuxi.BZI8rqcO.mjs 0 B β†’ 6.13 kB (+6.13 kB) -
chunks/index7.mjs 0 B β†’ 5.87 kB (+5.87 kB) -
shared/nuxi.ChFrgAY-.mjs 0 B β†’ 5.71 kB (+5.71 kB) -
chunks/upgrade.mjs 0 B β†’ 5.69 kB (+5.69 kB) -
chunks/multipart-parser.mjs 0 B β†’ 5.11 kB (+5.11 kB) -
shared/nuxi.aFo6nWls.mjs 0 B β†’ 5.06 kB (+5.06 kB) -
chunks/multipart-parser2.mjs 0 B β†’ 4.58 kB (+4.58 kB) -
chunks/info.mjs 0 B β†’ 4.39 kB (+4.39 kB) -
chunks/analyze.mjs 0 B β†’ 3.18 kB (+3.18 kB) -
chunks/preview.mjs 0 B β†’ 2.84 kB (+2.84 kB) -
chunks/build.mjs 0 B β†’ 1.97 kB (+1.97 kB) -
shared/nuxi.BgENdoyd.mjs 0 B β†’ 1.76 kB (+1.76 kB) -
chunks/dev-child.mjs 0 B β†’ 1.75 kB (+1.75 kB) -
chunks/typecheck.mjs 0 B β†’ 1.74 kB (+1.74 kB) -
shared/nuxi.DdI-vRyV.mjs 0 B β†’ 1.54 kB (+1.54 kB) -
shared/nuxi.jHNMu6i2.mjs 0 B β†’ 1.34 kB (+1.34 kB) -
chunks/index4.mjs 0 B β†’ 1.24 kB (+1.24 kB) -
chunks/test.mjs 0 B β†’ 1.16 kB (+1.16 kB) -
shared/nuxi.BzgW4uzf.mjs 0 B β†’ 1.11 kB (+1.11 kB) -
chunks/prepare.mjs 0 B β†’ 984 B (+984 B) -
shared/nuxi.E-ZsRS8r.mjs 0 B β†’ 943 B (+943 B) -
shared/nuxi.BYrxtw3J.mjs 0 B β†’ 804 B (+804 B) -
chunks/devtools.mjs 0 B β†’ 764 B (+764 B) -
chunks/cleanup.mjs 0 B β†’ 471 B (+471 B) -
chunks/generate.mjs 0 B β†’ 388 B (+388 B) -
shared/nuxi.CxVFoSdk.mjs 0 B β†’ 294 B (+294 B) -
chunks/index.mjs 0 B β†’ 274 B (+274 B) -
index.mjs 0 B β†’ 188 B (+188 B) -
chunks/satisfies.mjs 0 B β†’ 116 B (+116 B) -
shared/nuxi.BSm0_9Hr.mjs 0 B β†’ 107 B (+107 B) -

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

No assets were unchanged

Copy link

github-actions bot commented Jan 16, 2025

Bundle Stats β€” nuxt-cli size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
0 β†’ 29 0 B β†’ 77.19 kB (+77.19 kB) -
Changeset
File Ξ” Size
home/runner/work/cli/cli/packages/nuxi/src/commands/module/add.ts πŸ†• +10.04 kB 0 B β†’ 10.04 kB
home/runner/work/cli/cli/packages/nuxi/src/utils/dev.ts πŸ†• +7.12 kB 0 B β†’ 7.12 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/dev.ts πŸ†• +7 kB 0 B β†’ 7 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/upgrade.ts πŸ†• +5.69 kB 0 B β†’ 5.69 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/init.ts πŸ†• +5.05 kB 0 B β†’ 5.05 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/info.ts πŸ†• +4.39 kB 0 B β†’ 4.39 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/analyze.ts πŸ†• +3.18 kB 0 B β†’ 3.18 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/module/search.ts πŸ†• +2.94 kB 0 B β†’ 2.94 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/preview.ts πŸ†• +2.84 kB 0 B β†’ 2.84 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/build.ts πŸ†• +1.97 kB 0 B β†’ 1.97 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/add.ts πŸ†• +1.94 kB 0 B β†’ 1.94 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/dev-child.ts πŸ†• +1.76 kB 0 B β†’ 1.76 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/typecheck.ts πŸ†• +1.74 kB 0 B β†’ 1.74 kB
home/runner/work/cli/cli/packages/nuxi/src/utils/nuxt.ts πŸ†• +1.24 kB 0 B β†’ 1.24 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/test.ts πŸ†• +1.16 kB 0 B β†’ 1.16 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/index.ts πŸ†• +1.12 kB 0 B β†’ 1.12 kB
home/runner/work/cli/cli/packages/nuxi/src/utils/fs.ts πŸ†• +1.11 kB 0 B β†’ 1.11 kB
src/main.ts πŸ†• +1.1 kB 0 B β†’ 1.1 kB
home/runner/work/cli/cli/packages/nuxi/src/main.ts πŸ†• +1.09 kB 0 B β†’ 1.09 kB
home/runner/work/cli/cli/packages/nuxi/src/utils/kit.ts πŸ†• +1.04 kB 0 B β†’ 1.04 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/_shared.ts πŸ†• +1.04 kB 0 B β†’ 1.04 kB
home/runner/work/cli/cli/packages/nuxi/src/utils/console.ts πŸ†• +1.03 kB 0 B β†’ 1.03 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/prepare.ts πŸ†• +984 B 0 B β†’ 984 B
home/runner/work/cli/cli/packages/nuxi/src/utils/banner.ts πŸ†• +804 B 0 B β†’ 804 B
home/runner/work/cli/cli/packages/nuxi/src/commands/devtools.ts πŸ†• +763 B 0 B β†’ 763 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/index.ts πŸ†• +698 B 0 B β†’ 698 B
home/runner/work/cli/cli/packages/nuxi/src/commands/module/_utils.ts πŸ†• +687 B 0 B β†’ 687 B
src/run.ts πŸ†• +625 B 0 B β†’ 625 B
home/runner/work/cli/cli/packages/nuxi/src/run.ts πŸ†• +586 B 0 B β†’ 586 B
home/runner/work/cli/cli/packages/nuxi/src/commands/cleanup.ts πŸ†• +471 B 0 B β†’ 471 B
home/runner/work/cli/cli/packages/nuxi/src/utils/engines.ts πŸ†• +445 B 0 B β†’ 445 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/app.ts πŸ†• +407 B 0 B β†’ 407 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/api.ts πŸ†• +401 B 0 B β†’ 401 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/error.ts πŸ†• +394 B 0 B β†’ 394 B
home/runner/work/cli/cli/packages/nuxi/src/commands/generate.ts πŸ†• +388 B 0 B β†’ 388 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/composable.ts πŸ†• +343 B 0 B β†’ 343 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/component.ts πŸ†• +325 B 0 B β†’ 325 B
home/runner/work/cli/cli/packages/nuxi/src/utils/env.ts πŸ†• +294 B 0 B β†’ 294 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/layout.ts πŸ†• +274 B 0 B β†’ 274 B
home/runner/work/cli/cli/packages/nuxi/src/commands/module/index.ts πŸ†• +274 B 0 B β†’ 274 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/module.ts πŸ†• +259 B 0 B β†’ 259 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/page.ts πŸ†• +255 B 0 B β†’ 255 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/plugin.ts πŸ†• +245 B 0 B β†’ 245 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/middleware.ts πŸ†• +244 B 0 B β†’ 244 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/server-route.ts πŸ†• +225 B 0 B β†’ 225 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/server-middleware.ts πŸ†• +209 B 0 B β†’ 209 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/server-plugin.ts πŸ†• +204 B 0 B β†’ 204 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/server-util.ts πŸ†• +191 B 0 B β†’ 191 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/layer.ts πŸ†• +187 B 0 B β†’ 187 B
home/runner/work/cli/cli/packages/nuxi/src/utils/templates/app-config.ts πŸ†• +150 B 0 B β†’ 150 B
package.json πŸ†• +112 B 0 B β†’ 112 B
home/runner/work/cli/cli/packages/nuxi/src/utils/packageManagers.ts πŸ†• +107 B 0 B β†’ 107 B
home/runner/work/cli/cli/packages/nuxi/package.json πŸ†• +107 B 0 B β†’ 107 B
home/runner/work/cli/cli/packages/nuxi/src/utils/logger.ts πŸ†• +39 B 0 B β†’ 39 B
src/index.ts +0 B (0%) 0 B β†’ 0 B
View detailed bundle breakdown

Added

Asset File Size % Changed
chunks/add2.mjs 0 B β†’ 11.7 kB (+11.7 kB) -
chunks/dev2.mjs 0 B β†’ 7.12 kB (+7.12 kB) -
chunks/dev.mjs 0 B β†’ 7 kB (+7 kB) -
chunks/add.mjs 0 B β†’ 6.83 kB (+6.83 kB) -
chunks/upgrade.mjs 0 B β†’ 5.69 kB (+5.69 kB) -
shared/cli.ZjQ19XGU.mjs 0 B β†’ 5.48 kB (+5.48 kB) -
chunks/init.mjs 0 B β†’ 5.05 kB (+5.05 kB) -
chunks/info.mjs 0 B β†’ 4.39 kB (+4.39 kB) -
chunks/analyze.mjs 0 B β†’ 3.18 kB (+3.18 kB) -
chunks/search.mjs 0 B β†’ 2.94 kB (+2.94 kB) -
chunks/preview.mjs 0 B β†’ 2.84 kB (+2.84 kB) -
chunks/build.mjs 0 B β†’ 1.97 kB (+1.97 kB) -
chunks/dev-child.mjs 0 B β†’ 1.76 kB (+1.76 kB) -
chunks/typecheck.mjs 0 B β†’ 1.74 kB (+1.74 kB) -
shared/cli.COREWf7f.mjs 0 B β†’ 1.24 kB (+1.24 kB) -
chunks/test.mjs 0 B β†’ 1.16 kB (+1.16 kB) -
shared/cli.9BhOHB0S.mjs 0 B β†’ 1.11 kB (+1.11 kB) -
shared/cli.DlcAx0De.mjs 0 B β†’ 1.04 kB (+1.04 kB) -
chunks/prepare.mjs 0 B β†’ 984 B (+984 B) -
shared/cli.mEn9q49T.mjs 0 B β†’ 804 B (+804 B) -
chunks/devtools.mjs 0 B β†’ 763 B (+763 B) -
shared/cli.C935N1ss.mjs 0 B β†’ 687 B (+687 B) -
chunks/cleanup.mjs 0 B β†’ 471 B (+471 B) -
chunks/generate.mjs 0 B β†’ 388 B (+388 B) -
shared/cli.BnJuNnzK.mjs 0 B β†’ 294 B (+294 B) -
chunks/index.mjs 0 B β†’ 274 B (+274 B) -
index.mjs 0 B β†’ 200 B (+200 B) -
shared/cli.BSm0_9Hr.mjs 0 B β†’ 107 B (+107 B) -
shared/cli.Bzv_ksqZ.mjs 0 B β†’ 107 B (+107 B) -

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

No assets were unchanged

Copy link

github-actions bot commented Jan 16, 2025

Bundle Stats β€” create-nuxt-app size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
0 β†’ 6 0 B β†’ 1.04 MB (+1.04 MB) -
Changeset (largest 100 files by percent change)
File Ξ” Size
node_modules/node-fetch-native/dist/proxy.cjs πŸ†• +460.14 kB 0 B β†’ 460.14 kB
node_modules/node-fetch-native/dist/node.cjs πŸ†• +116.77 kB 0 B β†’ 116.77 kB
node_modules/consola/dist/chunks/prompt.mjs πŸ†• +46.07 kB 0 B β†’ 46.07 kB
node_modules/consola/dist/shared/consola.DC9Xh_QO.mjs πŸ†• +31.73 kB 0 B β†’ 31.73 kB
node_modules/tar/lib/unpack.js πŸ†• +26.32 kB 0 B β†’ 26.32 kB
node_modules/minipass/index.js πŸ†• +17.12 kB 0 B β†’ 17.12 kB
node_modules/tar/lib/parse.js πŸ†• +16.69 kB 0 B β†’ 16.69 kB
node_modules/tar/lib/write-entry.js πŸ†• +15.69 kB 0 B β†’ 15.69 kB
node_modules/tinyexec/dist/main.js πŸ†• +15.41 kB 0 B β†’ 15.41 kB
node_modules/semver/classes/range.js πŸ†• +15.25 kB 0 B β†’ 15.25 kB
node_modules/consola/dist/core.mjs πŸ†• +13.21 kB 0 B β†’ 13.21 kB
node_modules/giget/dist/index.mjs πŸ†• +10.53 kB 0 B β†’ 10.53 kB
node_modules/fs-minipass/index.js πŸ†• +10.42 kB 0 B β†’ 10.42 kB
node_modules/tar/lib/pack.js πŸ†• +10.38 kB 0 B β†’ 10.38 kB
node_modules/minizlib/index.js πŸ†• +9.69 kB 0 B β†’ 9.69 kB
node_modules/tar/lib/header.js πŸ†• +9.41 kB 0 B β†’ 9.41 kB
node_modules/semver/classes/semver.js πŸ†• +8.95 kB 0 B β†’ 8.95 kB
node_modules/yallist/yallist.js πŸ†• +8.85 kB 0 B β†’ 8.85 kB
node_modules/signal-exit/dist/mjs/index.js πŸ†• +8.79 kB 0 B β†’ 8.79 kB
node_modules/semver/internal/re.js πŸ†• +8.32 kB 0 B β†’ 8.32 kB
node_modules/consola/dist/shared/consola.CBi6Nm9s.mjs πŸ†• +6.82 kB 0 B β†’ 6.82 kB
node_modules/execa/index.js πŸ†• +6.79 kB 0 B β†’ 6.79 kB
node_modules/tar/lib/replace.js πŸ†• +6.01 kB 0 B β†’ 6.01 kB
node_modules/tar/lib/mkdir.js πŸ†• +5.74 kB 0 B β†’ 5.74 kB
node_modules/pathe/dist/shared/pathe.ff20891b.mjs πŸ†• +5.09 kB 0 B β†’ 5.09 kB
home/runner/work/cli/cli/packages/nuxi/src/commands/init.ts πŸ†• +5.06 kB 0 B β†’ 5.06 kB
node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs πŸ†• +5.03 kB 0 B β†’ 5.03 kB
node_modules/nypm/dist/index.mjs πŸ†• +4.99 kB 0 B β†’ 4.99 kB
node_modules/tar/lib/path-reservations.js πŸ†• +4.68 kB 0 B β†’ 4.68 kB
node_modules/chownr/chownr.js πŸ†• +4.48 kB 0 B β†’ 4.48 kB
node_modules/tar/lib/pax.js πŸ†• +4.23 kB 0 B β†’ 4.23 kB
node_modules/human-signals/build/src/core.js πŸ†• +4.02 kB 0 B β†’ 4.02 kB
node_modules/minizlib/constants.js πŸ†• +3.92 kB 0 B β†’ 3.92 kB
node_modules/semver/classes/comparator.js πŸ†• +3.78 kB 0 B β†’ 3.78 kB
node_modules/tar/lib/list.js πŸ†• +3.4 kB 0 B β†’ 3.4 kB
node_modules/pathe/dist/shared/pathe.BLwDEnA5.mjs πŸ†• +3.37 kB 0 B β†’ 3.37 kB
node_modules/which/which.js πŸ†• +3.36 kB 0 B β†’ 3.36 kB
node_modules/std-env/dist/index.mjs πŸ†• +3.22 kB 0 B β†’ 3.22 kB
node_modules/execa/lib/stream.js πŸ†• +3.17 kB 0 B β†’ 3.17 kB
node_modules/cross-spawn/lib/parse.js πŸ†• +3.15 kB 0 B β†’ 3.15 kB
node_modules/get-stream/source/array-buffer.js πŸ†• +3.13 kB 0 B β†’ 3.13 kB
node_modules/tar/lib/read-entry.js πŸ†• +3.04 kB 0 B β†’ 3.04 kB
node_modules/tar/lib/extract.js πŸ†• +3.02 kB 0 B β†’ 3.02 kB
node_modules/execa/lib/kill.js πŸ†• +2.83 kB 0 B β†’ 2.83 kB
node_modules/mimic-fn/index.js πŸ†• +2.82 kB 0 B β†’ 2.82 kB
node_modules/execa/lib/command.js πŸ†• +2.82 kB 0 B β†’ 2.82 kB
node_modules/get-stream/source/contents.js πŸ†• +2.71 kB 0 B β†’ 2.71 kB
node_modules/tar/lib/create.js πŸ†• +2.57 kB 0 B β†’ 2.57 kB
node_modules/tar/lib/large-numbers.js πŸ†• +2.47 kB 0 B β†’ 2.47 kB
node_modules/consola/dist/shared/consola.Cs5FdtHD.mjs πŸ†• +2.08 kB 0 B β†’ 2.08 kB
node_modules/execa/lib/error.js πŸ†• +2.07 kB 0 B β†’ 2.07 kB
node_modules/mkdirp/lib/mkdirp-manual.js πŸ†• +1.82 kB 0 B β†’ 1.82 kB
node_modules/cross-spawn/lib/util/resolveCommand.js πŸ†• +1.74 kB 0 B β†’ 1.74 kB
node_modules/cross-spawn/lib/enoent.js πŸ†• +1.6 kB 0 B β†’ 1.6 kB
node_modules/defu/dist/defu.mjs πŸ†• +1.56 kB 0 B β†’ 1.56 kB
node_modules/cross-spawn/lib/util/escape.js πŸ†• +1.49 kB 0 B β†’ 1.49 kB
node_modules/signal-exit/dist/mjs/signals.js πŸ†• +1.36 kB 0 B β†’ 1.36 kB
node_modules/cross-spawn/index.js πŸ†• +1.35 kB 0 B β†’ 1.35 kB
node_modules/isexe/index.js πŸ†• +1.33 kB 0 B β†’ 1.33 kB
node_modules/tar/lib/types.js πŸ†• +1.3 kB 0 B β†’ 1.3 kB
node_modules/node-fetch-native/dist/index.cjs πŸ†• +1.27 kB 0 B β†’ 1.27 kB
node_modules/mkdirp/lib/mkdirp-native.js πŸ†• +1.16 kB 0 B β†’ 1.16 kB
node_modules/npm-run-path/index.js πŸ†• +1.14 kB 0 B β†’ 1.14 kB
node_modules/tar/lib/strip-absolute-path.js πŸ†• +1.14 kB 0 B β†’ 1.14 kB
node_modules/mkdirp/index.js πŸ†• +1.13 kB 0 B β†’ 1.13 kB
node_modules/execa/lib/stdio.js πŸ†• +1.12 kB 0 B β†’ 1.12 kB
node_modules/tar/lib/get-write-flag.js πŸ†• +1.11 kB 0 B β†’ 1.11 kB
node_modules/semver/functions/cmp.js πŸ†• +1.07 kB 0 B β†’ 1.07 kB
node_modules/execa/lib/promise.js πŸ†• +1.07 kB 0 B β†’ 1.07 kB
node_modules/merge-stream/index.js πŸ†• +1.07 kB 0 B β†’ 1.07 kB
node_modules/tar/lib/update.js πŸ†• +1.06 kB 0 B β†’ 1.06 kB
node_modules/isexe/windows.js πŸ†• +1.05 kB 0 B β†’ 1.05 kB
node_modules/isexe/mode.js πŸ†• +1.05 kB 0 B β†’ 1.05 kB
node_modules/human-signals/build/src/main.js πŸ†• +1.04 kB 0 B β†’ 1.04 kB
home/runner/work/cli/cli/packages/nuxi/src/utils/console.ts πŸ†• +1.03 kB 0 B β†’ 1.03 kB
node_modules/semver/internal/constants.js πŸ†• +1.03 kB 0 B β†’ 1.03 kB
node_modules/execa/lib/pipe.js πŸ†• +1.02 kB 0 B β†’ 1.02 kB
node_modules/get-stream/source/string.js πŸ†• +993 B 0 B β†’ 993 B
node_modules/semver/internal/lrucache.js πŸ†• +983 B 0 B β†’ 983 B
node_modules/mkdirp/lib/opts-arg.js πŸ†• +968 B 0 B β†’ 968 B
node_modules/tar/lib/high-level-opt.js πŸ†• +958 B 0 B β†’ 958 B
node_modules/onetime/index.js πŸ†• +957 B 0 B β†’ 957 B
node_modules/mkdirp/lib/find-made.js πŸ†• +948 B 0 B β†’ 948 B
node_modules/mkdirp/lib/path-arg.js πŸ†• +913 B 0 B β†’ 913 B
node_modules/tar/lib/warn-mixin.js πŸ†• +905 B 0 B β†’ 905 B
node_modules/tar/lib/mode-fix.js πŸ†• +808 B 0 B β†’ 808 B
node_modules/node-fetch-native/dist/shared/node-fetch-native.61758d11.cjs πŸ†• +771 B 0 B β†’ 771 B
node_modules/cross-spawn/lib/util/readShebang.js πŸ†• +729 B 0 B β†’ 729 B
node_modules/tar/lib/winchars.js πŸ†• +696 B 0 B β†’ 696 B
node_modules/tar/lib/normalize-windows-path.js πŸ†• +675 B 0 B β†’ 675 B
node_modules/tar/lib/strip-trailing-slashes.js πŸ†• +660 B 0 B β†’ 660 B
node_modules/tar/lib/normalize-unicode.js πŸ†• +644 B 0 B β†’ 644 B
node_modules/mkdirp/lib/use-native.js πŸ†• +629 B 0 B β†’ 629 B
node_modules/semver/internal/identifiers.js πŸ†• +613 B 0 B β†’ 613 B
node_modules/tar/index.js πŸ†• +595 B 0 B β†’ 595 B
node_modules/shebang-command/index.js πŸ†• +583 B 0 B β†’ 583 B
node_modules/get-stream/source/buffer.js πŸ†• +539 B 0 B β†’ 539 B
node_modules/semver/internal/parse-options.js πŸ†• +533 B 0 B β†’ 533 B
home/runner/work/cli/cli/packages/nuxi/src/commands/_shared.ts πŸ†• +519 B 0 B β†’ 519 B
src/run.ts πŸ†• +501 B 0 B β†’ 501 B
View detailed bundle breakdown

Added

Asset File Size % Changed
shared/create-nuxt-app.a32fsqyS.mjs 0 B β†’ 896.02 kB (+896.02 kB) -
chunks/index.mjs 0 B β†’ 70.29 kB (+70.29 kB) -
chunks/prompt.mjs 0 B β†’ 46.07 kB (+46.07 kB) -
chunks/satisfies.mjs 0 B β†’ 43 kB (+43 kB) -
chunks/multipart-parser.mjs 0 B β†’ 5.11 kB (+5.11 kB) -
index.mjs 0 B β†’ 1.01 kB (+1.01 kB) -

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

No assets were unchanged

Copy link
Member

@atinux atinux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this!

create-nuxt-app needed some love and this is a good start for future iterations & improvements

@danielroe danielroe merged commit 96f9246 into main Jan 16, 2025
11 checks passed
@danielroe danielroe deleted the refactor/cna branch January 16, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

default to nuxt 3 when running create-nuxt-app
2 participants