Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions aliases/biome.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["../biome.json"]
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"root": false,
"extends": "//"
}
7 changes: 5 additions & 2 deletions aliases/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"type": "git",
"url": "git+https://github.com/cutenode/nodevu.git"
},
"keywords": ["node.js", "version"],
"keywords": [
"node.js",
"version"
],
"author": "Tierney Cyren <hello@bnb.im> (https://bnb.im/)",
"license": "MIT",
"bugs": {
Expand All @@ -22,6 +25,6 @@
"updates:update": "npx npm-check-updates -u"
},
"devDependencies": {
"@biomejs/biome": "1.9.4"
"@biomejs/biome": "2.5.15"
}
}
12 changes: 8 additions & 4 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"organizeImports": {
"enabled": true
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"javascript": {
"formatter": {
Expand All @@ -16,7 +20,7 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"preset": "recommended"
}
}
}
5 changes: 3 additions & 2 deletions core/biome.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["../biome.json"]
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"root": false,
"extends": "//"
}
8 changes: 6 additions & 2 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@
},
"author": "Tierney Cyren <hello@bnb.im> (https://bnb.im/)",
"license": "MIT",
"files": ["index.js", "LICENSE", "/util/prod"],
"files": [
"index.js",
"LICENSE",
"/util/prod"
],
"dependencies": {
"@nodevu/parsefiles": "^0.0.3",
"luxon": "^3.5.0",
"semver": "^7.6.3"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.5.15",
"c8": "^10.1.2",
"undici": "^6.20.1"
}
Expand Down
3 changes: 1 addition & 2 deletions core/test/parseOptions.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
const { deepStrictEqual } = require('node:assert');
const { describe, it, beforeEach } = require('node:test');
const { describe, it } = require('node:test');
const { fetch: undiciFetch } = require('undici');
const { DateTime } = require('luxon');
const nodevu = require('../index');
const parseOptions = require('../util/prod/optionsParser');

