-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into cube-ts
- Loading branch information
Showing
46 changed files
with
1,421 additions
and
554 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { findWorkspaces } from 'find-workspaces' | ||
import { existsSync } from 'node:fs' | ||
|
||
let result = 0 | ||
|
||
for (const workspace of findWorkspaces()) { | ||
if(workspace.package.private) { | ||
continue | ||
} | ||
|
||
if (!(existsSync(workspace.location + '/manifest.ttl'))) { | ||
console.log(`⚠️ ${workspace.package.name} - no manifest.ttl`) | ||
continue | ||
} | ||
|
||
if(!workspace.package.files) { | ||
console.log(`✅ ${workspace.package.name} - all files included in package`) | ||
continue | ||
} | ||
|
||
if(workspace.package.files.includes('manifest.ttl')) { | ||
console.log(`✅ ${workspace.package.name} - manifest.ttl file listed`) | ||
continue | ||
} | ||
|
||
console.error(`❌ ${workspace.package.name} - manifest.ttl file not listed`) | ||
result += 1 | ||
} | ||
|
||
process.exit(result) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Fig integration | ||
|
||
on: | ||
push: | ||
tags: '*' | ||
|
||
concurrency: ${{ github.workflow }}-${{ github.sha }} | ||
|
||
jobs: | ||
push-autocomplete-spec: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- name: Install Dependencies | ||
run: npm ci | ||
- run: npm run generate-autocomplete-spec | ||
working-directory: packages/cli | ||
|
||
- name: Create Autocomplete PR | ||
uses: withfig/push-to-fig-autocomplete-action@v2 | ||
with: | ||
token: ${{ secrets.FIG_PAT }} | ||
autocomplete-spec-name: barnard59 | ||
spec-path: packages/cli/fig-spec.ts | ||
integration: commander |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.