Skip to content

Commit 2091ebd

Browse files
committed
move dependencies around; remove tsc during build
1 parent 2489c26 commit 2091ebd

File tree

5 files changed

+17
-19
lines changed

5 files changed

+17
-19
lines changed

apps/site/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"name": "@node-core/website",
33
"type": "module",
44
"scripts": {
5-
"scripts:release-post": "pnpm exec cross-env NODE_NO_WARNINGS=1 node scripts/release-post/index.mjs",
6-
"dev": "pnpm exec cross-env NODE_NO_WARNINGS=1 next dev",
5+
"scripts:release-post": "cross-env NODE_NO_WARNINGS=1 node scripts/release-post/index.mjs",
6+
"dev": "cross-env NODE_NO_WARNINGS=1 next dev",
77
"serve": "pnpm dev",
8-
"build": "pnpm exec cross-env NODE_NO_WARNINGS=1 next build --turbopack",
9-
"start": "pnpm exec cross-env NODE_NO_WARNINGS=1 next start",
10-
"deploy": "pnpm exec cross-env NEXT_PUBLIC_STATIC_EXPORT=true NODE_NO_WARNINGS=1 next build",
8+
"build": "cross-env NODE_NO_WARNINGS=1 next build --turbopack",
9+
"start": "cross-env NODE_NO_WARNINGS=1 next start",
10+
"deploy": "cross-env NEXT_PUBLIC_STATIC_EXPORT=true NODE_NO_WARNINGS=1 next build",
1111
"check-types": "tsc --noEmit",
1212
"lint:js": "eslint \"**/*.{js,mjs,ts,tsx}\"",
1313
"lint:snippets": "node ./scripts/lint-snippets/index.mjs",
@@ -16,8 +16,8 @@
1616
"lint": "turbo run lint:md lint:snippets lint:js lint:css",
1717
"lint:fix": "turbo run lint:md lint:js lint:css --no-cache -- --fix",
1818
"sync-orama": "node ./scripts/orama-search/sync-orama-cloud.mjs",
19-
"test:unit": "pnpm exec cross-env NODE_NO_WARNINGS=1 node --experimental-test-coverage --test-coverage-exclude=**/*.test.* --experimental-test-module-mocks --enable-source-maps --import=global-jsdom/register --import=tsx --import=tests/setup.jsx --test **/*.test.*",
20-
"test:unit:watch": "pnpm exec cross-env NODE_OPTIONS=\"--watch\" npm run test:unit",
19+
"test:unit": "cross-env NODE_NO_WARNINGS=1 node --experimental-test-coverage --test-coverage-exclude=**/*.test.* --experimental-test-module-mocks --enable-source-maps --import=global-jsdom/register --import=tsx --import=tests/setup.jsx --test **/*.test.*",
20+
"test:unit:watch": "cross-env NODE_OPTIONS=\"--watch\" npm run test:unit",
2121
"test": "turbo test:unit"
2222
},
2323
"dependencies": {
@@ -68,15 +68,15 @@
6868
"tailwindcss": "~4.0.17",
6969
"unist-util-visit": "~5.0.0",
7070
"vfile": "~6.0.3",
71-
"vfile-matter": "~5.0.1"
71+
"vfile-matter": "~5.0.1",
72+
"cross-env": "7.0.3"
7273
},
7374
"devDependencies": {
7475
"@eslint/compat": "~1.2.8",
7576
"@eslint/eslintrc": "~3.3.1",
7677
"@next/eslint-plugin-next": "15.2.4",
7778
"@testing-library/user-event": "~14.6.1",
7879
"@types/semver": "~7.7.0",
79-
"cross-env": "7.0.3",
8080
"eslint-config-next": "15.2.4",
8181
"eslint-import-resolver-typescript": "~4.3.1",
8282
"eslint-plugin-mdx": "~3.4.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"prettier:fix": "pnpm prettier --write",
3434
"format": "pnpm lint:fix && pnpm prettier:fix",
3535
"test": "turbo test:unit",
36-
"test:ci": "pnpm exec cross-env NODE_OPTIONS=\"--test-reporter=lcov --test-reporter-destination=lcov.info --test-reporter=junit --test-reporter-destination=junit.xml --test-reporter=@reporters/github --test-reporter-destination=stdout --test-reporter=spec --test-reporter-destination=stdout\" turbo test:unit",
36+
"test:ci": "cross-env NODE_OPTIONS=\"--test-reporter=lcov --test-reporter-destination=lcov.info --test-reporter=junit --test-reporter-destination=junit.xml --test-reporter=@reporters/github --test-reporter-destination=stdout --test-reporter=spec --test-reporter-destination=stdout\" turbo test:unit",
3737
"prepare": "husky"
3838
},
3939
"dependencies": {

packages/i18n/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
}
2121
},
2222
"scripts": {
23-
"build": "tsc --declaration --emitDeclarationOnly",
2423
"lint:js": "eslint \"**/*.{js,mjs,ts}\""
2524
},
2625
"devDependencies": {

packages/ui-components/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,15 @@
2121
"./stylelint/*": "./stylelint/*"
2222
},
2323
"scripts": {
24-
"build": "tsc --declaration --emitDeclarationOnly",
2524
"check-types": "tsc --noEmit",
2625
"lint:js": "eslint \"**/*.{js,mjs,ts,tsx}\"",
2726
"lint:css": "stylelint \"**/*.css\" --allow-empty-input --cache --cache-strategy=content --cache-location=.stylelintcache",
2827
"lint": "turbo run lint:js lint:css",
2928
"lint:fix": "turbo run lint:js lint:css --no-cache -- --fix",
30-
"storybook": "pnpm exec cross-env NODE_NO_WARNINGS=1 storybook dev -p 6006 --quiet",
31-
"storybook:build": "pnpm exec cross-env NODE_NO_WARNINGS=1 storybook build --quiet --webpack-stats-json",
32-
"test:unit": "pnpm exec cross-env NODE_NO_WARNINGS=1 node --experimental-test-coverage --test-coverage-exclude=**/*.test.* --enable-source-maps --import=global-jsdom/register --import=tsx --import=../../tests/setup.mjs --test **/*.test.*",
33-
"test:unit:watch": "pnpm exec cross-env NODE_OPTIONS=\"--watch\" pnpm test:unit",
29+
"storybook": "cross-env NODE_NO_WARNINGS=1 storybook dev -p 6006 --quiet",
30+
"storybook:build": "cross-env NODE_NO_WARNINGS=1 storybook build --quiet --webpack-stats-json",
31+
"test:unit": "cross-env NODE_NO_WARNINGS=1 node --experimental-test-coverage --test-coverage-exclude=**/*.test.* --enable-source-maps --import=global-jsdom/register --import=tsx --import=../../tests/setup.mjs --test **/*.test.*",
32+
"test:unit:watch": "cross-env NODE_OPTIONS=\"--watch\" pnpm test:unit",
3433
"test": "turbo test:unit"
3534
},
3635
"engines": {

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)