@copart/ops-tool-kit 1.13.0-beta.23 → 1.13.0-beta.24

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.
@@ -1,33 +1,33 @@
1
- /**
2
- * Webpack alias target for iframe-embedded portal apps.
3
- *
4
- * Point `@copart/ops-tool-kit` at this file and `ops-tool-kit-real` at the
5
- * installed package so existing app imports get bridge-backed storage, fetcher,
6
- * accessHelpers, and Crumb APIs without changing every file.
7
- *
8
- * alias: {
9
- * '@copart/ops-tool-kit': require.resolve('@copart/ops-tool-kit/iframe-webpack-facade'),
10
- * 'ops-tool-kit-real': path.resolve(__dirname, '../node_modules/@copart/ops-tool-kit'),
11
- * }
12
- *
13
- * Do not use `export *` here — it would re-export standalone storage/fetcher/Crumb
14
- * from the real package and fight the bridge overrides below.
15
- */
16
- import { iframeFacade } from 'ops-tool-kit-real'
17
-
18
- // Bridge-backed core (override standalone equivalents)
19
- export const storage = iframeFacade.storage
20
- export const fetcher = iframeFacade.fetcher
21
- export const accessHelpers = iframeFacade.accessHelpers
22
- export const Crumb = iframeFacade.Crumb
23
- export const CrumbProvider = iframeFacade.CrumbProvider
24
- export const useCrumbContext = iframeFacade.useCrumbContext
25
-
26
- // Iframe app public API — used by embedded apps
27
- export {
28
- bootstrapIframeApp,
29
- IframeAppShell,
30
- normalizeIframePath,
31
- buildNavCountEntry,
32
- postHistoryGo,
33
- } from 'ops-tool-kit-real'
1
+ /**
2
+ * Webpack alias target for iframe-embedded portal apps.
3
+ *
4
+ * Point `@copart/ops-tool-kit` at this file and `ops-tool-kit-real` at the
5
+ * installed package so existing app imports get bridge-backed storage, fetcher,
6
+ * accessHelpers, and Crumb APIs without changing every file.
7
+ *
8
+ * alias: {
9
+ * '@copart/ops-tool-kit': require.resolve('@copart/ops-tool-kit/iframe-webpack-facade'),
10
+ * 'ops-tool-kit-real': path.resolve(__dirname, '../node_modules/@copart/ops-tool-kit'),
11
+ * }
12
+ *
13
+ * Do not use `export *` here — it would re-export standalone storage/fetcher/Crumb
14
+ * from the real package and fight the bridge overrides below.
15
+ */
16
+ import { iframeFacade } from 'ops-tool-kit-real'
17
+
18
+ // Bridge-backed core (override standalone equivalents)
19
+ export const storage = iframeFacade.storage
20
+ export const fetcher = iframeFacade.fetcher
21
+ export const accessHelpers = iframeFacade.accessHelpers
22
+ export const Crumb = iframeFacade.Crumb
23
+ export const CrumbProvider = iframeFacade.CrumbProvider
24
+ export const useCrumbContext = iframeFacade.useCrumbContext
25
+
26
+ // Iframe app public API — used by embedded apps
27
+ export {
28
+ bootstrapIframeApp,
29
+ IframeAppShell,
30
+ normalizeIframePath,
31
+ buildNavCountEntry,
32
+ postHistoryGo,
33
+ } from 'ops-tool-kit-real'
package/package.json CHANGED
@@ -1,117 +1,117 @@
1
- {
2
- "name": "@copart/ops-tool-kit",
3
- "version": "1.13.0-beta.23",
4
- "main": "dist/ops-tool-kit.js",
5
- "style": "dist/ops-tool-kit.css",
6
- "files": [
7
- "dist",
8
- "bin",
9
- "iframe-webpack-facade.js"
10
- ],
11
- "bin": {
12
- "generate-build-meta": "./bin/cli.js"
13
- },
14
- "license": "MIT",
15
- "scripts": {
16
- "start": "yarn build --watch",
17
- "test": "babel-node node_modules/.bin/jest",
18
- "build": "rollup --config ./rollup.config.js",
19
- "prepublishOnly": "npm run build"
20
- },
21
- "devDependencies": {
22
- "@babel/cli": "7.1.2",
23
- "@babel/core": "7.1.2",
24
- "@babel/node": "7.0.0",
25
- "@babel/plugin-proposal-class-properties": "7.1.0",
26
- "@babel/plugin-proposal-decorators": "7.1.2",
27
- "@babel/plugin-proposal-export-namespace-from": "7.0.0",
28
- "@babel/plugin-proposal-logical-assignment-operators": "7.0.0",
29
- "@babel/plugin-proposal-optional-chaining": "^7.0.0",
30
- "@babel/plugin-syntax-dynamic-import": "^7.0.0",
31
- "@babel/plugin-proposal-pipeline-operator": "7.0.0",
32
- "@babel/plugin-transform-runtime": "7.1.0",
33
- "@babel/preset-env": "7.1.0",
34
- "@babel/preset-flow": "7.0.0",
35
- "@babel/preset-react": "7.0.0",
36
- "@babel/runtime": "7.0.0",
37
- "@rollup/plugin-babel": "^5.0.3",
38
- "@rollup/plugin-commonjs": "^13.0.0",
39
- "@rollup/plugin-image": "2.0.5",
40
- "@rollup/plugin-json": "^4.1.0",
41
- "@rollup/plugin-node-resolve": "^8.4.0",
42
- "autoprefixer": "9.4.2",
43
- "babel-jest": "23.6.0",
44
- "babel-loader": "8.0.4",
45
- "babel-plugin-dev-expression": "0.2.1",
46
- "babel-plugin-jsx-control-statements": "4.0.0",
47
- "babel-plugin-module-resolver": "3.1.1",
48
- "babel-plugin-react-css-modules": "5.0.0",
49
- "expect": "^23.6.0",
50
- "identity-obj-proxy": "3.0.0",
51
- "jest": "23.6.0",
52
- "jest-extended": "0.11.0",
53
- "jsome": "^2.5.0",
54
- "postcss-modules": "^3.2.0",
55
- "rollup": "^2.22.1",
56
- "rollup-plugin-analyzer": "^3.3.0",
57
- "rollup-plugin-filesize": "9.0.2",
58
- "rollup-plugin-postcss": "^3.1.3",
59
- "@rollup/plugin-replace": "5.0.5"
60
- },
61
- "peerDependencies": {
62
- "@copart/core-components": "2.3.0-alpha.filters.6",
63
- "react": "*",
64
- "react-router-dom": "^5.0.0 || ^6.0.0"
65
- },
66
- "dependencies": {
67
- "@reacting/purist": "0.1.0",
68
- "axios": "0.18.0",
69
- "create-react-context": "0.2.2",
70
- "crypto-js": "^4.0.0",
71
- "dompurify": "2.0.12",
72
- "flat": "4.1.0",
73
- "html2canvas": "^1.4.1",
74
- "invariant": "2.2.4",
75
- "jspdf": "3.0.1",
76
- "kind-of": "^6.0.2",
77
- "minimist": "^1.2.5",
78
- "nanoid": "1.1.0",
79
- "office-ui-fabric-react": "7.105.5",
80
- "querystringify": "^2.0.0",
81
- "ramda": "0.26.1",
82
- "react-modal": "3.11.2",
83
- "react-portal": "^4.2.0",
84
- "set-value": "^3.0.0",
85
- "storage-changed": "^2.0.0",
86
- "velocity-react": "1.4.3",
87
- "warning": "^4.0.1",
88
- "@wordpress/block-library": "5.0.1",
89
- "websocket": "^1.0.34",
90
- "react-tooltip": "^5.20.0"
91
- },
92
- "jest": {
93
- "setupTestFrameworkScriptFile": "./jest/setup.js",
94
- "automock": false,
95
- "browser": true,
96
- "verbose": true,
97
- "silent": false,
98
- "testMatch": [
99
- "**/_tests/*.t.js"
100
- ],
101
- "setupFiles": [
102
- "jest-localstorage-mock",
103
- "./jest/setup.js"
104
- ],
105
- "testPathIgnorePatterns": [
106
- "<rootDir>/node_modules/",
107
- "<rootDir>/.remmy/",
108
- "<rootDir>/old-src/"
109
- ],
110
- "moduleNameMapper": {
111
- "\\.(css|svg)": "identity-obj-proxy"
112
- },
113
- "transform": {
114
- ".+\\.js$": "babel-jest"
115
- }
116
- }
117
- }
1
+ {
2
+ "name": "@copart/ops-tool-kit",
3
+ "version": "1.13.0-beta.24",
4
+ "main": "dist/ops-tool-kit.js",
5
+ "style": "dist/ops-tool-kit.css",
6
+ "files": [
7
+ "dist",
8
+ "bin",
9
+ "iframe-webpack-facade.js"
10
+ ],
11
+ "bin": {
12
+ "generate-build-meta": "./bin/cli.js"
13
+ },
14
+ "license": "MIT",
15
+ "scripts": {
16
+ "start": "yarn build --watch",
17
+ "test": "babel-node node_modules/.bin/jest",
18
+ "build": "rollup --config ./rollup.config.js",
19
+ "prepublishOnly": "npm run build"
20
+ },
21
+ "devDependencies": {
22
+ "@babel/cli": "7.1.2",
23
+ "@babel/core": "7.1.2",
24
+ "@babel/node": "7.0.0",
25
+ "@babel/plugin-proposal-class-properties": "7.1.0",
26
+ "@babel/plugin-proposal-decorators": "7.1.2",
27
+ "@babel/plugin-proposal-export-namespace-from": "7.0.0",
28
+ "@babel/plugin-proposal-logical-assignment-operators": "7.0.0",
29
+ "@babel/plugin-proposal-optional-chaining": "^7.0.0",
30
+ "@babel/plugin-syntax-dynamic-import": "^7.0.0",
31
+ "@babel/plugin-proposal-pipeline-operator": "7.0.0",
32
+ "@babel/plugin-transform-runtime": "7.1.0",
33
+ "@babel/preset-env": "7.1.0",
34
+ "@babel/preset-flow": "7.0.0",
35
+ "@babel/preset-react": "7.0.0",
36
+ "@babel/runtime": "7.0.0",
37
+ "@rollup/plugin-babel": "^5.0.3",
38
+ "@rollup/plugin-commonjs": "^13.0.0",
39
+ "@rollup/plugin-image": "2.0.5",
40
+ "@rollup/plugin-json": "^4.1.0",
41
+ "@rollup/plugin-node-resolve": "^8.4.0",
42
+ "autoprefixer": "9.4.2",
43
+ "babel-jest": "23.6.0",
44
+ "babel-loader": "8.0.4",
45
+ "babel-plugin-dev-expression": "0.2.1",
46
+ "babel-plugin-jsx-control-statements": "4.0.0",
47
+ "babel-plugin-module-resolver": "3.1.1",
48
+ "babel-plugin-react-css-modules": "5.0.0",
49
+ "expect": "^23.6.0",
50
+ "identity-obj-proxy": "3.0.0",
51
+ "jest": "23.6.0",
52
+ "jest-extended": "0.11.0",
53
+ "jsome": "^2.5.0",
54
+ "postcss-modules": "^3.2.0",
55
+ "rollup": "^2.22.1",
56
+ "rollup-plugin-analyzer": "^3.3.0",
57
+ "rollup-plugin-filesize": "9.0.2",
58
+ "rollup-plugin-postcss": "^3.1.3",
59
+ "@rollup/plugin-replace": "5.0.5"
60
+ },
61
+ "peerDependencies": {
62
+ "@copart/core-components": "2.3.0-alpha.filters.6",
63
+ "react": "*",
64
+ "react-router-dom": "^5.0.0 || ^6.0.0"
65
+ },
66
+ "dependencies": {
67
+ "@reacting/purist": "0.1.0",
68
+ "axios": "0.18.0",
69
+ "create-react-context": "0.2.2",
70
+ "crypto-js": "^4.0.0",
71
+ "dompurify": "2.0.12",
72
+ "flat": "4.1.0",
73
+ "html2canvas": "^1.4.1",
74
+ "invariant": "2.2.4",
75
+ "jspdf": "3.0.1",
76
+ "kind-of": "^6.0.2",
77
+ "minimist": "^1.2.5",
78
+ "nanoid": "1.1.0",
79
+ "office-ui-fabric-react": "7.105.5",
80
+ "querystringify": "^2.0.0",
81
+ "ramda": "0.26.1",
82
+ "react-modal": "3.11.2",
83
+ "react-portal": "^4.2.0",
84
+ "set-value": "^3.0.0",
85
+ "storage-changed": "^2.0.0",
86
+ "velocity-react": "1.4.3",
87
+ "warning": "^4.0.1",
88
+ "@wordpress/block-library": "5.0.1",
89
+ "websocket": "^1.0.34",
90
+ "react-tooltip": "^5.20.0"
91
+ },
92
+ "jest": {
93
+ "setupTestFrameworkScriptFile": "./jest/setup.js",
94
+ "automock": false,
95
+ "browser": true,
96
+ "verbose": true,
97
+ "silent": false,
98
+ "testMatch": [
99
+ "**/_tests/*.t.js"
100
+ ],
101
+ "setupFiles": [
102
+ "jest-localstorage-mock",
103
+ "./jest/setup.js"
104
+ ],
105
+ "testPathIgnorePatterns": [
106
+ "<rootDir>/node_modules/",
107
+ "<rootDir>/.remmy/",
108
+ "<rootDir>/old-src/"
109
+ ],
110
+ "moduleNameMapper": {
111
+ "\\.(css|svg)": "identity-obj-proxy"
112
+ },
113
+ "transform": {
114
+ ".+\\.js$": "babel-jest"
115
+ }
116
+ }
117
+ }