Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atproto/api

Package Overview
Dependencies
Maintainers
2
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atproto/api - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

tsconfig.build.tsbuildinfo

6

build.js

@@ -13,2 +13,8 @@ const pkgJson = require('@npmcli/package-json')

}
if (process.argv.includes('--update-main-to-src')) {
return pkgJson
.load(__dirname)
.then((pkg) => pkg.update({ main: 'src/index.ts' }))
.then((pkg) => pkg.save())
}

@@ -15,0 +21,0 @@ require('esbuild').build({

7

package.json
{
"name": "@atproto/api",
"version": "0.0.1",
"main": "src/index.ts",
"version": "0.0.2",
"main": "dist/index.js",
"scripts": {

@@ -10,2 +10,5 @@ "codegen": "lex gen-api ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/*",

"update-main-to-dist": "node ./build.js --update-main-to-dist",
"update-main-to-src": "node ./build.js --update-main-to-src",
"prepublish": "npm run update-main-to-dist && npm run build",
"postpublish": "npm run update-main-to-src",
"test": "jest"

@@ -12,0 +15,0 @@ },

{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist", // Your outDir,

@@ -5,0 +6,0 @@ "emitDeclarationOnly": true

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc