Include Grats in turbo.json

This commit is contained in:
Jordan Eldredge 2025-07-07 15:11:18 -07:00
parent 26e8e6dfeb
commit 6ce866f48c
6 changed files with 19 additions and 10 deletions

View file

@ -14,10 +14,10 @@ jobs:
uses: pnpm/action-setup@v2
with:
version: 9.12.0
- name: Use Node.js 22.x
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: 20.x
cache: "pnpm"
- name: Install Dependencies
run: pnpm install --frozen-lockfile
@ -57,7 +57,7 @@ jobs:
version: 9.12.0
- uses: actions/setup-node@v4
with:
node-version: 22.x
node-version: 20.x
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- name: Install dependencies

View file

@ -161,7 +161,7 @@ type ArchiveFile {
serverless Cloudflare function which tries to exctact the file on the fly.
It may not work for all files.
"""
url: String @semanticNonNull
url: String
}
"""A classic Winamp skin"""
@ -411,7 +411,7 @@ type Query {
"""
node(id: ID!): Node
"""
Search the database using the Algolia search index used by the Museum.
Search the database using SQLite's FTS (full text search) index.
Useful for locating a particular skin.
"""

View file

@ -316,7 +316,7 @@ export function getSchema(): GraphQLSchema {
name: "url",
type: GraphQLString,
resolve(source) {
return assertNonNull(source.getUrl());
return source.getUrl();
}
}
};
@ -1002,7 +1002,7 @@ export function getSchema(): GraphQLSchema {
}
},
search_classic_skins: {
description: "Search the database using the Algolia search index used by the Museum.\n\nUseful for locating a particular skin.",
description: "Search the database using SQLite's FTS (full text search) index.\n\nUseful for locating a particular skin.",
name: "search_classic_skins",
type: new GraphQLList(ClassicSkinType),
args: {

View file

@ -1,10 +1,10 @@
#!/bin/bash
set -euo pipefail
# Switch to Node 22
# Switch to Node 20
export NVM_DIR="$HOME/.nvm"
source "$NVM_DIR/nvm.sh"
nvm use 22
nvm use 20
# Install dependencies
yarn install --frozen-lockfile

View file

@ -0,0 +1,3 @@
test("simple test", () => {
expect(1 + 1).toBe(2);
});

View file

@ -31,7 +31,12 @@
"webamp-docs#type-check": {
"dependsOn": ["webamp#build-library"]
},
"skin-database#type-check": {},
"skin-database#type-check": {
"dependsOn": ["skin-database#grats"]
},
"skin-database#grats": {
"outputs": ["api/graphql/schema.graphql", "api/graphql/schema.ts"]
},
"ani-cursor#test": {
"outputs": []
},
@ -46,6 +51,7 @@
"outputs": []
},
"skin-database#test": {
"dependsOn": ["skin-database#grats"],
"outputs": []
},
"webamp#integration-tests": {