Skip to content

Commit c0e94cf

Browse files
committed
for NPM link
1 parent 046e7c4 commit c0e94cf

File tree

5 files changed

+31
-1
lines changed

5 files changed

+31
-1
lines changed

CONTRIBUTING.md

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ You still have to reload atom with `ctrl+alt+r` to test your changes.
1414

1515
(Note: [There is more guidance here](https://github.com/atom/atom/blob/master/docs/contributing-to-packages.md) but what we have is sufficient. `apm link -l` creates a symlink for the folder into `%HOMEPATH%\.atom\packages`)
1616

17+
**Optional**: If you are working on the binaries that are used if we deploy the package to NPM you can run (again from the directory that has `package.json`):
18+
19+
```bash
20+
npm link
21+
```
22+
1723
## Git
1824
You need to have git. Note on windows long file paths can be an issue so run:
1925

dist/main/bin/build

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#! /usr/bin/env node
2+
require('./build.js');

node_modules/.bin/atbuild

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/atbuild.cmd

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "4.5.6",
44
"main": "./dist/main/atomts",
55
"bin": {
6-
"atbuild": "./dist/main/bin/build.js"
6+
"atbuild": "./dist/main/bin/build"
77
},
88
"preferGlobal": "true",
99
"description": "The only TypeScript plugin you will ever need.",

0 commit comments

Comments
 (0)