🎉 created monorepo

This commit is contained in:
Rose 2024-04-12 12:14:54 -04:00
parent e9637b7bc0
commit 03b9b27e17
No known key found for this signature in database
14 changed files with 1227 additions and 0 deletions

1
.dockerignore Normal file
View file

@ -0,0 +1 @@
node_modules

10
.editorconfig Normal file
View file

@ -0,0 +1,10 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
[*.{js,json,yml}]
charset = utf-8
indent_style = space
indent_size = 2

4
.gitattributes vendored Normal file
View file

@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated

18
.gitignore vendored Normal file
View file

@ -0,0 +1,18 @@
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
# Swap the comments on the following lines if you wish to use zero-installs
# In that case, don't forget to run `yarn config set enableGlobalCache false`!
# Documentation here: https://yarnpkg.com/features/caching#zero-installs
#!.yarn/cache
.pnp.*
build/
node_modules
.turbo

8
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,8 @@
{
"biome.enabled": true,
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
}
}

893
.yarn/releases/yarn-4.1.1.cjs vendored Normal file

File diff suppressed because one or more lines are too long

3
.yarnrc.yml Normal file
View file

@ -0,0 +1,3 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.1.1.cjs

4
biome.json Normal file
View file

@ -0,0 +1,4 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"extends": ["@datamine/config/biome"]
}

14
package.json Normal file
View file

@ -0,0 +1,14 @@
{
"name": "datamine",
"packageManager": "yarn@4.1.1",
"engines": {
"node": ">=18"
},
"private": true,
"workspaces": ["packages/*"],
"devDependencies": {
"@biomejs/biome": "1.6.4",
"@datamine/config": "workspace:^",
"turbo": "^1.13.2"
}
}

View file

@ -0,0 +1,31 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"useTemplate": "warn",
"noNonNullAssertion": "warn"
},
"suspicious": {
"noExplicitAny": "off"
}
}
},
"formatter": {
"enabled": true,
"lineWidth": 256,
"indentStyle": "space",
"formatWithErrors": true,
"indentWidth": 2
},
"javascript": {
"formatter": {
"semicolons": "always"
}
}
}

View file

@ -0,0 +1,15 @@
{
"name": "@datamine/config",
"version": "0.0.0",
"private": true,
"exports": {
"./typescript": {
"import": "./tsconfig.json",
"require": "./tsconfig.json"
},
"./biome": {
"import": "./biome.json",
"require": "./biome.json"
}
}
}

View file

@ -0,0 +1,28 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"alwaysStrict": true,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"importHelpers": false,
"incremental": true,
"lib": ["esnext"],
"module": "Node16",
"moduleResolution": "Node16",
"newLine": "lf",
"noEmitHelpers": false,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveConstEnums": true,
"pretty": true,
"removeComments": false,
"resolveJsonModule": true,
"sourceMap": true,
"strict": true,
"target": "ES2020",
"useDefineForClassFields": true
}
}

14
turbo.json Normal file
View file

@ -0,0 +1,14 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"lint": {},
"dev": {
"cache": false,
"persistent": true
}
}
}

184
yarn.lock Normal file
View file

