Skip to content

Commit 346708d

Browse files
committed
fixed load of ttl files
1 parent f251a0e commit 346708d

7 files changed

Lines changed: 12 additions & 129 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Built code
22
dist
3+
lib
34
dist-dev
45
src/versionInfo.ts
56

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default [
88
{
99
ignores: [
1010
'dist/**',
11+
'lib/**',
1112
'docs/**',
1213
'node_modules/**',
1314
'dev/**',

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"clean": "rm -rf dist dist-dev src/versionInfo.ts",
1515
"build": "npm run clean && npm run build-version && npm run build-js && npm run postbuild-js",
1616
"build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix",
17-
"build-form": "(cd src/schedule/ && make)",
18-
"build-js": "npm run build-form && tsc && npm run build-js-babel",
19-
"build-js-babel": "babel src --out-dir dist --extensions '.js' --only '**/*.js' --source-maps",
17+
"build-js": "npm run build-types && npm run build-babel",
18+
"build-types": "tsc --emitDeclarationOnly",
19+
"build-babel": "babel src --out-dir dist --extensions '.ts,.js' --source-maps",
2020
"postbuild-js": "rm -f dist/versionInfo.d.ts dist/versionInfo.d.ts.map",
2121
"build-dev": "webpack --progress --mode=development",
2222
"lint": "eslint",

src/schedule/Makefile

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

src/schedule/formsForSchedule.js

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

src/schedule/schedulePane.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import * as UI from 'solid-ui'
88
import { authn } from 'solid-logic'
99

10-
import formText from './formsForSchedule.js'
10+
import formText from './formsForSchedule.ttl'
1111
const $rdf = UI.rdf
1212
const ns = UI.ns
1313

tsconfig.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"typeRoots": [
5454
"node_modules/@types",
5555
"node_modules/@testing-library",
56-
"./typings"
56+
"typings",
57+
"/src/types.ts"
5758
] /* List of folders to include type definitions from. */,
5859
// "types": [], /* Type declaration files to be included in compilation. */
5960
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
@@ -70,6 +71,9 @@
7071
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
7172
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
7273
},
73-
"include": ["src/**/*"],
74+
"include": [
75+
"src/**/*",
76+
"/typings/**/*"
77+
],
7478
"exclude": ["node_modules", "dist"]
7579
}

0 commit comments

Comments
 (0)