Skip to content

Remove yarn #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
with:
node-version: "20"
- run: echo "./node_modules/.bin" >> $GITHUB_PATH
- run: yarn run setup
- run: xvfb-run -a yarn run test
- run: npm run setup
- run: xvfb-run -a npm run test
2 changes: 1 addition & 1 deletion .testconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"actions": [
{
"trigger": { "command": "test-all" },
"run": "yarn run test"
"run": "npm run test"
},

{
Expand Down
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file defines which files end up in the compiled .vsix file.
# Test this configuration by running "yarn run list-shipped-files.
# Test this configuration by running "npm run list-shipped-files.

*
.*/
Expand Down
24 changes: 11 additions & 13 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,20 @@
### setup

- clone the repo
- install [Node.js](https://nodejs.org) and [yarn](https://classic.yarnpkg.com)
(`npm i -g yarn`)
- run <code type="npm/script-name">yarn run setup</code>
- install [Node.js](https://nodejs.org)
- run <code type="npm/script-call">npm run setup</code>

### test

- run tests: <code type="npm/script-name">yarn run test</code>
- see all dev tasks: <code type="npm/script-name">yarn run help</code>
- run tests: <code type="npm/script-call">npm run test</code>

### debug

Debug in VSCode:

- run <code type="npm/script-name">yarn run build-dev</code> to compile a
package with source maps or keep <code type="npm/script-name">yarn run
watch</code> running
- run <code type="npm/script-call">npm run build-dev</code> to compile a package
with source maps or keep <code type="npm/script-call">npm run watch</code>
running
- debugging requires source maps to work
- VSCode somehow doesn't run the compiler by itself before debugging
- set breakpoints in VSCode
Expand All @@ -30,16 +28,16 @@ To print to the _debug console_ of the hosting VSCode instance: `console.log`

Local installation:

- <code type="npm/script-name">yarn run package</code>
- <code type="npm/script-call">npm run package</code>
- run `code --install-extension tikibase-*.vsix` in terminal
- restart VSCode

### update

- <code type="npm/script-name">yarn run update</code>
- <code type="npm/script-call">npm run update</code>

### release

- <code type="npm/script-name">yarn run publish-patch</code>
- <code type="npm/script-name">yarn run publish-minor</code>
- <code type="npm/script-name">yarn run publish-major</code>
- <code type="npm/script-call">npm run publish-patch</code>
- <code type="npm/script-call">npm run publish-minor</code>
- <code type="npm/script-call">npm run publish-major</code>
Loading
Loading