Skip to content

Commit 3cdcf44

Browse files
committed
Updated examples for release 2.0.0
1 parent 3ef51a8 commit 3cdcf44

5 files changed

Lines changed: 42 additions & 14 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ dist/
66
.github/
77
tests/
88
benchmarks/
9-
catalog/
9+
/catalog/

samples/package-lock.json

Lines changed: 26 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
"json-conversion": "npm run build --silent && node dist/json-conversion.js"
1616
},
1717
"dependencies": {
18-
"typesxml": "^1.18.0"
18+
"typesxml": "^2.0.0"
1919
},
2020
"devDependencies": {
21-
"typescript": "^5.9.3"
21+
"@types/node": "^24.12.2",
22+
"typescript": "^6.0.3"
2223
}
23-
}
24+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
3+
<uri name="http://example.com/samples/rng/library" uri="../rng/library.rng"/>
4+
<uri name="http://example.com/samples/schema" uri="../schema/example.xsd"/>
5+
<system systemId="http://example.com/samples/dtd/library" uri="../dtd/sample.dtd"/>
6+
</catalog>

samples/tsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,15 @@
1111
"esModuleInterop": true,
1212
"allowSyntheticDefaultImports": true,
1313
"noEmitOnError": true,
14-
"sourceMap": false
14+
"sourceMap": false,
15+
"types": [
16+
"node"
17+
]
1518
},
1619
"include": [
1720
"*.ts"
1821
],
1922
"exclude": [
2023
"dist"
2124
]
22-
}
25+
}

0 commit comments

Comments
 (0)