@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.
- package/README.md +4 -5
- package/package.json +6 -8
package/README.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# Salesforce Apex Language Grammar
|
|
2
2
|
|
|
3
|
-
[](https://circleci.com/gh/forcedotcom/apex-tmLanguage)
|
|
4
3
|
[](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 `
|
|
19
|
-
- Run `
|
|
20
|
-
- Run `
|
|
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
|
-
|
|
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.
|
|
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
|
|
39
|
-
"test:soql-tmgrammar-snapshots": "vscode-tmgrammar-snap -s source.soql -g ./grammars/soql.tmLanguage -t
|
|
40
|
-
"test": "gulp test
|
|
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
|
+
}
|