Skip to content

Commit 0e18a90

Browse files
Add script to Order resources (#860)
* refactor: standardize resource object formatting and fix trailing commas * fix
1 parent 7a5aafd commit 0e18a90

File tree

29 files changed

+3393
-4231
lines changed

29 files changed

+3393
-4231
lines changed

package-lock.json

Lines changed: 27 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"scripts": {
77
"update-db": "ts-node utils/db/update-db.js",
88
"update-readme": "ts-node utils/readme/update-readme.js",
9+
"dev-order": "ts-node utils/order/order-resources.ts",
910
"prettier:format": "prettier --write \"**/*.{ts,js}\""
1011
},
1112
"dependencies": {
12-
"@types/node": "^18.11.9",
1313
"eslint": "^7.18.0",
1414
"lodash.deburr": "^4.1.0",
1515
"prettier": "2.2.1",
@@ -25,5 +25,8 @@
2525
"homepage": "https://github.com/marcelscruz/dev-resources#readme",
2626
"bugs": {
2727
"url": "https://github.com/marcelscruz/dev-resources/issues"
28+
},
29+
"devDependencies": {
30+
"@types/node": "^24.0.10"
2831
}
2932
}

resources/0-9.ts

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,60 +3,54 @@ import { Resource } from 'types'
33
export const resources: Resource[] = [
44
{
55
name: '1001 Fonts',
6-
categories: ['Font'],
76
description:
87
'24,262 free fonts in 13,112 families · Free licenses for commercial use · Direct font downloads · Mac · Windows · Linux.',
9-
url: 'https://www.1001fonts.com/',
8+
categories: ['Font'],
9+
url: 'https://www.1001fonts.com/'
1010
},
1111
{
1212
name: '10FastFingers',
1313
description:
1414
'10FastFingers is a website which offers users a way to test and improve their typing speed. Improve your Typing Speed with our Typing Games.',
1515
categories: ['Typing'],
1616
url: 'https://10fastfingers.com/',
17-
18-
keywords: [
19-
'typing',
20-
'typing test',
21-
'typing game',
22-
'touch typing',
23-
'fastest fingers',
24-
'10 fast fingers',
25-
'typing competition',
26-
],
17+
keywords: ['typing', 'typing test', 'typing game', 'touch typing', 'fastest fingers', '10 fast fingers', 'typing competition', '']
2718
},
2819
{
2920
name: '1LOC',
30-
description: 'Favorite JavaScript Utilities in single line of code! No more!',
21+
description:
22+
'Favorite JavaScript Utilities in single line of code! No more!',
3123
categories: ['Code Snippet'],
32-
keywords: ['JavaScript', 'JavaScript Utilities', 'one-liner', 'one-liner javascript'],
3324
url: 'https://1loc.dev/',
25+
keywords: ['JavaScript', 'JavaScript Utilities', 'one-liner', 'one-liner javascript']
3426
},
3527
{
3628
name: '30 seconds of code',
29+
description:
30+
'Browse 1078 short code snippets for all your development needs on 30 seconds of code.',
3731
categories: ['Code Snippet'],
38-
description: 'Browse 1078 short code snippets for all your development needs on 30 seconds of code.',
39-
url: 'https://www.30secondsofcode.org/',
32+
url: 'https://www.30secondsofcode.org/'
4033
},
4134
{
4235
name: '3dicons',
43-
categories: ['Icon'],
4436
description:
4537
'A collection of over 5000 3D icons and characters with 4k resolution, each icon delivered in 5 color palettes, front and perspective views.',
46-
url: 'https://www.3dicons.com/',
38+
categories: ['Icon'],
39+
url: 'https://www.3dicons.com/'
4740
},
4841
{
4942
name: '4 day week',
43+
description:
44+
'Software jobs with a better work / life balance.',
5045
categories: ['Job'],
51-
description: 'Software jobs with a better work / life balance.',
52-
url: 'https://4dayweek.io/',
46+
url: 'https://4dayweek.io/'
5347
},
5448
{
5549
name: '99designs',
56-
categories: ['Freelance'],
5750
description:
5851
'The global creative platform for custom graphic design: logos, websites and more. Hire a talented designer or start a design contest. 500k+ happy customers have used 99designs to grow their business.',
59-
keywords: ['crowdsource', 'graphic design', 'design'],
52+
categories: ['Freelance'],
6053
url: 'https://99designs.com/',
61-
},
62-
]
54+
keywords: ['crowdsource', 'graphic design', 'design']
55+
}
56+
]

0 commit comments

Comments
 (0)