Skip to content

Instantly share code, notes, and snippets.

@usergenic
Created May 26, 2022 22:45
Show Gist options
  • Save usergenic/c24525c74a0d2d4696bec091492eaa59 to your computer and use it in GitHub Desktop.
Save usergenic/c24525c74a0d2d4696bec091492eaa59 to your computer and use it in GitHub Desktop.
lit-virtualizer migration to monorepo script
#!/bin/sh
echo
echo "#####################################"
echo "Prepare a workspace for the migration"
echo "#####################################"
echo
rm -rf lit-virtualizer-migration
mkdir -p lit-virtualizer-migration
cd lit-virtualizer-migration
export workspace=`pwd`
echo
echo "####################################################"
echo "Clone the 'lit' repo and set up the migration branch"
echo "####################################################"
echo
git clone [email protected]:lit/lit $workspace/lit
cd $workspace/lit
git checkout -b lit-virtualizer-migration
npm ci
npm run bootstrap
echo
echo "################################"
echo "Clone the 'uni-virtualizer' repo"
echo "################################"
echo
git clone [email protected]:PolymerLabs/uni-virtualizer $workspace/uni-virtualizer
cd $workspace/uni-virtualizer
git checkout -b prepare-for-lit-monorepo
mkdir -p temp-uni-virtualizer
echo
echo "##########################################"
echo "Move all contents in the 'uni-virtualizer'"
echo "into a folder to prevent name collisions"
echo "##########################################"
echo
ls -a1 | grep -v ^temp-uni-virtualizer | grep -v ^\.$ | grep -v ^\.\.$ | grep -v ^\.git$ | xargs -I{} git mv {} temp-uni-virtualizer
git commit -m "Move files to prepare for import to lit monorepo"
echo
echo "##########################################################"
echo "Import from the 'uni-virtualizer' repo into 'lit' monorepo"
echo "##########################################################"
echo
cd $workspace/lit
git remote add uni-virtualizer $workspace/uni-virtualizer
git fetch uni-virtualizer
git merge uni-virtualizer/prepare-for-lit-monorepo --allow-unrelated-histories -m "Merge uni-virtualizer into lit monorepo"
echo
echo "##################################################"
echo "Move the virtualizer package into its new location"
echo "##################################################"
echo
git rm temp-uni-virtualizer/packages/lit-virtualizer/package-lock.json
git mv temp-uni-virtualizer/packages/lit-virtualizer packages/labs/virtualizer
git rm -r temp-uni-virtualizer
echo "polyfills/resize-observer-polyfill/ResizeObserver.js" >> packages/labs/virtualizer/.eslintignore
echo "src/polyfills/resize-observer-polyfill/ResizeObserver.js" >> packages/labs/virtualizer/.eslintignore
echo
echo "#####################################################"
echo "Run bootstrap to update package-locks for virtualizer"
echo "#####################################################"
echo
npx lerna exec --scope @lit-labs/virtualizer -- npm install --save-dev @types/[email protected]
npx lerna exec -- rm -rf node_modules
npx lerna bootstrap --ci --sort --hoist
git add .
git commit -m "Move lit-virtualizer into packages/labs and remove all other uni-virtualizer files"
echo
echo "#########################"
echo "Convert scripts to wireit"
echo "#########################"
echo
# Replace the scripts with wireit calls
cd $workspace/lit/packages/labs/virtualizer
head -29 package.json > temp-package.json
cat << EOF >> temp-package.json
"scripts": {
"bench": "tach --root=../.. --browser=chrome-headless test/benchmarks/${BENCH:-basic}.html --measure=fcp",
"bench:debug": "tach --root=../.. test/benchmarks/${BENCH:-basic}.html --measure=fcp",
"bench:scroll": "tach --force-clean-npm-install --config=test/benchmarks/scrollingBenchmarks.json",
"build": "wireit",
"build:copy-polyfill": "wireit",
"build:ts": "wireit",
"checksize": "rollup -c; rm lit-virtualizer.bundled.js lit-virtualizer-with-polyfills.bundled.js",
"test": "wireit",
"test:screenshot": "cd test/screenshot && rollup -c && mocha screenshot.js",
"generate-screenshots": "cd test/screenshot && rollup -c && mocha screenshot.js --generate-screenshots"
},
"wireit": {
"build": {
"dependencies": [
"build:ts",
"build:copy-polyfill"
]
},
"build:copy-polyfill": {
"command": "copyfiles -u 1 src/polyfills/resize-observer-polyfill/ResizeObserver.js ."
},
"build:ts": {
"command": "tsc --build --pretty"
},
"test": {
"command": "web-test-runner test/**/*.test.js --node-resolve --esbuild-target auto",
"dependencies": [
"build"
]
}
},
EOF
tail -35 package.json >> temp-package.json
mv temp-package.json package.json
git add .
git commit -m "Convert build scripts to use wireit."
echo
echo "#######################################################"
echo "Clone another local lit repo and ensure bootstrap works"
echo "#######################################################"
echo
cd $workspace
git clone lit lit-fresh
cd $workspace/lit-fresh
git checkout lit-virtualizer-migration
npm install
npm run bootstrap
$ ./migrate.sh
#####################################
Prepare a workspace for the migration
#####################################
####################################################
Clone the 'lit' repo and set up the migration branch
####################################################
Cloning into '/Users/brendan/Desktop/work/lit-virtualizer-migration/lit'...
remote: Enumerating objects: 27984, done.
remote: Counting objects: 100% (335/335), done.
remote: Compressing objects: 100% (213/213), done.
remote: Total 27984 (delta 172), reused 208 (delta 109), pack-reused 27649
Receiving objects: 100% (27984/27984), 31.31 MiB | 4.46 MiB/s, done.
Resolving deltas: 100% (19319/19319), done.
Switched to a new branch 'lit-virtualizer-migration'
npm WARN deprecated [email protected]: The functionality that this package provided is now in @npmcli/arborist
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Backported compatibility to node > 6
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
> prepare
> husky install
husky - Git hooks installed
added 1094 packages, and audited 1095 packages in 5s
124 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> bootstrap
> lerna bootstrap --ci
lerna notice cli v4.0.0
lerna info versioning independent
lerna info ci enabled
lerna info Bootstrapping 32 packages
lerna info Installing external dependencies
lerna ERR! npm ci exited 1 in '@lit/localize'
lerna ERR! npm ci stderr:
npm ERR! code 1
npm ERR! path /Users/brendan/Desktop/work/lit-virtualizer-migration/lit/packages/localize/node_modules/playwright
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! /Users/brendan/Desktop/work/lit-virtualizer-migration/lit/packages/localize/node_modules/proper-lockfile/lib/lockfile.js:68
npm ERR! return callback(Object.assign(new Error('Lock file is already being held'), { code: 'ELOCKED', file }));
npm ERR! ^
npm ERR!
npm ERR! Error: Lock file is already being held
npm ERR! at /Users/brendan/Desktop/work/lit-virtualizer-migration/lit/packages/localize/node_modules/proper-lockfile/lib/lockfile.js:68:47
npm ERR! at callback (/Users/brendan/Desktop/work/lit-virtualizer-migration/lit/packages/localize/node_modules/graceful-fs/polyfills.js:299:20)
npm ERR! at FSReqCallback.oncomplete (node:fs:199:5) {
npm ERR! code: 'ELOCKED',
npm ERR! file: '/Users/brendan/Library/Caches/ms-playwright'
npm ERR! }
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/brendan/.npm/_logs/2022-05-26T21_52_43_104Z-debug-0.log
lerna ERR! npm ci exited 1 in '@lit/localize'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.
################################
Clone the 'uni-virtualizer' repo
################################
Cloning into '/Users/brendan/Desktop/work/lit-virtualizer-migration/uni-virtualizer'...
remote: Enumerating objects: 3307, done.
remote: Counting objects: 100% (332/332), done.
remote: Compressing objects: 100% (153/153), done.
remote: Total 3307 (delta 219), reused 213 (delta 179), pack-reused 2975
Receiving objects: 100% (3307/3307), 6.12 MiB | 5.11 MiB/s, done.
Resolving deltas: 100% (2224/2224), done.
Switched to a new branch 'prepare-for-lit-monorepo'
##########################################
Move all contents in the 'uni-virtualizer'
into a folder to prevent name collisions
##########################################
[prepare-for-lit-monorepo 8dffd2c] Move files to prepare for import to lit monorepo
105 files changed, 0 insertions(+), 0 deletions(-)
rename .eslintignore => temp-uni-virtualizer/.eslintignore (100%)
rename .eslintrc.json => temp-uni-virtualizer/.eslintrc.json (100%)
rename .gitignore => temp-uni-virtualizer/.gitignore (100%)
rename LICENSE => temp-uni-virtualizer/LICENSE (100%)
rename README.md => temp-uni-virtualizer/README.md (100%)
rename index.html => temp-uni-virtualizer/index.html (100%)
rename lerna.json => temp-uni-virtualizer/lerna.json (100%)
rename package-lock.json => temp-uni-virtualizer/package-lock.json (100%)
rename package.json => temp-uni-virtualizer/package.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/.babelrc (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/lib/VirtualArray.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/lib/babel-polyfills.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/lib/benchmark.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/lib/flickr-mock-data-chocolate.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/lib/flickr-mock-data-fog.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/lib/flickr-search-virtual-array.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/lib/flickr.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/lib/jsonp-promise.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/lib/lazy-image.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/package-lock.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/package.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/ancestor-scroll-target/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/ancestor-scroll-target/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/basic-lit-element/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/basic-lit-element/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/basic-lit-html/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/basic-lit-html/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/category-headers-2/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/category-headers-2/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/category-headers/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/category-headers/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/grid/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/grid/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/nested/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/nested/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/photo-grid-lit-html/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/photo-grid-lit-html/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/photo-grid-lit-html/photos.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/photo-scroller/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/photo-scroller/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/scroll-to-index-lit-element/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/scroll-to-index-lit-element/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/scroll-to-index-lit-html/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/scroll-to-index-lit-html/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/shared/boot.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/shared/contacts.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/shared/importmap.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/shared/polyfill-support.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/shared/webcomponentsjs (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/stacked/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/stacked/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/tab-switch/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/tab-switch/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/visible-indices-lit-element/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/visible-indices-lit-element/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/visible-indices-lit-html/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/public/visible-indices-lit-html/index.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer-examples/rollup.config.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/.gitignore (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/CHANGELOG.md (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/CONTRIBUTING.md (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/LICENSE (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/README.md (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/package-lock.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/package.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/rollup.config.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/LitVirtualizer.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/Virtualizer.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/layouts/flexWrap.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/layouts/flow.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/layouts/grid.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/layouts/shared/BaseLayout.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/layouts/shared/Layout.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/layouts/shared/SizeCache.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/layouts/shared/SizeGapPaddingBaseLayout.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/lit-virtualizer.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/polyfillLoaders/EventTarget.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/polyfillLoaders/ResizeObserver.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/polyfills/resize-observer-polyfill/LICENSE (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/polyfills/resize-observer-polyfill/README.md (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/polyfills/resize-observer-polyfill/ResizeObserver.d.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/polyfills/resize-observer-polyfill/ResizeObserver.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/test/helpers.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/test/scenarios/smoke.test.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/test/scenarios/testing-setup.test.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/src/virtualize.ts (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/benchmarks/basic.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/benchmarks/scrollingBenchmarks.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/cases/lit-virtual/expected.displays-items.png (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/cases/lit-virtual/expected.scrolls.png (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/cases/lit-virtual/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/cases/lit-virtual/main.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/cases/scroll/expected.displays-items.png (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/cases/scroll/expected.scrolls-to-the-specified-index.png (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/cases/scroll/expected.scrolls-to-the-specified-position.png (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/cases/scroll/expected.scrolls.png (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/cases/scroll/index.html (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/cases/scroll/main.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/rollup.config.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/screenshot.js (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/test/screenshot/shared/contacts.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/tsconfig.json (100%)
rename {packages => temp-uni-virtualizer/packages}/lit-virtualizer/web-test-runner.config.js (100%)
rename {scripts => temp-uni-virtualizer/scripts}/deploy-examples.sh (100%)
##########################################################
Import from the 'uni-virtualizer' repo into 'lit' monorepo
##########################################################
remote: Enumerating objects: 2370, done.
remote: Counting objects: 100% (2370/2370), done.
remote: Compressing objects: 100% (898/898), done.
remote: Total 2370 (delta 1469), reused 2333 (delta 1455), pack-reused 0
Receiving objects: 100% (2370/2370), 2.20 MiB | 22.94 MiB/s, done.
Resolving deltas: 100% (1469/1469), done.
From /Users/brendan/Desktop/work/lit-virtualizer-migration/uni-virtualizer
* [new branch] master -> uni-virtualizer/master
* [new branch] prepare-for-lit-monorepo -> uni-virtualizer/prepare-for-lit-monorepo
* [new tag] @lit-labs/[email protected] -> @lit-labs/[email protected]
* [new tag] @lit-labs/[email protected] -> @lit-labs/[email protected]
* [new tag] @lit-labs/[email protected] -> @lit-labs/[email protected]
* [new tag] @lit-labs/[email protected] -> @lit-labs/[email protected]
* [new tag] @lit-labs/[email protected] -> @lit-labs/[email protected]
* [new tag] @lit-labs/[email protected] -> @lit-labs/[email protected]
* [new tag] @lit-labs/[email protected] -> @lit-labs/[email protected]
* [new tag] @lit-labs/[email protected] -> @lit-labs/[email protected]
* [new tag] @lit-labs/[email protected] -> @lit-labs/[email protected]
* [new tag] @lit-labs/[email protected] -> @lit-labs/[email protected]
Merge made by the 'recursive' strategy.
temp-uni-virtualizer/.eslintignore | 9 +
temp-uni-virtualizer/.eslintrc.json | 49 +
temp-uni-virtualizer/.gitignore | 12 +
temp-uni-virtualizer/LICENSE | 28 +
temp-uni-virtualizer/README.md | 24 +
temp-uni-virtualizer/index.html | 17 +
temp-uni-virtualizer/lerna.json | 6 +
temp-uni-virtualizer/package-lock.json | 27631 +++++++++++++++++++++++++++++++++++++++++++++++
temp-uni-virtualizer/package.json | 28 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/.babelrc | 11 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/VirtualArray.js | 46 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/babel-polyfills.js | 2 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/benchmark.js | 91 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-mock-data-chocolate.json | 1 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-mock-data-fog.json | 1 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-search-virtual-array.js | 26 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr.js | 55 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/jsonp-promise.js | 83 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/lazy-image.js | 40 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/package-lock.json | 4609 ++++++++
temp-uni-virtualizer/packages/lit-virtualizer-examples/package.json | 50 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/ancestor-scroll-target/index.html | 25 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/ancestor-scroll-target/index.js | 66 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-element/index.html | 31 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-element/index.js | 113 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-html/index.html | 21 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-html/index.js | 17 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers-2/index.html | 32 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers-2/index.js | 95 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers/index.html | 32 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers/index.js | 89 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/grid/index.html | 31 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/grid/index.js | 125 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/index.html | 50 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/nested/index.html | 32 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/nested/index.js | 96 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/index.html | 18 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/index.js | 205 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/photos.js | 71 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-scroller/index.html | 32 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-scroller/index.js | 159 +
.../packages/lit-virtualizer-examples/public/scroll-to-index-lit-element/index.html | 52 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-element/index.js | 23 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-html/index.html | 47 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-html/index.js | 26 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/boot.js | 85 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/contacts.json | 11002 +++++++++++++++++++
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/importmap.json | 13 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/polyfill-support.js | 1 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/webcomponentsjs | 1 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/stacked/index.html | 32 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/stacked/index.js | 95 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/tab-switch/index.html | 31 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/tab-switch/index.js | 157 +
.../packages/lit-virtualizer-examples/public/visible-indices-lit-element/index.html | 45 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-element/index.js | 27 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-html/index.html | 43 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-html/index.js | 28 +
temp-uni-virtualizer/packages/lit-virtualizer-examples/rollup.config.js | 245 +
temp-uni-virtualizer/packages/lit-virtualizer/.gitignore | 24 +
temp-uni-virtualizer/packages/lit-virtualizer/CHANGELOG.md | 154 +
temp-uni-virtualizer/packages/lit-virtualizer/CONTRIBUTING.md | 52 +
temp-uni-virtualizer/packages/lit-virtualizer/LICENSE | 28 +
temp-uni-virtualizer/packages/lit-virtualizer/README.md | 208 +
temp-uni-virtualizer/packages/lit-virtualizer/package-lock.json | 753 ++
temp-uni-virtualizer/packages/lit-virtualizer/package.json | 76 +
temp-uni-virtualizer/packages/lit-virtualizer/rollup.config.js | 45 +
temp-uni-virtualizer/packages/lit-virtualizer/src/LitVirtualizer.ts | 129 +
temp-uni-virtualizer/packages/lit-virtualizer/src/Virtualizer.ts | 776 ++
temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/flexWrap.ts | 291 +
temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/flow.ts | 512 +
temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/grid.ts | 244 +
temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/shared/BaseLayout.ts | 511 +
temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/shared/Layout.ts | 122 +
temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/shared/SizeCache.ts | 40 +
temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/shared/SizeGapPaddingBaseLayout.ts | 191 +
temp-uni-virtualizer/packages/lit-virtualizer/src/lit-virtualizer.ts | 19 +
temp-uni-virtualizer/packages/lit-virtualizer/src/polyfillLoaders/EventTarget.ts | 29 +
temp-uni-virtualizer/packages/lit-virtualizer/src/polyfillLoaders/ResizeObserver.ts | 32 +
temp-uni-virtualizer/packages/lit-virtualizer/src/polyfills/resize-observer-polyfill/LICENSE | 22 +
temp-uni-virtualizer/packages/lit-virtualizer/src/polyfills/resize-observer-polyfill/README.md | 8 +
.../packages/lit-virtualizer/src/polyfills/resize-observer-polyfill/ResizeObserver.d.ts | 8 +
.../packages/lit-virtualizer/src/polyfills/resize-observer-polyfill/ResizeObserver.js | 907 ++
temp-uni-virtualizer/packages/lit-virtualizer/src/test/helpers.ts | 53 +
temp-uni-virtualizer/packages/lit-virtualizer/src/test/scenarios/smoke.test.ts | 144 +
temp-uni-virtualizer/packages/lit-virtualizer/src/test/scenarios/testing-setup.test.ts | 63 +
temp-uni-virtualizer/packages/lit-virtualizer/src/virtualize.ts | 146 +
temp-uni-virtualizer/packages/lit-virtualizer/test/benchmarks/basic.html | 24 +
temp-uni-virtualizer/packages/lit-virtualizer/test/benchmarks/scrollingBenchmarks.json | 26 +
.../packages/lit-virtualizer/test/screenshot/cases/lit-virtual/expected.displays-items.png | Bin 0 -> 36359 bytes
.../packages/lit-virtualizer/test/screenshot/cases/lit-virtual/expected.scrolls.png | Bin 0 -> 36065 bytes
temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/lit-virtual/index.html | 12 +
temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/lit-virtual/main.js | 18 +
.../packages/lit-virtualizer/test/screenshot/cases/scroll/expected.displays-items.png | Bin 0 -> 37798 bytes
.../lit-virtualizer/test/screenshot/cases/scroll/expected.scrolls-to-the-specified-index.png | Bin 0 -> 35377 bytes
.../lit-virtualizer/test/screenshot/cases/scroll/expected.scrolls-to-the-specified-position.png | Bin 0 -> 32390 bytes
temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/scroll/expected.scrolls.png | Bin 0 -> 36439 bytes
temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/scroll/index.html | 12 +
temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/scroll/main.js | 26 +
temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/rollup.config.js | 27 +
temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/screenshot.js | 123 +
temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/shared/contacts.json | 11002 +++++++++++++++++++
temp-uni-virtualizer/packages/lit-virtualizer/tsconfig.json | 35 +
temp-uni-virtualizer/packages/lit-virtualizer/web-test-runner.config.js | 18 +
temp-uni-virtualizer/scripts/deploy-examples.sh | 20 +
105 files changed, 63042 insertions(+)
create mode 100644 temp-uni-virtualizer/.eslintignore
create mode 100644 temp-uni-virtualizer/.eslintrc.json
create mode 100644 temp-uni-virtualizer/.gitignore
create mode 100644 temp-uni-virtualizer/LICENSE
create mode 100644 temp-uni-virtualizer/README.md
create mode 100644 temp-uni-virtualizer/index.html
create mode 100644 temp-uni-virtualizer/lerna.json
create mode 100644 temp-uni-virtualizer/package-lock.json
create mode 100644 temp-uni-virtualizer/package.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/.babelrc
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/VirtualArray.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/babel-polyfills.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/benchmark.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-mock-data-chocolate.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-mock-data-fog.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-search-virtual-array.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/jsonp-promise.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/lazy-image.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/package-lock.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/package.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/ancestor-scroll-target/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/ancestor-scroll-target/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-element/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-element/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-html/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-html/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers-2/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers-2/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/grid/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/grid/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/nested/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/nested/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/photos.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-scroller/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-scroller/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-element/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-element/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-html/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-html/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/boot.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/contacts.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/importmap.json
create mode 120000 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/polyfill-support.js
create mode 120000 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/webcomponentsjs
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/stacked/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/stacked/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/tab-switch/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/tab-switch/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-element/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-element/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-html/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-html/index.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/rollup.config.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/.gitignore
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/CHANGELOG.md
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/CONTRIBUTING.md
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/LICENSE
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/README.md
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/package-lock.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/package.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/rollup.config.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/LitVirtualizer.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/Virtualizer.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/flexWrap.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/flow.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/grid.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/shared/BaseLayout.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/shared/Layout.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/shared/SizeCache.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/shared/SizeGapPaddingBaseLayout.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/lit-virtualizer.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/polyfillLoaders/EventTarget.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/polyfillLoaders/ResizeObserver.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/polyfills/resize-observer-polyfill/LICENSE
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/polyfills/resize-observer-polyfill/README.md
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/polyfills/resize-observer-polyfill/ResizeObserver.d.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/polyfills/resize-observer-polyfill/ResizeObserver.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/test/helpers.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/test/scenarios/smoke.test.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/test/scenarios/testing-setup.test.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/virtualize.ts
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/benchmarks/basic.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/benchmarks/scrollingBenchmarks.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/lit-virtual/expected.displays-items.png
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/lit-virtual/expected.scrolls.png
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/lit-virtual/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/lit-virtual/main.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/scroll/expected.displays-items.png
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/scroll/expected.scrolls-to-the-specified-index.png
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/scroll/expected.scrolls-to-the-specified-position.png
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/scroll/expected.scrolls.png
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/scroll/index.html
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/scroll/main.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/rollup.config.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/screenshot.js
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/shared/contacts.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/tsconfig.json
create mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/web-test-runner.config.js
create mode 100755 temp-uni-virtualizer/scripts/deploy-examples.sh
##################################################
Move the virtualizer package into its new location
##################################################
rm 'temp-uni-virtualizer/packages/lit-virtualizer/package-lock.json'
rm 'temp-uni-virtualizer/.eslintignore'
rm 'temp-uni-virtualizer/.eslintrc.json'
rm 'temp-uni-virtualizer/.gitignore'
rm 'temp-uni-virtualizer/LICENSE'
rm 'temp-uni-virtualizer/README.md'
rm 'temp-uni-virtualizer/index.html'
rm 'temp-uni-virtualizer/lerna.json'
rm 'temp-uni-virtualizer/package-lock.json'
rm 'temp-uni-virtualizer/package.json'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/.babelrc'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/VirtualArray.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/babel-polyfills.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/benchmark.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-mock-data-chocolate.json'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-mock-data-fog.json'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-search-virtual-array.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/jsonp-promise.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/lazy-image.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/package-lock.json'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/package.json'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/ancestor-scroll-target/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/ancestor-scroll-target/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-element/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-element/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-html/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-html/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers-2/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers-2/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/grid/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/grid/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/nested/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/nested/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/photos.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-scroller/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-scroller/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-element/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-element/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-html/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-html/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/boot.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/contacts.json'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/importmap.json'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/polyfill-support.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/webcomponentsjs'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/stacked/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/stacked/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/tab-switch/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/tab-switch/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-element/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-element/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-html/index.html'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-html/index.js'
rm 'temp-uni-virtualizer/packages/lit-virtualizer-examples/rollup.config.js'
rm 'temp-uni-virtualizer/scripts/deploy-examples.sh'
#####################################################
Run bootstrap to update package-locks for virtualizer
#####################################################
lerna notice cli v4.0.0
lerna info versioning independent
lerna notice filter including "@lit-labs/virtualizer"
lerna info filter [ '@lit-labs/virtualizer' ]
lerna info Executing command in 1 package: "npm install --save-dev @types/[email protected]"
npm WARN deprecated @types/[email protected]: This is a stub types definition. table provides its own type definitions, so you do not need this installed.
npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
added 624 packages, and audited 625 packages in 18s
83 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
lerna success exec Executed command in 1 package: "npm install --save-dev @types/[email protected]"
lerna notice cli v4.0.0
lerna info versioning independent
lerna info Executing command in 33 packages: "rm -rf node_modules"
lerna success exec Executed command in 33 packages: "rm -rf node_modules"
lerna notice cli v4.0.0
lerna info versioning independent
lerna info ci enabled
lerna info Bootstrapping 33 packages
lerna WARN EHOIST_ROOT_VERSION The repository root depends on @rollup/plugin-node-resolve@^13.2.1, which differs from the more common @rollup/plugin-node-resolve@^13.0.4.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-js" package depends on @rollup/plugin-node-resolve@^13.3.0, which differs from the hoisted @rollup/plugin-node-resolve@^13.2.1.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-ts" package depends on @rollup/plugin-node-resolve@^13.3.0, which differs from the hoisted @rollup/plugin-node-resolve@^13.2.1.
lerna WARN EHOIST_PKG_VERSION "lit-localize-examples-transform-js" package depends on @rollup/plugin-node-resolve@^13.0.4, which differs from the hoisted @rollup/plugin-node-resolve@^13.2.1.
lerna WARN EHOIST_PKG_VERSION "lit-localize-examples-transform-ts" package depends on @rollup/plugin-node-resolve@^13.0.4, which differs from the hoisted @rollup/plugin-node-resolve@^13.2.1.
lerna WARN EHOIST_ROOT_VERSION The repository root depends on @typescript-eslint/eslint-plugin@^5.20.0, which differs from the more common @typescript-eslint/eslint-plugin@^5.25.0.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-ts" package depends on @typescript-eslint/eslint-plugin@^5.25.0, which differs from the hoisted @typescript-eslint/eslint-plugin@^5.20.0.
lerna WARN EHOIST_ROOT_VERSION The repository root depends on @typescript-eslint/parser@^5.20.0, which differs from the more common @typescript-eslint/parser@^5.25.0.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-ts" package depends on @typescript-eslint/parser@^5.25.0, which differs from the hoisted @typescript-eslint/parser@^5.20.0.
lerna WARN EHOIST_ROOT_VERSION The repository root depends on eslint@^8.13.0, which differs from the more common eslint@^8.15.0.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-js" package depends on eslint@^8.15.0, which differs from the hoisted eslint@^8.13.0.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-ts" package depends on eslint@^8.15.0, which differs from the hoisted eslint@^8.13.0.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/cli" package depends on eslint@^5.16.0, which differs from the hoisted eslint@^8.13.0.
lerna WARN EHOIST_ROOT_VERSION The repository root depends on prettier@^2.4.1, which differs from the more common prettier@^2.3.2.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-js" package depends on prettier@^2.6.2, which differs from the hoisted prettier@^2.4.1.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-ts" package depends on prettier@^2.6.2, which differs from the hoisted prettier@^2.4.1.
lerna WARN EHOIST_PKG_VERSION "tests" package depends on prettier@^2.3.2, which differs from the hoisted prettier@^2.4.1.
lerna WARN EHOIST_PKG_VERSION "@lit/ts-transformers" package depends on prettier@^2.3.2, which differs from the hoisted prettier@^2.4.1.
lerna WARN EHOIST_ROOT_VERSION The repository root depends on rollup-plugin-filesize@^9.1.2, which differs from the more common rollup-plugin-filesize@^6.1.1.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/virtualizer" package depends on rollup-plugin-filesize@^6.1.1, which differs from the hoisted rollup-plugin-filesize@^9.1.2.
lerna WARN EHOIST_ROOT_VERSION The repository root depends on rollup-plugin-summary@~1.3.0, which differs from the more common rollup-plugin-summary@^1.3.0.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-js" package depends on rollup-plugin-summary@^1.4.3, which differs from the hoisted rollup-plugin-summary@~1.3.0.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-ts" package depends on rollup-plugin-summary@^1.4.3, which differs from the hoisted rollup-plugin-summary@~1.3.0.
lerna WARN EHOIST_PKG_VERSION "lit-localize-examples-transform-js" package depends on rollup-plugin-summary@^1.3.0, which differs from the hoisted rollup-plugin-summary@~1.3.0.
lerna WARN EHOIST_PKG_VERSION "lit-localize-examples-transform-ts" package depends on rollup-plugin-summary@^1.3.0, which differs from the hoisted rollup-plugin-summary@~1.3.0.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/virtualizer" package depends on rollup-plugin-terser@^5.0.0, which differs from the hoisted rollup-plugin-terser@^7.0.2.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-ts" package depends on typescript@~4.6.4, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/analyzer" package depends on typescript@~4.6.2, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/cli" package depends on typescript@~4.6.2, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/gen-utils" package depends on typescript@~4.6.2, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/gen-wrapper-angular" package depends on typescript@~4.6.2, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/gen-wrapper-react" package depends on typescript@~4.6.2, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/context" package depends on typescript@^4.1.3, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/eleventy-plugin-lit" package depends on typescript@^4.1.3, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/virtualizer" package depends on typescript@^4.1.3, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "@lit-internal/test-element-a" package depends on typescript@~4.3.5, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "lit-localize-examples-runtime-ts" package depends on typescript@^4.4.3, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "lit-localize-examples-transform-ts" package depends on typescript@^4.4.3, which differs from the hoisted typescript@^4.3.5.
lerna WARN EHOIST_PKG_VERSION "lit-benchmarks" package depends on tachometer@^0.5.9, which differs from the hoisted tachometer@^0.5.10.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/cli" package depends on @types/node@^17.0.30, which differs from the hoisted @types/node@^16.7.8.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/gen-utils" package depends on @types/node@^17.0.31, which differs from the hoisted @types/node@^16.7.8.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/gen-wrapper-angular" package depends on @types/node@^17.0.31, which differs from the hoisted @types/node@^16.7.8.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/gen-wrapper-react" package depends on @types/node@^17.0.31, which differs from the hoisted @types/node@^16.7.8.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/ssr" package depends on @types/node@^16.0.0, which differs from the hoisted @types/node@^16.7.8.
lerna WARN EHOIST_PKG_VERSION "internal-scripts" package depends on fast-glob@^3.2.5, which differs from the hoisted fast-glob@^3.2.7.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/virtualizer" package depends on @esm-bundle/chai@^4.3.4-fix.0, which differs from the hoisted @esm-bundle/chai@^4.1.5.
lerna WARN EHOIST_PKG_VERSION "@lit/localize" package depends on @types/chai@^4.2.12, which differs from the hoisted @types/chai@^4.0.1.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/ssr" package depends on @types/chai@^4.2.11, which differs from the hoisted @types/chai@^4.0.1.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/context" package depends on @types/mocha@^8.0.3, which differs from the hoisted @types/mocha@^9.0.0.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/context" package depends on chokidar-cli@^2.1.0, which differs from the hoisted chokidar-cli@^3.0.0.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/context" package depends on mocha@^8.1.3, which differs from the hoisted mocha@^9.1.1.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/virtualizer" package depends on mocha@^6.1.4, which differs from the hoisted mocha@^9.1.1.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-js" package depends on rollup@^2.73.0, which differs from the hoisted rollup@^2.70.2.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-ts" package depends on rollup@^2.73.0, which differs from the hoisted rollup@^2.70.2.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/context" package depends on rollup@^2.28.2, which differs from the hoisted rollup@^2.70.2.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/virtualizer" package depends on rollup@^1.11.2, which differs from the hoisted rollup@^2.70.2.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/cli" package depends on tslib@^1.14.1, which differs from the hoisted tslib@^2.0.3.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/virtualizer" package depends on tslib@^1.10.0, which differs from the hoisted tslib@^2.0.3.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/context" package depends on @web/test-runner-mocha@^0.3.5, which differs from the hoisted @web/test-runner-mocha@^0.7.4.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/virtualizer" package depends on @web/test-runner-mocha@^0.7.5, which differs from the hoisted @web/test-runner-mocha@^0.7.4.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/context" package depends on concurrently@^5.3.0, which differs from the hoisted concurrently@^6.2.1.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/context" package depends on @types/trusted-types@^1.0.1, which differs from the hoisted @types/trusted-types@^2.0.2.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/eleventy-plugin-lit" package depends on @11ty/eleventy@^1.0.0, which differs from the hoisted @11ty/eleventy@^1.0.1.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/ssr" package depends on @open-wc/testing@^3.0.0-next.1, which differs from the hoisted @open-wc/testing@^3.1.5.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-js" package depends on @web/dev-server@^0.1.31, which differs from the hoisted @web/dev-server@^0.1.22.
lerna WARN EHOIST_PKG_VERSION "@lit/lit-starter-ts" package depends on @web/dev-server@^0.1.31, which differs from the hoisted @web/dev-server@^0.1.22.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/eleventy-plugin-lit" package depends on @web/dev-server@^0.1.11, which differs from the hoisted @web/dev-server@^0.1.22.
lerna WARN EHOIST_PKG_VERSION "tests" package depends on @web/dev-server-legacy@^0.1.7, which differs from the hoisted @web/dev-server-legacy@^1.0.0.
lerna WARN EHOIST_PKG_VERSION "@lit/localize" package depends on @web/test-runner@^0.13.16, which differs from the hoisted @web/test-runner@^0.13.27.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/ssr" package depends on @web/test-runner@^0.13.16, which differs from the hoisted @web/test-runner@^0.13.27.
lerna WARN EHOIST_PKG_VERSION "tests" package depends on @web/test-runner@^0.13.22, which differs from the hoisted @web/test-runner@^0.13.27.
lerna WARN EHOIST_PKG_VERSION "@lit/localize" package depends on @web/test-runner-playwright@^0.8.4, which differs from the hoisted @web/test-runner-playwright@^0.8.8.
lerna WARN EHOIST_PKG_VERSION "@lit/ts-transformers" package depends on @types/prettier@^2.2.3, which differs from the hoisted @types/prettier@^2.0.1.
lerna WARN EHOIST_PKG_VERSION "@lit/localize-tools" package depends on uvu@^0.5.1, which differs from the hoisted uvu@^0.5.3.
lerna WARN EHOIST_PKG_VERSION "tests" package depends on uvu@^0.5.1, which differs from the hoisted uvu@^0.5.3.
lerna WARN EHOIST_PKG_VERSION "@lit/ts-transformers" package depends on uvu@^0.5.1, which differs from the hoisted uvu@^0.5.3.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/analyzer" package depends on uvu@^0.5.1, which differs from the hoisted uvu@^0.5.3.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/ssr" package depends on uvu@^0.5.1, which differs from the hoisted uvu@^0.5.3.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/cli" package depends on chai@^4.3.4, which differs from the hoisted chai@^4.2.0.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/cli" package depends on @types/command-line-args@^5.2.0, which differs from the hoisted @types/command-line-args@^5.0.0.
lerna WARN EHOIST_PKG_VERSION "@lit-labs/cli" package depends on command-line-args@^5.2.1, which differs from the hoisted command-line-args@^5.1.1.
lerna info Installing external dependencies
lerna info hoist Installing hoisted dependencies into root
lerna info hoist Pruning hoisted dependencies
lerna info hoist Finished pruning hoisted dependencies
lerna info hoist Finished bootstrapping root
lerna info Symlinking packages and binaries
lerna WARN EREPLACE_EXIST @lit/reactive-element is already installed for @lit-labs/ssr. Replacing with symlink...
lerna WARN EREPLACE_EXIST lit-element is already installed for @lit-labs/ssr. Replacing with symlink...
lerna WARN EREPLACE_EXIST lit-html is already installed for @lit-labs/ssr. Replacing with symlink...
lerna WARN EREPLACE_EXIST lit is already installed for @lit-labs/ssr. Replacing with symlink...
lerna info lifecycle @lit-labs/[email protected]~prepare: @lit-labs/[email protected]
> @lit-labs/[email protected] prepare /Users/brendan/Desktop/work/lit-virtualizer-migration/lit/packages/labs/virtualizer
> npm run build
> @lit-labs/[email protected] build
> tsc --build --force && copyfiles -u 1 src/polyfills/resize-observer-polyfill/ResizeObserver.js .
lerna success Bootstrapped 33 packages
> ignore-sync
> ignore-sync .
✔ Preparing lint-staged...
✔ Running tasks for staged files...
✔ Applying modifications from tasks...
✔ Cleaning up temporary files...
[lit-virtualizer-migration a6a9182f] Move lit-virtualizer into packages/labs and remove all other uni-virtualizer files
123 files changed, 26466 insertions(+), 60165 deletions(-)
create mode 100644 packages/labs/virtualizer/.eslintignore
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/.gitignore (100%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/CHANGELOG.md (99%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/CONTRIBUTING.md (93%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/LICENSE (100%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/README.md (98%)
create mode 100644 packages/labs/virtualizer/package-lock.json
create mode 100644 packages/labs/virtualizer/package.json
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/rollup.config.js (83%)
create mode 100644 packages/labs/virtualizer/src/LitVirtualizer.ts
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/src/Virtualizer.ts (80%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/src/layouts/flexWrap.ts (54%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/src/layouts/flow.ts (84%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/src/layouts/grid.ts (60%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/src/layouts/shared/BaseLayout.ts (83%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/src/layouts/shared/Layout.ts (86%)
create mode 100644 packages/labs/virtualizer/src/layouts/shared/SizeCache.ts
create mode 100644 packages/labs/virtualizer/src/layouts/shared/SizeGapPaddingBaseLayout.ts
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/src/lit-virtualizer.ts (59%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/src/polyfillLoaders/EventTarget.ts (61%)
create mode 100644 packages/labs/virtualizer/src/polyfillLoaders/ResizeObserver.ts
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/src/polyfills/resize-observer-polyfill/LICENSE (100%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/src/polyfills/resize-observer-polyfill/README.md (81%)
create mode 100644 packages/labs/virtualizer/src/polyfills/resize-observer-polyfill/ResizeObserver.d.ts
create mode 100644 packages/labs/virtualizer/src/polyfills/resize-observer-polyfill/ResizeObserver.js
create mode 100644 packages/labs/virtualizer/src/test/helpers.ts
create mode 100644 packages/labs/virtualizer/src/test/scenarios/smoke.test.ts
create mode 100644 packages/labs/virtualizer/src/test/scenarios/testing-setup.test.ts
create mode 100644 packages/labs/virtualizer/src/virtualize.ts
create mode 100644 packages/labs/virtualizer/test/benchmarks/basic.html
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/benchmarks/scrollingBenchmarks.json (99%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/screenshot/cases/lit-virtual/expected.displays-items.png (100%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/screenshot/cases/lit-virtual/expected.scrolls.png (100%)
create mode 100644 packages/labs/virtualizer/test/screenshot/cases/lit-virtual/index.html
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/screenshot/cases/lit-virtual/main.js (100%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/screenshot/cases/scroll/expected.displays-items.png (100%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/screenshot/cases/scroll/expected.scrolls-to-the-specified-index.png (100%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/screenshot/cases/scroll/expected.scrolls-to-the-specified-position.png (100%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/screenshot/cases/scroll/expected.scrolls.png (100%)
create mode 100644 packages/labs/virtualizer/test/screenshot/cases/scroll/index.html
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/screenshot/cases/scroll/main.js (100%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/screenshot/rollup.config.js (100%)
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/test/screenshot/screenshot.js (100%)
create mode 100644 packages/labs/virtualizer/test/screenshot/shared/contacts.json
rename {temp-uni-virtualizer/packages/lit-virtualizer => packages/labs/virtualizer}/tsconfig.json (89%)
create mode 100644 packages/labs/virtualizer/web-test-runner.config.js
delete mode 100644 temp-uni-virtualizer/.eslintignore
delete mode 100644 temp-uni-virtualizer/.eslintrc.json
delete mode 100644 temp-uni-virtualizer/.gitignore
delete mode 100644 temp-uni-virtualizer/LICENSE
delete mode 100644 temp-uni-virtualizer/README.md
delete mode 100644 temp-uni-virtualizer/index.html
delete mode 100644 temp-uni-virtualizer/lerna.json
delete mode 100644 temp-uni-virtualizer/package-lock.json
delete mode 100644 temp-uni-virtualizer/package.json
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/.babelrc
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/VirtualArray.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/babel-polyfills.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/benchmark.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-mock-data-chocolate.json
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-mock-data-fog.json
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr-search-virtual-array.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/flickr.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/jsonp-promise.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/lib/lazy-image.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/package-lock.json
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/package.json
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/ancestor-scroll-target/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/ancestor-scroll-target/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-element/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-element/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-html/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/basic-lit-html/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers-2/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers-2/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/category-headers/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/grid/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/grid/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/nested/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/nested/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-grid-lit-html/photos.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-scroller/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/photo-scroller/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-element/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-element/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-html/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/scroll-to-index-lit-html/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/boot.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/contacts.json
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/importmap.json
delete mode 120000 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/polyfill-support.js
delete mode 120000 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/shared/webcomponentsjs
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/stacked/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/stacked/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/tab-switch/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/tab-switch/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-element/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-element/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-html/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/public/visible-indices-lit-html/index.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer-examples/rollup.config.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/package-lock.json
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/package.json
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/LitVirtualizer.ts
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/shared/SizeCache.ts
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/layouts/shared/SizeGapPaddingBaseLayout.ts
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/polyfillLoaders/ResizeObserver.ts
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/polyfills/resize-observer-polyfill/ResizeObserver.d.ts
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/polyfills/resize-observer-polyfill/ResizeObserver.js
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/test/helpers.ts
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/test/scenarios/smoke.test.ts
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/test/scenarios/testing-setup.test.ts
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/src/virtualize.ts
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/benchmarks/basic.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/lit-virtual/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/cases/scroll/index.html
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/test/screenshot/shared/contacts.json
delete mode 100644 temp-uni-virtualizer/packages/lit-virtualizer/web-test-runner.config.js
delete mode 100755 temp-uni-virtualizer/scripts/deploy-examples.sh
#########################
Convert scripts to wireit
#########################
> ignore-sync
> ignore-sync .
✔ Preparing lint-staged...
✔ Running tasks for staged files...
✔ Applying modifications from tasks...
✔ Cleaning up temporary files...
[lit-virtualizer-migration 2731d6fd] Convert build scripts to use wireit.
1 file changed, 26 insertions(+), 7 deletions(-)
#######################################################
Clone another local lit repo and ensure bootstrap works
#######################################################
Cloning into 'lit-fresh'...
done.
Already on 'lit-virtualizer-migration'
Your branch is up to date with 'origin/lit-virtualizer-migration'.
npm WARN deprecated [email protected]: The functionality that this package provided is now in @npmcli/arborist
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Backported compatibility to node > 6
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
> prepare
> husky install
husky - Git hooks installed
added 1094 packages, and audited 1095 packages in 4s
124 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> bootstrap
> lerna bootstrap --ci
lerna notice cli v4.0.0
lerna info versioning independent
lerna info ci enabled
lerna info Bootstrapping 33 packages
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna WARN EREPLACE_EXIST lit is already installed for @lit/lit-starter-js. Replacing with symlink...
lerna WARN EREPLACE_EXIST lit is already installed for @lit/lit-starter-ts. Replacing with symlink...
lerna WARN EREPLACE_EXIST lit is already installed for @lit-labs/ssr. Replacing with symlink...
lerna WARN EREPLACE_EXIST lit-element is already installed for @lit-labs/ssr. Replacing with symlink...
lerna WARN EREPLACE_EXIST @lit/reactive-element is already installed for @lit-labs/ssr. Replacing with symlink...
lerna WARN EREPLACE_EXIST lit-html is already installed for @lit-labs/ssr. Replacing with symlink...
lerna success Bootstrapped 33 packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment