mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-28 12:32:59 +00:00
fix: build
This commit is contained in:
5839
examples/minimal-connector/package-lock.json
generated
5839
examples/minimal-connector/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,60 +1,55 @@
|
||||
{
|
||||
"name": "@openstapps/minimal-connector",
|
||||
"version": "0.2.0",
|
||||
"description": "This is a minimal connector which serves as an example",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@gitlab.com:openstapps/minimal-connector.git"
|
||||
},
|
||||
"version": "2.1.0",
|
||||
"license": "GPL-3.0-only",
|
||||
"repository": "git@gitlab.com:openstapps/minimal-connector.git",
|
||||
"author": "Anselm Stordeur <anselmstordeur@gmail.com>",
|
||||
"contributors": [
|
||||
"Jovan Krunić <jovan.krunic@gmail.com>",
|
||||
"Karl-Philipp Wulfert <krlwlfrt@gmail.com>",
|
||||
"Rainer Killinger <git@killinger.co>",
|
||||
"Michel Jonathan Schmitz <michel.schmitz1992@gmail.com>"
|
||||
"Michel Jonathan Schmitz <michel.schmitz1992@gmail.com>",
|
||||
"Rainer Killinger <git@killinger.co>"
|
||||
],
|
||||
"main": "lib/cli.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "npm run tslint && npm run compile",
|
||||
"build": "npm run compile",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
|
||||
"check-configuration": "openstapps-configuration",
|
||||
"compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'",
|
||||
"compile": "rimraf lib && tsc",
|
||||
"documentation": "typedoc --includeDeclarations --mode modules --out docs --readme README.md --listInvalidSymbolLinks src",
|
||||
"lint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'",
|
||||
"postversion": "npm run changelog",
|
||||
"prepublishOnly": "npm ci && npm run build",
|
||||
"preversion": "npm run prepublishOnly",
|
||||
"push": "git push && git push origin \"v$npm_package_version\"",
|
||||
"test": "nyc mocha --require ts-node/register --require source-map-support/register --recursive 'test/*.spec.ts'",
|
||||
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'"
|
||||
"test": "nyc mocha --require ts-node/register --require source-map-support/register --recursive 'test/*.spec.ts'"
|
||||
},
|
||||
"dependencies": {
|
||||
"@openstapps/api": "0.28.0",
|
||||
"@openstapps/core": "0.46.0",
|
||||
"@openstapps/logger": "0.7.0",
|
||||
"commander": "6.2.1"
|
||||
"@openstapps/api": "workspace:*",
|
||||
"@openstapps/core": "workspace:*",
|
||||
"@openstapps/logger": "workspace:*",
|
||||
"commander": "10.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openstapps/configuration": "0.27.0",
|
||||
"@openstapps/core-tools": "0.21.0",
|
||||
"@testdeck/mocha": "0.1.2",
|
||||
"@types/chai": "4.2.18",
|
||||
"@types/chai-as-promised": "7.1.4",
|
||||
"@types/mocha": "8.2.2",
|
||||
"@types/node": "14.17.1",
|
||||
"chai": "4.3.4",
|
||||
"@openstapps/configuration": "workspace:*",
|
||||
"@openstapps/core-tools": "workspace:*",
|
||||
"@testdeck/mocha": "0.3.3",
|
||||
"@types/chai": "4.3.4",
|
||||
"@types/chai-as-promised": "7.1.5",
|
||||
"@types/mocha": "10.0.1",
|
||||
"@types/node": "18.15.3",
|
||||
"chai": "4.3.7",
|
||||
"chai-as-promised": "7.1.1",
|
||||
"conventional-changelog-cli": "2.1.1",
|
||||
"mocha": "8.4.0",
|
||||
"nock": "13.1.0",
|
||||
"conventional-changelog-cli": "2.2.2",
|
||||
"mocha": "10.2.0",
|
||||
"nock": "13.3.0",
|
||||
"nyc": "15.1.0",
|
||||
"prepend-file-cli": "1.0.6",
|
||||
"rimraf": "3.0.2",
|
||||
"ts-node": "9.1.1",
|
||||
"tslint": "6.1.3",
|
||||
"typedoc": "0.18.0",
|
||||
"typescript": "3.8.3"
|
||||
"rimraf": "4.4.0",
|
||||
"ts-node": "10.9.1",
|
||||
"typedoc": "0.22.18",
|
||||
"typescript": "4.4.4"
|
||||
},
|
||||
"nyc": {
|
||||
"all": true,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
/*
|
||||
* Copyright (C) 2018, 2019 StApps
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
|
||||
@@ -49,7 +49,7 @@ export abstract class Connector<T extends SCThings> {
|
||||
*
|
||||
* Implementation according to your schools requirements
|
||||
*/
|
||||
protected abstract async fetchItems(): Promise<T[]>;
|
||||
protected abstract fetchItems(): Promise<T[]>;
|
||||
|
||||
/**
|
||||
* Creates a remote origin with the current date-time
|
||||
|
||||
@@ -53,6 +53,7 @@ export class MinimalConnector extends Connector<SCMessage> {
|
||||
const importedItems: SCMessage[] = [
|
||||
{
|
||||
audiences: ['students', 'employees'],
|
||||
categories: [],
|
||||
description: 'Some description 1',
|
||||
messageBody: 'Some message 1',
|
||||
name: 'Some name 1',
|
||||
@@ -62,6 +63,7 @@ export class MinimalConnector extends Connector<SCMessage> {
|
||||
},
|
||||
{
|
||||
audiences: ['students', 'employees'],
|
||||
categories: [],
|
||||
description: 'Some description 2',
|
||||
messageBody: 'Some message 2',
|
||||
name: 'Some name 2',
|
||||
@@ -71,6 +73,7 @@ export class MinimalConnector extends Connector<SCMessage> {
|
||||
},
|
||||
{
|
||||
audiences: ['students', 'employees'],
|
||||
categories: [],
|
||||
description: 'Some description 3',
|
||||
messageBody: 'Some message 3',
|
||||
name: 'Some name 3',
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"extends": "./node_modules/@openstapps/configuration/tslint.json"
|
||||
}
|
||||
4113
examples/minimal-plugin/package-lock.json
generated
4113
examples/minimal-plugin/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,44 +1,42 @@
|
||||
{
|
||||
"name": "@openstapps/minimal-plugin",
|
||||
"version": "0.0.1",
|
||||
"description": "Minimal Plugin",
|
||||
"version": "2.1.0",
|
||||
"license": "GPL-3.0-only",
|
||||
"author": "Wieland Schöbl",
|
||||
"author": "Thea Schöbl",
|
||||
"contributors": [
|
||||
"Jovan Krunić <jovan.krunic@gmail.com>",
|
||||
"Rainer Killinger <mail-openstapps@killinger.co>"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "npm run tslint && npm run compile",
|
||||
"compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'",
|
||||
"build": "npm run compile",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
|
||||
"check-configuration": "openstapps-configuration",
|
||||
"compile": "rimraf lib && tsc",
|
||||
"documentation": "typedoc --includeVersion --out docs src",
|
||||
"start": "node lib/cli.js",
|
||||
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'",
|
||||
"prepublishOnly": "npm ci && npm run build",
|
||||
"lint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'",
|
||||
"postversion": "npm run changelog",
|
||||
"prepublishOnly": "npm ci && npm run build",
|
||||
"preversion": "npm run prepublishOnly",
|
||||
"push": "git push && git push origin \"v$npm_package_version\""
|
||||
"push": "git push && git push origin \"v$npm_package_version\"",
|
||||
"start": "node lib/cli.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@openstapps/api": "0.33.0",
|
||||
"@openstapps/core": "0.52.0",
|
||||
"@openstapps/core-tools": "0.25.0",
|
||||
"@openstapps/logger": "0.7.0",
|
||||
"commander": "8.2.0",
|
||||
"express": "4.17.1",
|
||||
"ts-node": "10.2.1"
|
||||
"@openstapps/api": "workspace:*",
|
||||
"@openstapps/core": "workspace:*",
|
||||
"@openstapps/core-tools": "workspace:*",
|
||||
"@openstapps/logger": "workspace:*",
|
||||
"commander": "10.0.0",
|
||||
"express": "4.18.2",
|
||||
"ts-node": "10.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openstapps/configuration": "0.28.1",
|
||||
"@types/express": "4.17.13",
|
||||
"@types/node": "14.17.12",
|
||||
"conventional-changelog-cli": "2.1.1",
|
||||
"prepend-file-cli": "1.0.6",
|
||||
"rimraf": "3.0.2",
|
||||
"tslint": "6.1.3",
|
||||
"typedoc": "0.22.4",
|
||||
"typescript": "4.4.3"
|
||||
"@openstapps/configuration": "workspace:*",
|
||||
"@types/express": "4.17.16",
|
||||
"@types/node": "18.15.3",
|
||||
"conventional-changelog-cli": "2.2.2",
|
||||
"rimraf": "4.4.0",
|
||||
"typedoc": "0.22.18",
|
||||
"typescript": "4.4.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
/*
|
||||
* Copyright (C) 2019-2021 StApps
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"extends": "./node_modules/@openstapps/configuration/tsconfig.json"
|
||||
"extends": "../../../node_modules/@openstapps/configuration/tsconfig.json"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user