Skip to content

Commit 461c34e

Browse files
author
Jonathan Adler
authored
ci: Migrate non-scoped to scoped packages
1 parent dc73d19 commit 461c34e

File tree

15 files changed

+26
-25
lines changed

15 files changed

+26
-25
lines changed

packages/wix-style-react-test-runtime/.storybook/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const wixStorybookConfig = require('yoshi/config/webpack.config.storybook');
1+
const wixStorybookConfig = require('@wix/yoshi/config/webpack.config.storybook');
22

33
module.exports = ({ config }) => {
44
config.module.rules[0].use[0].loader = require.resolve('babel-loader');

packages/wix-style-react-test-runtime/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"extends": "yoshi"
3838
},
3939
"devDependencies": {
40-
"babel-preset-yoshi": "^4.78.0",
40+
"@wix/babel-preset-yoshi": "^4.78.0",
4141
"eslint-config-yoshi": "^4.78.0",
4242
"eslint-plugin-react": "^6.10.3",
4343
"jest-yoshi-preset": "^4.87.0",
@@ -46,7 +46,7 @@
4646
"typescript": "^4.1.3",
4747
"velocity": "^0.7.2",
4848
"wix-style-react": "^9.65.0",
49-
"yoshi": "^4.87.0",
49+
"@wix/yoshi": "^4.87.0",
5050
"yoshi-stylable-dependencies": "^4.0.0",
5151
"yoshi-style-dependencies": "^4.71.0"
5252
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require('@babel/register')({
2-
presets: [[require.resolve('babel-preset-yoshi')]],
2+
presets: [[require.resolve('@wix/babel-preset-yoshi')]],
33
});
44
require('yoshi-runtime').wixCssModulesRequireHook('./src');
55
require('@stylable/node').attachHook();

packages/wix-style-react/.autotools/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const path = require('path');
2-
const { decorateStorybookConfig } = require('yoshi-flow-library/storybook');
2+
const { decorateStorybookConfig } = require('@wix/yoshi-flow-library/storybook');
33

44
module.exports = decorateStorybookConfig({
55
context: path.resolve(__dirname, '..'),

packages/wix-style-react/.storybook/e2e/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const merge = require('lodash/merge');
22
const path = require('path');
3-
const wixStorybookConfig = require('yoshi/config/webpack.config.storybook');
3+
const wixStorybookConfig = require('@wix/yoshi/config/webpack.config.storybook');
44

55
module.exports = ({ config }) => {
66
config.module.rules[0].use[0].loader = require.resolve('babel-loader');

packages/wix-style-react/.storybook/visual/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const merge = require('lodash/merge');
22
const path = require('path');
33

4-
const { decorateStorybookConfig } = require('yoshi-flow-library/storybook');
4+
const { decorateStorybookConfig } = require('@wix/yoshi-flow-library/storybook');
55

66
module.exports = ({ config }) => {
77
const srcPath = path.resolve(__dirname, '../..', 'src');

packages/wix-style-react/.storybook/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const merge = require('lodash/merge');
22
const path = require('path');
3-
const { decorateStorybookConfig } = require('yoshi-flow-library/storybook');
3+
const { decorateStorybookConfig } = require('@wix/yoshi-flow-library/storybook');
44
const StylableWebpackPlugin = require('yoshi-common/build/@stylable/webpack-plugin')
55
.default;
66

packages/wix-style-react/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"@wix/ambassador-wix-atlas-service-web": "^1.0.150",
139139
"babel-loader": "^8.2.2",
140140
"babel-plugin-dynamic-import-node": "^2.3.3",
141-
"babel-preset-yoshi": "^4.78.0",
141+
"@wix/babel-preset-yoshi": "^4.78.0",
142142
"cista": "0.0.3",
143143
"concurrently": "^3.6.1",
144144
"copy": "^0.3.2",
@@ -183,10 +183,10 @@
183183
"webpack-cli": "^3.3.12",
184184
"wix-storybook-utils": "^3.0.139",
185185
"wix-ui-framework": "^3.5.2",
186-
"yoshi": "^4.9.0",
187-
"yoshi-config": "^4.87.0",
188-
"yoshi-flow-library": "^4.87.0",
189-
"yoshi-helpers": "^4.87.0",
186+
"@wix/yoshi": "^4.9.0",
187+
"@wix/yoshi-config": "^4.87.0",
188+
"@wix/yoshi-flow-library": "^4.87.0",
189+
"@wix/yoshi-helpers": "^4.87.0",
190190
"yoshi-runtime": "1.0.732",
191191
"yoshi-style-dependencies": "^4.228.0"
192192
},

packages/wix-style-react/scripts/bundlify-components/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
const path = require('path');
44

5-
const { tryRequire } = require('yoshi-helpers/utils');
6-
const { createClientWebpackConfig } = require('yoshi/config/webpack.config');
5+
const { tryRequire } = require('@wix/yoshi-helpers/utils');
6+
const { createClientWebpackConfig } = require('@wix/yoshi/config/webpack.config');
77

88
const config = createClientWebpackConfig({ isDebug: false });
99

packages/wix-style-react/wallaby.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = function (wallaby) {
2-
const wallabyYoshi = require('yoshi/config/wallaby-jest')(wallaby);
2+
const wallabyYoshi = require('@wix/yoshi/config/wallaby-jest')(wallaby);
33
wallabyYoshi.tests = ['src/**/*.spec.js', '!test/export-components.spec.js'];
44
wallabyYoshi.files.push({ pattern: 'src/**/*.tsx', ignore: true });
55
return wallabyYoshi;

packages/wix-ui-tpa/.autotools/node-require-hooks.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
const { resolveNamespaceFactory } = require('@stylable/node');
2-
const project = require('yoshi-config');
32
require('yoshi-common/build/require-hooks').setupRequireHooks();
43
require('yoshi-runtime').wixCssModulesRequireHook('./src');
54
require('@babel/register')({
6-
presets: [[require.resolve('babel-preset-yoshi')]],
5+
presets: [[require.resolve('@wix/babel-preset-yoshi')]],
76
});
87

98
require('@stylable/node').attachHook({
109
stylableConfig: {
11-
resolveNamespace: resolveNamespaceFactory(project.name),
10+
resolveNamespace: resolveNamespaceFactory('wix-ui-tpa'),
1211
},
1312
});
1413
const path = require('path');

packages/wix-ui-tpa/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,17 @@
7373
},
7474
"dependencies": {
7575
"@stylable/dom-test-kit": "^3.11.14",
76+
"@wix/babel-preset-yoshi": "^4.286.0",
7677
"classnames": "^2.2.6",
78+
"date-fns": "^2.16.1",
7779
"focus-trap": "^5.1.0",
7880
"lodash": "^4.17.11",
7981
"normalize-scroll-left": "^0.2.1",
8082
"react-resize-detector": "^4.1.3",
8183
"wix-style-react": "^9.79.0",
8284
"wix-ui-core": "^3.0.183",
8385
"wix-ui-icons-common": "^2.0.308",
84-
"yoshi-stylable-dependencies": "^4.86.0",
85-
"date-fns": "^2.16.1"
86+
"yoshi-stylable-dependencies": "^4.86.0"
8687
},
8788
"devDependencies": {
8889
"@applitools/eyes-storybook": "^3.16.5",
@@ -105,9 +106,11 @@
105106
"@ui-autotools/a11y": "^5.0.1",
106107
"@ui-autotools/registry": "^5.0.0",
107108
"@ui-autotools/sanity": "^5.0.1",
109+
"@wix/babel-preset-yoshi": "^4.286.0",
108110
"@wix/npm-blame": "^1.0.509",
109111
"@wix/perfer": "^1.0.168",
110112
"@wix/wix-base-ui": "^3.949.0",
113+
"@wix/yoshi": "^4.9.0",
111114
"autoprefixer": "^9.5.1",
112115
"chalk": "^2.4.2",
113116
"color": "^3.1.3",
@@ -141,7 +144,6 @@
141144
"wix-ui-framework": "^3.5.2",
142145
"wix-ui-test-utils": "^1.0.0",
143146
"yargs": "^16.2.0",
144-
"yoshi": "^4.9.0",
145147
"yoshi-style-dependencies": "^4.228.0"
146148
},
147149
"husky": {

packages/wix-ui-tpa/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"./src/components/**/*.ts",
2020
"./test/**/*.tsx",
2121
"./src/external-types.d.ts", "src/common/utils.ts", "src/common/animations.ts",
22-
"./node_modules/yoshi/types.d.ts"
22+
"./node_modules/@wix/yoshi/types.d.ts"
2323
]
2424
}

packages/wix-ui-tpa/wallaby.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('yoshi/config/wallaby-jest');
1+
module.exports = require('@wix/yoshi/config/wallaby-jest');

packages/wix-ui-tpa/webpack.config.storybook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const merge = require('lodash/merge');
22
const path = require('path');
3-
const wixStorybookConfig = require('yoshi/config/webpack.config.storybook');
3+
const wixStorybookConfig = require('@wix/yoshi/config/webpack.config.storybook');
44
const { StylableWebpackPlugin } = require('@stylable/webpack-plugin');
55
const project = require('yoshi-config');
66
const { resolveNamespaceFactory } = require('@stylable/node');

0 commit comments

Comments
 (0)