Skip to content

Commit

Permalink
Update devDeps, refactor tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
AlttiRi committed Jul 25, 2024
1 parent 3439ed8 commit e88b937
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 51 deletions.
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 15 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,45 @@
{
"name": "@alttiri/base85",
"version": "1.7.4",
"version": "1.7.5",
"description": "Pretty fast base85 JavaScript library",
"author": "alttiri",
"license": "MIT",
"type": "module",
"main": "base85.js",
"types": "base85.d.ts",
"homepage": "https://github.com/alttiri/base85",
"keywords": [
"base85",
"ascii85",
"z85"
],
"homepage": "https://github.com/alttiri/base85",
"license": "MIT",
"type": "module",
"main": "base85.js",
"types": "base85.d.ts",
"files": [
"base85.js",
"base85.d.ts"
],
"repository": {
"type": "git",
"url": "https://github.com/alttiri/base85.git"
},
"publishConfig": {
"access": "public"
},
"files": [
"base85.js",
"base85.d.ts"
],
"scripts": {
"compile-ts": "tsc --build",
"compile-ts-watch": "tsc --build --watch",
"clean-ts": "tsc --build --clean",
"#": "",
"publish-npm": "npm publish --registry=https://registry.npmjs.org",
"publish-ghp": "npm publish --registry=https://npm.pkg.github.com",
"test-publish": "npm pack",
"test-publish": "tsc --build && npm pack",
"publish-npm": "tsc --build && npm publish --registry=https://registry.npmjs.org",
"publish-ghp": "tsc --build && npm publish --registry=https://npm.pkg.github.com",
"##": "",
"unpublish-npm": "npm unpublish @alttiri/[email protected] --registry=https://registry.npmjs.org",
"###": "",
"login-npm": "npm login --registry=https://registry.npmjs.org",
"login-ghp": "npm login --registry=https://npm.pkg.github.com"
},
"devDependencies": {
"@alttiri/util-node-js": "2.0.16-20240606",
"@alttiri/util-node-js": "2.1.1-20240725",
"fflate": "0.8.2",
"typescript": "5.5.1-rc"
"typescript": "5.5.4"
}
}
48 changes: 27 additions & 21 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
{
"compilerOptions": {
// It very notable slow-downs the object instancing for the "target" is less than "ES2022" if is set to `true`.
"useDefineForClassFields": false,

"target": "es2020",
"target": "ES2020",
"lib": ["ES2021", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "bundler",
"esModuleInterop": true,
"isolatedModules": true,

/* Library preset */
"module": "NodeNext",
"moduleResolution": "NodeNext",
"allowImportingTsExtensions": false,
"noEmit": false,
"declaration": true,

"useDefineForClassFields": false,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"skipLibCheck": true,
"allowJs": false,

"strictNullChecks": true,
"strictPropertyInitialization": true,
"strict": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"alwaysStrict": true,
"noImplicitAny": true,
"noImplicitThis": true,

"allowJs": false,

"noEmit": false,
"declaration": true,
"sourceMap": false
"strictPropertyInitialization": true,
"noFallthroughCasesInSwitch": true,
"alwaysStrict": true,
"noImplicitAny": true,
"noImplicitThis": true,
},
"files": [
"base85.ts"
/* Library preset */
"include": [
"base85.ts",
]
}

// Note:
// `useDefineForClassFields` very notable slow-downs the object instancing
// for the "target" is less than "ES2022" if is set to `true`.

0 comments on commit e88b937

Please sign in to comment.