adapt-schemas 1.0.2 → 1.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.
@@ -15,11 +15,11 @@ jobs:
15
15
  id-token: write # to enable use of OIDC for trusted publishing and npm provenance
16
16
  steps:
17
17
  - name: Checkout
18
- uses: actions/checkout@v3
18
+ uses: actions/checkout@v4
19
19
  with:
20
20
  fetch-depth: 0
21
21
  - name: Setup Node.js
22
- uses: actions/setup-node@v3
22
+ uses: actions/setup-node@v4
23
23
  with:
24
24
  node-version: 'lts/*'
25
25
  - name: Update npm
@@ -0,0 +1,10 @@
1
+ import { FlatCompat } from '@eslint/eslintrc'
2
+
3
+ const compat = new FlatCompat()
4
+
5
+ export default [
6
+ ...compat.extends('standard'),
7
+ {
8
+ ignores: ['node_modules/']
9
+ }
10
+ ]
package/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "adapt-schemas",
3
- "version": "1.0.2",
3
+ "repository": {
4
+ "type": "git",
5
+ "url": "https://github.com/cgkineo/adapt-schemas"
6
+ },
7
+ "version": "1.1.0",
4
8
  "description": "Standalone JSON Schema library for the Adapt framework",
5
9
  "type": "module",
6
10
  "main": "index.js",
@@ -13,7 +17,9 @@
13
17
  "./XSSDefaults": "./lib/XSSDefaults.js"
14
18
  },
15
19
  "scripts": {
16
- "test": "node test.js"
20
+ "test": "node test.js",
21
+ "lint": "eslint .",
22
+ "lint:fix": "eslint . --fix"
17
23
  },
18
24
  "keywords": [
19
25
  "adapt",
@@ -35,7 +41,12 @@
35
41
  "@semantic-release/git": "^10.0.1",
36
42
  "conventional-changelog-eslint": "^6.0.0",
37
43
  "semantic-release": "^25.0.3",
38
- "standard": "^17.1.2"
44
+ "@eslint/eslintrc": "^3.1.0",
45
+ "eslint": "^8.57.0",
46
+ "eslint-config-standard": "^17.1.0",
47
+ "eslint-plugin-import": "^2.29.0",
48
+ "eslint-plugin-n": "^16.6.0",
49
+ "eslint-plugin-promise": "^6.6.0"
39
50
  },
40
51
  "release": {
41
52
  "plugins": [