Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nocobase
Commits
bf9cc35e
Commit
bf9cc35e
authored
2 years ago
by
chareice
Browse files
Options
Download
Email Patches
Plain Diff
fix: run dev
parent
39578e60
feat/pnpm-support
No related merge requests found
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
packages/app/client/.umirc.ts
+4
-1
packages/app/client/.umirc.ts
packages/app/client/package.json
+3
-1
packages/app/client/package.json
packages/core/cli/package.json
+2
-1
packages/core/cli/package.json
packages/core/cli/src/util.js
+1
-1
packages/core/cli/src/util.js
packages/core/client/package.json
+1
-0
packages/core/client/package.json
packages/core/devtools/src/index.js
+3
-0
packages/core/devtools/src/index.js
pnpm-lock.yaml
+354
-227
pnpm-lock.yaml
with
368 additions
and
231 deletions
+368
-231
packages/app/client/.umirc.ts
+
4
-
1
View file @
bf9cc35e
import
{
getUmiConfig
,
resolveNocobasePackagesAlias
}
from
'
@nocobase/devtools/umiConfig
'
;
import
{
umiConfig
as
UmiConfig
}
from
'
@nocobase/devtools
'
;
const
{
getUmiConfig
,
resolveNocobasePackagesAlias
}
=
UmiConfig
;
import
{
defineConfig
}
from
'
umi
'
;
const
umiConfig
=
getUmiConfig
();
...
...
This diff is collapsed.
Click to expand it.
packages/app/client/package.json
+
3
-
1
View file @
bf9cc35e
...
...
@@ -3,7 +3,9 @@
"version"
:
"0.8.0-alpha.1"
,
"license"
:
"MIT"
,
"devDependencies"
:
{
"@nocobase/client"
:
"0.8.0-alpha.1"
"@nocobase/client"
:
"0.8.0-alpha.1"
,
"@nocobase/devtools"
:
"0.8.0-alpha.1"
,
"umi"
:
"^3.2.20"
},
"repository"
:
{
"type"
:
"git"
,
...
...
This diff is collapsed.
Click to expand it.
packages/core/cli/package.json
+
2
-
1
View file @
bf9cc35e
...
...
@@ -23,7 +23,8 @@
"serve"
:
"^13.0.2"
,
"ts-node"
:
"9.1.1"
,
"ts-node-dev"
:
"1.1.8"
,
"typescript"
:
"4.5.5"
"typescript"
:
"4.5.5"
,
"umi"
:
"3.5.20"
},
"devDependencies"
:
{
"@nocobase/devtools"
:
"0.8.0-alpha.1"
...
...
This diff is collapsed.
Click to expand it.
packages/core/cli/src/util.js
+
1
-
1
View file @
bf9cc35e
...
...
@@ -55,7 +55,7 @@ exports.nodeCheck = () => {
exports
.
run
=
(
command
,
argv
,
options
=
{})
=>
{
const
binPath
=
resolve
(
__dirname
,
'
../node_modules/.bin
'
);
const
bins
=
[
'
ts-node
'
,
'
ts-node-dev
'
];
const
bins
=
[
'
ts-node
'
,
'
ts-node-dev
'
,
'
umi
'
];
return
execa
(
bins
.
includes
(
command
)
?
resolve
(
binPath
,
command
)
:
command
,
argv
,
{
shell
:
true
,
...
...
This diff is collapsed.
Click to expand it.
packages/core/client/package.json
+
1
-
0
View file @
bf9cc35e
...
...
@@ -29,6 +29,7 @@
"file-saver"
:
"^2.0.5"
,
"i18next"
:
"^21.6.0"
,
"json-templates"
:
"^4.2.0"
,
"lodash"
:
"^4.17.21"
,
"marked"
:
"^4.0.12"
,
"mathjs"
:
"^10.6.0"
,
"react-beautiful-dnd"
:
"^13.1.0"
,
...
...
This diff is collapsed.
Click to expand it.
packages/core/devtools/src/index.js
+
3
-
0
View file @
bf9cc35e
const
umiConfig
=
require
(
'
../umiConfig.js
'
);
exports
.
umiConfig
=
umiConfig
;
This diff is collapsed.
Click to expand it.
pnpm-lock.yaml
+
354
-
227
View file @
bf9cc35e
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help