Skip to content

Commit

Permalink
Rename custom condition to something unique
Browse files Browse the repository at this point in the history
  • Loading branch information
krzkaczor committed Dec 9, 2024
1 parent 484d9cb commit a8d9e48
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@/*": ["./src/*"],
"@sb/*": [".storybook/*"]
},
"customConditions": ["@marsfoundation/source"]
"customConditions": ["@marsfoundation/local-spark-monorepo"]
},
"include": ["src", ".storybook"],
"references": [{ "path": "./tsconfig.node.json" }],
Expand Down
2 changes: 1 addition & 1 deletion packages/app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineConfig({
},

resolve: {
conditions: ['@marsfoundation/source'],
conditions: ['@marsfoundation/local-spark-monorepo'],
},

plugins: [
Expand Down
2 changes: 1 addition & 1 deletion packages/common-nodejs/.mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "https://json.schemastore.org/mocharc",
"extension": ["ts"],
"require": "dotenv/config",
"node-option": ["import=tsx", "conditions=@marsfoundation/source"],
"node-option": ["import=tsx", "conditions=@marsfoundation/local-spark-monorepo"],
"timeout": 60000
}
4 changes: 2 additions & 2 deletions packages/common-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"exports": {
".": {
"import": {
"@marsfoundation/source": "./src/index.ts",
"@marsfoundation/local-spark-monorepo": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"@marsfoundation/source": "./src/index.ts",
"@marsfoundation/local-spark-monorepo": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/common-universal/.mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "https://json.schemastore.org/mocharc",
"extension": ["ts"],
"require": "dotenv/config",
"node-option": ["import=tsx", "conditions=@marsfoundation/source"],
"node-option": ["import=tsx", "conditions=@marsfoundation/local-spark-monorepo"],
"timeout": 60000
}
4 changes: 2 additions & 2 deletions packages/common-universal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"exports": {
".": {
"import": {
"@marsfoundation/source": "./src/index.ts",
"@marsfoundation/local-spark-monorepo": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"@marsfoundation/source": "./src/index.ts",
"@marsfoundation/local-spark-monorepo": "./src/index.ts",
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
Expand Down

0 comments on commit a8d9e48

Please sign in to comment.