10
45
Fork
You've already forked doipjs
28

NPM + nix flake (prepare for new release) #104

Merged
yarmo merged 4 commits from prepare-new-release into dev 2024年06月15日 19:17:25 +02:00
Owner
Copy link

This PR prepares the repo for the new release by:

  • switching from yarn to npm (previously discussed at #69 and was agreed upon)
  • adding a nix flake to create a dev environment

Granted, that second one is mostly for me as I am running NixOS nowadays and need this to work with NodeJS.

This PR prepares the repo for the new release by: - switching from yarn to npm (previously discussed at https://codeberg.org/keyoxide/doipjs/pulls/69 and was agreed upon) - adding a nix flake to create a dev environment Granted, that second one is mostly for me as I am running NixOS nowadays and need this to work with NodeJS.
yarmo force-pushed prepare-new-release from 5c79fd2881
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
to 1ed3051f45
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2024年06月02日 16:50:56 +02:00
Compare
Ryuno-Ki left a comment
Copy link

Some comments for future us.

Some comments for future us.
@ -6,2 +6,3 @@
- yarn run test
- npm ci
- npm run test
Owner
Copy link

Could be npm test.

Could be `npm test`.
Author
Owner
Copy link

Done, thx!

Done, thx!
yarmo marked this conversation as resolved
@ -61,2 +60,2 @@
"release": "node ./prerelease.js && yarn run test && yarn run build",
"build": "rm -rf ./dist/ && yarn run build:bundle && yarn run build:minify",
"release": "node ./prerelease.js && npm run test && npm run build",
"build": "rm -rf ./dist/ && npm run build:bundle && npm run build:minify",
Owner
Copy link

If this ever causes problems cross-platform, we could use rimraf.

If this ever causes problems cross-platform, we could use [rimraf](https://www.npmjs.com/package/rimraf).
@ -69,3 +68,3 @@
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"test": "yarn lint && yarn run license:check && yarn run mocha",
"test": "npm run lint && npm run license:check && mocha",
Owner
Copy link

Could use pretest.

Could use [`pretest`](https://docs.npmjs.com/cli/v10/using-npm/scripts#pre--post-scripts).
Author
Owner
Copy link

Done, thx!

Done, thx!
yarmo marked this conversation as resolved
Sign in to join this conversation.
No reviewers
Labels
Clear labels
bug
Something is not working

Archived

enhancement
New feature

Archived

Contribution welcome
Get started contributing here
Good first issue
Good if you are new to the project or to open source contributions
Impact
External
Affects the people using the project
Impact
Internal
Affects on the people working on the project
Priority
Critical
Work on right now
Priority
High
Work on at earliest convenience
Priority
Low
Work on in spare time
Priority
Medium
Work on regularly
Review
Duplicate
Already exists
Review
Off Topic
Does not fall within the scope of the repo/project
Status
Backlog
Is not being worked on yet
Status
Blocked
Is waiting on something or someone
Status
Completed
Is done
Status
In Progress
Is being worked on
Status
Investigating
Is waiting on research or questions
Status
Needs Decision
Is waiting on a decision by the devs/contributors
Status
Needs Info
Is waiting on additional information before it can be solved
Status
Needs Triage
Is new issue that needs reviewing
Status
Testing
Is being checked and verified
Status
Waiting For Review
Is waiting on reviewers to approve
Status
Won't Fix
Won't be fixed
Type
Bug
Related to something not working as intended
Type
CI
Related to continuous integration
Type
Documentation
Related to documentation
Type
Enhancement
Related to a new feature or an improved one
Type
New Claim
Related to a new identity claim/proof
Type
Security
Related to security
Type
Tests
Related to code tests
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
keyoxide/doipjs!104
Reference in a new issue
keyoxide/doipjs
No description provided.
Delete branch "prepare-new-release"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?