upgrade contentful packages and others

This commit is contained in:
Cristian Vidmar 2023-02-23 11:49:18 +01:00
parent 91389527ee
commit 00d5ed7e8f
7 changed files with 502 additions and 248 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@ node_modules
# misc
.DS_Store
*.pem
.history
# debug
npm-debug.log*

2
dist/ContentTree.js vendored
View File

@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

View File

@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

View File

@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
while (g && (g = 0, op[0] && (_ = 0)), _) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {

2
dist/Icons.d.ts vendored
View File

@ -1,5 +1,5 @@
import { FC, ReactElement, SVGProps } from 'react';
export declare type SVGIcon = FC<SVGProps<SVGSVGElement>>;
export type SVGIcon = FC<SVGProps<SVGSVGElement>>;
export interface IconProps {
icon?: SVGIcon;
}

View File

@ -1,48 +1,48 @@
{
"name": "@foomo/contentfultree",
"version": "0.1.1",
"main": "dist/index.js",
"author": "foomo",
"license": "MIT",
"scripts": {
"clean": "rm -f ./tsconfig.tsbuildinfo && rm -rvf dist",
"build": "yarn clean && tsc -b -v .",
"dev": "yarn tsc -b tsconfig.json -w",
"lint": "eslint --ext=js,jsx,ts,tsx,json .",
"lint:fix": "eslint --ext=js,jsx,ts,tsx,json . --fix"
},
"prettier": {
"useTabs": true,
"tabWidth": 2,
"singleQuote": true
},
"devDependencies": {
"@types/react": "^18.0.20",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.38.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.31.8",
"install-peers": "^1.0.4",
"prettier": "2.7.1",
"typescript": "*"
},
"peerDependencies": {
"install-peers": "^1.0.4"
},
"dependencies": {
"contentful-management": "10.15.0",
"contentful-ui-extensions-sdk": "4.12.1",
"immer": "9.0.15",
"react": "18.2.0",
"styled-components": "5.3.5",
"use-immer": "0.7.0"
}
"name": "@foomo/contentfultree",
"version": "0.1.2",
"main": "dist/index.js",
"author": "foomo",
"license": "MIT",
"scripts": {
"clean": "rm -f ./tsconfig.tsbuildinfo && rm -rvf dist",
"build": "yarn clean && tsc -b -v .",
"dev": "yarn tsc -b tsconfig.json -w",
"lint": "eslint --ext=js,jsx,ts,tsx,json .",
"lint:fix": "eslint --ext=js,jsx,ts,tsx,json . --fix"
},
"prettier": {
"useTabs": true,
"tabWidth": 2,
"singleQuote": true
},
"devDependencies": {
"@types/react": "^18.0.28",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard-with-typescript": "^34.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"install-peers": "^1.0.4",
"prettier": "2.8.4",
"typescript": "4.9.5"
},
"peerDependencies": {
"install-peers": "^1.0.4"
},
"dependencies": {
"contentful-management": "10.30.0",
"contentful-ui-extensions-sdk": "4.16.0",
"immer": "9.0.19",
"react": "18.2.0",
"styled-components": "5.3.6",
"use-immer": "0.8.1"
}
}

649
yarn.lock

File diff suppressed because it is too large Load Diff