@ -0,0 +1,184 @@
# This file is generated by running "yarn install" inside your project.
# Manual changes might be lost - proceed with caution!
__metadata:
version: 8
cacheKey: 10c0
"@biomejs/biome@npm:1.6.4":
version: 1.6.4
resolution: "@biomejs/biome@npm:1.6.4"
dependencies:
"@biomejs/cli-darwin-arm64": "npm:1.6.4"
"@biomejs/cli-darwin-x64": "npm:1.6.4"
"@biomejs/cli-linux-arm64": "npm:1.6.4"
"@biomejs/cli-linux-arm64-musl": "npm:1.6.4"
"@biomejs/cli-linux-x64": "npm:1.6.4"
"@biomejs/cli-linux-x64-musl": "npm:1.6.4"
"@biomejs/cli-win32-arm64": "npm:1.6.4"
"@biomejs/cli-win32-x64": "npm:1.6.4"
dependenciesMeta:
"@biomejs/cli-darwin-arm64":
optional: true
"@biomejs/cli-darwin-x64":
optional: true
"@biomejs/cli-linux-arm64":
optional: true
"@biomejs/cli-linux-arm64-musl":
optional: true
"@biomejs/cli-linux-x64":
optional: true
"@biomejs/cli-linux-x64-musl":
optional: true
"@biomejs/cli-win32-arm64":
optional: true
"@biomejs/cli-win32-x64":
optional: true
bin:
biome: bin/biome
checksum: 10c0/f85a5af7c4b3edb40c97a7a4fa2c78b91367cf31fe27d115d95f5f37d64c2b49091bb34d1495dfc8a053688b01fe9ed5746bc37bc99f0cec6d7915274df45a38
languageName: node
linkType: hard
"@biomejs/cli-darwin-arm64@npm:1.6.4":
version: 1.6.4
resolution: "@biomejs/cli-darwin-arm64@npm:1.6.4"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@biomejs/cli-darwin-x64@npm:1.6.4":
version: 1.6.4
resolution: "@biomejs/cli-darwin-x64@npm:1.6.4"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@biomejs/cli-linux-arm64-musl@npm:1.6.4":
version: 1.6.4
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.6.4"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
"@biomejs/cli-linux-arm64@npm:1.6.4":
version: 1.6.4
resolution: "@biomejs/cli-linux-arm64@npm:1.6.4"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
"@biomejs/cli-linux-x64-musl@npm:1.6.4":
version: 1.6.4
resolution: "@biomejs/cli-linux-x64-musl@npm:1.6.4"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
"@biomejs/cli-linux-x64@npm:1.6.4":
version: 1.6.4
resolution: "@biomejs/cli-linux-x64@npm:1.6.4"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
"@biomejs/cli-win32-arm64@npm:1.6.4":
version: 1.6.4
resolution: "@biomejs/cli-win32-arm64@npm:1.6.4"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"@biomejs/cli-win32-x64@npm:1.6.4":
version: 1.6.4
resolution: "@biomejs/cli-win32-x64@npm:1.6.4"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@datamine/config@workspace:^, @datamine/config@workspace:packages/config":
version: 0.0.0-use.local
resolution: "@datamine/config@workspace:packages/config"
languageName: unknown
linkType: soft
"datamine@workspace:.":
version: 0.0.0-use.local
resolution: "datamine@workspace:."
dependencies:
"@biomejs/biome": "npm:1.6.4"
"@datamine/config": "workspace:^"
turbo: "npm:^1.13.2"
languageName: unknown
linkType: soft
"turbo-darwin-64@npm:1.13.2":
version: 1.13.2
resolution: "turbo-darwin-64@npm:1.13.2"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"turbo-darwin-arm64@npm:1.13.2":
version: 1.13.2
resolution: "turbo-darwin-arm64@npm:1.13.2"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"turbo-linux-64@npm:1.13.2":
version: 1.13.2
resolution: "turbo-linux-64@npm:1.13.2"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
"turbo-linux-arm64@npm:1.13.2":
version: 1.13.2
resolution: "turbo-linux-arm64@npm:1.13.2"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
"turbo-windows-64@npm:1.13.2":
version: 1.13.2
resolution: "turbo-windows-64@npm:1.13.2"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"turbo-windows-arm64@npm:1.13.2":
version: 1.13.2
resolution: "turbo-windows-arm64@npm:1.13.2"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"turbo@npm:^1.13.2":
version: 1.13.2
resolution: "turbo@npm:1.13.2"
dependencies:
turbo-darwin-64: "npm:1.13.2"
turbo-darwin-arm64: "npm:1.13.2"
turbo-linux-64: "npm:1.13.2"
turbo-linux-arm64: "npm:1.13.2"
turbo-windows-64: "npm:1.13.2"
turbo-windows-arm64: "npm:1.13.2"
dependenciesMeta:
turbo-darwin-64:
optional: true
turbo-darwin-arm64:
optional: true
turbo-linux-64:
optional: true
turbo-linux-arm64:
optional: true
turbo-windows-64:
optional: true
turbo-windows-arm64:
optional: true
bin:
turbo: bin/turbo
checksum: 10c0/f02c06dfdb0339b91bea7d1c9f9f35f0a271df636e49f5f50ad444f6ae22d2205214a71ca31b197a665dc0bf995dc100e47d204c6e674550266efa910505eb7e
languageName: node
linkType: hard