diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc94d792819a4421f0900c3b06ba73377ac9c112..2e5bd00fb6878216f2f66c66c1dc337053cfa34b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,52 +1,20 @@ +include: + - project: coscine/tools/gitlab-ci-templates + file: + - /docker-runner.yml + - /nodejs.yml + stages: - - test + - build +# there are more stages in the imported file but we only want to import some +# - test - publish - - release - - pre_release - -before_script: - - yarn install - -test: - stage: test - script: - - yarn run build - except: - refs: - - master - - tags - variables: - - $GITLAB_USER_ID == $GIT_BOT_USER_ID -publish: - stage: publish - script: - - yarn run build - - yarn dlx semantic-release - only: - - master - except: - variables: - - $GITLAB_USER_ID == $GIT_BOT_USER_ID +build-branch: + extends: .build-branch -release: - stage: release - script: - - yarn run build - artifacts: - paths: - - dist - only: - - tags +build-npm-release: + extends: .build-npm-release -pre_release: - stage: pre_release - script: - - yarn run build - artifacts: - paths: - - dist - when: manual - except: - - tags - - master +publish-gitlab: + extends: .publish-gitlab-release diff --git a/.yarnrc.yml b/.yarnrc.yml index d60adf89afd5c87fdc5d222eb9850e9c36488345..37113bd6f02c8e15806a85ee36402022fbc7b63d 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,4 +1,3 @@ -enableGlobalCache: true packageExtensions: "@vue/cli-service@*": peerDependencies: diff --git a/package.json b/package.json index 0df3a842ab69fe78112516009171b460228a217e..c289a718d5caa06b8c5cb6dafffc60351d2bbb73 100644 --- a/package.json +++ b/package.json @@ -11,9 +11,9 @@ "lint": "vue-cli-service lint" }, "dependencies": { - "@coscine/app-util": "^1.7.1", - "@coscine/component-library": "1.4.1", - "@coscine/project-creation": "^1.11.1", + "@coscine/app-util": "^1.7.2", + "@coscine/component-library": "1.4.2", + "@coscine/project-creation": "^1.11.2", "@itcenter-layout/bootstrap": "^1.5.5", "@itcenter-layout/masterpage": "^1.3.0", "@types/jquery": "^3.5.2", diff --git a/src/ProjectEditApp.vue b/src/ProjectEditApp.vue index 1d39dbb11c0ac10536b0a892fc164fe7faa6878b..e4b4818c1204c62ae5dd6bb616c5ed6dc588c5d4 100644 --- a/src/ProjectEditApp.vue +++ b/src/ProjectEditApp.vue @@ -12,6 +12,7 @@ <script lang="ts"> import Vue from 'vue'; import CreateProject from '@coscine/project-creation'; +import '@coscine/project-creation/dist/index.css'; import { LanguageUtil, GuidUtil } from '@coscine/app-util'; Vue.use(CreateProject); diff --git a/tsconfig.json b/tsconfig.json index 499f5e22e076ba461c904cf5754c70c67561e14e..cb5b2eda5256a21687aa1089b804be16f92899d8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,8 +10,13 @@ "allowSyntheticDefaultImports": true, "sourceMap": true, "baseUrl": ".", + "skipLibCheck": true, + "outDir": "dist", + "declaration": true, + "declarationDir": "dist", "types": [ - "webpack-env" + "webpack-env", + "node" ], "paths": { "@/*": [