launchdarkly / js-core

LaunchDarkly monorepo for JavaScript SDKs
Other
12 stars 12 forks source link

chore: Allow dirty for jsr publish. #443

Closed yusinto closed 2 months ago

yusinto commented 2 months ago

The root cause is .yarnrc.yml being modified because of the addition of npmRegistryServer:

Publishing jsr: @launchdarkly/cloudflare-server-sdk
diff --git a/.yarnrc.yml b/.yarnrc.yml
index 5a857be..7cbcb75 100644
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -4,10 +4,14 @@ npmPublishAccess: public

 npmScopes:
   jsr:
-    npmRegistryServer: 'https://npm.jsr.io/'
+    npmRegistryServer: "https://npm.jsr.io/"
+  launchdarkly:
+    npmAlwaysAuth: true
+    npmAuthToken: ***
+    npmRegistryServer: "https://registry.npmjs.org/"

 plugins:
   - path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
-    spec: '@yarnpkg/plugin-workspace-tools'
+    spec: "@yarnpkg/plugin-workspace-tools"