Skip to content

Commit

Permalink
Merge pull request #5 from Eisvana/dev
Browse files Browse the repository at this point in the history
update data
  • Loading branch information
Lenni009 authored Jul 27, 2024
2 parents 5e26822 + 0711880 commit 768b5af
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 336 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ coverage
*.njsproj
*.sln
*.sw?

dataTransform/*.json
5 changes: 5 additions & 0 deletions dataTransform/transform.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import data from './index.json' with { type: 'json' };

const filteredData = data.filter((item) => !item['Correctly Prefixed']);

Deno.writeTextFileSync('src/assets/systems.json', JSON.stringify(filteredData, null, 2));
5 changes: 5 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"tasks": {
"transform": "deno run --allow-write dataTransform/transform.ts"
}
}
Loading

0 comments on commit 768b5af

Please sign in to comment.