Skip to content

Commit

Permalink
feat: initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
retro committed Mar 18, 2024
1 parent 00345c8 commit 70f3aca
Show file tree
Hide file tree
Showing 37 changed files with 12,770 additions and 10,388 deletions.
50 changes: 29 additions & 21 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
{
"version": "0.2",
"language": "en",
"words": [
"degit",
"esbuild",
"semantic-layer",
"octocat",
"outdir",
"rmrf",
"ryansonshine",
"socio",
"tsdoc"
],
"flagWords": [],
"ignorePaths": [
"package.json",
"package-lock.json",
"yarn.lock",
"tsconfig.json",
"node_modules/**"
]
"version": "0.2",
"language": "en",
"words": [
"dagrejs",
"datetime",
"degit",
"esbuild",
"graphlib",
"ilike",
"octocat",
"oracledb",
"outdir",
"rmrf",
"ryansonshine",
"semantic-layer",
"socio",
"sqls",
"tsdoc",
"gjuchault",
"chrono"
],
"flagWords": [],
"ignorePaths": [
"package.json",
"package-lock.json",
"yarn.lock",
"tsconfig.json",
"node_modules/**"
]
}
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: GitHub Discussions
url: https://github.com/retro/semantic-layer/discussions
url: https://github.com/verybigthings/semantic-layer/discussions
about: Please discuss non bug-related topics there
14 changes: 0 additions & 14 deletions .github/workflows/semantic-layer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,6 @@ jobs:
- name: ⚡ Tests
run: npm run test:coverage

test-setup:
name: ⚡ Setup tests
runs-on: ubuntu-latest
needs: [dependencies]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: "npm"
- run: npm ci
- name: ⚡ Tests
run: npm run test:setup

build-and-release:
name: 🚀 Build & release
needs: [lint, audit, spell, type, test]
Expand Down
58 changes: 29 additions & 29 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"master",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"repositoryUrl": "https://github.com/retro/semantic-layer.git",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"successComment": false,
"failTitle": false
}
]
]
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"master",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"repositoryUrl": "https://github.com/verybigthings/semantic-layer.git",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"successComment": false,
"failTitle": false
}
]
]
}
10 changes: 5 additions & 5 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"recommendations": [
"biomejs.biome",
"eamodio.gitlens",
"streetsidesoftware.code-spell-checker"
]
"recommendations": [
"biomejs.biome",
"eamodio.gitlens",
"streetsidesoftware.code-spell-checker"
]
}
36 changes: 18 additions & 18 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Current Test File",
"autoAttachChildProcesses": true,
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
"program": "${relativeFile}",
"runtimeArgs": [
"--import=@nitrogql/esbuild-register",
"--inspect",
"--test"
],
"smartStep": true,
"console": "integratedTerminal"
}
]
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Current Test File",
"autoAttachChildProcesses": true,
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
"program": "${relativeFile}",
"runtimeArgs": [
"--import=@nitrogql/esbuild-register",
"--inspect",
"--test"
],
"smartStep": true,
"console": "integratedTerminal"
}
]
}
60 changes: 30 additions & 30 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
{
"cSpell.userWords": [],
"cSpell.enabled": true,
"editor.formatOnSave": true,
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"files.associations": { "*.json": "jsonc" },
"editor.indentSize": 2,
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonl]": {
"editor.defaultFormatter": "biomejs.biome"
}
"cSpell.userWords": [],
"cSpell.enabled": true,
"editor.formatOnSave": true,
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"files.associations": { "*.json": "jsonc" },
"editor.indentSize": 2,
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonl]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
44 changes: 22 additions & 22 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Run Current Test File",
"type": "shell",
"command": "node",
"args": [
"--import=@nitrogql/esbuild-register",
"--test",
"${relativeFile}"
],
"presentation": {
"clear": true,
"showReuseMessage": false,
"echo": false
},
"group": {
"kind": "test",
"isDefault": true
}
}
]
"version": "2.0.0",
"tasks": [
{
"label": "Run Current Test File",
"type": "shell",
"command": "node",
"args": [
"--import=@nitrogql/esbuild-register",
"--test",
"${relativeFile}"
],
"presentation": {
"clear": true,
"showReuseMessage": false,
"echo": false
},
"group": {
"kind": "test",
"isDefault": true
}
}
]
}
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ Please review our [Code of Conduct](./CODE_OF_CONDUCT.md). By participating, you

## :bulb: Asking Questions

If you have any question that does not relate to a bug or a feature request, please use [GitHub Discussions](https://github.com/retro/semantic-layer/discussions) instead of GitHub issues.
If you have any question that does not relate to a bug or a feature request, please use [GitHub Discussions](https://github.com/verybigthings/semantic-layer/discussions) instead of GitHub issues.

## :inbox_tray: How can I Contribute?

**GitHub issues**

If you encounter a problem with this library or if you have a new feature you'd like to see in this project, please create [a new issue](https://github.com/retro/semantic-layer/issues/new/choose).
If you encounter a problem with this library or if you have a new feature you'd like to see in this project, please create [a new issue](https://github.com/verybigthings/semantic-layer/issues/new/choose).

**GitHub Pull requests**

Expand Down
60 changes: 30 additions & 30 deletions api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",

"mainEntryPointFilePath": "<projectFolder>/build/index.d.ts",
"bundledPackages": [],
"apiReport": { "enabled": false },
"docModel": { "enabled": false },
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "<projectFolder>/trimmed.d.ts"
},
"tsdocMetadata": { "enabled": false },
"messages": {
"compilerMessageReporting": {
"default": {
"logLevel": "warning"
}
},
"extractorMessageReporting": {
"default": {
"logLevel": "warning"
},
"ae-missing-release-tag": {
"logLevel": "none"
}
},
"tsdocMessageReporting": {
"default": {
"logLevel": "warning"
}
}
}
"mainEntryPointFilePath": "<projectFolder>/build/index.d.ts",
"bundledPackages": [],
"apiReport": { "enabled": false },
"docModel": { "enabled": false },
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "<projectFolder>/trimmed.d.ts"
},
"tsdocMetadata": { "enabled": false },
"messages": {
"compilerMessageReporting": {
"default": {
"logLevel": "warning"
}
},
"extractorMessageReporting": {
"default": {
"logLevel": "warning"
},
"ae-missing-release-tag": {
"logLevel": "none"
}
},
"tsdocMessageReporting": {
"default": {
"logLevel": "warning"
}
}
}
}
Loading

0 comments on commit 70f3aca

Please sign in to comment.