Skip to content

Commit d2ec1a4

Browse files
committed
chore: cleanup shaclc and remove custom conversion scripts
1 parent 686dae6 commit d2ec1a4

File tree

5 files changed

+21
-471
lines changed

5 files changed

+21
-471
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"scripts": {
77
"dev": "npm run build:ldo && next dev --port=3001",
88
"build": "npm run build:ldo && npm run build:next",
9-
"build:shacl2shex": "npx @jeswr/shacl2shex src/shapes/Model.shaclc src/shapes/Model.shex && node scripts/fix-shex.js",
10-
"build:ldo": "npm run build:shacl2shex && npx @ldo/cli build --input ./src/shapes --output ./src/ldo || true && node scripts/generate-ldo-files.js && node -e \"const fs=require('fs');const files=['src/ldo/Model.context.ts','src/ldo/Model.schema.ts','src/ldo/Model.shapeTypes.ts','src/ldo/Model.typings.ts'];const empty=files.filter(f=>!fs.existsSync(f)||fs.statSync(f).size===0);if(empty.length>0){console.error('Files are empty:',empty.join(', '));process.exit(1);}else{console.log('All LDO files generated successfully');}\"",
9+
"build:ldo": "ldo build --input ./src/shapes --output ./src/ldo",
1110
"build:next": "next build",
1211
"start": "next start",
1312
"start:dev": "concurrently \"npm run start:css\" \"npm run start:ldo\" \"npm run dev\"",

scripts/fix-shex.js

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)