@salesforce/apex-tmlanguage 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -5
  2. package/package.json +6 -8
package/README.md CHANGED
@@ -1,6 +1,5 @@
1
1
  # Salesforce Apex Language Grammar
2
2
 
3
- [![CircleCI](https://circleci.com/gh/forcedotcom/apex-tmLanguage.svg?style=svg)](https://circleci.com/gh/forcedotcom/apex-tmLanguage)
4
3
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
5
4
 
6
5
  ## Introduction
@@ -15,9 +14,9 @@ Development and setup of this project has not been tested for Windows OS. You ma
15
14
 
16
15
  To **build and test** install Node.js do the following:
17
16
 
18
- - Run `npm install` to install any dependencies.
19
- - Run `gulp` to build.
20
- - Run `npm run test` to run tests.
17
+ - Run `yarn install` to install any dependencies.
18
+ - Run `yarn run build` to build using gulp.
19
+ - Run `yarn run test` to run tests.
21
20
 
22
21
  Output grammars are output in the `grammars/` directory.
23
22
 
@@ -54,7 +53,7 @@ The example-\* queries were taken from [Example SELECT clauses](https://develope
54
53
 
55
54
  ## Releasing
56
55
 
57
- Tags on this repo get automatically published as a GitHub release and an NPM package through Travis CI.
56
+ Merges to main on this repo with commits of type 'feat' or 'fix' get automatically published as a GitHub release and an NPM package through Github Actions.
58
57
 
59
58
  ## Attribution
60
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/apex-tmlanguage",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "Textmate grammar for Apex with outputs for VSCode, Atom and TextMate.",
5
5
  "displayName": "apex-tmLanguage",
6
6
  "keywords": [
@@ -31,13 +31,14 @@
31
31
  }
32
32
  ],
33
33
  "scripts": {
34
+ "build": "gulp",
34
35
  "compile": "node ./node_modules/typescript/bin/tsc -p .",
35
36
  "commit-init": "commitizen init cz-conventional-changelog --save-dev --save-exact --force",
36
37
  "commit": "git-cz",
37
38
  "watch": "node ./node_modules/typescript/bin/tsc -w -p .",
38
- "test:soql-tmgrammar": "vscode-tmgrammar-test -s source.soql -g ./grammars/soql.tmLanguage -t './test/soql/*.soql'",
39
- "test:soql-tmgrammar-snapshots": "vscode-tmgrammar-snap -s source.soql -g ./grammars/soql.tmLanguage -t './test/soql/snapshots/*.soql'",
40
- "test": "gulp test; npm run test:soql-tmgrammar; npm run test:soql-tmgrammar-snapshots",
39
+ "test:soql-tmgrammar": "vscode-tmgrammar-test -s source.soql -g \"./grammars/soql.tmLanguage\" -t \"./test/soql/*.soql\" ",
40
+ "test:soql-tmgrammar-snapshots": "vscode-tmgrammar-snap -s source.soql -g \"./grammars/soql.tmLanguage\" -t \"./test/soql/snapshots/*.soql\" ",
41
+ "test": "gulp test && yarn run test:soql-tmgrammar && yarn run test:soql-tmgrammar-snapshots",
41
42
  "prepare": "gulp",
42
43
  "build:default": "gulp default",
43
44
  "format": "prettier --config .prettierrc.json --write './**/*.{ts,js,json,md}'"
@@ -72,9 +73,6 @@
72
73
  "vscode-textmate": "4.4.0",
73
74
  "vscode-tmgrammar-test": "^0.0.10"
74
75
  },
75
- "volta": {
76
- "node": "12.18.4"
77
- },
78
76
  "husky": {
79
77
  "hooks": {
80
78
  "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
@@ -85,4 +83,4 @@
85
83
  "path": "./node_modules/cz-conventional-changelog"
86
84
  }
87
85
  }
88
- }
86
+ }