revert: fix package version from 1.4.0 to 1.3.1
Reverts the package version in package-lock.json from 1.4.0 back to 1.3.1
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
# DEV
|
||||||
|
|
||||||
|
## Publier le package
|
||||||
|
|
||||||
|
Le package `@hykocx/zen` est publié sur le registre npm à `https://git.hyko.cx`.
|
||||||
|
|
||||||
|
### 1. Configurer l'authentification
|
||||||
|
|
||||||
|
Créer un token d'accès dans Gitea (Settings → Applications → Generate Token), puis l'enregistrer localement :
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm config set //git.hyko.cx/api/packages/hykocx/npm/:_authToken TOKEN
|
||||||
|
```
|
||||||
|
|
||||||
|
Remplacer `TOKEN` par le token généré.
|
||||||
|
|
||||||
|
### 2. Build et publish
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm publish
|
||||||
|
```
|
||||||
|
|
||||||
|
Le script `prepublishOnly` lance automatiquement le build avant la publication.
|
||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@hykocx/zen",
|
"name": "@hykocx/zen",
|
||||||
"version": "1.4.0",
|
"version": "1.3.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@hykocx/zen",
|
"name": "@hykocx/zen",
|
||||||
"version": "1.4.0",
|
"version": "1.3.1",
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@headlessui/react": "^2.0.0",
|
"@headlessui/react": "^2.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user