feat(design): Input add default placeholder and ConfigProvider support to config it global #48
Annotations
10 errors and 1 warning
transforms/__tests__/less-to-token.test.ts:
packages/codemod/transforms/utils/token.js#L2
Error: Cannot find module '@oceanbase/design/lib/theme/default'
Require stack:
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/less-to-token.js
❯ Object.<anonymous> transforms/utils/token.js:2:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js', '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/less-to-token.js' ] }
|
transforms/__tests__/style-to-token.test.ts > style-to-token > style-to-token > transforms correctly using "style-to-token/function-component" data:
packages/codemod/transforms/utils/token.js#L2
Error: Cannot find module '@oceanbase/design/lib/theme/default'
Require stack:
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js
- /home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js
❯ Object.<anonymous> transforms/utils/token.js:2:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js', '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js', '/home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js' ] }
|
transforms/__tests__/style-to-token.test.ts > style-to-token > style-to-token > transforms correctly using "style-to-token/class-component" data:
packages/codemod/transforms/utils/token.js#L2
Error: Cannot find module '@oceanbase/design/lib/theme/default'
Require stack:
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js
- /home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js
❯ Object.<anonymous> transforms/utils/token.js:2:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js', '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js', '/home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js' ] }
|
transforms/__tests__/style-to-token.test.ts > style-to-token > style-to-token > transforms correctly using "style-to-token/block-statement" data:
packages/codemod/transforms/utils/token.js#L2
Error: Cannot find module '@oceanbase/design/lib/theme/default'
Require stack:
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js
- /home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js
❯ Object.<anonymous> transforms/utils/token.js:2:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js', '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js', '/home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js' ] }
|
transforms/__tests__/style-to-token.test.ts > style-to-token > style-to-token > transforms correctly using "style-to-token/nested-block-statement" data:
packages/codemod/transforms/utils/token.js#L2
Error: Cannot find module '@oceanbase/design/lib/theme/default'
Require stack:
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js
- /home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js
❯ Object.<anonymous> transforms/utils/token.js:2:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js', '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js', '/home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js' ] }
|
transforms/__tests__/style-to-token.test.ts > style-to-token > style-to-token > transforms correctly using "style-to-token/existed-useToken" data:
packages/codemod/transforms/utils/token.js#L2
Error: Cannot find module '@oceanbase/design/lib/theme/default'
Require stack:
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js
- /home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js
❯ Object.<anonymous> transforms/utils/token.js:2:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js', '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js', '/home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js' ] }
|
transforms/__tests__/style-to-token.test.ts > style-to-token > style-to-token > transforms correctly using "style-to-token/top-identifier" data:
packages/codemod/transforms/utils/token.js#L2
Error: Cannot find module '@oceanbase/design/lib/theme/default'
Require stack:
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js
- /home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js
❯ Object.<anonymous> transforms/utils/token.js:2:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js', '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js', '/home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js' ] }
|
transforms/__tests__/style-to-token.test.ts > style-to-token > style-to-token > transforms correctly using "style-to-token/case-insensitive" data:
packages/codemod/transforms/utils/token.js#L2
Error: Cannot find module '@oceanbase/design/lib/theme/default'
Require stack:
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js
- /home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js
❯ Object.<anonymous> transforms/utils/token.js:2:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js', '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/style-to-token.js', '/home/runner/work/oceanbase-design/oceanbase-design/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/jscodeshift/src/testUtils.js' ] }
|
transforms/__tests__/token.test.ts:
packages/codemod/transforms/utils/token.js#L2
Error: Cannot find module '@oceanbase/design/lib/theme/default'
Require stack:
- /home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js
❯ transforms/utils/token.js:2:35
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/runner/work/oceanbase-design/oceanbase-design/packages/codemod/transforms/utils/token.js' ] }
|
test (16.x, ubuntu-latest)
Process completed with exit code 1.
|
test (16.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|