@common-grants/core 0.2.2 → 0.2.3

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.
Files changed (2) hide show
  1. package/LICENSE.md +34 -0
  2. package/package.json +22 -20
package/LICENSE.md ADDED
@@ -0,0 +1,34 @@
1
+ # License
2
+
3
+ As a work of the [United States government](https://www.usa.gov/), this project
4
+ is in the public domain within the United States of America.
5
+
6
+ Additionally, we waive copyright and related rights in the work worldwide
7
+ through the CC0 1.0 Universal public domain dedication.
8
+
9
+ ## CC0 1.0 Universal Summary
10
+
11
+ This is a human-readable summary of the [Legal Code (read the full
12
+ text)](https://creativecommons.org/publicdomain/zero/1.0/legalcode).
13
+
14
+ ### No Copyright
15
+
16
+ The person who associated a work with this deed has dedicated the work to the
17
+ public domain by waiving all of their rights to the work worldwide under
18
+ copyright law, including all related and neighboring rights, to the extent
19
+ allowed by law.
20
+
21
+ You can copy, modify, distribute, and perform the work, even for commercial
22
+ purposes, all without asking permission.
23
+
24
+ ### Other Information
25
+
26
+ In no way are the patent or trademark rights of any person affected by CC0, nor
27
+ are the rights that other persons may have in the work or in how the work is
28
+ used, such as publicity or privacy rights.
29
+
30
+ Unless expressly stated otherwise, the person who associated a work with this
31
+ deed makes no warranties about the work, and disclaims liability for all uses
32
+ of the work, to the fullest extent permitted by applicable law. When using or
33
+ citing the work, you should not imply endorsement by the author or the
34
+ affirmer.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-grants/core",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "TypeSpec library for defining grant opportunity data models and APIs",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -30,18 +30,6 @@
30
30
  "url": "https://github.com/HHS/simpler-grants-protocol/issues"
31
31
  },
32
32
  "homepage": "https://github.com/HHS/simpler-grants-protocol/tree/main/lib/core/#readme",
33
- "scripts": {
34
- "clean": "rimraf dist tsp-output",
35
- "build": "tsc -p .",
36
- "watch": "tsc -p . --watch",
37
- "typespec": "tsp compile lib/main.tsp",
38
- "prepare": "npm run build",
39
- "lint": "eslint . --fix",
40
- "format": "prettier --write . && tsp format lib",
41
- "check:lint": "eslint",
42
- "check:format": "prettier --check . && tsp format lib --check",
43
- "checks": "npm run check:lint && npm run check:format"
44
- },
45
33
  "keywords": [
46
34
  "typespec",
47
35
  "api",
@@ -51,20 +39,34 @@
51
39
  "author": "CommonGrants",
52
40
  "license": "CC0-1.0",
53
41
  "peerDependencies": {
54
- "@typespec/compiler": "^1.1.0",
55
- "@typespec/http": "^1.1.0",
56
- "@typespec/json-schema": "1.0.0",
57
- "@typespec/openapi3": "1.0.0",
58
- "@typespec/rest": "0.70.0",
59
- "@typespec/versioning": "^0.70.0"
42
+ "@typespec/compiler": "^1.5.0",
43
+ "@typespec/http": "^1.5.0",
44
+ "@typespec/json-schema": "^1.5.0",
45
+ "@typespec/openapi3": "^1.5.0",
46
+ "@typespec/openapi": "^1.5.0",
47
+ "@typespec/rest": "^0.75.0",
48
+ "@typespec/versioning": "^0.75.0"
60
49
  },
61
50
  "devDependencies": {
51
+ "@eslint/js": "^9.18.0",
62
52
  "@types/node": "^20.10.6",
63
53
  "eslint": "^9.18.0",
54
+ "globals": "^15.14.0",
64
55
  "prettier": "^3.4.2",
65
56
  "rimraf": "^5.0.5",
66
57
  "source-map-support": "^0.5.21",
67
58
  "typescript": "^5.3.3",
68
59
  "typescript-eslint": "^8.20.0"
60
+ },
61
+ "scripts": {
62
+ "clean": "rimraf dist tsp-output",
63
+ "build": "tsc -p .",
64
+ "watch": "tsc -p . --watch",
65
+ "typespec": "tsp compile lib/main.tsp",
66
+ "lint": "eslint . --fix",
67
+ "format": "prettier --write . && tsp format lib",
68
+ "check:lint": "eslint",
69
+ "check:format": "prettier --check . && tsp format lib --check",
70
+ "checks": "npm run check:lint && npm run check:format"
69
71
  }
70
- }
72
+ }