From ef82b5c6632ec2cb0961200e9733904f56e5ee30 Mon Sep 17 00:00:00 2001 From: Kirk Swenson Date: Tue, 9 Jan 2024 18:58:21 -0800 Subject: [PATCH] chore: package.json changes for publication --- package-lock.json | 50 +++++++++++++++++++++++++++++++++-------------- package.json | 6 +++++- 2 files changed, 40 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3854ee40..660c2bf1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "cloud-file-manager", - "version": "1.9.0", + "name": "@concord-consortium/cloud-file-manager", + "version": "2.0.0-pre.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "cloud-file-manager", - "version": "1.9.0", + "name": "@concord-consortium/cloud-file-manager", + "version": "2.0.0-pre.1", "license": "MIT", "dependencies": { "@concord-consortium/lara-interactive-api": "^1.9.4", @@ -22,11 +22,9 @@ "js-base64": "^3.7.5", "js-sha256": "^0.10.1", "lodash": "^4.17.21", - "mime": "^3.0.0", + "mime": "^4.0.1", "pako": "^2.1.0", "query-string": "^7.1.3", - "react": "^16.14.0", - "react-dom": "^16.14.0", "react-dom-factories": "^1.0.2", "screenfull": "^5.2.0", "svg-social-icons": "^1.1.0" @@ -37,6 +35,7 @@ "@testing-library/user-event": "^14.5.1", "@types/create-react-class": "^15.6.6", "@types/jest": "^29.5.11", + "@types/jiff": "^0.7.5", "@types/jquery": "^3.5.29", "@types/lodash": "^4.14.202", "@types/mime": "^3.0.4", @@ -63,6 +62,8 @@ "live-server": "^1.2.2", "mini-css-extract-plugin": "^2.7.6", "npm-run-all": "^4.1.5", + "react": "^16.14.0", + "react-dom": "^16.14.0", "replace-in-file-webpack-plugin": "^1.0.6", "rimraf": "^5.0.5", "strip-json-comments-cli": "^3.0.0", @@ -79,6 +80,10 @@ "engines": { "node": ">= 16", "npm": ">= 8" + }, + "peerDependencies": { + "react": ">=16.14", + "react-dom": ">=16.14" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -2061,6 +2066,12 @@ "pretty-format": "^29.0.0" } }, + "node_modules/@types/jiff": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/@types/jiff/-/jiff-0.7.5.tgz", + "integrity": "sha512-IMoL5cpiTF5DsZ97J0r/DbpUfqXeg0PGUOvYCjPgVNf2SFXE3HmnCooHOrcD1Uqa1P9bkRHNnOI0uskfT0aoCQ==", + "dev": true + }, "node_modules/@types/jquery": { "version": "3.5.29", "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.29.tgz", @@ -9559,14 +9570,17 @@ } }, "node_modules/mime": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.1.tgz", + "integrity": "sha512-5lZ5tyrIfliMXzFtkYyekWbtRXObT9OWa8IwQ5uxTBDHucNNwniRqo0yInflj+iYi5CBa6qxadGzGarDfuEOxA==", + "funding": [ + "https://github.com/sponsors/broofa" + ], "bin": { - "mime": "cli.js" + "mime": "bin/cli.js" }, "engines": { - "node": ">=10.0.0" + "node": ">=16" } }, "node_modules/mime-db": { @@ -15515,6 +15529,12 @@ "pretty-format": "^29.0.0" } }, + "@types/jiff": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/@types/jiff/-/jiff-0.7.5.tgz", + "integrity": "sha512-IMoL5cpiTF5DsZ97J0r/DbpUfqXeg0PGUOvYCjPgVNf2SFXE3HmnCooHOrcD1Uqa1P9bkRHNnOI0uskfT0aoCQ==", + "dev": true + }, "@types/jquery": { "version": "3.5.29", "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.29.tgz", @@ -21170,9 +21190,9 @@ } }, "mime": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz", - "integrity": "sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.1.tgz", + "integrity": "sha512-5lZ5tyrIfliMXzFtkYyekWbtRXObT9OWa8IwQ5uxTBDHucNNwniRqo0yInflj+iYi5CBa6qxadGzGarDfuEOxA==" }, "mime-db": { "version": "1.52.0", diff --git a/package.json b/package.json index 1d0b2f3a..2aa8848e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,11 @@ "license": "MIT", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", + "types": "./dist/cjs/index.d.ts", "style": "./dist/css/app.css", + "files": [ + "dist/" + ], "dependencies": { "@concord-consortium/lara-interactive-api": "^1.9.4", "@concord-consortium/token-service": "^2.1.0", @@ -30,7 +34,7 @@ "js-base64": "^3.7.5", "js-sha256": "^0.10.1", "lodash": "^4.17.21", - "mime": "^3.0.0", + "mime": "^4.0.1", "pako": "^2.1.0", "query-string": "^7.1.3", "react-dom-factories": "^1.0.2",