Skip to content

Commit d215fc9

Browse files
committed
feat(repo): new integrations library
1 parent 00c4a11 commit d215fc9

22 files changed

+1473
-787
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.eslintrc.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": ["**/*"],
4+
"plugins": ["@nx"],
5+
"overrides": [
6+
{
7+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
8+
"rules": {
9+
"@nx/enforce-module-boundaries": [
10+
"error",
11+
{
12+
"enforceBuildableLibDependency": true,
13+
"allow": [],
14+
"depConstraints": [
15+
{
16+
"sourceTag": "*",
17+
"onlyDependOnLibsWithTags": ["*"]
18+
}
19+
]
20+
}
21+
]
22+
}
23+
},
24+
{
25+
"files": ["*.ts", "*.tsx"],
26+
"extends": ["plugin:@nx/typescript"],
27+
"rules": {}
28+
},
29+
{
30+
"files": ["*.js", "*.jsx"],
31+
"extends": ["plugin:@nx/javascript"],
32+
"rules": {}
33+
},
34+
{
35+
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
36+
"env": {
37+
"jest": true
38+
},
39+
"rules": {}
40+
}
41+
]
42+
}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,5 @@ Thumbs.db
4646
.github/instructions/nx.instructions.md
4747

4848
vite.config.*.timestamp*
49-
vitest.config.*.timestamp*
49+
vitest.config.*.timestamp*
50+
test-output

jest.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import type { Config } from 'jest'
2+
import { getJestProjectsAsync } from '@nx/jest'
3+
4+
export default async (): Promise<Config> => ({
5+
projects: await getJestProjectsAsync(),
6+
})

jest.preset.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const nxPreset = require('@nx/jest/preset').default
2+
3+
module.exports = { ...nxPreset }

nx.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@
1515
"!{projectRoot}/**/*.md",
1616
"!{projectRoot}/docs/**/*",
1717
"!{projectRoot}/coverage/**/*",
18-
"sharedGlobals"
18+
"sharedGlobals",
19+
"!{projectRoot}/.eslintrc.json",
20+
"!{projectRoot}/eslint.config.mjs",
21+
"!{projectRoot}/tsconfig.spec.json",
22+
"!{projectRoot}/src/test-setup.[jt]s",
23+
"!{projectRoot}/test-setup.[jt]s"
1924
],
2025
"testing": [
2126
"production",
@@ -196,10 +201,11 @@
196201
}
197202
],
198203
"release": {
199-
"projects": ["packages/core/*"],
204+
"projects": ["packages/core/*", "storage-vectors-js"],
200205
"projectsRelationship": "fixed",
201206
"releaseTagPatternCheckAllBranchesWhen": true,
202207
"version": {
208+
"preVersionCommand": "npx nx run-many -t build",
203209
"conventionalCommits": true
204210
},
205211
"changelog": {

0 commit comments

Comments
 (0)