Skip to content

Commit

Permalink
Remove leftover packages from Rollup builds (#23344)
Browse files Browse the repository at this point in the history
  • Loading branch information
steverep authored Dec 19, 2024
1 parent 92b02e3 commit 2fe6203
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 116 deletions.
12 changes: 0 additions & 12 deletions build-scripts/gulp/gather-static.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ function copyPolyfills(staticDir) {
);
}

function copyLoaderJS(staticDir) {
const staticPath = genStaticPath(staticDir);
copyFileDir(npmPath("systemjs/dist/s.min.js"), staticPath("js"));
copyFileDir(npmPath("systemjs/dist/s.min.js.map"), staticPath("js"));
}

function copyFonts(staticDir) {
const staticPath = genStaticPath(staticDir);
// Local fonts
Expand Down Expand Up @@ -140,8 +134,6 @@ gulp.task("copy-static-app", async () => {
const staticDir = paths.app_output_static;
// Basic static files
fs.copySync(polyPath("public"), paths.app_output_root);

copyLoaderJS(staticDir);
copyPolyfills(staticDir);
copyFonts(staticDir);
copyTranslations(staticDir);
Expand All @@ -164,8 +156,6 @@ gulp.task("copy-static-demo", async () => {
);
// Copy demo static files
fs.copySync(path.resolve(paths.demo_dir, "public"), paths.demo_output_root);

copyLoaderJS(paths.demo_output_static);
copyPolyfills(paths.demo_output_static);
copyMapPanel(paths.demo_output_static);
copyFonts(paths.demo_output_static);
Expand All @@ -179,8 +169,6 @@ gulp.task("copy-static-cast", async () => {
fs.copySync(polyPath("public/static"), paths.cast_output_static);
// Copy cast static files
fs.copySync(path.resolve(paths.cast_dir, "public"), paths.cast_output_root);

copyLoaderJS(paths.cast_output_static);
copyPolyfills(paths.cast_output_static);
copyMapPanel(paths.cast_output_static);
copyFonts(paths.cast_output_static);
Expand Down
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@
"@types/luxon": "3.4.2",
"@types/mocha": "10.0.10",
"@types/qrcode": "1.5.5",
"@types/serve-handler": "6.1.4",
"@types/sortablejs": "1.15.8",
"@types/tar": "6.1.13",
"@types/ua-parser-js": "0.7.39",
Expand Down Expand Up @@ -218,16 +217,12 @@
"lit-analyzer": "2.0.3",
"lodash.merge": "4.6.2",
"lodash.template": "4.5.0",
"magic-string": "0.30.17",
"map-stream": "0.0.7",
"object-hash": "3.0.0",
"open": "10.1.0",
"pinst": "3.0.0",
"prettier": "3.4.2",
"rspack-manifest-plugin": "5.0.2",
"serve-handler": "6.1.6",
"sinon": "19.0.2",
"systemjs": "6.15.1",
"tar": "7.4.3",
"terser-webpack-plugin": "5.3.11",
"ts-lit-plugin": "2.0.2",
Expand Down
118 changes: 19 additions & 99 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4851,15 +4851,6 @@ __metadata:
languageName: node
linkType: hard

"@types/serve-handler@npm:6.1.4":
version: 6.1.4
resolution: "@types/serve-handler@npm:6.1.4"
dependencies:
"@types/node": "npm:*"
checksum: 10/c92ae204605659b37202af97cfcc7690be43b9290692c1d6c3c93805b399044fd67573af4eb2e7b1fd975451db6d0d5c6cd2f09b20997209fa3341f345f661e4
languageName: node
linkType: hard

"@types/serve-index@npm:^1.9.4":
version: 1.9.4
resolution: "@types/serve-index@npm:1.9.4"
Expand Down Expand Up @@ -6791,13 +6782,6 @@ __metadata:
languageName: node
linkType: hard

"content-disposition@npm:0.5.2":
version: 0.5.2
resolution: "content-disposition@npm:0.5.2"
checksum: 10/97c5e7c8c72a0524c5d92866ecd3da28d4596925321aa3252d7ce3122d354b099d73cc1981fec8f24848d74314089928f626af8f9d7b51c3bc625d47f11e1d90
languageName: node
linkType: hard

"content-disposition@npm:0.5.4":
version: 0.5.4
resolution: "content-disposition@npm:0.5.4"
Expand Down Expand Up @@ -9274,7 +9258,6 @@ __metadata:
"@types/luxon": "npm:3.4.2"
"@types/mocha": "npm:10.0.10"
"@types/qrcode": "npm:1.5.5"
"@types/serve-handler": "npm:6.1.4"
"@types/sortablejs": "npm:1.15.8"
"@types/tar": "npm:6.1.13"
"@types/ua-parser-js": "npm:0.7.39"
Expand Down Expand Up @@ -9345,13 +9328,11 @@ __metadata:
lodash.merge: "npm:4.6.2"
lodash.template: "npm:4.5.0"
luxon: "npm:3.5.0"
magic-string: "npm:0.30.17"
map-stream: "npm:0.0.7"
marked: "npm:15.0.4"
memoize-one: "npm:6.0.0"
node-vibrant: "npm:3.2.1-alpha.1"
object-hash: "npm:3.0.0"
open: "npm:10.1.0"
pinst: "npm:3.0.0"
prettier: "npm:3.4.2"
punycode: "npm:2.3.1"
Expand All @@ -9360,12 +9341,10 @@ __metadata:
roboto-fontface: "npm:0.10.0"
rrule: "npm:2.8.1"
rspack-manifest-plugin: "npm:5.0.2"
serve-handler: "npm:6.1.6"
sinon: "npm:19.0.2"
sortablejs: "patch:sortablejs@npm%3A1.15.3#~/.yarn/patches/sortablejs-npm-1.15.3-3235a8f83b.patch"
stacktrace-js: "npm:2.0.2"
superstruct: "npm:2.0.2"
systemjs: "npm:6.15.1"
tar: "npm:7.4.3"
terser-webpack-plugin: "npm:5.3.11"
tinykeys: "npm:3.0.0"
Expand Down Expand Up @@ -10900,15 +10879,6 @@ __metadata:
languageName: node
linkType: hard

"magic-string@npm:0.30.17, magic-string@npm:^0.30.12":
version: 0.30.17
resolution: "magic-string@npm:0.30.17"
dependencies:
"@jridgewell/sourcemap-codec": "npm:^1.5.0"
checksum: 10/2f71af2b0afd78c2e9012a29b066d2c8ba45a9cd0c8070f7fd72de982fb1c403b4e3afdb1dae00691d56885ede66b772ef6bedf765e02e3a7066208fe2fec4aa
languageName: node
linkType: hard

"magic-string@npm:^0.25.0, magic-string@npm:^0.25.7":
version: 0.25.9
resolution: "magic-string@npm:0.25.9"
Expand All @@ -10918,6 +10888,15 @@ __metadata:
languageName: node
linkType: hard

"magic-string@npm:^0.30.12":
version: 0.30.17
resolution: "magic-string@npm:0.30.17"
dependencies:
"@jridgewell/sourcemap-codec": "npm:^1.5.0"
checksum: 10/2f71af2b0afd78c2e9012a29b066d2c8ba45a9cd0c8070f7fd72de982fb1c403b4e3afdb1dae00691d56885ede66b772ef6bedf765e02e3a7066208fe2fec4aa
languageName: node
linkType: hard

"magicast@npm:^0.3.5":
version: 0.3.5
resolution: "magicast@npm:0.3.5"
Expand Down Expand Up @@ -11073,22 +11052,6 @@ __metadata:
languageName: node
linkType: hard

"mime-db@npm:~1.33.0":
version: 1.33.0
resolution: "mime-db@npm:1.33.0"
checksum: 10/b3b89cff1d3569d02280f8d5b3b6e3c6df4dd340647b48228b2624293a73da0a7c784712aec8eac0aaccd353ac04b4d50309ab9f6a87d7ee79b4dca0ebb70ed8
languageName: node
linkType: hard

"mime-types@npm:2.1.18":
version: 2.1.18
resolution: "mime-types@npm:2.1.18"
dependencies:
mime-db: "npm:~1.33.0"
checksum: 10/65d69085abda6732d4372e9874018fbe491894ff25f7329b8c8815fe40989599488567e08dcee39f1bb54729c4311fb660195ab551603d1cb97d7f2bf33ca8a2
languageName: node
linkType: hard

"mime-types@npm:^2.1.12, mime-types@npm:^2.1.31, mime-types@npm:^2.1.35, mime-types@npm:~2.1.17, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34":
version: 2.1.35
resolution: "mime-types@npm:2.1.35"
Expand Down Expand Up @@ -11144,15 +11107,6 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:3.1.2, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
dependencies:
brace-expansion: "npm:^1.1.7"
checksum: 10/e0b25b04cd4ec6732830344e5739b13f8690f8a012d73445a4a19fbc623f5dd481ef7a5827fde25954cd6026fede7574cc54dc4643c99d6c6b653d6203f94634
languageName: node
linkType: hard

"minimatch@npm:^10.0.0":
version: 10.0.1
resolution: "minimatch@npm:10.0.1"
Expand All @@ -11162,6 +11116,15 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
dependencies:
brace-expansion: "npm:^1.1.7"
checksum: 10/e0b25b04cd4ec6732830344e5739b13f8690f8a012d73445a4a19fbc623f5dd481ef7a5827fde25954cd6026fede7574cc54dc4643c99d6c6b653d6203f94634
languageName: node
linkType: hard

"minimatch@npm:^5.0.1":
version: 5.1.6
resolution: "minimatch@npm:5.1.6"
Expand Down Expand Up @@ -11722,7 +11685,7 @@ __metadata:
languageName: node
linkType: hard

"open@npm:10.1.0, open@npm:^10.0.3":
"open@npm:^10.0.3":
version: 10.1.0
resolution: "open@npm:10.1.0"
dependencies:
Expand Down Expand Up @@ -12039,13 +12002,6 @@ __metadata:
languageName: node
linkType: hard

"path-is-inside@npm:1.0.2":
version: 1.0.2
resolution: "path-is-inside@npm:1.0.2"
checksum: 10/0b5b6c92d3018b82afb1f74fe6de6338c4c654de4a96123cb343f2b747d5606590ac0c890f956ed38220a4ab59baddfd7b713d78a62d240b20b14ab801fa02cb
languageName: node
linkType: hard

"path-key@npm:^3.0.0, path-key@npm:^3.1.0":
version: 3.1.1
resolution: "path-key@npm:3.1.1"
Expand Down Expand Up @@ -12110,13 +12066,6 @@ __metadata:
languageName: node
linkType: hard

"path-to-regexp@npm:3.3.0":
version: 3.3.0
resolution: "path-to-regexp@npm:3.3.0"
checksum: 10/8d256383af8db66233ee9027cfcbf8f5a68155efbb4f55e784279d3ab206dcaee554ddb72ff0dae97dd2882af9f7fa802634bb7cffa2e796927977e31b829259
languageName: node
linkType: hard

"path-to-regexp@npm:^8.1.0":
version: 8.1.0
resolution: "path-to-regexp@npm:8.1.0"
Expand Down Expand Up @@ -12442,13 +12391,6 @@ __metadata:
languageName: node
linkType: hard

"range-parser@npm:1.2.0":
version: 1.2.0
resolution: "range-parser@npm:1.2.0"
checksum: 10/1a561fef1feae1cee3a3cb2440d4d9d3ab96cf2eebaf0d3a5cf06aecf91bc869f273ca0e2f05f73a4c530e751e4af0ed2723b7b86aeef296e3eaea7cfd0a5bfb
languageName: node
linkType: hard

"range-parser@npm:^1.2.1, range-parser@npm:~1.2.1":
version: 1.2.1
resolution: "range-parser@npm:1.2.1"
Expand Down Expand Up @@ -13108,21 +13050,6 @@ __metadata:
languageName: node
linkType: hard

"serve-handler@npm:6.1.6":
version: 6.1.6
resolution: "serve-handler@npm:6.1.6"
dependencies:
bytes: "npm:3.0.0"
content-disposition: "npm:0.5.2"
mime-types: "npm:2.1.18"
minimatch: "npm:3.1.2"
path-is-inside: "npm:1.0.2"
path-to-regexp: "npm:3.3.0"
range-parser: "npm:1.2.0"
checksum: 10/7e7d93eb7e69fcd9f9c5afc2ef2b46cb0072b4af13cbabef9bca725afb350ddae6857d8c8be2c256f7ce1f7677c20347801399c11caa5805c0090339f894e8f2
languageName: node
linkType: hard

"serve-index@npm:^1.9.1":
version: 1.9.1
resolution: "serve-index@npm:1.9.1"
Expand Down Expand Up @@ -13878,13 +13805,6 @@ __metadata:
languageName: node
linkType: hard

"systemjs@npm:6.15.1":
version: 6.15.1
resolution: "systemjs@npm:6.15.1"
checksum: 10/9454c32515cdf7b033cac547233b161d6154abc020a1a97afc8654a01d63cf2bc51101869807aa7f8529aae98475a2cb4522c1e31da6d33832c8e12f00ee4e18
languageName: node
linkType: hard

"tapable@npm:2.2.1, tapable@npm:^2.2.0":
version: 2.2.1
resolution: "tapable@npm:2.2.1"
Expand Down

0 comments on commit 2fe6203

Please sign in to comment.