From cd8cea21bf8cc8cc74f9e2264f0ba1aa3165f7c3 Mon Sep 17 00:00:00 2001 From: Guillaume REMBERT Date: Sat, 16 Mar 2024 15:35:28 +0100 Subject: [PATCH] Review package dist --- .github/workflows/npm-publish.yml | 4 ++-- package.json | 10 +--------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 7c0c67a..ae123d5 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -17,10 +17,10 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' registry-url: 'https://registry.npmjs.org' - run: npm install -g npm - - run: npm ci + - run: npm run build - run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{secrets.NPMJS}} diff --git a/package.json b/package.json index abadef3..c9c8843 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Directus extension used to add a download and store file operation to flows", "icon": "extension", "license": "MIT", - "version": "1.0.1", + "version": "1.0.2", "author": "Euryece Telecom", "keywords": [ "directus", @@ -42,14 +42,6 @@ "url": "git+https://github.com/euryecetelecom/directus-extension-downloadstorefile-operation.git" }, "homepage": "https://github.com/euryecetelecom/directus-extension-downloadstorefile-operation", - "release-it": { - "github": { - "release": true - }, - "npm": { - "publish": true - } - }, "publishConfig": { "access": "public" }