mirror of
https://github.com/foomo/contentfultree.git
synced 2025-10-16 12:25:41 +00:00
Merge pull request #6 from foomo/upgrade-contentful-API
upgrade contentful packages and others
This commit is contained in:
commit
e05580ece1
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@ node_modules
|
|||||||
# misc
|
# misc
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.pem
|
*.pem
|
||||||
|
.history
|
||||||
|
|
||||||
# debug
|
# debug
|
||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
|
|||||||
2
dist/ContentTree.js
vendored
2
dist/ContentTree.js
vendored
@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|||||||
function verb(n) { return function (v) { return step([n, v]); }; }
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
||||||
function step(op) {
|
function step(op) {
|
||||||
if (f) throw new TypeError("Generator is already executing.");
|
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 (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];
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
||||||
switch (op[0]) {
|
switch (op[0]) {
|
||||||
|
|||||||
2
dist/ContentTreeNode.js
vendored
2
dist/ContentTreeNode.js
vendored
@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|||||||
function verb(n) { return function (v) { return step([n, v]); }; }
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
||||||
function step(op) {
|
function step(op) {
|
||||||
if (f) throw new TypeError("Generator is already executing.");
|
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 (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];
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
||||||
switch (op[0]) {
|
switch (op[0]) {
|
||||||
|
|||||||
2
dist/ContentTreeRoot.js
vendored
2
dist/ContentTreeRoot.js
vendored
@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|||||||
function verb(n) { return function (v) { return step([n, v]); }; }
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
||||||
function step(op) {
|
function step(op) {
|
||||||
if (f) throw new TypeError("Generator is already executing.");
|
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 (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];
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
||||||
switch (op[0]) {
|
switch (op[0]) {
|
||||||
|
|||||||
2
dist/Icons.d.ts
vendored
2
dist/Icons.d.ts
vendored
@ -1,5 +1,5 @@
|
|||||||
import { FC, ReactElement, SVGProps } from 'react';
|
import { FC, ReactElement, SVGProps } from 'react';
|
||||||
export declare type SVGIcon = FC<SVGProps<SVGSVGElement>>;
|
export type SVGIcon = FC<SVGProps<SVGSVGElement>>;
|
||||||
export interface IconProps {
|
export interface IconProps {
|
||||||
icon?: SVGIcon;
|
icon?: SVGIcon;
|
||||||
}
|
}
|
||||||
|
|||||||
92
package.json
92
package.json
@ -1,48 +1,48 @@
|
|||||||
{
|
{
|
||||||
"name": "@foomo/contentfultree",
|
"name": "@foomo/contentfultree",
|
||||||
"version": "0.1.1",
|
"version": "0.1.2",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"author": "foomo",
|
"author": "foomo",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -f ./tsconfig.tsbuildinfo && rm -rvf dist",
|
"clean": "rm -f ./tsconfig.tsbuildinfo && rm -rvf dist",
|
||||||
"build": "yarn clean && tsc -b -v .",
|
"build": "yarn clean && tsc -b -v .",
|
||||||
"dev": "yarn tsc -b tsconfig.json -w",
|
"dev": "yarn tsc -b tsconfig.json -w",
|
||||||
"lint": "eslint --ext=js,jsx,ts,tsx,json .",
|
"lint": "eslint --ext=js,jsx,ts,tsx,json .",
|
||||||
"lint:fix": "eslint --ext=js,jsx,ts,tsx,json . --fix"
|
"lint:fix": "eslint --ext=js,jsx,ts,tsx,json . --fix"
|
||||||
},
|
},
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"useTabs": true,
|
"useTabs": true,
|
||||||
"tabWidth": 2,
|
"tabWidth": 2,
|
||||||
"singleQuote": true
|
"singleQuote": true
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/react": "^18.0.20",
|
"@types/react": "^18.0.28",
|
||||||
"@types/styled-components": "^5.1.26",
|
"@types/styled-components": "^5.1.26",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
"@typescript-eslint/eslint-plugin": "^5.53.0",
|
||||||
"@typescript-eslint/parser": "^5.38.0",
|
"@typescript-eslint/parser": "^5.53.0",
|
||||||
"eslint": "^8.0.1",
|
"eslint": "^8.34.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.6.0",
|
||||||
"eslint-config-standard-with-typescript": "^23.0.0",
|
"eslint-config-standard-with-typescript": "^34.0.0",
|
||||||
"eslint-plugin-import": "^2.25.2",
|
"eslint-plugin-import": "^2.27.5",
|
||||||
"eslint-plugin-json": "3.1.0",
|
"eslint-plugin-json": "3.1.0",
|
||||||
"eslint-plugin-n": "^15.0.0",
|
"eslint-plugin-n": "^15.6.1",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
"eslint-plugin-promise": "^6.0.0",
|
"eslint-plugin-promise": "^6.1.1",
|
||||||
"eslint-plugin-react": "^7.31.8",
|
"eslint-plugin-react": "^7.32.2",
|
||||||
"install-peers": "^1.0.4",
|
"install-peers": "^1.0.4",
|
||||||
"prettier": "2.7.1",
|
"prettier": "2.8.4",
|
||||||
"typescript": "*"
|
"typescript": "4.9.5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"install-peers": "^1.0.4"
|
"install-peers": "^1.0.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"contentful-management": "10.15.0",
|
"contentful-management": "10.30.0",
|
||||||
"contentful-ui-extensions-sdk": "4.12.1",
|
"contentful-ui-extensions-sdk": "4.16.0",
|
||||||
"immer": "9.0.15",
|
"immer": "9.0.19",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"styled-components": "5.3.5",
|
"styled-components": "5.3.6",
|
||||||
"use-immer": "0.7.0"
|
"use-immer": "0.8.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user