forked from thanos-irodotou/node-xlsx-stream
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a @brandwatch scoped fork of node-xlsx-stream
Updated package.json to point to new repo and name and added a files array to only include relevant files. Also, removed some extraneous files, added a nvmrc dotfile and a GitHub Action to publish the package.
- Loading branch information
Showing
6 changed files
with
59 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- brandwatch-scoped | ||
tags: | ||
- 'brandwatch-[0-9]+.[0-9]+.[0-9]+*' | ||
|
||
jobs: | ||
publish: | ||
if: github.repository == 'BrandwatchLtd/node-xlsx-stream' | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Pack | ||
id: npm-pack | ||
run: | | ||
PACKAGE_FILE=$(npm pack --ignore-scripts) | ||
echo "package_file=${PACKAGE_FILE}" | tee -a $GITHUB_OUTPUT | ||
- uses: softprops/action-gh-release@v1 | ||
with: | ||
files: ${{ steps.npm-pack.outputs.package_file }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "Run test on push" | ||
|
||
on: | ||
push: | ||
paths: | ||
- '!README.md' | ||
- '!LICENCE' | ||
- '!.gitignore' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [12, 14, 16, 18] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build on Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm ci --ignore-scripts | ||
- run: npm test | ||
env: | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v12.22.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
{ | ||
"name": "xlsx-stream", | ||
"name": "@brandwatch/xlsx-stream", | ||
"description": "Creates SpreadsheetML (.xlsx) files in sequence with streaming interface.", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/nunukim/node-xlsx-stream", | ||
"homepage": "https://github.com/brandwatchLtd/node-xlsx-stream", | ||
"author": { | ||
"name": "Ryota Suzuki", | ||
"email": "[email protected]", | ||
"url": "http://galileoscope.com/" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/nunukim/node-xlsx-stream.git" | ||
"url": "git://github.com/brandwatchLtd/node-xlsx-stream.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/nunukim/node-xlsx-stream/issues" | ||
"url": "https://github.com/brandwatchLtd/node-xlsx-stream/issues" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "https://github.com/nunukim/node-xlsx-stream/blob/master/LICENSE" | ||
"url": "https://github.com/brandwatchLtd/node-xlsx-stream/blob/master/LICENSE" | ||
} | ||
], | ||
"main": "lib/index.js", | ||
"files": [ | ||
"lib" | ||
], | ||
"engines": { | ||
"node": "~ 0.8.0" | ||
}, | ||
|