cannibalizr 0.3.0 → 1.0.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/.eslintrc.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "env": {
3
+ "node": true
4
+ },
5
+ "parser": "@babel/eslint-parser",
6
+ "extends": "eslint:recommended",
7
+ "rules": {
8
+ "indent": [2, 2, {"SwitchCase": 1}],
9
+ "quotes": [2, "single"],
10
+ "dot-notation": [2, {"allowKeywords": true}]
11
+ }
12
+ }
@@ -0,0 +1,32 @@
1
+ name: Verify
2
+ on:
3
+ push:
4
+ branches: [ master ]
5
+ pull_request:
6
+ branches: [ master ]
7
+
8
+ jobs:
9
+ verify:
10
+
11
+ runs-on: ubuntu-latest
12
+
13
+ strategy:
14
+ matrix:
15
+ node-version: [14.x, 16.x]
16
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
17
+
18
+ steps:
19
+ - uses: actions/checkout@v3
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v3.0.0
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ - run: npm ci
25
+ - name: Lint, Test, And Coverage
26
+ run: npm run lint && npm run cover
27
+ - name: Coverage Upload
28
+ if: ${{ success() }}
29
+ uses: coverallsapp/github-action@master
30
+ with:
31
+ github-token: ${{ secrets.GITHUB_TOKEN }}
32
+ path-to-lcov: ./reports/coverage/lcov.info
package/LICENSE.md CHANGED
@@ -1,5 +1,5 @@
1
1
  The MIT License (MIT)
2
- Copyright (c) 2016 - 2020 Alex Grant (@localnerve), LocalNerve, LLC
2
+ Copyright (c) 2016 - 2022 Alex Grant (@localnerve), LocalNerve, LLC
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
5
 
package/README.md CHANGED
@@ -1,12 +1,9 @@
1
1
  # Cannibalizr
2
2
 
3
- [![Greenkeeper badge](https://badges.greenkeeper.io/localnerve/cannibalizr.svg)](https://greenkeeper.io/)
4
-
5
3
  [![npm version](https://badge.fury.io/js/cannibalizr.svg)](http://badge.fury.io/js/cannibalizr)
6
- [![Build Status](https://secure.travis-ci.org/localnerve/cannibalizr.svg?branch=master)](http://travis-ci.org/localnerve/cannibalizr)
4
+ ![Verify](https://github.com/localnerve/cannibalizr/workflows/Verify/badge.svg)
7
5
  [![Coverage Status](https://coveralls.io/repos/localnerve/cannibalizr/badge.svg?branch=master)](https://coveralls.io/r/localnerve/cannibalizr?branch=master)
8
- [![Dependency Status](https://david-dm.org/localnerve/cannibalizr.svg)](https://david-dm.org/localnerve/cannibalizr)
9
- [![devDependency Status](https://david-dm.org/localnerve/cannibalizr/dev-status.svg)](https://david-dm.org/localnerve/cannibalizr#info=devDependencies)
6
+
10
7
 
11
8
  > A tool to pull strings from multiple files into a json file using regexes.
12
9
 
@@ -0,0 +1,12 @@
1
+ {
2
+ "presets": [
3
+ [
4
+ "@babel/preset-env",
5
+ {
6
+ "targets": {
7
+ "node": "12"
8
+ }
9
+ }
10
+ ]
11
+ ]
12
+ }
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /***
2
- * Copyright (c) 2016 - 2020 Alex Grant (@localnerve), LocalNerve LLC
2
+ * Copyright (c) 2016 - 2022 Alex Grant (@localnerve), LocalNerve LLC
3
3
  * Copyrights licensed under the MIT License. See the accompanying LICENSE file
4
4
  * for terms.
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cannibalizr",
3
- "version": "0.3.0",
3
+ "version": "1.0.0",
4
4
  "description": "Turns an old pile of rusty files into a new json data source",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,17 +29,19 @@
29
29
  },
30
30
  "homepage": "https://github.com/localnerve/cannibalizr#readme",
31
31
  "engines": {
32
- "node": ">= 10"
32
+ "node": ">= 14"
33
33
  },
34
34
  "dependencies": {},
35
35
  "devDependencies": {
36
- "babel-eslint": "^10.0.3",
37
- "chai": "^4.2.0",
38
- "coveralls": "^3.0.9",
39
- "eslint": "^6.7.2",
36
+ "@babel/core": "^7.17.8",
37
+ "@babel/preset-env": "^7.16.11",
38
+ "@babel/eslint-parser": "^7.17.0",
39
+ "chai": "^4.3.6",
40
+ "coveralls": "^3.1.1",
41
+ "eslint": "^8.12.0",
40
42
  "istanbul": "^0.4.5",
41
- "mkdirp": "^1.0.3",
42
- "mocha": "^6.2.2",
43
+ "mkdirp": "^1.0.4",
44
+ "mocha": "^9.2.2",
43
45
  "precommit-hook": "^3.0.0"
44
46
  },
45
47
  "pre-commit": [
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright (c) 2016 - 2020 Alex Grant (@localnerve), LocalNerve LLC
2
+ // Copyright (c) 2016 - 2022 Alex Grant (@localnerve), LocalNerve LLC
3
3
  // Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
4
4
  //
5
5
  // font styles
@@ -1,5 +1,5 @@
1
1
  /***
2
- * Copyright (c) 2016 - 2020 Alex Grant (@localnerve), LocalNerve LLC
2
+ * Copyright (c) 2016 - 2022 Alex Grant (@localnerve), LocalNerve LLC
3
3
  * Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
4
4
  *
5
5
  * Assemble the Fluxible app.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright (c) 2016 - 2020 Alex Grant (@localnerve), LocalNerve LLC
2
+ * Copyright (c) 2016 - 2022 Alex Grant (@localnerve), LocalNerve LLC
3
3
  * Copyrights licensed under the MIT License. See the accompanying LICENSE file
4
4
  * for terms.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /***
2
- * Copyright (c) 2016 - 2020 Alex Grant (@localnerve), LocalNerve LLC
2
+ * Copyright (c) 2016 - 2022 Alex Grant (@localnerve), LocalNerve LLC
3
3
  * Copyrights licensed under the MIT License. See the accompanying LICENSE file
4
4
  * for terms.
5
5
  */
package/.eslintrc DELETED
@@ -1,11 +0,0 @@
1
- ---
2
- "env":
3
- "node": true
4
- "parser":
5
- "babel-eslint"
6
- "extends":
7
- - "eslint:recommended"
8
- "rules":
9
- "indent": [2, 2, {SwitchCase: 1}]
10
- "quotes": [2, 'single']
11
- "dot-notation": [2, {allowKeywords: true}]