Skip to content

Commit

Permalink
Remove script; Fix consts
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeog committed Oct 5, 2023
1 parent f317508 commit dba8871
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 49 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"license": "ISC",
"scripts": {
"build": "parcel build",
"download-targets-images": "ts-node ./scripts/downloadTargetsImages.ts",
"generate-empty-targets": "ts-node ./scripts/generateEmptyTargets.ts",
"generate-readme": "ts-node ./scripts/generateReadme.ts",
"generate-targets-export": "ts-node ./scripts/generateTargetsExport.ts",
Expand Down
45 changes: 0 additions & 45 deletions scripts/downloadTargetsImages.ts

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/generateEmptyTargets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as fs from 'fs'

import { createFolder } from './utils/createFolder'
import * as targets from 'shared/targetsInfo.json'
import { SHARED_FOLDER_PATH } from 'scripts/consts/sharedFolderPath'
import { SHARED_FOLDER_PATH } from 'shared/consts/sharedFolderPath'

export type TargetInfo = {
id: number
Expand Down
2 changes: 1 addition & 1 deletion scripts/generateTargetsExport.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as fs from 'fs'
import { SHARED_FOLDER_PATH } from 'scripts/consts/sharedFolderPath'
import { SHARED_FOLDER_PATH } from 'shared/consts/sharedFolderPath'

const targetsFolderPath = `${SHARED_FOLDER_PATH}/targets`
const targetsExportFilePath = `${targetsFolderPath}/index.ts`
Expand Down
2 changes: 1 addition & 1 deletion scripts/scrapeTargetsInformation.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as fs from 'fs'

import { SHARED_FOLDER_PATH } from 'scripts/consts/sharedFolderPath'
import { SHARED_FOLDER_PATH } from 'shared/consts/sharedFolderPath'

type Target = {
id: number
Expand Down
File renamed without changes.

0 comments on commit dba8871

Please sign in to comment.