mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
[AI] Publish loot-core (@actual-app/core) nightly first in workflow (#7200)
* [AI] Publish loot-core (@actual-app/core) nightly first in workflow * [autofix.ci] apply automated fixes * Refactor imports and update configuration - Updated .oxfmtrc.json to change "parent" to ["parent", "subpath"]. - Removed unnecessary blank lines in various TypeScript files to improve code readability. - Adjusted import order in reports and rules files for consistency. * Add workflow steps to pack and publish the core package nightly * Remove nightly tag from npm publish command in workflow for core package * Update post-build script comment to reflect correct workspace command for loot-core declarations --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e069312ac3
commit
6c150cf28a
@@ -20,6 +20,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@actual-app/components": "workspace:*",
|
||||
"@actual-app/core": "workspace:*",
|
||||
"@codemirror/autocomplete": "^6.20.0",
|
||||
"@codemirror/lang-javascript": "^6.2.4",
|
||||
"@codemirror/language": "^6.12.1",
|
||||
@@ -62,7 +63,6 @@
|
||||
"i18next-resources-to-backend": "^1.2.1",
|
||||
"jsdom": "^27.4.0",
|
||||
"lodash": "^4.17.23",
|
||||
"loot-core": "workspace:*",
|
||||
"mdast-util-newline-to-break": "^2.0.0",
|
||||
"memoize-one": "^6.0.0",
|
||||
"pikaday": "1.8.2",
|
||||
|
||||
@@ -1 +1 @@
|
||||
import 'loot-core/typings/window';
|
||||
import '@actual-app/core/typings/window';
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
"rootDir": "src",
|
||||
"tsBuildInfoFile": "build/ts/.tsbuildinfo",
|
||||
"paths": {
|
||||
// TODO: remove and replace with imports from "@actual-app/core"
|
||||
"loot-core/*": ["../loot-core/src/*"],
|
||||
// TODO: move to subpath imports
|
||||
"@desktop-client/*": ["./src/*"]
|
||||
},
|
||||
|
||||
@@ -154,6 +154,8 @@ export default defineConfig(async ({ mode }) => {
|
||||
extensions: resolveExtensions,
|
||||
alias: {
|
||||
'@desktop-client': path.join(__dirname, 'src'),
|
||||
// TODO: remove this once all loot-core imports are replaced with @actual-app/core
|
||||
'loot-core': path.join(__dirname, '../loot-core/src'),
|
||||
},
|
||||
...(!env.IS_GENERIC_BROWSER && {
|
||||
conditions: ['electron', 'module', 'browser', 'default'],
|
||||
|
||||
Reference in New Issue
Block a user