diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e8ca627b3..8c86ca588 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: with: node-version: '16.x' registry-url: 'https://registry.npmjs.org' - - run: yarn install + - run: yarn install --no-immutable # Publish to npm - run: npm publish --access public env: diff --git a/example-client-project/package.json b/example-client-project/package.json index 580ec0425..a6eda33f5 100644 --- a/example-client-project/package.json +++ b/example-client-project/package.json @@ -9,12 +9,12 @@ "preview": "yarn run build && vite preview --port 4174" }, "dependencies": { - "firecms": "workspace:lib", "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", "@mui/icons-material": "^5.10.16", "@mui/lab": "^5.0.0-alpha.111", "@mui/material": "^5.10.17", + "firecms": "workspace:lib", "react": "^18.2.0", "react-dom": "^18.2.0" }, diff --git a/example/package.json b/example/package.json index 6a1231d4e..83884cd71 100644 --- a/example/package.json +++ b/example/package.json @@ -3,7 +3,6 @@ "version": "0.1.0", "private": true, "dependencies": { - "firecms": "workspace:lib", "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5", "@mui/icons-material": "^5.10.16", @@ -11,6 +10,7 @@ "@mui/material": "^5.10.17", "algoliasearch": "^4.14.2", "firebase": "^9.14.0", + "firecms": "workspace:lib", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router": "^6.4.4", diff --git a/yarn.lock b/yarn.lock index 18513fbb8..f0159ea9a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -763,151 +763,6 @@ __metadata: languageName: node linkType: hard -"firecms@workspace:lib": - version: 0.0.0-use.local - resolution: "firecms@workspace:lib" - dependencies: - "@date-io/date-fns": ^2.16.0 - "@emotion/react": ^11.10.5 - "@emotion/styled": ^11.10.5 - "@fontsource/ibm-plex-mono": ^4.5.12 - "@hello-pangea/dnd": ^16.2.0 - "@mui/icons-material": ^5.10.16 - "@mui/lab": ^5.0.0-alpha.111 - "@mui/material": ^5.10.17 - "@mui/x-date-pickers": ^5.0.9 - "@testing-library/jest-dom": ^5.16.5 - "@testing-library/react": ^13.4.0 - "@testing-library/user-event": ^14.4.3 - "@types/jest": ^29.2.4 - "@types/node": ^18.11.11 - "@types/object-hash": ^3.0.1 - "@types/react": ^18.0.26 - "@types/react-dom": ^18.0.9 - "@types/react-measure": ^2.0.8 - "@typescript-eslint/eslint-plugin": ^5.45.1 - "@typescript-eslint/parser": ^5.45.1 - "@vitejs/plugin-react": ^2.2.0 - algoliasearch: ^4.14.2 - cross-env: ^7.0.3 - date-fns: ^2.29.3 - eslint: ^8.29.0 - eslint-config-standard: ^17.0.0 - eslint-plugin-import: ^2.26.0 - eslint-plugin-n: ^15.6.0 - eslint-plugin-promise: ^6.1.1 - eslint-plugin-react: ^7.31.11 - eslint-plugin-react-hooks: ^4.6.0 - firebase: ^9.14.0 - formik: ^2.2.9 - history: ^5.3.0 - jest: ^29.3.1 - markdown-it: ^13.0.1 - notistack: ^2.0.8 - npm-run-all: ^4.1.5 - object-hash: ^3.0.0 - react: ^18.2.0 - react-dom: ^18.2.0 - react-dropzone: ^14.2.3 - react-fast-compare: ^3.2.0 - react-image-file-resizer: ^0.4.8 - react-markdown-editor-lite: ^1.3.4 - react-router: ^6.4.4 - react-router-dom: ^6.4.4 - react-transition-group: ^4.4.5 - react-use-measure: ^2.1.1 - react-window: ^1.8.8 - tsd: ^0.25.0 - typeface-roboto: ^1.1.13 - typeface-rubik: ^1.1.13 - typescript: ^4.9.4 - vite: ^4.0.0 - yup: ^0.32.11 - peerDependencies: - "@emotion/react": ^11.9.3 - "@emotion/styled": ^11.9.3 - "@mui/icons-material": ^5.8.4 - "@mui/lab": ^5.0.0-alpha.90 - "@mui/material": ^5.9.0 - "@mui/x-date-pickers": ^5.0.0-beta.1 - algoliasearch: ^4.13.0 - firebase: ^9.0.0 - react: ^18.0.0 - react-dom: ^18.0.0 - react-router: ^6.2.0 - react-router-dom: ^6.2.0 - languageName: unknown - linkType: soft - -"firecms_collection_editor@workspace:collection_editor": - version: 0.0.0-use.local - resolution: "firecms_collection_editor@workspace:collection_editor" - dependencies: - "firecms": "workspace:lib" - "@emotion/react": ^11.10.5 - "@emotion/styled": ^11.10.5 - "@mui/icons-material": ^5.10.16 - "@mui/lab": ^5.0.0-alpha.111 - "@mui/material": ^5.10.17 - "@types/react": ^18.0.26 - "@types/react-dom": ^18.0.9 - "@typescript-eslint/eslint-plugin": ^5.45.1 - "@typescript-eslint/parser": ^5.45.1 - "@vitejs/plugin-react": ^2.2.0 - algoliasearch: ^4.14.2 - eslint: ^8.29.0 - eslint-config-standard: ^17.0.0 - eslint-plugin-import: ^2.26.0 - eslint-plugin-n: ^15.6.0 - eslint-plugin-promise: ^6.1.1 - eslint-plugin-react: ^7.31.11 - eslint-plugin-react-hooks: ^4.6.0 - firebase: ^9.14.0 - flexsearch: 0.7.31 - react: ^18.2.0 - react-dom: ^18.2.0 - react-router: ^6.4.4 - react-router-dom: ^6.4.4 - typescript: ^4.9.4 - vite: ^4.0.0 - vite-plugin-fonts: ^0.6.0 - languageName: unknown - linkType: soft - -"firecms_user_management@workspace:user_management": - version: 0.0.0-use.local - resolution: "firecms_user_management@workspace:user_management" - dependencies: - "firecms": "workspace:lib" - "@emotion/react": ^11.10.5 - "@emotion/styled": ^11.10.5 - "@mui/icons-material": ^5.10.16 - "@mui/lab": ^5.0.0-alpha.111 - "@mui/material": ^5.10.17 - "@types/react": ^18.0.26 - "@types/react-dom": ^18.0.9 - "@typescript-eslint/eslint-plugin": ^5.45.1 - "@typescript-eslint/parser": ^5.45.1 - "@vitejs/plugin-react": ^2.2.0 - algoliasearch: ^4.14.2 - eslint: ^8.29.0 - eslint-config-standard: ^17.0.0 - eslint-plugin-import: ^2.26.0 - eslint-plugin-n: ^15.6.0 - eslint-plugin-promise: ^6.1.1 - eslint-plugin-react: ^7.31.11 - eslint-plugin-react-hooks: ^4.6.0 - firebase: ^9.14.0 - react: ^18.2.0 - react-dom: ^18.2.0 - react-router: ^6.4.4 - react-router-dom: ^6.4.4 - typescript: ^4.9.4 - vite: ^4.0.0 - vite-plugin-fonts: ^0.6.0 - languageName: unknown - linkType: soft - "@date-io/core@npm:^2.15.0, @date-io/core@npm:^2.16.0": version: 2.16.0 resolution: "@date-io/core@npm:2.16.0" @@ -5382,7 +5237,6 @@ __metadata: version: 0.0.0-use.local resolution: "example-client-project@workspace:example-client-project" dependencies: - "firecms": "workspace:lib" "@emotion/react": ^11.10.5 "@emotion/styled": ^11.10.5 "@module-federation/vite": ^0.2.6 @@ -5394,6 +5248,7 @@ __metadata: "@types/react": ^18.0.26 "@types/react-dom": ^18.0.9 "@vitejs/plugin-react": ^3.0.0 + firecms: "workspace:lib" react: ^18.2.0 react-dom: ^18.2.0 typescript: ^4.9.4 @@ -5620,7 +5475,6 @@ __metadata: version: 0.0.0-use.local resolution: "firecms-example@workspace:example" dependencies: - "firecms": "workspace:lib" "@emotion/react": ^11.10.5 "@emotion/styled": ^11.10.5 "@mui/icons-material": ^5.10.16 @@ -5640,6 +5494,7 @@ __metadata: eslint-plugin-react: ^7.31.11 eslint-plugin-react-hooks: ^4.6.0 firebase: ^9.14.0 + firecms: "workspace:lib" react: ^18.2.0 react-dom: ^18.2.0 react-router: ^6.4.4 @@ -5656,6 +5511,151 @@ __metadata: languageName: unknown linkType: soft +"firecms@workspace:lib": + version: 0.0.0-use.local + resolution: "firecms@workspace:lib" + dependencies: + "@date-io/date-fns": ^2.16.0 + "@emotion/react": ^11.10.5 + "@emotion/styled": ^11.10.5 + "@fontsource/ibm-plex-mono": ^4.5.12 + "@hello-pangea/dnd": ^16.2.0 + "@mui/icons-material": ^5.10.16 + "@mui/lab": ^5.0.0-alpha.111 + "@mui/material": ^5.10.17 + "@mui/x-date-pickers": ^5.0.9 + "@testing-library/jest-dom": ^5.16.5 + "@testing-library/react": ^13.4.0 + "@testing-library/user-event": ^14.4.3 + "@types/jest": ^29.2.4 + "@types/node": ^18.11.11 + "@types/object-hash": ^3.0.1 + "@types/react": ^18.0.26 + "@types/react-dom": ^18.0.9 + "@types/react-measure": ^2.0.8 + "@typescript-eslint/eslint-plugin": ^5.45.1 + "@typescript-eslint/parser": ^5.45.1 + "@vitejs/plugin-react": ^2.2.0 + algoliasearch: ^4.14.2 + cross-env: ^7.0.3 + date-fns: ^2.29.3 + eslint: ^8.29.0 + eslint-config-standard: ^17.0.0 + eslint-plugin-import: ^2.26.0 + eslint-plugin-n: ^15.6.0 + eslint-plugin-promise: ^6.1.1 + eslint-plugin-react: ^7.31.11 + eslint-plugin-react-hooks: ^4.6.0 + firebase: ^9.14.0 + formik: ^2.2.9 + history: ^5.3.0 + jest: ^29.3.1 + markdown-it: ^13.0.1 + notistack: ^2.0.8 + npm-run-all: ^4.1.5 + object-hash: ^3.0.0 + react: ^18.2.0 + react-dom: ^18.2.0 + react-dropzone: ^14.2.3 + react-fast-compare: ^3.2.0 + react-image-file-resizer: ^0.4.8 + react-markdown-editor-lite: ^1.3.4 + react-router: ^6.4.4 + react-router-dom: ^6.4.4 + react-transition-group: ^4.4.5 + react-use-measure: ^2.1.1 + react-window: ^1.8.8 + tsd: ^0.25.0 + typeface-roboto: ^1.1.13 + typeface-rubik: ^1.1.13 + typescript: ^4.9.4 + vite: ^4.0.0 + yup: ^0.32.11 + peerDependencies: + "@emotion/react": ^11.9.3 + "@emotion/styled": ^11.9.3 + "@mui/icons-material": ^5.8.4 + "@mui/lab": ^5.0.0-alpha.90 + "@mui/material": ^5.9.0 + "@mui/x-date-pickers": ^5.0.0-beta.1 + algoliasearch: ^4.13.0 + firebase: ^9.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 + react-router: ^6.2.0 + react-router-dom: ^6.2.0 + languageName: unknown + linkType: soft + +"firecms_collection_editor@workspace:collection_editor": + version: 0.0.0-use.local + resolution: "firecms_collection_editor@workspace:collection_editor" + dependencies: + "@emotion/react": ^11.10.5 + "@emotion/styled": ^11.10.5 + "@mui/icons-material": ^5.10.16 + "@mui/lab": ^5.0.0-alpha.111 + "@mui/material": ^5.10.17 + "@types/react": ^18.0.26 + "@types/react-dom": ^18.0.9 + "@typescript-eslint/eslint-plugin": ^5.45.1 + "@typescript-eslint/parser": ^5.45.1 + "@vitejs/plugin-react": ^2.2.0 + algoliasearch: ^4.14.2 + eslint: ^8.29.0 + eslint-config-standard: ^17.0.0 + eslint-plugin-import: ^2.26.0 + eslint-plugin-n: ^15.6.0 + eslint-plugin-promise: ^6.1.1 + eslint-plugin-react: ^7.31.11 + eslint-plugin-react-hooks: ^4.6.0 + firebase: ^9.14.0 + firecms: "workspace:lib" + flexsearch: 0.7.31 + react: ^18.2.0 + react-dom: ^18.2.0 + react-router: ^6.4.4 + react-router-dom: ^6.4.4 + typescript: ^4.9.4 + vite: ^4.0.0 + vite-plugin-fonts: ^0.6.0 + languageName: unknown + linkType: soft + +"firecms_user_management@workspace:user_management": + version: 0.0.0-use.local + resolution: "firecms_user_management@workspace:user_management" + dependencies: + "@emotion/react": ^11.10.5 + "@emotion/styled": ^11.10.5 + "@mui/icons-material": ^5.10.16 + "@mui/lab": ^5.0.0-alpha.111 + "@mui/material": ^5.10.17 + "@types/react": ^18.0.26 + "@types/react-dom": ^18.0.9 + "@typescript-eslint/eslint-plugin": ^5.45.1 + "@typescript-eslint/parser": ^5.45.1 + "@vitejs/plugin-react": ^2.2.0 + algoliasearch: ^4.14.2 + eslint: ^8.29.0 + eslint-config-standard: ^17.0.0 + eslint-plugin-import: ^2.26.0 + eslint-plugin-n: ^15.6.0 + eslint-plugin-promise: ^6.1.1 + eslint-plugin-react: ^7.31.11 + eslint-plugin-react-hooks: ^4.6.0 + firebase: ^9.14.0 + firecms: "workspace:lib" + react: ^18.2.0 + react-dom: ^18.2.0 + react-router: ^6.4.4 + react-router-dom: ^6.4.4 + typescript: ^4.9.4 + vite: ^4.0.0 + vite-plugin-fonts: ^0.6.0 + languageName: unknown + linkType: soft + "flat-cache@npm:^3.0.4": version: 3.0.4 resolution: "flat-cache@npm:3.0.4" @@ -9385,8 +9385,6 @@ __metadata: version: 0.0.0-use.local resolution: "saas-next@workspace:saas-next" dependencies: - "firecms": "workspace:lib" - "firecms_collection_editor": "workspace:collection_editor" "@emotion/react": ^11.10.5 "@emotion/styled": ^11.10.5 "@mui/icons-material": ^5.10.16 @@ -9396,6 +9394,8 @@ __metadata: algoliasearch: ^4.14.2 date-fns: ^2.29.3 firebase: ^9.14.0 + firecms: "workspace:lib" + firecms_collection_editor: "workspace:collection_editor" gray-matter: ^4.0.3 next: latest react: ^18.2.0 @@ -9412,8 +9412,6 @@ __metadata: version: 0.0.0-use.local resolution: "saas@workspace:saas" dependencies: - "firecms": "workspace:lib" - "firecms_collection_editor": "workspace:collection_editor" "@emotion/react": ^11.10.5 "@emotion/styled": ^11.10.5 "@module-federation/vite": ^0.2.6 @@ -9435,6 +9433,8 @@ __metadata: eslint-plugin-react: ^7.31.11 eslint-plugin-react-hooks: ^4.6.0 firebase: ^9.14.0 + firecms: "workspace:lib" + firecms_collection_editor: "workspace:collection_editor" react: ^18.2.0 react-dom: ^18.2.0 react-router: ^6.4.4