chore: update references to previous repo name (#219)
This commit is contained in:
Родитель
e552a68413
Коммит
fd5803d6c4
|
@ -1,4 +1,4 @@
|
|||
# Contributing to electron-typescript-definitions
|
||||
# Contributing to electron/typescript-definitions
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
This module uses Electron's [JSON API documentation](https://github.com/electron/docs-parser) to produce a TypeScript definition file for the Electron API.
|
||||
|
||||
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/electron/typescript-definitions/tree/main.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/electron/typescript-definitions/tree/main)
|
||||
[![npm version](http://img.shields.io/npm/v/@electron/typescript-definitions.svg)](https://npmjs.org/package/@electron/typescript-definitions)
|
||||
|
||||
## Installation
|
||||
|
||||
|
@ -27,7 +28,7 @@ The module exports a function that parses a given API JSON object and returns
|
|||
an array of lines to create the definition file
|
||||
|
||||
```js
|
||||
const { generateDefinitions } = require('electron-typescript-definitions')
|
||||
const { generateDefinitions } = require('@electron/typescript-definitions')
|
||||
const apiPath = './vendor/electron/docs/api.json'
|
||||
|
||||
const definitionLines = generateDefinitions({ electronApi: require(apiPath) })
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Type definitions for Electron <<VERSION>>
|
||||
// Project: http://electronjs.org/
|
||||
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
||||
// Definitions: https://github.com/electron/electron-typescript-definitions
|
||||
// Definitions: https://github.com/electron/typescript-definitions
|
||||
|
||||
/// <reference types="node" />
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/electron/electron-typescript-definitions.git"
|
||||
"url": "https://github.com/electron/typescript-definitions.git"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
|
|
Загрузка…
Ссылка в новой задаче