Skip to content
Snippets Groups Projects
Commit 112bb614 authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Merge branch 'master' of gitlab.tugraz.at:dbp/web-components/toolkit

parents 80dc3c20 d1bcbff5
No related branches found
No related tags found
No related merge requests found
Pipeline #14652 passed
Showing
with 44 additions and 6 deletions
......@@ -18,9 +18,10 @@ test:
publish:
stage: publish
# only:
# refs:
# - publish
only:
refs:
- publish
- master
script:
- sudo npm install --global can-npm-publish
- yarn config set registry https://registry.npmjs.org/
......
.npmrc 0 → 100644
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
......@@ -20,3 +20,10 @@ yarn install
* `yarn run test` - Run test for all packages
* `yarn run clean` - Removes all `node_modules` directories.
## Publishing packages to npmjs.com
There is an automatic publishing process initiated for each package if code is pushed
to the `master` branch, if the package isn't set to private in its `package.json` and
the version number in its `package.json` is higher than the version number on npmjs.com.
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
......@@ -3,7 +3,7 @@
A web component for building SPAs consisting of one topic with multiple
activities. Handles login, language selection, activity switching, menus etc.
You can install these component via npm:
You can install this component via npm:
```bash
npm i @dbp-toolkit/app-shell
......
{
"name": "@dbp-toolkit/app-shell",
"homepage": "https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/master/packages/app-shell",
"version": "0.1.1",
"version": "0.1.4",
"main": "src/index.js",
"license": "LGPL-2.1-or-later",
"devDependencies": {
......
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
node_modules
.idea
npm-debug.log
package-lock.json
index.html
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
# Language Select Web Component
You can install this component via npm:
```bash
npm i @dbp-toolkit/language-select
```
## Usage
```html
<dbp-language-select></dbp-language-select>
<script type="module" src="node_modules/@dbp-toolkit/app-shell/dist/dbp-app-shell.js"></script>
```
## Local development
```bash
......
......@@ -4,7 +4,6 @@
"version": "0.1.0",
"main": "src/index.js",
"license": "LGPL-2.1-or-later",
"private": true,
"devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0",
......
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment