Skip to content

Commit

Permalink
chore: make broadcast-client experimental again
Browse files Browse the repository at this point in the history
  • Loading branch information
TkDodo committed Jul 14, 2022
1 parent 3ceb5ff commit 4546712
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 16 deletions.
26 changes: 20 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"workspaces": [
"./packages/query-core",
"./packages/query-async-storage-persister",
"./packages/query-broadcast-client",
"./packages/query-broadcast-client-experimental",
"./packages/query-sync-storage-persister",
"./packages/react-query",
"./packages/react-query-devtools",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tanstack/query-broadcast-client",
"name": "@tanstack/query-broadcast-client-experimental",
"version": "4.0.0-beta.1",
"description": "TODO",
"author": "tannerlinsley",
Expand All @@ -11,7 +11,7 @@
"url": "https://github.com/sponsors/tannerlinsley"
},
"module": "build/esm/index.js",
"main": "build/cjs/packages/query-broadcast-client/src/index.js",
"main": "build/cjs/packages/query-broadcast-client-experimental/src/index.js",
"browser": "build/umd/index.production.js",
"types": "build/types/index.d.ts",
"files": [
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ export default function rollup(options: RollupOptions): RollupOptions[] {
globals: {},
}),
...buildConfigs({
name: 'query-broadcast-client',
packageDir: 'packages/query-broadcast-client',
name: 'query-broadcast-client-experimental',
packageDir: 'packages/query-broadcast-client-experimental',
jsName: 'QueryBroadcastClient',
outputFile: 'query-broadcast-client',
outputFile: 'query-broadcast-client-experimental',
entryFile: 'src/index.ts',
globals: {},
}),
Expand Down
4 changes: 2 additions & 2 deletions scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const packages: Package[] = [
srcDir: 'src',
},
{
name: '@tanstack/query-broadcast-client',
packageDir: 'query-broadcast-client',
name: '@tanstack/query-broadcast-client-experimental',
packageDir: 'query-broadcast-client-experimental',
srcDir: 'src',
},
{
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@tanstack/query-async-storage-persister": [
"packages/query-async-storage-persister/src"
],
"@tanstack/query-broadcast-client": ["packages/query-broadcast-client/src"],
"@tanstack/query-broadcast-client-experimental": ["packages/query-broadcast-client-experimental/src"],
"@tanstack/query-sync-storage-persister": [
"packages/query-sync-storage-persister/src"
],
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"references": [
{ "path": "packages/query-core" },
{ "path": "packages/query-async-storage-persister" },
{ "path": "packages/query-broadcast-client" },
{ "path": "packages/query-broadcast-client-experimental" },
{ "path": "packages/query-sync-storage-persister" },
{ "path": "packages/react-query" },
{ "path": "packages/react-query-devtools" },
Expand Down

0 comments on commit 4546712

Please sign in to comment.