@copart/ops-tool-kit 1.12.0-alpha.9 → 1.12.1-alpha.1
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/README.md +11 -11
- package/bin/cli.js +19 -19
- package/changelog.md +40 -40
- package/dist/ops-tool-kit.js +1532 -487
- package/dist/ops-tool-kit.js.map +1 -1
- package/package.json +113 -113
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# @copart/ops-tool-kit
|
|
2
|
-
|
|
3
|
-
```js
|
|
4
|
-
import { AppFrame } from '@copart/ops-tool-kit'
|
|
5
|
-
|
|
6
|
-
<AppFrame>
|
|
7
|
-
{/* Your app here. */}
|
|
8
|
-
</AppFrame>
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Note: Be sure to have APPLICATION_NAME and PROFILES environment variables set.
|
|
1
|
+
# @copart/ops-tool-kit
|
|
2
|
+
|
|
3
|
+
```js
|
|
4
|
+
import { AppFrame } from '@copart/ops-tool-kit'
|
|
5
|
+
|
|
6
|
+
<AppFrame>
|
|
7
|
+
{/* Your app here. */}
|
|
8
|
+
</AppFrame>
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Note: Be sure to have APPLICATION_NAME and PROFILES environment variables set.
|
package/bin/cli.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
const fs = require('fs')
|
|
2
|
-
const parseArgs = require('minimist')
|
|
3
|
-
const pkg = require(`${process.cwd()}/package.json`)
|
|
4
|
-
|
|
5
|
-
const args = parseArgs(process.argv.slice(2))
|
|
6
|
-
const destination = args.destination || './public/meta.json'
|
|
7
|
-
const filename = destination.match(/[^\\/]+$/)[0]
|
|
8
|
-
|
|
9
|
-
const jsonData = JSON.stringify({
|
|
10
|
-
version: pkg.version,
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
fs.writeFile(destination, jsonData, (err) => {
|
|
14
|
-
if (err) {
|
|
15
|
-
console.log(`An error occured while writing JSON Object to ${filename}`)
|
|
16
|
-
return console.log(err)
|
|
17
|
-
}
|
|
18
|
-
console.log(`${filename} file has been saved with latest version number`)
|
|
19
|
-
})
|
|
1
|
+
const fs = require('fs')
|
|
2
|
+
const parseArgs = require('minimist')
|
|
3
|
+
const pkg = require(`${process.cwd()}/package.json`)
|
|
4
|
+
|
|
5
|
+
const args = parseArgs(process.argv.slice(2))
|
|
6
|
+
const destination = args.destination || './public/meta.json'
|
|
7
|
+
const filename = destination.match(/[^\\/]+$/)[0]
|
|
8
|
+
|
|
9
|
+
const jsonData = JSON.stringify({
|
|
10
|
+
version: pkg.version,
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
fs.writeFile(destination, jsonData, (err) => {
|
|
14
|
+
if (err) {
|
|
15
|
+
console.log(`An error occured while writing JSON Object to ${filename}`)
|
|
16
|
+
return console.log(err)
|
|
17
|
+
}
|
|
18
|
+
console.log(`${filename} file has been saved with latest version number`)
|
|
19
|
+
})
|
package/changelog.md
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
### 0.5.44
|
|
2
|
-
|
|
3
|
-
- Fixed missing yardNumber in AppBar.
|
|
4
|
-
|
|
5
|
-
### 0.5.43
|
|
6
|
-
|
|
7
|
-
- Added support for Seller tile.
|
|
8
|
-
|
|
9
|
-
### 0.5.42
|
|
10
|
-
|
|
11
|
-
- Fixed issues with "Home" breadcrumb rendering when logged out.
|
|
12
|
-
- Removed unused files and functions, cleaned storage utility.
|
|
13
|
-
|
|
14
|
-
### 0.5.1
|
|
15
|
-
|
|
16
|
-
- Changes to fetcher.extend to unblock ProQuote.
|
|
17
|
-
|
|
18
|
-
### 0.5.0
|
|
19
|
-
|
|
20
|
-
- Added feedback logic to fetcher.
|
|
21
|
-
|
|
22
|
-
### 0.4.0
|
|
23
|
-
|
|
24
|
-
- Added fetcher handling for `invalid
|
|
25
|
-
|
|
26
|
-
### 0.3.16
|
|
27
|
-
|
|
28
|
-
- Updated solr handling in fetcher.
|
|
29
|
-
|
|
30
|
-
### 0.3.15
|
|
31
|
-
|
|
32
|
-
- Fixed breadcrumb styling.
|
|
33
|
-
|
|
34
|
-
### 0.3.12
|
|
35
|
-
|
|
36
|
-
- Fixed Home breadcrumb.
|
|
37
|
-
|
|
38
|
-
### 0.0.53
|
|
39
|
-
|
|
40
|
-
- Added getters for convenience.
|
|
1
|
+
### 0.5.44
|
|
2
|
+
|
|
3
|
+
- Fixed missing yardNumber in AppBar.
|
|
4
|
+
|
|
5
|
+
### 0.5.43
|
|
6
|
+
|
|
7
|
+
- Added support for Seller tile.
|
|
8
|
+
|
|
9
|
+
### 0.5.42
|
|
10
|
+
|
|
11
|
+
- Fixed issues with "Home" breadcrumb rendering when logged out.
|
|
12
|
+
- Removed unused files and functions, cleaned storage utility.
|
|
13
|
+
|
|
14
|
+
### 0.5.1
|
|
15
|
+
|
|
16
|
+
- Changes to fetcher.extend to unblock ProQuote.
|
|
17
|
+
|
|
18
|
+
### 0.5.0
|
|
19
|
+
|
|
20
|
+
- Added feedback logic to fetcher.
|
|
21
|
+
|
|
22
|
+
### 0.4.0
|
|
23
|
+
|
|
24
|
+
- Added fetcher handling for `invalid
|
|
25
|
+
|
|
26
|
+
### 0.3.16
|
|
27
|
+
|
|
28
|
+
- Updated solr handling in fetcher.
|
|
29
|
+
|
|
30
|
+
### 0.3.15
|
|
31
|
+
|
|
32
|
+
- Fixed breadcrumb styling.
|
|
33
|
+
|
|
34
|
+
### 0.3.12
|
|
35
|
+
|
|
36
|
+
- Fixed Home breadcrumb.
|
|
37
|
+
|
|
38
|
+
### 0.0.53
|
|
39
|
+
|
|
40
|
+
- Added getters for convenience.
|