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

v4 #28

Open
wants to merge 54 commits into
base: main
Choose a base branch
from
Open

v4 #28

Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
f43b532
feat: make turntable completely controllable from the parent element,…
nerdyman Nov 26, 2023
71a27bd
style: update linter to forbid any unused vars except prefixed ones
nerdyman Nov 26, 2023
204d4f6
fix: automatically set `activeImageIndex` `images.length` when `image…
nerdyman Nov 26, 2023
5e11d09
chore: use `latest` in example to avoid issues when it's used in isol…
nerdyman Nov 26, 2023
f1cfacb
refactor: move main code to `lib`, only build esm and replace np with…
nerdyman Nov 26, 2023
93e77ea
build: update build config and deps
nerdyman Dec 13, 2023
e56ea8b
chore: merge with main, fix conflicts
nerdyman Dec 16, 2023
e2a5f05
build: bump deps and remove lib scripts from package.json
nerdyman Dec 17, 2023
d5cc07e
refactor: move autorotate timeout handler inside effect and reset act…
nerdyman Dec 17, 2023
6fc22c7
docs: add controls to example and add advanced/basic demos
nerdyman Dec 17, 2023
5ae16a3
style: update eslint
nerdyman Dec 17, 2023
0ba7999
docs: update readme
nerdyman Dec 17, 2023
528f5cf
refactor: wrap turntable in `forwardRef` and rename `turntableRef` fr…
nerdyman Dec 17, 2023
166659e
docs(example): make buttons and inputs consistently space numbers to …
nerdyman Dec 17, 2023
97ac38d
style: enable stricter eslint settings to catch handing promises
nerdyman Dec 17, 2023
ad40df3
test: fix hanging promises
nerdyman Dec 17, 2023
20d2201
build(deps): force repo to resolve `react-image-turntable` to workspa…
nerdyman Dec 17, 2023
b92e6fb
refactor: merge with dev, fix conflicts
nerdyman Apr 8, 2024
3c12712
test: move tests into example folder and add granular interactivity t…
nerdyman Sep 21, 2024
33a066d
test: update playwright tests and reporters, move tests to example fo…
nerdyman Oct 19, 2024
d4ac3a8
style: replace eslint and prettier with biome and run biome on whole …
nerdyman Oct 19, 2024
3ab9ddd
build: bump pnpm version
nerdyman Oct 19, 2024
5744d62
fix: use `pan-y` instead of `none` to allow scrolling on touch device…
nerdyman Oct 19, 2024
30097c2
feat: make current image clickable, closes #35
nerdyman Oct 19, 2024
a18856f
ci: add publish preview workflow
nerdyman Oct 19, 2024
176984b
dx: do not error when biome doesn't find any matching files in pre-co…
nerdyman Oct 19, 2024
d194a58
build: make bootstrap script work with npm
nerdyman Oct 19, 2024
a877d27
build: update setup script in example
nerdyman Oct 19, 2024
b513cae
ci: run build before tests
nerdyman Oct 19, 2024
cf5470a
test: update target browsers
nerdyman Oct 19, 2024
cf627c4
ci: bump codeclimate action
nerdyman Oct 19, 2024
4d26d8c
chore: remove eslint tsconfig
nerdyman Oct 19, 2024
3a201f1
ci: copy src folder for coverage upload
nerdyman Oct 19, 2024
edfd1bd
ci: copy src folder for coverage upload again
nerdyman Oct 19, 2024
ae9994e
ci: copy src folder for coverage upload again again
nerdyman Oct 19, 2024
526c985
ci: copy src folder for coverage upload again again again
nerdyman Oct 19, 2024
91f5a38
ci: set wd for coverage action
nerdyman Oct 19, 2024
ecbe677
ci: remove install script from compressed size action
nerdyman Oct 19, 2024
52c0249
ci: update working directory of compressed size action
nerdyman Oct 19, 2024
dae60b6
ci: add install script to compressed size action
nerdyman Oct 19, 2024
e9f32c7
ci: update compressed action scripts
nerdyman Oct 19, 2024
33775c9
ci: update compressed size action for the last time hopefully
nerdyman Oct 19, 2024
51c41ec
ci: add test summary step
nerdyman Oct 19, 2024
672eaf6
ci: add esbuild bundle action
nerdyman Oct 19, 2024
388d504
build: don't minify the lib build when the `ANALYZE` environment veri…
nerdyman Oct 19, 2024
1be99ed
chore: update contrib guide
nerdyman Oct 19, 2024
cb61e4d
ci: update publish package job
nerdyman Oct 19, 2024
b881ec6
ci: add step to check package
nerdyman Oct 19, 2024
8eeb330
build: bump deps
nerdyman Oct 19, 2024
6206471
build(example): use glob for lib package version
nerdyman Oct 20, 2024
63121bc
build: bump publint and attw, only check node16 for attw
nerdyman Dec 17, 2024
ff51b3f
chore: update package.json formatting
nerdyman Dec 17, 2024
e86cbf3
chore: release v4.0.0-0
nerdyman Dec 17, 2024
de3c9d3
chore: put package.json formatting back the way it was
nerdyman Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: put package.json formatting back the way it was
nerdyman committed Dec 17, 2024
commit de3c9d39e7976811a61bf87398d2141bd60f250f
20 changes: 3 additions & 17 deletions lib/package.json
Original file line number Diff line number Diff line change
@@ -15,14 +15,7 @@
"url": "https://github.com/nerdyman"
},
"description": "Display a set of images as a draggable 360 degree turntable.",
"keywords": [
"react",
"image",
"360",
"turntable",
"rotator",
"slider"
],
"keywords": ["react", "image", "360", "turntable", "rotator", "slider"],
"engines": {
"node": ">=18.0.0"
},
@@ -44,10 +37,7 @@
}
}
},
"files": [
"src",
"dist"
],
"files": ["src", "dist"],
"scripts": {
"analyze": "ANALYZE=true pnpx esbuild-visualizer --metadata ./dist/metafile-esm.json",
"start": "concurrently -k -s first -n \"tsup,ts\" -c \"blue,cyan\" \"tsup --watch\" \"pnpm run check:types --watch --preserveWatchOutput\"",
@@ -70,11 +60,7 @@
"not ie > 0",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
"development": ["last 1 chrome version", "last 1 firefox version", "last 1 safari version"]
},
"peerDependencies": {
"react": ">=16.8",