|
13 | 13 | "yari-tool": "tool/cli.js"
|
14 | 14 | },
|
15 | 15 | "scripts": {
|
16 |
| - "ai-help-macros": "ts-node scripts/ai-help-macros.ts", |
| 16 | + "ai-help-macros": "cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node scripts/ai-help-macros.ts", |
17 | 17 | "analyze": "source-map-explorer 'client/build/static/js/*.js'",
|
18 | 18 | "analyze:css": "source-map-explorer 'client/build/static/css/*.css'",
|
19 | 19 | "build": "cross-env NODE_ENV=production NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node build/cli.ts",
|
20 |
| - "build:blog": "cross-env NODE_ENV=production ts-node build/build-blog.ts", |
| 20 | + "build:blog": "cross-env NODE_ENV=production NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node build/build-blog.ts", |
21 | 21 | "build:client": "cd client && cross-env NODE_ENV=production BABEL_ENV=production INLINE_RUNTIME_CHUNK=false node scripts/build.js",
|
22 |
| - "build:curriculum": "cross-env NODE_ENV=production ts-node build/build-curriculum.ts", |
| 22 | + "build:curriculum": "cross-env NODE_ENV=production NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node build/build-curriculum.ts", |
23 | 23 | "build:dist": "tsc -p tsconfig.dist.json",
|
24 | 24 | "build:glean": "cd client && cross-env VIRTUAL_ENV=venv glean translate src/telemetry/metrics.yaml src/telemetry/pings.yaml -f typescript -o src/telemetry/generated",
|
25 | 25 | "build:prepare": "yarn build:client && yarn build:ssr && yarn tool optimize-client-build && yarn tool google-analytics-code && yarn tool popularities && yarn tool spas && yarn tool gather-git-history && yarn tool build-robots-txt",
|
|
29 | 29 | "check:tsc": "find . -name 'tsconfig.json' ! -wholename '**/node_modules/**' -print0 | xargs -n1 -P 2 -0 sh -c 'cd `dirname $0` && echo \"🔄 $(pwd)\" && npx tsc --noEmit && echo \"☑️ $(pwd)\" || exit 255'",
|
30 | 30 | "dev": "yarn build:prepare && nf -j Procfile.dev start",
|
31 | 31 | "eslint": "eslint .",
|
32 |
| - "filecheck": "ts-node filecheck/cli.ts", |
| 32 | + "filecheck": "cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node filecheck/cli.ts", |
33 | 33 | "install:all": "find . -mindepth 2 -name 'yarn.lock' ! -wholename '**/node_modules/**' -print0 | xargs -n1 -0 sh -cx 'yarn --cwd $(dirname $0) install'",
|
34 | 34 | "install:all:npm": "find . -mindepth 2 -name 'package-lock.json' ! -wholename '**/node_modules/**' -print0 | xargs -n1 -0 sh -cx 'npm --prefix $(dirname $0) install'",
|
35 | 35 | "jest": "node --experimental-vm-modules --expose-gc ./node_modules/.bin/jest --logHeapUsage",
|
36 |
| - "m2h": "ts-node markdown/m2h/cli.ts", |
| 36 | + "m2h": "cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node markdown/m2h/cli.ts", |
37 | 37 | "prepack": "yarn build:dist",
|
38 | 38 | "prepare": "(husky || true) && yarn install:all && yarn install:all:npm",
|
39 | 39 | "prettier-check": "prettier --check .",
|
40 | 40 | "prettier-format": "prettier --write .",
|
41 | 41 | "start": "(test -f client/build/index.html || yarn build:client) && (test -f ssr/dist/main.js || yarn build:ssr) && (test -f popularities.json || yarn tool popularities) && (test -d client/build/en-us/_spas || yarn tool spas) && nf -j Procfile.start start",
|
42 | 42 | "start:client": "cd client && cross-env NODE_ENV=development BABEL_ENV=development BROWSER=none PORT=3000 node scripts/start.js",
|
43 | 43 | "start:server": "node-dev --experimental-loader ts-node/esm server/index.ts",
|
44 |
| - "start:static-server": "ts-node server/static.ts", |
| 44 | + "start:static-server": "cross-env NODE_OPTIONS='--no-warnings=ExperimentalWarning --loader ts-node/esm' node server/static.ts", |
45 | 45 | "style-dictionary": "style-dictionary build -c sd-config.js",
|
46 | 46 | "stylelint": "stylelint \"**/*.scss\"",
|
47 | 47 | "test": "yarn prettier-check && yarn test:client && yarn test:kumascript && yarn test:libs && yarn test:content && yarn test:testing",
|
|
0 commit comments