@salesforce/apex-tmlanguage 1.8.0 → 1.8.1

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.
@@ -382,7 +382,7 @@
382
382
  </dict>
383
383
  </dict>
384
384
  <key>end</key>
385
- <string>(?&lt;=\)|$)</string>
385
+ <string>(?=\s(?!\())|(?=\s*$)|(?&lt;=\s*\))</string>
386
386
  <key>patterns</key>
387
387
  <array>
388
388
  <dict>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/apex-tmlanguage",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Textmate grammar for Apex with outputs for VSCode, Atom and TextMate.",
5
5
  "displayName": "apex-tmLanguage",
6
6
  "keywords": [
@@ -31,16 +31,18 @@
31
31
  }
32
32
  ],
33
33
  "scripts": {
34
- "build": "gulp",
35
- "compile": "node ./node_modules/typescript/bin/tsc -p .",
34
+ "build:grammars": "node scripts/build-grammars.js",
35
+ "build:atom": "node scripts/build-atom.js",
36
+ "build:soql": "node scripts/build-soql.js",
37
+ "build": "npm run build:grammars && npm run build:atom && npm run build:soql",
38
+ "compile": "tsc -p .",
36
39
  "commit-init": "commitizen init cz-conventional-changelog --save-dev --save-exact --force",
37
40
  "commit": "git-cz",
38
- "watch": "node ./node_modules/typescript/bin/tsc -w -p .",
41
+ "watch": "tsc -w -p .",
39
42
  "test:soql-tmgrammar": "vscode-tmgrammar-test -g \"./grammars/soql.tmLanguage\" \"./test/soql/*.soql\" ",
40
43
  "test:soql-tmgrammar-snapshots": "vscode-tmgrammar-snap -s source.soql -g \"./grammars/soql.tmLanguage\" \"./test/soql/snapshots/*.soql\" ",
41
- "test": "gulp test && yarn run test:soql-tmgrammar && yarn run test:soql-tmgrammar-snapshots",
42
- "prepare": "gulp",
43
- "build:default": "gulp default",
44
+ "test": "npm run compile && mocha out/test/**/*.tests.js && npm run test:soql-tmgrammar && npm run test:soql-tmgrammar-snapshots",
45
+ "prepare": "npm run build",
44
46
  "format": "prettier --config .prettierrc.json --write './**/*.{ts,js,json,md}'"
45
47
  },
46
48
  "files": [
@@ -55,23 +57,18 @@
55
57
  "@commitlint/cli": "^17",
56
58
  "@commitlint/config-conventional": "^17",
57
59
  "@types/chai": "4.3.4",
58
- "@types/gulp": "^4.0.10",
59
- "@types/mocha": "^10.0.1",
60
+ "@types/mocha": "^10.0.10",
60
61
  "chai": "^4.3.7",
61
- "commitizen": "^4.2.5",
62
+ "commitizen": "^4.3.1",
63
+ "cson-parser": "^4.0.9",
62
64
  "cz-conventional-changelog": "^3.3.0",
63
- "gulp": "4.0.2",
64
- "gulp-json2cson": "^2.0.0",
65
- "gulp-mocha": "^8.0.0",
66
- "gulp-typescript": "^5.0.1",
67
- "gulp-yaml": "^2.0.4",
68
65
  "js-yaml": "^4.1.0",
69
66
  "mocha": "^10.1.0",
70
- "plist": "^3.0.6",
67
+ "plist": "^3.1.0",
71
68
  "prettier": "^2.8.0",
72
69
  "typescript": "4.9.3",
73
- "vscode-textmate": "7.0.4",
74
- "vscode-tmgrammar-test": "^0.1.1"
70
+ "vscode-textmate": "^9.2.0",
71
+ "vscode-tmgrammar-test": "^0.1.3"
75
72
  },
76
73
  "husky": {
77
74
  "hooks": {