0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

🔧 Disable tokens in dev env by default

This commit is contained in:
Andrés Moya 2024-11-05 13:16:56 +01:00
parent b3b8121d60
commit 040a94f719
3 changed files with 5 additions and 5 deletions

View file

@ -30,8 +30,7 @@ export PENPOT_FLAGS="\
enable-access-tokens \
enable-tiered-file-data-storage \
enable-file-validation \
enable-file-schema-validation \
disable-feature-design-tokens";
enable-file-schema-validation";
# Default deletion delay for devenv
export PENPOT_DELETION_DELAY="24h"

View file

@ -22,8 +22,7 @@ export PENPOT_FLAGS="\
enable-access-tokens \
enable-tiered-file-data-storage \
enable-file-validation \
enable-file-schema-validation \
disable-feature-design-tokens";
enable-file-schema-validation";
export OPTIONS="
-A:jmx-remote -A:dev \

View file

@ -110,7 +110,9 @@
(when *assert*
(->> (rx/from cfeat/no-migration-features)
;; text editor v2 isn't enabled by default even in devenv
(rx/filter #(not (or (contains? cfeat/backend-only-features %) (= "text-editor/v2" %))))
(rx/filter #(not (or (contains? cfeat/backend-only-features %)
(= "text-editor/v2" %)
(= "design-tokens/v1" %))))
(rx/observe-on :async)
(rx/map enable-feature))))