describe('the parseOptions module should return all correct defaults', async () => {
Expand Down
4 changes: 1 addition & 3 deletions core/test/schedule.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
const { deepStrictEqual } = require('node:assert');
const { describe, it } = require('node:test');
const { fetch: undiciFetch } = require('undici');
const { DateTime } = require('luxon');
const nodevu = require('../index');
const schedule = require('../util/prod/schedule');
const optionsParser = require('../util/prod/optionsParser');

// checks that verify the result of data returned
function check(data) {
for (const [line, metadata] of Object.entries(data)) {
for (const metadata of Object.values(data)) {
for (const [metadataKey, metadataValue] of Object.entries(metadata)) {
deepStrictEqual(typeof metadataKey, 'string');
deepStrictEqual(typeof metadataValue, 'string');
Expand Down
2 changes: 0 additions & 2 deletions core/test/versions.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
const { deepStrictEqual } = require('node:assert');
const { describe, it } = require('node:test');
const { fetch: undiciFetch } = require('undici');
const { DateTime } = require('luxon');
const nodevu = require('../index');
const versions = require('../util/prod/versions');
const optionsParser = require('../util/prod/optionsParser');

Expand Down
5 changes: 3 additions & 2 deletions fetchindex/biome.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["../biome.json"]
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"root": false,
"extends": "//"
}
12 changes: 9 additions & 3 deletions fetchindex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "1.1.0",
"description": "A tool that fetches the /dist/index.json file from the Node.js website.",
"main": "index.js",
"files": ["index.js", "LICENSE"],
"files": [
"index.js",
"LICENSE"
],
"scripts": {
"lint": "biome check ./",
"lint:write": "biome check ./ --write",
Expand All @@ -16,15 +19,18 @@
"type": "git",
"url": "git+https://github.com/cutenode/nodevu.git"
},
"keywords": ["node.js", "versions"],
"keywords": [
"node.js",
"versions"
],
"author": "Tierney Cyren <hello@bnb.im> (https://bnb.im/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/cutenode/nodevu/issues"
},
"homepage": "https://github.com/cutenode/nodevu#readme",
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.5.15",
"c8": "^10.1.2",
"luxon": "^3.5.0",
"undici": "^6.20.1"
Expand Down
5 changes: 3 additions & 2 deletions newest/biome.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["../biome.json"]
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"root": false,
"extends": "//"
}
12 changes: 9 additions & 3 deletions newest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "1.1.0",
"description": "a module that returns the newest lts or security release of the release line passed.",
"main": "index.js",
"files": ["index.js", "LICENSE"],
"files": [
"index.js",
"LICENSE"
],
"scripts": {
"lint": "biome check ./",
"lint:write": "biome check ./ --write",
Expand All @@ -16,7 +19,10 @@
"type": "git",
"url": "git+https://github.com/cutenode/nodevu.git"
},
"keywords": ["node.js", "versions"],
"keywords": [
"node.js",
"versions"
],
"author": "Tierney Cyren <hello@bnb.im> (https://bnb.im/)",
"license": "MIT",
"bugs": {
Expand All @@ -27,7 +33,7 @@
"@nodevu/core": "^1.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.5.15",
"c8": "^10.1.2"
}
}
5 changes: 3 additions & 2 deletions oldest/biome.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["../biome.json"]
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"root": false,
"extends": "//"
}
12 changes: 9 additions & 3 deletions oldest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "1.1.0",
"description": "a module that returns the oldest lts or security release of the release line passed.",
"main": "index.js",
"files": ["index.js", "LICENSE"],
"files": [
"index.js",
"LICENSE"
],
"scripts": {
"lint": "biome check ./",
"lint:write": "biome check ./ --write",
Expand All @@ -16,7 +19,10 @@
"type": "git",
"url": "git+https://github.com/cutenode/nodevu.git"
},
"keywords": ["node.js", "versions"],
"keywords": [
"node.js",
"versions"
],
"author": "Tierney Cyren <hello@bnb.im> (https://bnb.im/)",
"license": "MIT",
"bugs": {
Expand All @@ -27,7 +33,7 @@
"@nodevu/core": "^1.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.5.15",
"c8": "^10.1.2"
}
}
5 changes: 3 additions & 2 deletions opt/biome.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["../biome.json"]
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"root": false,
"extends": "//"
}
12 changes: 9 additions & 3 deletions opt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "1.0.0",
"description": "internal options parser for @nodevu packages.",
"main": "index.js",
"files": ["index.js", "LICENSE"],
"files": [
"index.js",
"LICENSE"
],
"scripts": {
"lint": "biome check ./",
"lint:write": "biome check ./ --write",
Expand All @@ -16,15 +19,18 @@
"type": "git",
"url": "git+https://github.com/cutenode/nodevu.git"
},
"keywords": ["node.js", "versions"],
"keywords": [
"node.js",
"versions"
],
"author": "Tierney Cyren <hello@bnb.im> (https://bnb.im/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/cutenode/nodevu/issues"
},
"homepage": "https://github.com/cutenode/nodevu#readme",
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.5.15",
"c8": "^10.1.2",
"luxon": "^3.5.0",
"undici": "^6.20.1"
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"type": "git",
"url": "git+https://github.com/cutenode/nodevu.git"
},
"keywords": ["node.js", "version"],
"keywords": [
"node.js",
"version"
],
"author": "Tierney Cyren <hello@bnb.im> (https://bnb.im/)",
"license": "MIT",
"bugs": {
Expand Down
5 changes: 3 additions & 2 deletions parsefiles/biome.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["../biome.json"]
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"root": false,
"extends": "//"
}
14 changes: 11 additions & 3 deletions parsefiles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,20 @@
"updates:check": "npx npm-check-updates",
"updates:update": "npx npm-check-updates -u"
},
"keywords": ["node.js", "versions", "parse", "files"],
"files": ["index.js", "LICENSE"],
"keywords": [
"node.js",
"versions",
"parse",
"files"
],
"files": [
"index.js",
"LICENSE"
],
"author": "Tierney Cyren <hello@bnb.im>",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.5.15",
"c8": "^10.1.2"
}
}
5 changes: 3 additions & 2 deletions ranges/biome.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["../biome.json"]
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"root": false,
"extends": "//"
}
7 changes: 5 additions & 2 deletions ranges/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "1.1.0",
"description": "support node's unofficial alias namespace",
"main": "index.js",
"files": ["index.js", "LICENSE"],
"files": [
"index.js",
"LICENSE"
],
"scripts": {
"lint": "biome check ./",
"lint:write": "biome check ./ --write",
Expand All @@ -27,7 +30,7 @@
"@nodevu/core": "^1.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.5.15",
"c8": "^10.1.2"
}
}
5 changes: 3 additions & 2 deletions static/biome.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["../biome.json"],
"$schema": "https://biomejs.dev/schemas/2.5.15/schema.json",
"root": false,
"extends": "//",
"files": {
"maxSize": 20971520
}
Expand Down
2 changes: 1 addition & 1 deletion static/build/default.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const nodevu = require('@nodevu/core');
const write = require('../util/dev/write');

async function writeDefault(filename) {
async function writeDefault() {
const data = await nodevu();
write('./static/data/default.json', data);
}
Expand Down
2 changes: 1 addition & 1 deletion static/build/releases.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const nodevu = require('@nodevu/core');
const write = require('../util/dev/write');

async function writeReleases(filename) {
async function writeReleases() {
const data = await nodevu();
const releases = {};

Expand Down
2 changes: 1 addition & 1 deletion static/build/security.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const nodevu = require('@nodevu/core');
const write = require('../util/dev/write');

async function writeSecurity(filename) {
async function writeSecurity() {
const data = await nodevu();
const security = {};

Expand Down
Loading
Loading