Skip to content

keep example lockfiles in sync when releasing - #3835

Merged
tannerlinsley merged 3 commits into
TanStack:alphafrom
shiftkey:shiftkey-sync-examples-lockfile
Apr 17, 2022
Merged

keep example lockfiles in sync when releasing#3835
tannerlinsley merged 3 commits into
TanStack:alphafrom
shiftkey:shiftkey-sync-examples-lockfile

Conversation

@shiftkey

Copy link
Copy Markdown
Contributor

As part of digging into the examples and thinking about how to upgrade a complex project from v7 to v8 I identified some opportunities for cleanup:

  • tidy up lockfiles and keep them in sync with the latest release
  • clean up unused code in some examples

This PR addresses the first one, and I've added it to the scripts/publish.ts script and tested locally:

$ TAG=v8.0.0-alpha.28 ./node_modules/.bin/ts-node scripts/publish.ts
Tag is set to v8.0.0-alpha.28. This will force release all packages. Publishing...
Parsing 1397 commits since v8.0.0-alpha.28...
Generating changelog...

Version 8.0.0-alpha.28 - 2022-04-17, 2:20 p.m.

## Changes

Manual Release: v8.0.0-alpha.28

## Packages

- @tanstack/table-core@8.0.0-alpha.28
- @tanstack/react-table@8.0.0-alpha.28
- @tanstack/react-table-devtools@8.0.0-alpha.28

Building packages...

/home/shiftkey/src/react-table/packages/table-core/src/index.tsx → packages/table-core/build/esm...
created packages/table-core/build/esm in 1.9s

/home/shiftkey/src/react-table/packages/table-core/src/index.tsx → packages/table-core/build/cjs...
created packages/table-core/build/cjs in 987ms

/home/shiftkey/src/react-table/packages/table-core/src/index.tsx → packages/table-core/build/umd/index.development.js...
created packages/table-core/build/umd/index.development.js in 1s

/home/shiftkey/src/react-table/packages/table-core/src/index.tsx → packages/table-core/build/umd/index.production.js...
created packages/table-core/build/umd/index.production.js in 1.9s

/home/shiftkey/src/react-table/packages/react-table/src/index.tsx → packages/react-table/build/esm...
created packages/react-table/build/esm in 129ms

/home/shiftkey/src/react-table/packages/react-table/src/index.tsx → packages/react-table/build/cjs...
created packages/react-table/build/cjs in 97ms

/home/shiftkey/src/react-table/packages/react-table/src/index.tsx → packages/react-table/build/umd/index.development.js...
created packages/react-table/build/umd/index.development.js in 90ms

/home/shiftkey/src/react-table/packages/react-table/src/index.tsx → packages/react-table/build/umd/index.production.js...
created packages/react-table/build/umd/index.production.js in 506ms

/home/shiftkey/src/react-table/packages/react-table-devtools/src/index.tsx → packages/react-table-devtools/build/esm...
created packages/react-table-devtools/build/esm in 309ms

/home/shiftkey/src/react-table/packages/react-table-devtools/src/index.tsx → packages/react-table-devtools/build/cjs...
created packages/react-table-devtools/build/cjs in 227ms

/home/shiftkey/src/react-table/packages/react-table-devtools/src/index.tsx → packages/react-table-devtools/build/umd/index.development.js...
created packages/react-table-devtools/build/umd/index.development.js in 223ms

/home/shiftkey/src/react-table/packages/react-table-devtools/src/index.tsx → packages/react-table-devtools/build/umd/index.production.js...
created packages/react-table-devtools/build/umd/index.production.js in 881ms
Linking packages...
lerna notice cli v4.0.0
lerna info Executing command in 3 packages: "yarn link"
lerna success exec Executed command in 3 packages: "yarn link"
lerna notice cli v4.0.0
lerna info Executing command in 3 packages: "yarn link @tanstack/react-table"
lerna success exec Executed command in 3 packages: "yarn link @tanstack/react-table"
Testing packages...
PASS react-table packages/react-table/__tests__/features/Visibility.test.tsx
PASS table-core packages/table-core/__tests__/features/Visibility.test.tsx
PASS table-core packages/table-core/__tests__/core/core.test.tsx
PASS react-table packages/react-table/__tests__/core/core.test.tsx

Test Suites: 4 passed, 4 total
Tests:       8 passed, 8 total
Snapshots:   14 passed, 14 total
Time:        3.181 s
Ran all test suites in 2 projects.

Updating all changed packages and their dependencies to version 8.0.0-alpha.28...
  Updating @tanstack/table-core version to 8.0.0-alpha.28...
  Updating @tanstack/react-table version to 8.0.0-alpha.28...
    Updating dependency on @tanstack/react-table to version 8.0.0-alpha.28.
  Updating @tanstack/react-table-devtools version to 8.0.0-alpha.28...
Updating examples dependencies...
  Updating example basic to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example column-ordering to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example column-pinning to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example column-sizing to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example column-visibility to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example expanding to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example filters to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example fully-controlled to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example grouping to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example pagination to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example row-selection to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
  Updating example sorting to version 8.0.0-alpha.28...
    Updating dependency @tanstack/react-table to version 8.0.0-alpha.28...
This is a dry run for version 8.0.0-alpha.28. Push to CI to publish for real or set CI=true to override!

The remaining commits on this PR are for the updated lockfiles under examples/, and then a package that doesn't seem to be up-to-date with the others in the workspace.

Happy to adapt this to whatever format suits, as I appreciate that this may not be your highest priority at the moment...

@vercel

vercel Bot commented Apr 17, 2022

Copy link
Copy Markdown

@shiftkey is attempting to deploy a commit to the Tanstack Team on Vercel.

A member of the Team first needs to authorize it.

@shiftkey shiftkey changed the title keep example lockfiles in sync with release keep example lockfiles in sync when releasing Apr 17, 2022
@tannerlinsley
tannerlinsley merged commit d3b63a5 into TanStack:alpha Apr 17, 2022
@shiftkey
shiftkey deleted the shiftkey-sync-examples-lockfile branch April 18, 2022 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants