Skip to content

Commit 99fde93

Browse files
committed
fix: package.json
1 parent f6f8d41 commit 99fde93

File tree

7 files changed

+116
-2
lines changed

7 files changed

+116
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"react": "^19.1.1",
8282
"read-pkg": "9.0.1",
8383
"tsc-alias": "^1.8.16",
84-
"turbo": "2.5.6",
84+
"turbo": "^2.5.6",
8585
"typedoc": "0.27.6",
8686
"typescript": "5.8.3",
8787
"vite": "6.3.6",

packages/sdk/src/index.gen.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { Billingv2beta1 } from '@scaleway/sdk-billing'
1111
import { Blockv1, Blockv1alpha1 } from '@scaleway/sdk-block'
1212
import { Cockpitv1 } from '@scaleway/sdk-cockpit'
1313
import { Containerv1beta1 } from '@scaleway/sdk-container'
14+
import { Datawarehousev1beta1 } from '@scaleway/sdk-datawarehouse'
1415
import { Dediboxv1 } from '@scaleway/sdk-dedibox'
1516
import { Domainv2beta1 } from '@scaleway/sdk-domain'
1617
import { EdgeServicesv1beta1 } from '@scaleway/sdk-edge-services'
@@ -35,6 +36,7 @@ import { Qaasv1alpha1 } from '@scaleway/sdk-qaas'
3536
import { Rdbv1 } from '@scaleway/sdk-rdb'
3637
import { Redisv1 } from '@scaleway/sdk-redis'
3738
import { Registryv1 } from '@scaleway/sdk-registry'
39+
import { S2sVpnv1alpha1 } from '@scaleway/sdk-s2s-vpn'
3840
import { Secretv1beta1 } from '@scaleway/sdk-secret'
3941
import { ServerlessSqldbv1alpha1 } from '@scaleway/sdk-serverless-sqldb'
4042
import { Temv1alpha1 } from '@scaleway/sdk-tem'
@@ -116,6 +118,14 @@ export const Container = {
116118
v1beta1: Containerv1beta1,
117119
}
118120

121+
/**
122+
* @deprecated Direct version exports are deprecated. Use the 'Datawarehouse' namespace instead (e.g., Datawarehouse.v1).
123+
*/
124+
export { Datawarehousev1beta1 }
125+
export const Datawarehouse = {
126+
v1beta1: Datawarehousev1beta1,
127+
}
128+
119129
/**
120130
* @deprecated Direct version exports are deprecated. Use the 'Dedibox' namespace instead (e.g., Dedibox.v1).
121131
*/
@@ -310,6 +320,14 @@ export const Registry = {
310320
v1: Registryv1,
311321
}
312322

323+
/**
324+
* @deprecated Direct version exports are deprecated. Use the 'S2sVpn' namespace instead (e.g., S2sVpn.v1).
325+
*/
326+
export { S2sVpnv1alpha1 }
327+
export const S2sVpn = {
328+
v1alpha1: S2sVpnv1alpha1,
329+
}
330+
313331
/**
314332
* @deprecated Direct version exports are deprecated. Use the 'Secret' namespace instead (e.g., Secret.v1).
315333
*/
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"name": "@scaleway/sdk-datawarehouse",
3+
"version": "1.0.0",
4+
"description": "Scaleway SDK datawarehouse",
5+
"license": "Apache-2.0",
6+
"files": [
7+
"dist"
8+
],
9+
"type": "module",
10+
"exports": {
11+
".": {
12+
"types": "./dist/index.gen.d.ts",
13+
"import": "./dist/index.gen.js",
14+
"require": "./dist/index.gen.cjs",
15+
"default": "./dist/index.gen.js"
16+
},
17+
"./*": {
18+
"types": "./dist/*/index.gen.d.ts",
19+
"import": "./dist/*/index.gen.js",
20+
"require": "./dist/*/index.gen.cjs",
21+
"default": "./dist/*/index.gen.js"
22+
}
23+
},
24+
"repository": {
25+
"type": "git",
26+
"directory": "packages_generated/datawarehouse"
27+
},
28+
"engines": {
29+
"node": ">=20.18.3"
30+
},
31+
"scripts": {
32+
"package:check": "pnpm publint",
33+
"typecheck": "tsc --noEmit",
34+
"type:generate": "tsc --declaration -p tsconfig.build.json",
35+
"build": "vite build --config vite.config.ts && pnpm run type:generate",
36+
"build:profile": "npx vite-bundle-visualizer -c vite.config.ts"
37+
},
38+
"dependencies": {
39+
"@scaleway/sdk-std": "workspace:*",
40+
"@scaleway/random-name": "5.1.1"
41+
},
42+
"peerDependencies": {
43+
"@scaleway/sdk-client": "workspace:^"
44+
},
45+
"devDependencies": {
46+
"@scaleway/sdk-client": "workspace:^"
47+
}
48+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"noEmit": false,
5+
"emitDeclarationOnly": true,
6+
"rootDir": "src",
7+
"outDir": "dist"
8+
},
9+
"exclude": [
10+
"dist/*",
11+
"*.config.ts",
12+
"*.setup.ts",
13+
"**/__tests__",
14+
"**/__mocks__",
15+
"src/**/*.test.tsx"
16+
]
17+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"include": ["src/**/*.ts", "src/**/*.tsx", "*.config.ts"]
4+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* eslint-disable eslint-comments/disable-enable-pair */
2+
/* eslint-disable import/no-default-export */
3+
/* eslint-disable import/no-relative-packages */
4+
/* eslint-disable import/no-extraneous-dependencies */
5+
import { defineConfig, mergeConfig } from 'vite'
6+
import { defaultConfig } from '../../vite.config'
7+
8+
export default mergeConfig(defineConfig(defaultConfig), {
9+
build: {
10+
lib: {
11+
entry: 'src/index.gen.ts',
12+
},
13+
},
14+
})

pnpm-lock.yaml

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)