Skip to content

Commit

Permalink
package 14.09.23
Browse files Browse the repository at this point in the history
  • Loading branch information
sokomari committed Sep 14, 2023
1 parent 1ff66a8 commit 497ac93
Show file tree
Hide file tree
Showing 84 changed files with 1,331 additions and 513 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.25.0](https://github.com/ajaxorg/ace/compare/v1.24.2...v1.25.0) (2023-09-14)


### Features

* Add syntax highlighting for PRQL ([#5307](https://github.com/ajaxorg/ace/issues/5307)) ([24862cd](https://github.com/ajaxorg/ace/commit/24862cdc83694bbe541c6f8be6fbaaff80d44bf7))

### [1.24.2](https://github.com/ajaxorg/ace/compare/v1.24.1...v1.24.2) (2023-09-08)


Expand Down
3 changes: 3 additions & 0 deletions ace-modules.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ declare module 'ace-builds/src-noconflict/ext-prompt';
declare module 'ace-builds/src-noconflict/ext-rtl';
declare module 'ace-builds/src-noconflict/ext-searchbox';
declare module 'ace-builds/src-noconflict/ext-settings_menu';
declare module 'ace-builds/src-noconflict/ext-simple_tokenizer';
declare module 'ace-builds/src-noconflict/ext-spellcheck';
declare module 'ace-builds/src-noconflict/ext-split';
declare module 'ace-builds/src-noconflict/ext-static_highlight';
Expand Down Expand Up @@ -157,6 +158,7 @@ declare module 'ace-builds/src-noconflict/mode-prisma';
declare module 'ace-builds/src-noconflict/mode-prolog';
declare module 'ace-builds/src-noconflict/mode-properties';
declare module 'ace-builds/src-noconflict/mode-protobuf';
declare module 'ace-builds/src-noconflict/mode-prql';
declare module 'ace-builds/src-noconflict/mode-puppet';
declare module 'ace-builds/src-noconflict/mode-python';
declare module 'ace-builds/src-noconflict/mode-qml';
Expand Down Expand Up @@ -386,6 +388,7 @@ declare module 'ace-builds/src-noconflict/snippets/prisma';
declare module 'ace-builds/src-noconflict/snippets/prolog';
declare module 'ace-builds/src-noconflict/snippets/properties';
declare module 'ace-builds/src-noconflict/snippets/protobuf';
declare module 'ace-builds/src-noconflict/snippets/prql';
declare module 'ace-builds/src-noconflict/snippets/puppet';
declare module 'ace-builds/src-noconflict/snippets/python';
declare module 'ace-builds/src-noconflict/snippets/qml';
Expand Down
1 change: 1 addition & 0 deletions ace.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// <reference path="./ace-modules.d.ts" />



export namespace Ace {
export type NewLineMode = 'auto' | 'unix' | 'windows';

Expand Down
1 change: 1 addition & 0 deletions demo/kitchen-sink/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1703,6 +1703,7 @@ var supportedModes = {
Prolog: ["plg|prolog"],
Properties: ["properties"],
Protobuf: ["proto"],
PRQL: ["prql"],
Puppet: ["epp|pp"],
Python: ["py"],
QML: ["qml"],
Expand Down
22 changes: 22 additions & 0 deletions demo/kitchen-sink/docs/prql.prql
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from invoices
filter invoice_date >= @1970-01-16
derive {
transaction_fees = 0.8,
income = total - transaction_fees
}
filter income > 1
group customer_id (
aggregate {
average total,
sum_income = sum income,
ct = count total,
}
)
sort {-sum_income}
take 10
join c=customers (==customer_id)
derive name = f"{c.last_name}, {c.first_name}"
select {
c.customer_id, name, sum_income
}
derive db_version = s"version()"
3 changes: 3 additions & 0 deletions esm-resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ace.config.setModuleLoader('ace/ext/prompt', () => import('./src-noconflict/ext-
ace.config.setModuleLoader('ace/ext/rtl', () => import('./src-noconflict/ext-rtl.js'));
ace.config.setModuleLoader('ace/ext/searchbox', () => import('./src-noconflict/ext-searchbox.js'));
ace.config.setModuleLoader('ace/ext/settings_menu', () => import('./src-noconflict/ext-settings_menu.js'));
ace.config.setModuleLoader('ace/ext/simple_tokenizer', () => import('./src-noconflict/ext-simple_tokenizer.js'));
ace.config.setModuleLoader('ace/ext/spellcheck', () => import('./src-noconflict/ext-spellcheck.js'));
ace.config.setModuleLoader('ace/ext/split', () => import('./src-noconflict/ext-split.js'));
ace.config.setModuleLoader('ace/ext/static_highlight', () => import('./src-noconflict/ext-static_highlight.js'));
Expand Down Expand Up @@ -154,6 +155,7 @@ ace.config.setModuleLoader('ace/mode/prisma', () => import('./src-noconflict/mod
ace.config.setModuleLoader('ace/mode/prolog', () => import('./src-noconflict/mode-prolog.js'));
ace.config.setModuleLoader('ace/mode/properties', () => import('./src-noconflict/mode-properties.js'));
ace.config.setModuleLoader('ace/mode/protobuf', () => import('./src-noconflict/mode-protobuf.js'));
ace.config.setModuleLoader('ace/mode/prql', () => import('./src-noconflict/mode-prql.js'));
ace.config.setModuleLoader('ace/mode/puppet', () => import('./src-noconflict/mode-puppet.js'));
ace.config.setModuleLoader('ace/mode/python', () => import('./src-noconflict/mode-python.js'));
ace.config.setModuleLoader('ace/mode/qml', () => import('./src-noconflict/mode-qml.js'));
Expand Down Expand Up @@ -394,6 +396,7 @@ ace.config.setModuleLoader('ace/snippets/prisma', () => import('./src-noconflict
ace.config.setModuleLoader('ace/snippets/prolog', () => import('./src-noconflict/snippets/prolog.js'));
ace.config.setModuleLoader('ace/snippets/properties', () => import('./src-noconflict/snippets/properties.js'));
ace.config.setModuleLoader('ace/snippets/protobuf', () => import('./src-noconflict/snippets/protobuf.js'));
ace.config.setModuleLoader('ace/snippets/prql', () => import('./src-noconflict/snippets/prql.js'));
ace.config.setModuleLoader('ace/snippets/puppet', () => import('./src-noconflict/snippets/puppet.js'));
ace.config.setModuleLoader('ace/snippets/python', () => import('./src-noconflict/snippets/python.js'));
ace.config.setModuleLoader('ace/snippets/qml', () => import('./src-noconflict/snippets/qml.js'));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ace-builds",
"main": "./src-noconflict/ace.js",
"typings": "ace.d.ts",
"version": "1.24.2",
"version": "1.25.0",
"description": "Ace (Ajax.org Cloud9 Editor)",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
2 changes: 1 addition & 1 deletion src-min-noconflict/ace.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-modelist.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 497ac93

Please sign in to comment.