mirror of
https://github.com/brucificus/vb6-antlr4-typescript.git
synced 2025-12-16 11:57:03 +03:00
⬆️ Upgrades NodeJS and TypeScript Versions
This commit is contained in:
4
.github/workflows/pull_request_checks.yml
vendored
4
.github/workflows/pull_request_checks.yml
vendored
@@ -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: |
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -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: |
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module.exports = {
|
||||
export default {
|
||||
extends: ["./node_modules/commitlint-config-gitmoji"],
|
||||
parserPreset: {
|
||||
parserOpts: {
|
||||
|
||||
@@ -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
20025
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
23
package.json
23
package.json
@@ -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": {
|
||||
|
||||
@@ -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/**"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user