Skip to content

Commit 3e44098

Browse files
authored
Merge pull request #214 from mkslanc/spell-checker
Ace Spell checker
2 parents 2f8bfc4 + fa5fc78 commit 3e44098

File tree

147 files changed

+44557
-514
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+44557
-514
lines changed

.github/workflows/pr-ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,12 @@ jobs:
3737
- run: npm run build
3838
- run: npm run test:unit -w packages/ace-linters
3939
- run: |
40-
# Copy Build Files for UI Tests
41-
mkdir -p packages/ace-linters/tests/ui/dist/build
42-
cp -r packages/ace-linters/build/* packages/ace-linters/tests/ui/dist/build/
40+
npm run prepare:ui-smoke
4341
44-
npx http-server --cors='*' packages/ace-linters/tests/ui/dist &
42+
npx http-server --cors='*' tests/ui-smoke/dist &
4543
sleep 5
4644
47-
npm run test:ui -w packages/ace-linters
45+
npm run test:ui:smoke
4846
4947
# TODO upload to codecov
5048
# - uses: codecov/codecov-action@v3

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
tests/ui-smoke/dist

.mocharc.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 952 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
22
"name": "ace-linters-root",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"scripts": {
55
"build:parts": "npm run build -ws",
66
"build": "npm run build:parts && vite build",
7-
"start-dev": "vite"
7+
"start-dev": "vite",
8+
"prepare:ui-smoke": "node tools/prepare-ui-smoke-dist.js",
9+
"start-test-server:ui-smoke": "npm run prepare:ui-smoke && http-server --cors='*' tests/ui-smoke/dist",
10+
"test:ui:smoke": "mocha --exit"
811
},
912
"dependencies": {
1013
"ace-layout": "^1.5.0",
1114
"ace-code": "^1.43.6",
15+
"ace-builds": "^1.43.6",
1216
"jsonc-parser": "latest",
1317
"typescript": "^5.8.3"
1418
},

packages/ace-linters/mocha.ui.config.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/ace-linters/mocha.unit.config.js

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ace-linters/package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ace-linters",
33
"author": "Azat Alimov <mkslanc@gmail.com>",
4-
"version": "2.0.0",
4+
"version": "2.1.0",
55
"scripts": {
66
"clean": "rimraf build",
77
"postbuild": "node postbuild.js",
@@ -10,11 +10,8 @@
1010
"build:dependencies": "npm run build:yaml-language-server && npm run build:eslint-linter-bundle",
1111
"build": "npm run build:dependencies && node build.mjs",
1212
"build-dev": "npm run build:dependencies && node build.mjs --dev",
13-
"copy-build": "node tools/copy-build-for-tests.js",
14-
"start-test-server": "npm run copy-build && http-server --cors='*' tests/ui/dist",
1513
"test:unit": "mocha --config mocha.unit.config.js --exit",
16-
"test:ui": "mocha --config mocha.ui.config.js --exit",
17-
"test": "npm run test:unit && npm run test:ui",
14+
"test": "npm run test:unit",
1815
"test:coverage": "nyc npm run test",
1916
"start-server": "http-server build --cors=\"*\"",
2017
"generate-typescript-service": "node tools/generate-typescript-service.js"
@@ -90,4 +87,4 @@
9087
"error-checking",
9188
"intellisense"
9289
]
93-
}
90+
}

0 commit comments

Comments
 (0)