Skip to content

Commit

Permalink
Merge pull request #53 from Informatievlaanderen/SDTT-345-Create-a-mo…
Browse files Browse the repository at this point in the history
…norepo-setup-for-the-CI-scripts-of-the-OSLO-toolchain

Sdtt 345 create a monorepo setup for the ci scripts of the oslo toolchain
  • Loading branch information
KristofVDB1 authored Nov 19, 2024
2 parents d29ded8 + f8a19f2 commit 776427d
Show file tree
Hide file tree
Showing 100 changed files with 426 additions and 113,950 deletions.
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

224 changes: 0 additions & 224 deletions .eslintrc.js

This file was deleted.

24 changes: 11 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@ name: CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
path: '**/node_modules'
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
Expand All @@ -25,28 +24,27 @@ jobs:
matrix:
os: [ubuntu-latest]
node-version::
- 14.x
- 16.x
- 20.x
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
run: yarn install
- name: Build project
run: yarn run build
- name: Run tests
run: npm run test

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm install
- run: npm run lint
node-version: 20.x
- run: yarn install
- run: npm run lint
12 changes: 2 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
**/node_modules

**/lib/**/*.d.ts
**/lib/**/*.js
**/test/**/*.d.ts
**/test/**/*.js
**/bin/**/*.d.ts
**/bin/**/*.js
**/index.js
**/index.d.ts
.vscode
lerna-debug.log
.eslintcache
**/data/**
**/data/**
yarn.lock
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"endOfLine": "lf",
"semi": true,
"singleQuote": true,
"useTabs": false,
"tabWidth": 2
}
57 changes: 1 addition & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,56 +1 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![Build status](https://github.com/informatievlaanderen/OSLO-SpecificationGenerator/actions/workflows/ci.yml/badge.svg)

# OSLO SpecificationGenerator

> The OSLO specification generator is a collection of tools to generate various artifacts based on the output of the OSLO tool EA-to-RDFn such as an HTML page, JSON-LD context and SHACL template.
## Packages

### HTML Generator

Generates an HTML page that must be rendered by a static Web server and has data.vlaanderen.be as its main target.

> Usage is explained [here](https://github.com/Informatievlaanderen/OSLO-SpecificationGenerator/tree/master/packages/oslo-generator-html)
### Context Generator

Generates a JSON-LD context file.

> Usage is explained [here](https://github.com/Informatievlaanderen/OSLO-SpecificationGenerator/tree/master/packages/oslo-generator-jsonld)
### Mu-config Generator

Generates a mu-semtech-project configuration based on the JSON-LD of your specification.

> Usage is explained [here](https://github.com/Informatievlaanderen/OSLO-SpecificationGenerator/tree/master/packages/oslo-generator-mu-config)
### SHACL Generator

Generates a SHACL template based on the specification

> Usage is explained [here](https://github.com/Informatievlaanderen/OSLO-SpecificationGenerator/tree/master/packages/oslo-generator-shacl)
### Vocabulary Generator

Generates a JSON-LD vocabulary file

> Usage is explained [here](https://github.com/Informatievlaanderen/OSLO-SpecificationGenerator/tree/master/packages/oslo-generator-vocabulary)
### Translator

Generates a translation file and then merges it with the original specification.

> Usage is explained [here](https://github.com/Informatievlaanderen/OSLO-SpecificationGenerator/tree/master/packages/oslo-translator-report)
### OSLO Types

Contains the types used in the packages.

> More info [here](https://github.com/Informatievlaanderen/OSLO-SpecificationGenerator/tree/master/packages/oslo-types)
## License

OSLO SpecificationGenerator is written and maintained by the [Open Standards for Linked Organizations (OSLO) team](https://data.vlaanderen.be) and released under the [MIT License](http://opensource.org/licenses/MIT)


TODO: Create documentation about new setup of LERNA as well as link to the older branches
Loading

0 comments on commit 776427d

Please sign in to comment.