⬆️ Upgrades NodeJS and TypeScript Versions

This commit is contained in:
Bruce Markham
2023-12-10 18:28:03 -05:00
parent 33029887cb
commit 2984249340
7 changed files with 11091 additions and 8982 deletions

View File

@@ -22,10 +22,10 @@ jobs:
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Use Node.js 12.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
- name: npm ci
run: |

View File

@@ -23,10 +23,10 @@ jobs:
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Use Node.js 12.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
- name: npm ci
run: |

View File

@@ -1,4 +1,4 @@
module.exports = {
export default {
extends: ["./node_modules/commitlint-config-gitmoji"],
parserPreset: {
parserOpts: {

View File

@@ -1,4 +1,4 @@
module.exports = {
export default {
transform: {'^.+\\.ts?$': 'ts-jest'},
testEnvironment: 'node',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',

20025
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,6 @@
{
"name": "vb6-antlr4",
"type": "module",
"version": "1.0.50",
"description": "A Visual Basic 6 lexer & parser that provides both visitor and listener patterns to traverse the parse tree.",
"files": [
@@ -7,10 +8,11 @@
],
"main": "lib/index.js",
"scripts": {
"prepare": "husky install",
"test": "jest",
"build.cpygrammars": "cpy proleap-vb6/src/main/antlr4/io/proleap/vb6/*.g4 ./antlr4ts_out/",
"build.antlr4ts": "antlr4ts -visitor antlr4ts_out/*.g4",
"postbuild.antlr4ts": "rimraf antlr4ts_out/*.g4",
"postbuild.antlr4ts": "rimraf --glob antlr4ts_out/*.g4",
"build.tsc": "tsc",
"build": "npm run build.cpygrammars && npm run build.antlr4ts && npm run build.tsc",
"prepublishOnly": "npm run build && npm run test",
@@ -39,24 +41,25 @@
"antlr4ts"
],
"devDependencies": {
"@commitlint/core": "^17.7.2",
"@commitlint/core": "^17.8.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.1",
"@types/jest": "^29.5.5",
"antlr4ts-cli": "^0.5.0-alpha.3",
"commitlint-config-gitmoji": "^2.1.2",
"@semantic-release/github": "^9.2.5",
"@tsconfig/node16": "^16.1.1",
"@types/jest": "^29.5.11",
"antlr4ts-cli": "^0.5.0-alpha.4",
"commitlint-config-gitmoji": "^2.3.1",
"cpy-cli": "^5.0.0",
"cz-gitmoji": "0.0.7",
"husky": "^8.0.3",
"jest": "^29.7.0",
"rimraf": "^5.0.5",
"semantic-release": "^22.0.5",
"semantic-release": "^22.0.10",
"semantic-release-gitmoji": "^1.3.3",
"ts-jest": "^25.3.1",
"typescript": "^3.8.3"
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"dependencies": {
"antlr4ts": "^0.5.0-alpha.3"
"antlr4ts": "^0.5.0-alpha.4"
},
"config": {
"commitizen": {

View File

@@ -1,12 +1,15 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"declaration": true,
"module": "CommonJS",
"moduleResolution": "Node10",
"outDir": "./lib",
"strict": true,
"esModuleInterop": true
"declaration": true,
"sourceMap": true,
},
"include": ["index.ts", "antlr4ts_out"],
"exclude": ["node_modules", "proleap-vb6", "tests/**"]
}