Skip to content

Commit

Permalink
Merge pull request #212 from crutchcorn/yarn-to-npm
Browse files Browse the repository at this point in the history
Migrate to NPM, Update XTerm Packages
  • Loading branch information
Tyriar authored Apr 9, 2024
2 parents 21d4161 + 4f01157 commit 03dbd8c
Show file tree
Hide file tree
Showing 50 changed files with 6,232 additions and 3,011 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on:

jobs:

update-documentation:
update-documentation:
runs-on: ubuntu-latest

steps:

- name: Pull xtermjs documentation repo
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0

- name: Pull xtermjs repo
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
Expand All @@ -27,22 +27,22 @@ jobs:
- name: Build the docs
id: build_docs
run: |
# install deps
npm install -g yarn && yarn install
npm ci
# build docs
npm run build:docs
# run vt features
cd _xterm.js && npm install mustache && npm run --silent vtfeatures > ../_docs/api/vtfeatures.md & cd ..
- name: Fetch xterm.js version
id: package-version
uses: martinbeentjes/npm-get-version-action@3cf273023a0dda27efcd3164bdfb51908dd46a5b # v1.3.1
with:
path: _xterm.js

- name: Create Pull Request
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
with:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ _site
vendor/

# Node.js
package-lock.json
node_modules/

_typedoc/
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ GEM
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.20.0)
nokogiri (1.15.4-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.4-x86_64-linux)
racc (~> 1.4)
octokit (4.25.1)
Expand Down Expand Up @@ -252,6 +254,7 @@ GEM
webrick (1.8.1)

PLATFORMS
arm64-darwin-21
x86_64-linux

DEPENDENCIES
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ bundle exec jekyll serve
## Update API documentation

```bash
yarn
npm ci
./bin/update-docs
```
```
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Terminal front-end component written in JavaScript that works in th
baseurl: ''
url: 'http://xtermjs.org'

version: '5.3'
version: '5.5'

markdown: kramdown

Expand Down
Loading

0 comments on commit 03dbd8c

Please sign in to comment.