feat(codemod): Add @oceanbase/design color token map for style-to-token and less-to-token transformer #44
Annotations
10 errors and 1 warning
Run test:
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' ] }
|
Run test:
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' ] }
|
Run test:
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' ] }
|
Run test:
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' ] }
|
Run test:
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' ] }
|
Run test:
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' ] }
|
Run test:
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' ] }
|
Run test:
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' ] }
|
Run test:
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' ] }
|
Run test
Process completed with exit code 1.
|
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/.
|
Loading