Skip to content

Commit

Permalink
restructuring inside the tools folder
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew44-mappable committed Mar 19, 2024
1 parent 51e7f95 commit 51e9d65
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"start": "webpack serve",
"bump": "npm version prerelease --preid=beta --no-git-tag-version && npm run bump:git",
"bump:git": "git add --all && git commit -m \"New version $npm_package_version\" && git tag $npm_package_version && git push --tags origin HEAD:main",
"sync-icons": "node -r dotenv/config -r ts-node/register ./tools/sync-icons.ts"
"sync-icons": "node -r dotenv/config -r ts-node/register ./tools/scripts/sync-icons.ts"
},
"devDependencies": {
"@mappable-world/mappable-cli": "^0.0.28",
Expand Down
2 changes: 1 addition & 1 deletion tools/figma/get-image-links.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Api as FigmaApi} from 'figma-api';
import {GetImageResult} from 'figma-api/lib/api-types';
import {makeChunks} from '../utils/make-chunks';
import {ExportFormat, IconDescription} from './get-icon-descriptions';
import {makeChunks} from '../make-chunks';

const IMAGE_SCALE = 1;
const ICONS_PER_CHUNK = 100;
Expand Down
2 changes: 1 addition & 1 deletion tools/sync-icons.ts → tools/scripts/sync-icons.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {fetchFigmaIcons} from './figma/fetch-icons';
import {fetchFigmaIcons} from '../figma/fetch-icons';

async function main() {
try {
Expand Down
File renamed without changes.

0 comments on commit 51e9d65

Please sign in to comment.