npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ajs-type

v6.0.6-4

Published

TypeScript definitions for AJS

Downloads

280

Readme

ajs-type

Adds TypeScript definitions for AJS used in Atlassian products.

Installing

Install the npm package

$ npm install --save-dev [email protected]

Important: You probably don't want to install @latest light-heartedly. Our versions reflect AJS' versions. When we update a version, we will push it, but we might need to update older versions of AJSType when they have bugs. NPM will consider the last pushed version as @latest. See Versioning for more info.

Fix your tsconfig.json to make the new typings known

[...]
"types": [ "ajs-type" ],
[...]

Note: This will disable automatic @types detection by your compiler. Add it back in if you need it with the typeRoots config option.

End with an example of getting some data out of the system or using it for a little demo

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a build.
  2. Check out the tag with version number of the appropriate AJS version if you are making a change to typings. If you want to improve tooling, check out the newest version instead.
  3. You may merge the Pull Request in once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.
  4. Mergers, make sure to untag any old version that may exist and re-tag the merge commit.

Versioning

Since we try to keep parity with AJS, we use SemVer for versioning. For the versions available, see the tags on this repository.

If you need to support a specific version of AJS, you can configure your package.json like this:

"ajs-type": ">=5.7.2-0 <5.7.2",

We work with npm prerelease notation to be able to change typings while still keeping the package version equivalent to the version of AJS being typed. That way we circumvent npm's restriction where a version can only be published once without losing the correlation to AJS.version.

Compatibility Table

|AJS|Confluence| |---|---| |5.9.24|5.10.8| |5.10.1|6.1.4| |6.0.6|6.4.2| |6.0.6|6.5.0|