Compare commits
No commits in common. "f7df86b0b1c72669c663b358b1909696a6a47ed8" and "c4cb05f79ca3d553bac2ec4d02a776fe3528f37a" have entirely different histories.
f7df86b0b1
...
c4cb05f79c
31
.drone.yml
31
.drone.yml
@ -6,9 +6,6 @@ name: npm-publish-snapshot
|
|||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
branch:
|
|
||||||
exclude:
|
|
||||||
- master
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: publish-snapshot
|
- name: publish-snapshot
|
||||||
@ -25,31 +22,3 @@ steps:
|
|||||||
- npm version $SNAPSHOT
|
- npm version $SNAPSHOT
|
||||||
- npm publish --tag snapshot
|
- npm publish --tag snapshot
|
||||||
# - npm dist-tag add @ioprojects/ui-eslint-base@$SNAPSHOT snapshot
|
# - npm dist-tag add @ioprojects/ui-eslint-base@$SNAPSHOT snapshot
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: npm-publish-release
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: publish-release
|
|
||||||
image: node:18
|
|
||||||
environment:
|
|
||||||
GITEA_TOKEN:
|
|
||||||
from_secret: gitea_token
|
|
||||||
VERSION: ${NEW_VERSION}
|
|
||||||
commands:
|
|
||||||
- git fetch --tags
|
|
||||||
- OLD_VERSION=$(cat VERSION 2>/dev/null) || echo "1.0.0"
|
|
||||||
- echo $NEW_VERSION
|
|
||||||
- echo $OLD_VERSION
|
|
||||||
- npm ci
|
|
||||||
- npm version $NEW_VERSION
|
|
||||||
- npm publish
|
|
||||||
# - npm dist-tag add @ioprojects/ui-eslint-base@$SNAPSHOT snapshot
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"extends": [
|
"extends": [
|
||||||
"eslint:recommended",
|
"eslint:recommended",
|
||||||
"plugin:vue/vue3-essential",
|
"plugin:react/recommended",
|
||||||
"plugin:@typescript-eslint/recommended",
|
"plugin:@typescript-eslint/recommended",
|
||||||
"plugin:prettier/recommended"
|
"plugin:prettier/recommended"
|
||||||
],
|
],
|
||||||
|
2
.npmrc
2
.npmrc
@ -1,4 +1,4 @@
|
|||||||
@ioprojects:registry=https://git.endmove.eu/api/packages/io-projectsofficial/npm/
|
@ioprojects:registry=https://git.endmove.eu/api/packages/io-projectsofficial/npm/
|
||||||
//git.endmove.eu/api/packages/io-projectsofficial/npm/:_authToken="${GITEA_TOKEN}"
|
//git.endmove.eu/api/packages/io-projectsofficial/npm/:_authToken="${GITEA_TOKEN}"
|
||||||
tag-version-prefix=""
|
tag-version-prefix=""
|
||||||
message="chore(ci): %s"
|
message="chore(ci): %s :tada:"
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@ioprojects/ui-eslint-base",
|
"name": "@ioprojects/ui-eslint-base",
|
||||||
"version": "1.0.3",
|
"version": "1.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@ioprojects/ui-eslint-base",
|
"name": "@ioprojects/ui-eslint-base",
|
||||||
"version": "1.0.3",
|
"version": "1.0.0",
|
||||||
"license": "SEE LICENSE IN THE LICENSE FILE",
|
"license": "SEE LICENSE IN THE LICENSE FILE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ioprojects/ui-eslint-base",
|
"name": "@ioprojects/ui-eslint-base",
|
||||||
"version": "1.0.3",
|
"version": "1.0.0",
|
||||||
"description": "NPM package for ESLINT configuration of IO-Projects TypeScript front-end projects",
|
"description": "NPM package for ESLINT configuration of IO-Projects TypeScript front-end projects",
|
||||||
"main": ".eslintrc.json",
|
"main": ".eslintrc.json",
|
||||||
"files": [
|
"files": [
|
||||||
|
Loading…
Reference in New Issue
Block a user