@atlaskit/editor-plugin-autocomplete 0.1.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.
@@ -0,0 +1,29 @@
1
+ {
2
+ "extends": "../../../../tsconfig.local-consumption.json",
3
+ "compilerOptions": {
4
+ "target": "es5",
5
+ "outDir": "../../../../../confluence/tsDist/@atlaskit__editor-plugin-autocomplete",
6
+ "rootDir": "../",
7
+ "composite": true,
8
+ "noCheck": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/mocks/*",
19
+ "../src/**/examples.*"
20
+ ],
21
+ "references": [
22
+ {
23
+ "path": "../../editor-prosemirror/afm-cc/tsconfig.json"
24
+ },
25
+ {
26
+ "path": "../../editor-common/afm-cc/tsconfig.json"
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "extends": "../../../../tsconfig.local-consumption.json",
3
+ "compilerOptions": {
4
+ "target": "es5",
5
+ "outDir": "../../../../../jira/tsDist/@atlaskit__editor-plugin-autocomplete/app",
6
+ "rootDir": "../",
7
+ "composite": true,
8
+ "noCheck": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/mocks/*",
19
+ "../src/**/examples.*"
20
+ ],
21
+ "references": [
22
+ {
23
+ "path": "../../editor-prosemirror/afm-jira/tsconfig.json"
24
+ },
25
+ {
26
+ "path": "../../editor-common/afm-jira/tsconfig.json"
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "extends": "../../../../tsconfig.local-consumption.json",
3
+ "compilerOptions": {
4
+ "target": "es5",
5
+ "outDir": "../../../../../tsDist/@atlaskit__editor-plugin-autocomplete/app",
6
+ "rootDir": "../",
7
+ "composite": true,
8
+ "noCheck": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/mocks/*",
19
+ "../src/**/examples.*"
20
+ ],
21
+ "references": [
22
+ {
23
+ "path": "../../editor-prosemirror/afm-products/tsconfig.json"
24
+ },
25
+ {
26
+ "path": "../../editor-common/afm-products/tsconfig.json"
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.autocompletePlugin = void 0;
7
+ // This file will contain the autocomplete plugin implementation.
8
+ // The full implementation will be added in a follow-up PR.
9
+
10
+ var autocompletePlugin = exports.autocompletePlugin = function autocompletePlugin() {
11
+ return {
12
+ name: 'autocomplete'
13
+ };
14
+ };
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "autocompletePlugin", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _autocompletePlugin.autocompletePlugin;
10
+ }
11
+ });
12
+ var _autocompletePlugin = require("./autocompletePlugin");
@@ -0,0 +1,6 @@
1
+ // This file will contain the autocomplete plugin implementation.
2
+ // The full implementation will be added in a follow-up PR.
3
+
4
+ export const autocompletePlugin = () => ({
5
+ name: 'autocomplete'
6
+ });
File without changes
@@ -0,0 +1,4 @@
1
+ // Disable no-re-export rule for entry point files
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
3
+
4
+ export { autocompletePlugin } from './autocompletePlugin';
@@ -0,0 +1,8 @@
1
+ // This file will contain the autocomplete plugin implementation.
2
+ // The full implementation will be added in a follow-up PR.
3
+
4
+ export var autocompletePlugin = function autocompletePlugin() {
5
+ return {
6
+ name: 'autocomplete'
7
+ };
8
+ };
File without changes
@@ -0,0 +1,4 @@
1
+ // Disable no-re-export rule for entry point files
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
3
+
4
+ export { autocompletePlugin } from './autocompletePlugin';
@@ -0,0 +1,2 @@
1
+ import type { AutocompletePlugin } from './autocompletePluginType';
2
+ export declare const autocompletePlugin: AutocompletePlugin;
@@ -0,0 +1,3 @@
1
+ export type AutocompletePlugin = () => {
2
+ name: 'autocomplete';
3
+ };
@@ -0,0 +1,2 @@
1
+ export { autocompletePlugin } from './autocompletePlugin';
2
+ export type { AutocompletePlugin } from './autocompletePluginType';
@@ -0,0 +1,2 @@
1
+ import type { AutocompletePlugin } from './autocompletePluginType';
2
+ export declare const autocompletePlugin: AutocompletePlugin;
@@ -0,0 +1,3 @@
1
+ export type AutocompletePlugin = () => {
2
+ name: 'autocomplete';
3
+ };
@@ -0,0 +1,2 @@
1
+ export { autocompletePlugin } from './autocompletePlugin';
2
+ export type { AutocompletePlugin } from './autocompletePluginType';
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-autocomplete",
3
+ "version": "0.1.0",
4
+ "description": "Client-side text autocomplete plugin for @atlaskit/editor-core",
5
+ "author": "Atlassian Pty Ltd",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "atlassian": {
11
+ "team": "Editor: AI",
12
+ "singleton": true
13
+ },
14
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
15
+ "main": "dist/cjs/index.js",
16
+ "module": "dist/esm/index.js",
17
+ "module:es2019": "dist/es2019/index.js",
18
+ "types": "dist/types/index.d.ts",
19
+ "typesVersions": {
20
+ ">=4.5 <4.9": {
21
+ "*": [
22
+ "dist/types-ts4.5/*",
23
+ "dist/types-ts4.5/index.d.ts"
24
+ ]
25
+ }
26
+ },
27
+ "sideEffects": false,
28
+ "atlaskit:src": "src/index.ts",
29
+ "dependencies": {
30
+ "@atlaskit/editor-prosemirror": "^7.3.0",
31
+ "@babel/runtime": "^7.0.0",
32
+ "compromise": "^14.15.0",
33
+ "wink-nlp": "^2.4.0"
34
+ },
35
+ "peerDependencies": {
36
+ "@atlaskit/editor-common": "^112.14.0",
37
+ "react": "^18.2.0"
38
+ },
39
+ "techstack": {
40
+ "@atlassian/frontend": {
41
+ "code-structure": [
42
+ "editor-plugin"
43
+ ],
44
+ "import-structure": [
45
+ "atlassian-conventions"
46
+ ],
47
+ "circular-dependencies": [
48
+ "file-and-folder-level"
49
+ ]
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,7 @@
1
+ // This file will contain the autocomplete plugin implementation.
2
+ // The full implementation will be added in a follow-up PR.
3
+ import type { AutocompletePlugin } from './autocompletePluginType';
4
+
5
+ export const autocompletePlugin: AutocompletePlugin = () => ({
6
+ name: 'autocomplete',
7
+ });
@@ -0,0 +1,3 @@
1
+ // This file will contain the autocomplete plugin type definitions.
2
+ // The full implementation will be added in a follow-up PR.
3
+ export type AutocompletePlugin = () => { name: 'autocomplete' };
package/src/index.ts ADDED
@@ -0,0 +1,5 @@
1
+ // Disable no-re-export rule for entry point files
2
+ /* eslint-disable @atlaskit/editor/no-re-export */
3
+
4
+ export { autocompletePlugin } from './autocompletePlugin';
5
+ export type { AutocompletePlugin } from './autocompletePluginType';
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03c9d78af2f6f46c26b205bb2484930b04e4412733c3706160143bdef5c79b8b
3
+ size 787910
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8357bafa20d1c275be5190513664e221d9fe3c1cbdb300383017232e1dd7891
3
+ size 2007
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dec31b92f8621c1ffe36f2b21b56a8973e0b1a80c7a56498ad328bd022fd06c
3
+ size 1660
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6486ead03ffdb5dd00ed249a00558b16885e8f524719489e6b25843d3f7f2437
3
+ size 276828
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d37b41072a718c10ae985594b14f26fbcf29f5b782c28908627771be0639c22
3
+ size 698832
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f325bfca168b4c4c66ba1ff9d8f91eda78bafc6cc297e660804895904dec24a
3
+ size 11916288
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce8cf412d205937baf1a3fd09eb03a359acf553521e36e55b7305ff556e9a333
3
+ size 154162
@@ -0,0 +1,34 @@
1
+ {
2
+ "extends": "../../../tsconfig.base.json",
3
+ "include": ["./src/**/*.ts", "./src/**/*.tsx"],
4
+ "exclude": [
5
+ "**/docs/**/*",
6
+ "**/__tests__/**/*",
7
+ "**/vr-tests/**/*",
8
+ "**/__perf__/**/*",
9
+ "**/*.test.*",
10
+ "**/test.*",
11
+ "**/test-*",
12
+ "**/examples.ts",
13
+ "**/examples.tsx",
14
+ "**/examples/*.ts",
15
+ "**/examples/*.tsx",
16
+ "**/examples/**/*.ts",
17
+ "**/examples/**/*.tsx",
18
+ "**/storybook/**/*",
19
+ "**/constellation/**/*",
20
+ ".storybook/*",
21
+ "./__fixtures__/**/*",
22
+ "./__generated__/**/*",
23
+ "./mocks/**/*",
24
+ "./__mocks__/**/*",
25
+ "**/mock.*",
26
+ "**/codemods/**/*.ts",
27
+ "**/codemods/**/*.tsx"
28
+ ],
29
+ "compilerOptions": {
30
+ "composite": true,
31
+ "outDir": "../../../tsDist/@atlaskit__editor-plugin-autocomplete/app"
32
+ },
33
+ "references": []
34
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "extends": "../../../tsconfig.base.json",
3
+ "include": [
4
+ "**/docs/**/*",
5
+ "**/__tests__/**/*",
6
+ "**/vr-tests/**/*",
7
+ "**/__perf__/**/*",
8
+ "**/*.test.*",
9
+ "**/test.*",
10
+ "**/test-*",
11
+ "**/examples.ts",
12
+ "**/examples.tsx",
13
+ "**/examples/*.ts",
14
+ "**/examples/*.tsx",
15
+ "**/examples/**/*.ts",
16
+ "**/examples/**/*.tsx",
17
+ "**/storybook/**/*",
18
+ "**/constellation/**/*",
19
+ ".storybook/*",
20
+ "./__fixtures__/**/*",
21
+ "./__generated__/**/*",
22
+ "./mocks/**/*",
23
+ "./__mocks__/**/*",
24
+ "**/mock.*",
25
+ "**/codemods/**/*.ts",
26
+ "**/codemods/**/*.tsx"
27
+ ],
28
+ "exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
29
+ "compilerOptions": {
30
+ "composite": true,
31
+ "outDir": "../../../tsDist/@atlaskit__editor-plugin-autocomplete/dev"
32
+ },
33
+ "references": [
34
+ {
35
+ "path": "./tsconfig.app.json"
36
+ }
37
+ ]
38
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "../../../tsconfig.json",
3
+ "include": [
4
+ "src/**/*.ts",
5
+ "src/**/*.tsx"
6
+ ],
7
+ "compilerOptions": {}
8
+ }