|
11 | 11 | ], |
12 | 12 | "scripts": { |
13 | 13 | "benchmark": "jest --config benchmark.config.json", |
14 | | - "build": "yarn build:babel-fixture && yarn build:browser && yarn build:cjs && yarn build:esm && yarn postbuild", |
| 14 | + "build": "yarn build:babel-fixture && yarn build:swc-plugin && yarn build:browser && yarn build:cjs && yarn build:esm && yarn postbuild", |
15 | 15 | "postbuild": "scripts/postbuild.sh", |
16 | 16 | "build:babel-fixture": "yarn workspace @compiled/babel-component-fixture build && yarn workspace @compiled/babel-component-extracted-fixture build", |
17 | 17 | "build:browser": "ttsc --build packages/tsconfig.browser.json", |
|
21 | 21 | "build:parcel": "ttsc --build examples/parcel/tsconfig.json && yarn workspace @compiled/parcel-app build", |
22 | 22 | "build:ssr": "CI=false && ttsc --build examples/ssr/tsconfig.json && yarn workspace @compiled/ssr-app build", |
23 | 23 | "build:storybook": "build-storybook", |
| 24 | + "build:swc-plugin": "yarn workspace @compiled/swc-plugin build", |
24 | 25 | "build:webpack": "yarn build:babel-fixture && ttsc --build examples/webpack/tsconfig.json && yarn workspace @compiled/webpack-app build", |
25 | 26 | "build:webpack:extract": "EXTRACT_TO_CSS=true yarn build:webpack", |
26 | 27 | "bundlesize": "yarn build && size-limit", |
|
42 | 43 | "start:ssr": "ttsc --build examples/ssr/tsconfig.json && yarn workspace @compiled/ssr-app start", |
43 | 44 | "start:webpack": "yarn build:babel-fixture && ttsc --build examples/webpack/tsconfig.json && yarn workspace @compiled/webpack-app start", |
44 | 45 | "start:webpack:extract": "EXTRACT_TO_CSS=true yarn start:webpack", |
45 | | - "test": "jest --no-cache", |
| 46 | + "test": "jest --no-cache && yarn test:swc", |
46 | 47 | "test:cover": "yarn test --collectCoverage", |
47 | 48 | "test:imports": "node test/test-imports", |
48 | 49 | "test:parcel": "jest --testMatch '**/src/**/*.parceltest.{ts,tsx}' --testEnvironment=node", |
| 50 | + "test:swc": "yarn workspace @compiled/swc-plugin test && yarn workspace @compiled/swc-plugin test:ts", |
49 | 51 | "test:vr": "yarn loki --host host.docker.internal", |
50 | 52 | "test:watch": "jest --no-cache --watch", |
51 | 53 | "website:build": "cd website/ && NODE_ENV=production yarn build", |
|
128 | 130 | } |
129 | 131 | } |
130 | 132 | }, |
| 133 | + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", |
131 | 134 | "size-limit": [ |
132 | 135 | { |
133 | 136 | "path": "./packages/react/dist/browser/runtime/css-custom-property.js", |
|
0 commit comments