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
9 changes: 7 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
"dockerFile": "Dockerfile",
"customizations": {
"vscode": {
"settings": {
"js/ts.experimental.useTsgo": true,
"typescript.native-preview.tsdk": "/workspaces/ca/node_modules/@typescript/native-preview"
},
"extensions": [
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig",
"connor4312.nodejs-testing"
"connor4312.nodejs-testing",
"typescriptteam.native-preview"
]
}
},
"postCreateCommand": "sudo npm install -g npm-check-updates"

}
2 changes: 1 addition & 1 deletion bin/cto-af-ca.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
DEFAULT_CA_OPTIONS,
DEFAULT_COMMON_CERT_OPTIONS,
KeyCert,
} from '../lib/index.mjs';
} from '../lib/index.js';
import {Command} from 'commander';
import filenamify from 'filenamify';
import fs from 'node:fs/promises';
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import markdown from '@cto.af/eslint-config/markdown.js';
import ts from '@cto.af/eslint-config/ts.js';

export default defineConfig(
globalIgnores(['lib/**', 'docs/**', 'node_modules/**', '.pnpm-store/**']),
globalIgnores(['lib/**']),
es6,
ts,
jsdoc,
Expand Down
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "@cto.af/ca",
"version": "2.6.4",
"decription": "Minimal certificate authority suitable only for localhost testing.",
"main": "lib/index.mjs",
"main": "lib/index.js",
"exports": {
".": "./lib/index.mjs",
"./client": "./lib/client.mjs"
".": "./lib/index.js",
"./client": "./lib/client.js"
},
"files": [
"bin/*",
Expand Down Expand Up @@ -36,11 +36,11 @@
"scripts": {
"clean": "rm -rf coverage docs lib",
"lint": "eslint .",
"pretest": "tsdown --sourcemap",
"pretest": "npm run ts -- --inlineSourceMap",
"test": "c8 node --enable-source-maps --test",
"posttest": "tsdown --silent",
"posttest": "npm run ts",
"docs": "typedoc",
"ts": "tsdown",
"ts": "tsgo",
"build": "npm run test && npm run lint && npm run docs && npm pack --dry-run"
},
"dependencies": {
Expand All @@ -57,12 +57,11 @@
"@eslint/markdown": "^8.0.1",
"@types/jsrsasign": "^10.5.15",
"@types/node": "^25.6.0",
"@typescript/native-preview": "7.0.0-dev.20260502.1",
"eslint": "^10.3.0",
"eslint-plugin-jsdoc": "^62.9.0",
"superc8": "^12.3.1",
"tsdown": "^0.21.10",
"typedoc": "^0.28.19",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.1"
},
"packageManager": "pnpm@11.0.3",
Expand Down
Loading
Loading