Skip to content

Commit

Permalink
update js and react (#71)
Browse files Browse the repository at this point in the history
* update version, author, deps

* update js deps

* use rc
  • Loading branch information
tenub authored Sep 24, 2024
1 parent 69e36b5 commit 8e16ac0
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 57 deletions.
16 changes: 16 additions & 0 deletions js/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
parserOptions: { project: ["./tsconfig.json"] },
plugins: ["@typescript-eslint"],
rules: {
"@typescript-eslint/strict-boolean-expressions": [
2,
{
allowString: false,
allowNumber: false,
},
],
},
ignorePatterns: ["src/**/*.test.ts", "src/frontend/generated/*"],
};
21 changes: 0 additions & 21 deletions js/.eslintrc.json

This file was deleted.

48 changes: 24 additions & 24 deletions js/package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,16 @@
{
"name": "@schematichq/schematic-js",
"version": "1.0.0-rc.0",
"main": "dist/schematic.cjs.js",
"module": "dist/schematic.esm.js",
"author": "Ben Papillon <[email protected]>",
"dependencies": {
"cross-fetch": "^4.0.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.38.3",
"@types/jest": "^29.5.11",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"esbuild": "^0.19.9",
"esbuild-jest": "^0.5.0",
"eslint": "^8.55.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-esbuild": "^0.3.0",
"jest-fetch-mock": "^3.0.3",
"prettier": "^3.3.1",
"ts-jest": "^29.1.1",
"typescript": "^5.0.2"
},
"types": "dist/schematic.d.ts",
"files": [
"dist/schematic.cjs.js",
"dist/schematic.esm.js",
"dist/schematic.browser.js",
"dist/schematic.d.ts"
],
"author": "Schematic <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -46,7 +27,26 @@
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --fix",
"test": "jest --config jest.config.js"
},
"types": "dist/schematic.d.ts",
"version": "0.1.14",
"dependencies": {
"cross-fetch": "^4.0.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.47.9",
"@types/jest": "^29.5.13",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"esbuild": "^0.24.0",
"esbuild-jest": "^0.5.0",
"eslint": "^8.57.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-esbuild": "^0.3.0",
"jest-fetch-mock": "^3.0.3",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"typescript": "^5.6.2"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
24 changes: 12 additions & 12 deletions react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@schematichq/schematic-react",
"version": "0.2.0-rc.10",
"version": "1.0.0-rc.0",
"main": "dist/schematic-react.cjs.js",
"module": "dist/schematic-react.esm.js",
"types": "dist/schematic-react.d.ts",
Expand All @@ -9,7 +9,7 @@
"dist/schematic-react.esm.js",
"dist/schematic-react.d.ts"
],
"author": "Ben Papillon <ben@schematichq.com>",
"author": "Schematic <engineering@schematichq.com>",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -32,25 +32,25 @@
"@schematichq/schematic-js": "^0.1.14"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.47.7",
"@openapitools/openapi-generator-cli": "^2.13.5",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.79",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.13.2",
"esbuild": "^0.23.1",
"@microsoft/api-extractor": "^7.47.9",
"@openapitools/openapi-generator-cli": "^2.13.9",
"@types/jest": "^29.5.13",
"@types/react": "^18.3.9",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"esbuild": "^0.24.0",
"esbuild-jest": "^0.5.0",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-react-hooks": "^4.6.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-esbuild": "^0.3.0",
"jest-fetch-mock": "^3.0.3",
"prettier": "^3.3.3",
"react": "^18.2.0",
"react": "^18.3.1",
"ts-jest": "^29.2.5",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"peerDependencies": {
"react": ">=18"
Expand Down

0 comments on commit 8e16ac0

Please sign in to comment.