mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Move repo to pnpm based workflow (#14350)
* Use pnpm instead of npm * Setup workspace * Replace scripts / lerna root stuff * Add todo file * Update lock, start updating packages * Update todo * [WIP] Keep going on module resolution in pnpm * Fix final missing deps/types for complete build * [WIP] Replace npm commands with pnpm alternatives * Update jest config for v28 * Fix missing package under schema * Update workflow * Run CI on fork * Use local reference * Remove version from local workflow * Add build to prepare * Add Node's max old space size flag to linter * Idemdito for codeql * Hyphens? Underscores? * Bang * Only build one thing at a time * Underscores after all? * Match 7gb of GH * Set env on prepare * Jest is driving me nuts * Downgrade jest * Add root jest * We'll get there, eventually. * 🥳 * Het houdt niet op, niet vanzelf * attempt to fix e2e * fix unit test & shared import * add `debug: true` to CodeQL action * Fix dev call in shared * Add missing cross-env * Add missing geo-json dependency for app * add flag to prepare action to skip build * remove debug flag from codeql action * fix invalid env syntax * add tslib to app dependencies for tests * another attempt * Added missing rimraf dependency for the api prebuild/cleanup scripts * Added missing ts-node dependency for the api cli script * update E2E tests readme to use pnpm * Undo move of extensions sdk * Fixes nested groups in accordions not rendering fields (#14369) * initial fix for nested groups in accordions * removed debug code * Fix strict relative dates showing "incorrect" (#14390) * Set rounding method of relative formatted date to floor when strict option is selected * Add round fn as an option Co-authored-by: rijkvanzanten <rijkvanzanten@me.com> * Don't use locales in generated camelCased values from env (#14401) Ref https://github.com/directus/directus/discussions/14122 * Fix list panel descending sort (#14396) * fix list panel descending sort * Handle missing or explicit desc value Co-authored-by: rijkvanzanten <rijkvanzanten@me.com> * Fix query primary field for system tables (#14402) * New Crowdin updates (#14403) * Update source file en-US.yaml * New translations en-US.yaml (Spanish, Chile) * New translations en-US.yaml (Spanish, Latin America) * New translations en-US.yaml (Greek) * New translations en-US.yaml (Italian) * New translations en-US.yaml (French, Canada) * Fix/wysiwyg context menu (#14404) * New translations en-US.yaml (Polish) (#14407) * Encoded the url using encodeURIComponent, so that the url gets sanitzed and so, we did not get 404 error. (#14418) * Encoded the url using encodeURIComponent, so that the url gets sanitized and we did not get 404 error. * Added required changes as stated by the reviewer * Used encodeURI instead of encodeURIComponent to encode the params only * Solved linting error * Solved linting errors * checked with npm run lint, no linting errors found * fix generateJoi error due to empty permissions when creating new role (#14416) * fix empty permissions when creating new role * basic test * move logic up * additional test * Update api/tests/utils/filter-items.test.ts Co-authored-by: ian <licitdev@gmail.com> Co-authored-by: ian <licitdev@gmail.com> * Recreate lockfile * Fix build of extensions-sdk * Add missing dependency * Add some more missing deps * Update blackbox to use pnpm * Update workflow to use main * Update pack to work with pnpm * Simplify commands * Remove todo file (completed) * ADd missing types dep * Use local test version * Remove version from local reference * Call super with context * Add missing dep * Simplify workflows Ref https://github.com/directus/organization/issues/135 * Simplify some more * Linter is on root Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com> Co-authored-by: brainslug <tim@brainslug.nl> Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Gerard Lamusse <gerardlamo@gmail.com> Co-authored-by: José Varela <joselcvarela@gmail.com> Co-authored-by: ian <licitdev@gmail.com> Co-authored-by: Zeel Pathak <60271095+zeel-pathak@users.noreply.github.com>
This commit is contained in:
@@ -31,9 +31,9 @@
|
||||
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
|
||||
"devDependencies": {
|
||||
"@directus/docs": "^9.13.2",
|
||||
"@directus/extensions-sdk": "9.14.1",
|
||||
"@directus/format-title": "9.14.1",
|
||||
"@directus/shared": "9.14.1",
|
||||
"@directus/extensions-sdk": "^9.14.1",
|
||||
"@directus/format-title": "^9.15.0",
|
||||
"@directus/shared": "workspace:*",
|
||||
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
||||
"@fortawesome/free-brands-svg-icons": "5.15.4",
|
||||
"@fullcalendar/core": "5.11.0",
|
||||
@@ -59,7 +59,7 @@
|
||||
"@types/dompurify": "2.3.1",
|
||||
"@types/file-saver": "^2.0.5",
|
||||
"@types/geojson": "7946.0.8",
|
||||
"@types/jest": "27.4.0",
|
||||
"@types/jest": "28.1.4",
|
||||
"@types/json2csv": "^5.0.3",
|
||||
"@types/lodash": "4.14.177",
|
||||
"@types/mapbox__mapbox-gl-draw": "1.2.3",
|
||||
@@ -75,30 +75,41 @@
|
||||
"apexcharts": "3.30.0",
|
||||
"axios": "0.24.0",
|
||||
"base-64": "1.0.0",
|
||||
"bytes": "^3.1.2",
|
||||
"camelcase": "^7.0.0",
|
||||
"caret-pos": "2.0.0",
|
||||
"codemirror": "5.64.0",
|
||||
"color": "^4.2.3",
|
||||
"copyfiles": "2.4.1",
|
||||
"cropperjs": "1.5.12",
|
||||
"date-fns": "2.24.0",
|
||||
"diacritics": "1.3.0",
|
||||
"diff": "^5.1.0",
|
||||
"dompurify": "2.3.3",
|
||||
"escape-string-regexp": "5.0.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"flatpickr": "4.6.9",
|
||||
"front-matter": "4.0.2",
|
||||
"geojson": "^0.5.0",
|
||||
"highlight.js": "^11.5.1",
|
||||
"html-entities": "2.3.2",
|
||||
"jest": "27.4.7",
|
||||
"jest": "28.1.2",
|
||||
"joi": "^17.6.0",
|
||||
"json-to-graphql-query": "^2.2.4",
|
||||
"json2csv": "^5.0.7",
|
||||
"jsonlint-mod": "1.7.6",
|
||||
"lodash": "^4.17.21",
|
||||
"mapbox-gl": "^2.9.1",
|
||||
"maplibre-gl": "1.15.2",
|
||||
"markdown-it": "^13.0.1",
|
||||
"markdown-it-anchor": "^8.6.4",
|
||||
"markdown-it-container": "^3.0.0",
|
||||
"markdown-it-table-of-contents": "^0.6.0",
|
||||
"marked": "4.0.10",
|
||||
"micromustache": "8.0.3",
|
||||
"mime": "3.0.0",
|
||||
"mitt": "3.0.0",
|
||||
"ms": "^2.1.3",
|
||||
"nanoid": "3.1.30",
|
||||
"p-queue": "7.1.0",
|
||||
"pinia": "2.0.14",
|
||||
@@ -106,9 +117,11 @@
|
||||
"pretty-ms": "7.0.1",
|
||||
"qrcode": "1.4.4",
|
||||
"rimraf": "3.0.2",
|
||||
"rollup": "^2.75.6",
|
||||
"sass": "1.43.4",
|
||||
"tinymce": "5.10.2",
|
||||
"ts-jest": "27.1.3",
|
||||
"ts-jest": "28.0.5",
|
||||
"tslib": "^2.4.0",
|
||||
"typescript": "4.7.3",
|
||||
"vite": "2.9.9",
|
||||
"vite-plugin-vue-markdown": "0.1.1",
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
"types": ["vite/client", "jest"],
|
||||
"paths": {
|
||||
"@/*": ["src/*"],
|
||||
"preact/*": ["stub/empty.d.ts"]
|
||||
"preact/*": ["stub/empty.d.ts"],
|
||||
"tslib": ["node_modules/tslib/tslib.d.ts"]
|
||||
},
|
||||
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user