Installations
npm install @linear/sdk
Releases
@linear/import@2.2.2
Published on 22 Nov 2024
@linear/import@2.2.1
Published on 19 Nov 2024
@linear/sdk@33.0.0
Published on 19 Nov 2024
@linear/import@2.2.0
Published on 15 Nov 2024
@linear/sdk@32.0.0
Published on 01 Nov 2024
@linear/import@2.1.1
Published on 01 Nov 2024
Developer
linear
Developer Guide
Module System
CommonJS
Min. Node Version
>=12.x
Typescript Support
Yes
Node Version
18.20.4
NPM Version
10.7.0
Statistics
809 Stars
366 Commits
156 Forks
20 Watching
8 Branches
30 Contributors
Updated on 26 Nov 2024
Bundle Size
1.53 MB
Minified
160.46 kB
Minified + Gzipped
Languages
TypeScript (99.68%)
JavaScript (0.3%)
HTML (0.03%)
Total Downloads
Cumulative downloads
Total Downloads
11,352,052
Last day
-3.2%
43,418
Compared to previous day
Last week
22.1%
236,124
Compared to previous week
Last month
22%
835,672
Compared to previous month
Last year
105.2%
6,912,941
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
23
Linear API
The issue tracking tool you'll enjoy using
Linear helps streamline software projects, sprints, tasks, and
bug tracking. It's built for high-performance teams.
⚠️ Monorepo Readme
If you are looking for documentation on the Linear SDK or Linear API visit developers.linear.app instead.
The Linear Client uses custom GraphQL Code Generator plugins to produce a typed SDK for all operations and models exposed by the Linear production API.
Structure
This monorepo uses yarn workspaces
and lerna
to publish packages.
Generated code uses file prefix _generated
and should never be manually updated.
Open source packages:
- sdk - The Linear Client SDK for interacting with the Linear GraphQL API
- import - Import tooling for uploading from other systems
- codegen-doc - GraphQL codegen plugin to generate GraphQL fragments and documents
- codegen-sdk - GraphQL codegen plugin to generate Typescript SDK from fragments and documents
- codegen-test - GraphQL codegen plugin to generate a jest test for the Typescript SDK
Get Started
1# install dependencies 2yarn 3 4# build all packages 5yarn build 6 7# test all packages 8yarn test 9 10# update the schema from the production API 11yarn schema 12 13# create changeset for generating CHANGELOG.md 14yarn changeset
Plugin Flow
- The @linear/codegen-doc plugin is used by codegen.doc.yml to generate fragments and documents
- The @linear/codegen-sdk plugin is used by codegen.sdk.yml to generate the typed Linear SDK
- The @linear/codegen-test plugin is used by codegen.test.yml to generate a typed jest test
License
Licensed under the MIT License.
No vulnerabilities found.
Reason
24 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
all changesets reviewed
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Info: jobLevel 'statuses' permission set to 'read': .github/workflows/release.yaml:18
- Info: jobLevel 'actions' permission set to 'read': .github/workflows/release.yaml:14
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yaml:15
- Warn: jobLevel 'checks' permission set to 'write': .github/workflows/release.yaml:16
- Warn: topLevel 'contents' permission set to 'write': .github/workflows/build.yaml:10
- Warn: topLevel 'checks' permission set to 'write': .github/workflows/build.yaml:11
- Warn: topLevel 'contents' permission set to 'write': .github/workflows/dependencies.yaml:9
- Warn: topLevel 'checks' permission set to 'write': .github/workflows/dependencies.yaml:10
- Warn: no topLevel permission defined: .github/workflows/release.yaml:1
- Warn: topLevel 'contents' permission set to 'write': .github/workflows/schema.yaml:9
- Warn: topLevel 'checks' permission set to 'write': .github/workflows/schema.yaml:10
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/build.yaml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/build.yaml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/build.yaml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dependencies.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/dependencies.yaml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dependencies.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/dependencies.yaml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependencies.yaml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/dependencies.yaml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/release.yaml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/release.yaml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/release.yaml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/release.yaml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/schema.yaml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/schema.yaml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/schema.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/schema.yaml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/schema.yaml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/schema.yaml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/schema.yaml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/linear/linear/schema.yaml/master?enable=pin
- Info: 0 out of 8 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 6 third-party GitHubAction dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 30 are checked with a SAST tool
Reason
36 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-g77x-44xx-532m
- Warn: Project is vulnerable to: GHSA-gp8f-8m3g-qvj9
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-7gc6-qh9x-w6h8
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc
- Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx
- Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97
- Warn: Project is vulnerable to: GHSA-8cf7-32gw-wr33
- Warn: Project is vulnerable to: GHSA-hjrf-2m68-5959
- Warn: Project is vulnerable to: GHSA-qwph-4952-7xr6
- Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695
- Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm
- Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574
- Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-ch52-vgq2-943f
- Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj
- Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-8hfj-j24r-96c4
- Warn: Project is vulnerable to: GHSA-wc69-rhjr-hc9g
- Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
Score
4.8
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More