Skip to content

Commit 376b1bb

Browse files
committed
chore: rename npm packages
1 parent 5bfe6d9 commit 376b1bb

229 files changed

Lines changed: 545 additions & 534 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"loglevel": "verbose",
1616
"changelogPreset": "conventional-changelog-conventionalcommits",
1717
"packages": [
18-
"packages/create-wundergraph-app",
18+
"packages/create-undergraph-app",
1919
"packages/golang-client",
2020
"packages/nextjs",
2121
"packages/orm",

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"private": true,
33
"version": "0.180.0",
4-
"name": "wundergraph",
4+
"name": "undergraph",
55
"license": "Apache-2.0",
66
"author": {
7-
"name": "WunderGraph Maintainers",
8-
"email": "info@wundergraph.com"
7+
"name": "UnderGraph Maintainers",
8+
"email": "info@undergraph.dev"
99
},
1010
"repository": {
1111
"type": "https",
12-
"url": "https://github.com/wundergraph/wundergraph"
12+
"url": "https://github.com/undergraph-dev/undergraph"
1313
},
14-
"homepage": "https://wundergraph.com",
14+
"homepage": "https://undergraph.dev",
1515
"scripts": {
1616
"build": "pnpm -r run --filter='!@test/postgres' --filter='!@test/mtls' --filter='!@test/vite' --filter='!./docs-website' build",
1717
"build:libs": "pnpm -r run --filter='./packages/*' --filter='!./docs-website' build",

packages/create-wundergraph-app/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "create-wundergraph-app",
2+
"name": "create-undergraph-app",
33
"version": "0.6.0",
44
"license": "Apache-2.0",
5-
"description": "Create Wundergraph App CLI command",
5+
"description": "Create Undergraph App CLI command",
66
"main": "dist/src/index.js",
77
"exports": "./dist/src/index.js",
88
"scripts": {
@@ -11,20 +11,20 @@
1111
"test": "jest"
1212
},
1313
"bin": {
14-
"create-wundergraph-app": "./dist/src/index.js"
14+
"create-undergraph-app": "./dist/src/index.js"
1515
},
1616
"repository": {
1717
"type": "git",
18-
"url": "git+https://github.com/wundergraph/wundergraph.git"
18+
"url": "git+https://github.com/undergraph-dev/undergraph.git"
1919
},
2020
"publishConfig": {
2121
"registry": "https://registry.npmjs.org",
2222
"access": "public"
2323
},
2424
"keywords": [],
2525
"author": {
26-
"name": "WunderGraph Maintainers",
27-
"email": "info@wundergraph.com"
26+
"name": "UnderGraph Maintainers",
27+
"email": "info@undergraph.dev"
2828
},
2929
"dependencies": {
3030
"async-retry": "^1.3.3",

packages/create-wundergraph-app/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import packageJson from '../package.json';
77

88
let projectName = '';
99

10-
const program = new Command('create-wundergraph-app')
10+
const program = new Command('create-undergraph-app')
1111
.version(packageJson.version)
1212
.arguments('[project-name]')
1313
.usage(`${chalk.green('[project-name]')} [options]`)

packages/golang-client/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
2-
"name": "@wundergraph/golang-client",
2+
"name": "@undergraph-dev/golang-client",
33
"version": "0.8.19",
44
"license": "Apache-2.0",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",
77
"files": [
88
"dist"
99
],
10-
"description": "WunderGraph Golang Client",
10+
"description": "UnderGraph Golang Client",
1111
"publishConfig": {
1212
"registry": "https://registry.npmjs.org",
1313
"access": "public"
1414
},
1515
"repository": {
1616
"type": "git",
17-
"url": "git+https://github.com/wundergraph/wundergraph.git"
17+
"url": "git+https://github.com/undergraph-dev/undergraph.git"
1818
},
19-
"homepage": "https://wundergraph.com",
19+
"homepage": "https://undergraph.dev",
2020
"author": {
21-
"name": "WunderGraph Maintainers",
22-
"email": "info@wundergraph.com"
21+
"name": "UnderGraph Maintainers",
22+
"email": "info@undergraph.dev"
2323
},
2424
"bugs": {
25-
"url": "https://github.com/wundergraph/wundergraph/issues"
25+
"url": "https://github.com/undergraph-dev/undergraph/issues"
2626
},
2727
"scripts": {
2828
"build": "tsc"
@@ -32,14 +32,14 @@
3232
"@types/lodash": "^4.14.178",
3333
"@types/node": "^17.0.32",
3434
"@types/object-hash": "^1.3.4",
35-
"@wundergraph/sdk": "workspace:^0.184.2",
35+
"@undergraph-dev/sdk": "workspace:^0.184.2",
3636
"typescript": "^5.1.6"
3737
},
3838
"peerDependencies": {
39-
"@wundergraph/sdk": ">=0.105.1"
39+
"@undergraph-dev/sdk": ">=0.105.1"
4040
},
4141
"dependencies": {
42-
"@wundergraph/protobuf": "workspace:^0.118.2",
42+
"@undergraph-dev/protobuf": "workspace:^0.118.2",
4343
"execa": "5.1.1",
4444
"handlebars": "^4.7.7",
4545
"json-schema": "^0.4.0",

packages/golang-client/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { CodeGenerationConfig, GraphQLOperation, Template, TemplateOutputFile } from '@wundergraph/sdk';
2-
import { hasInput, visitJSONSchema } from '@wundergraph/sdk/internal/codegen';
1+
import { CodeGenerationConfig, GraphQLOperation, Template, TemplateOutputFile } from '@undergraph-dev/sdk';
2+
import { hasInput, visitJSONSchema } from '@undergraph-dev/sdk/internal/codegen';
33
import { JSONSchema7 as JSONSchema, JSONSchema7 } from 'json-schema';
44
import execa from 'execa';
55
import { capitalize } from 'lodash';
66
import Handlebars from 'handlebars';
77
import { clientTemplate } from './client-template';
8-
import { OperationExecutionEngine, OperationType } from '@wundergraph/protobuf';
9-
import Logger from '@wundergraph/sdk/internal/logger';
8+
import { OperationExecutionEngine, OperationType } from '@undergraph-dev/protobuf';
9+
import Logger from '@undergraph-dev/sdk/internal/logger';
1010

1111
const logger = Logger.child({ plugin: 'golang-client' });
1212

packages/metro-config/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "@wundergraph/metro-config",
2+
"name": "@undergraph-dev/metro-config",
33
"version": "0.0.1",
44
"license": "Apache-2.0",
5-
"description": "WunderGraph Metro Config for React Native and Expo",
5+
"description": "UnderGraph Metro Config for React Native and Expo",
66
"main": "./dist/index.js",
77
"types": "./dist/index.d.ts",
88
"files": [
@@ -17,7 +17,7 @@
1717
},
1818
"repository": {
1919
"type": "git",
20-
"url": "git+https://github.com/wundergraph/wundergraph.git"
20+
"url": "git+https://github.com/undergraph-dev/undergraph.git"
2121
},
2222
"dependencies": {
2323
"event-source-polyfill": "^1.0.31",
@@ -32,14 +32,14 @@
3232
"tsup": "^6.7.0",
3333
"typescript": "^5.1.6"
3434
},
35-
"homepage": "https://wundergraph.com",
35+
"homepage": "https://undergraph.dev",
3636
"author": {
37-
"name": "WunderGraph Maintainers",
38-
"email": "info@wundergraph.com"
37+
"name": "UnderGraph Maintainers",
38+
"email": "info@undergraph.dev"
3939
},
4040
"keywords": [
4141
"expo",
42-
"wundergraph",
42+
"undergraph",
4343
"react-native",
4444
"metro-config"
4545
]

packages/metro-config/src/metro-config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ export const wgMetroConfig = (config: MetroConfig) => {
1414
...config.resolver,
1515
resolveRequest: (context, moduleName, platform) => {
1616
// React Native doesn't support exports field in package.json, so we resolve it manually.
17-
if (moduleName.startsWith('@wundergraph/sdk/client')) {
18-
return context.resolveRequest(context, '@wundergraph/sdk/dist/client', platform);
17+
if (moduleName.startsWith('@undergraph-dev/sdk/client')) {
18+
return context.resolveRequest(context, '@undergraph-dev/sdk/dist/client', platform);
1919
}
2020

21-
if (moduleName.startsWith('@wundergraph/sdk/internal')) {
22-
return context.resolveRequest(context, '@wundergraph/sdk/dist/internal', platform);
21+
if (moduleName.startsWith('@undergraph-dev/sdk/internal')) {
22+
return context.resolveRequest(context, '@undergraph-dev/sdk/dist/internal', platform);
2323
}
2424

2525
if (config.resolver?.resolveRequest) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "wundergraph-metro-transformer",
2+
"name": "undergraph-metro-transformer",
33
"main": "../dist/transformer.js",
44
"types": "../dist/transformer.d.ts"
55
}

packages/nextjs/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@wundergraph/nextjs",
2+
"name": "@undergraph-dev/nextjs",
33
"version": "0.15.9",
44
"license": "Apache-2.0",
55
"main": "./dist/index.js",
@@ -43,22 +43,22 @@
4343
"files": [
4444
"dist"
4545
],
46-
"description": "WunderGraph Next.js integration",
46+
"description": "UnderGraph Next.js integration",
4747
"publishConfig": {
4848
"registry": "https://registry.npmjs.org",
4949
"access": "public"
5050
},
5151
"repository": {
5252
"type": "git",
53-
"url": "git+https://github.com/wundergraph/wundergraph.git"
53+
"url": "git+https://github.com/undergraph-dev/undergraph.git"
5454
},
55-
"homepage": "https://wundergraph.com",
55+
"homepage": "https://undergraph.dev",
5656
"author": {
57-
"name": "WunderGraph Maintainers",
58-
"email": "info@wundergraph.com"
57+
"name": "UnderGraph Maintainers",
58+
"email": "info@undergraph.dev"
5959
},
6060
"bugs": {
61-
"url": "https://github.com/wundergraph/wundergraph/issues"
61+
"url": "https://github.com/undergraph-dev/undergraph/issues"
6262
},
6363
"devDependencies": {
6464
"@swc/core": "^1.3.14",
@@ -69,7 +69,7 @@
6969
"@types/node": "^17.0.32",
7070
"@types/node-fetch": "2.6.2",
7171
"@types/react": "^18.0.6",
72-
"@wundergraph/sdk": "workspace:*",
72+
"@undergraph-dev/sdk": "workspace:*",
7373
"jest": "^29.6.1",
7474
"jest-environment-jsdom": "^29.6.1",
7575
"next": "^14.0.1",
@@ -82,15 +82,15 @@
8282
"typescript": "^5.1.6"
8383
},
8484
"peerDependencies": {
85-
"@wundergraph/sdk": ">=0.110.0",
85+
"@undergraph-dev/sdk": ">=0.110.0",
8686
"next": "^12.1.0 || ^13.0.0 || ^14.0.0",
8787
"react": "^17.0.2 || ^18.0.0",
8888
"react-dom": "^17.0.2 || ^18.0.0",
8989
"swr": "^2.2.0"
9090
},
9191
"dependencies": {
92-
"@wundergraph/protobuf": "workspace:^0.118.2",
93-
"@wundergraph/swr": "workspace:*",
92+
"@undergraph-dev/protobuf": "workspace:^0.118.2",
93+
"@undergraph-dev/swr": "workspace:*",
9494
"handlebars": "^4.7.7",
9595
"react-ssr-prepass": "^1.5.0"
9696
},

0 commit comments

Comments
 (0)