Compare commits
No commits in common. "main" and "v1.1.3" have entirely different histories.
|
@ -1,27 +0,0 @@
|
||||||
name: Publish visua Package
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: '18'
|
|
||||||
|
|
||||||
- name: Configure .npmrc for Gitea registry
|
|
||||||
run: |
|
|
||||||
echo "@cellule-financiere-pmo:registry=https://dgfipntic.imfr.cgi.com/api/packages/Cellule-financiere-transverse-PMO/npm/" > ~/.npmrc
|
|
||||||
echo "//dgfipntic.imfr.cgi.com/api/packages/Cellule-financiere-transverse-PMO/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
|
|
||||||
|
|
||||||
- name: Publish to Gitea NPM registry
|
|
||||||
run: npm publish
|
|
14
.gitlab-ci.yml
Normal file
14
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
default:
|
||||||
|
image: node:latest
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
publish-npm:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- echo "@cellule-financiere-pmo:registry=https://${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/" > .npmrc
|
||||||
|
- echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
|
||||||
|
- npm publish
|
||||||
|
only:
|
||||||
|
- tags
|
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@cellule-financiere-pmo/visua",
|
"name": "visua",
|
||||||
"version": "1.1.4",
|
"version": "1.1.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@cellule-financiere-pmo/visua",
|
"name": "visua",
|
||||||
"version": "1.1.4",
|
"version": "1.1.3",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"sass": "^1.89.2"
|
"sass": "^1.89.2"
|
||||||
|
@ -475,9 +475,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/sass": {
|
"node_modules/sass": {
|
||||||
"version": "1.90.0",
|
"version": "1.89.2",
|
||||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.90.0.tgz",
|
"resolved": "https://registry.npmjs.org/sass/-/sass-1.89.2.tgz",
|
||||||
"integrity": "sha512-9GUyuksjw70uNpb1MTYWsH9MQHOHY6kwfnkafC24+7aOMZn9+rVMBxRbLvw756mrBFbIsFg6Xw9IkR2Fnn3k+Q==",
|
"integrity": "sha512-xCmtksBKd/jdJ9Bt9p7nPKiuqrlBMBuuGkQlkhZjjQk3Ty48lv93k5Dq6OPkKt4XwxDJ7tvlfrTa1MPA9bf+QA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
30
package.json
30
package.json
|
@ -1,37 +1,33 @@
|
||||||
{
|
{
|
||||||
"name": "@cellule-financiere-pmo/visua",
|
"name": "@cellule-financiere-pmo/visua",
|
||||||
"version": "1.1.4",
|
"version": "1.1.3",
|
||||||
"description": "Defines the visual foundations of the design system and establishes a strategy for structuring styles to guarantee their reusability in graphic interfaces.",
|
"description": "This project defines the visual foundations of the design system and establishes a strategy for structuring styles to guarantee their reusability in the design of graphic interfaces.",
|
||||||
"main": "output/variables.css",
|
|
||||||
"files": [
|
|
||||||
"output/*"
|
|
||||||
],
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://dgfipntic.imfr.cgi.com/Cellule-financiere-transverse-PMO/visua.git"
|
"url": "git+https://gitlab.com/cellule-financiere-pmo/design-system/visua.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
|
||||||
"url": "https://dgfipntic.imfr.cgi.com/Cellule-financiere-transverse-PMO/visua/issues"
|
|
||||||
},
|
|
||||||
"homepage": "https://dgfipntic.imfr.cgi.com/Cellule-financiere-transverse-PMO/visua#readme",
|
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"scss",
|
"scss",
|
||||||
"css",
|
"css",
|
||||||
"design system",
|
"design system"
|
||||||
"design tokens",
|
|
||||||
"DSFR",
|
|
||||||
"typography",
|
|
||||||
"variables"
|
|
||||||
],
|
],
|
||||||
"author": "CGI",
|
"author": "CGI",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://gitlab.com/cellule-financiere-pmo/design-system/visua/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://gitlab.com/cellule-financiere-pmo/design-system/visua#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"sass": "^1.89.2"
|
"sass": "^1.89.2"
|
||||||
},
|
},
|
||||||
|
"main": "output/variables.css",
|
||||||
|
"files": [
|
||||||
|
"output/*"
|
||||||
|
],
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://dgfipntic.imfr.cgi.com/api/packages/Cellule-financiere-transverse-PMO/npm/"
|
"registry": "https://gitlab.com/api/v4/projects/71595796/packages/npm/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user