@atlaskit/prosemirror-input-rules 3.2.3 → 3.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/prosemirror-input-rules
2
2
 
3
+ ## 3.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
8
+ [`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
9
+ Bumped editor-prosemirror version to 7.0.0
10
+
3
11
  ## 3.2.3
4
12
 
5
13
  ### Patch Changes
@@ -0,0 +1,20 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.post-office.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../post-office/tsDist/@atlaskit__prosemirror-input-rules/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": []
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/prosemirror-input-rules",
3
- "version": "3.2.3",
3
+ "version": "3.3.0",
4
4
  "description": "A package that contains helpers to create autoformatting rules for ProseMirror",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,11 +27,11 @@
27
27
  "singleton": true
28
28
  },
29
29
  "dependencies": {
30
- "@atlaskit/editor-prosemirror": "6.2.1",
30
+ "@atlaskit/editor-prosemirror": "7.0.0",
31
31
  "@babel/runtime": "^7.0.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@atlaskit/editor-common": "^96.3.0"
34
+ "@atlaskit/editor-common": "^99.10.0"
35
35
  },
36
36
  "techstack": {
37
37
  "@atlassian/frontend": {
@@ -41,6 +41,8 @@ describe('input-tule/handles/createInputEventHandler', () => {
41
41
  });
42
42
 
43
43
  RULE_BEFORE = {
44
+ // Ignored via go/ees005
45
+ // eslint-disable-next-line require-unicode-regexp
44
46
  match: /^(before).*/,
45
47
  handler: ruleHandlerMock,
46
48
  };
@@ -92,6 +94,8 @@ describe('input-tule/handles/createInputEventHandler', () => {
92
94
  let inputHandleResult: boolean;
93
95
  beforeEach(() => {
94
96
  const RULE_AFTER = {
97
+ // Ignored via go/ees005
98
+ // eslint-disable-next-line require-unicode-regexp
95
99
  match: /^(after).*/,
96
100
  handler: jest.fn().mockImplementation((state) => {
97
101
  return state.tr;
@@ -40,6 +40,8 @@ describe('input-tule/plugin/createInputRulePlugin', () => {
40
40
  return state.tr;
41
41
  });
42
42
 
43
+ // Ignored via go/ees005
44
+ // eslint-disable-next-line require-unicode-regexp
43
45
  const INLINE_CODE_REGEX = /(\S*)(`[^\s][^`]*`)$/;
44
46
  const myCustomInputRule = new SafePlugin(
45
47
  createInputRulePlugin(
@@ -106,6 +108,8 @@ describe('input-tule/plugin/createInputRulePlugin', () => {
106
108
  return state.tr;
107
109
  });
108
110
 
111
+ // Ignored via go/ees005
112
+ // eslint-disable-next-line require-unicode-regexp
109
113
  const CODE_BLOCK_REGEX = /(?!\s)(`{3,})/;
110
114
  const myCustomInputRule = new SafePlugin(
111
115
  createInputRulePlugin(
package/tsconfig.app.json CHANGED
@@ -27,7 +27,6 @@
27
27
  "**/codemods/**/*.tsx"
28
28
  ],
29
29
  "compilerOptions": {
30
- "baseUrl": "./",
31
30
  "composite": true,
32
31
  "outDir": "../../../tsDist/@atlaskit__prosemirror-input-rules/app"
33
32
  },
package/tsconfig.dev.json CHANGED
@@ -27,7 +27,6 @@
27
27
  ],
28
28
  "exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
29
29
  "compilerOptions": {
30
- "baseUrl": "./",
31
30
  "composite": true,
32
31
  "outDir": "../../../tsDist/@atlaskit__prosemirror-input-rules/dev"
33
32
  },
package/tsconfig.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "extends": "../../../tsconfig.json",
3
3
  "compilerOptions": {
4
- "baseUrl": "./"
5
4
  },
6
5
  "include": [
7
6
  "src/**/*.ts",