diff --git a/examples/next/app-router/package.json b/examples/next/app-router/package.json index 133c76ae2..9d6d4f67a 100644 --- a/examples/next/app-router/package.json +++ b/examples/next/app-router/package.json @@ -3,11 +3,11 @@ "private": true, "type": "module", "scripts": { - "dev": "faust dev", - "build": "faust build", - "generate": "faust generatePossibleTypes", - "stylesheet": "faust generateGlobalStylesheet", - "start": "faust start" + "dev": "npx faust dev", + "build": "npx faust build", + "generate": "npx faust generatePossibleTypes", + "stylesheet": "npx faust generateGlobalStylesheet", + "start": "npx faust start" }, "dependencies": { "@apollo/client": "^3.8.0", @@ -31,4 +31,4 @@ "next-secure-headers": "^2.2.0", "typescript": "^5.2.2" } -} +} \ No newline at end of file diff --git a/examples/next/block-support/package.json b/examples/next/block-support/package.json index 7e27e96d1..0f12d80b8 100644 --- a/examples/next/block-support/package.json +++ b/examples/next/block-support/package.json @@ -3,12 +3,12 @@ "private": true, "version": "0.2.0", "scripts": { - "predev": "faust generatePossibleTypes && faust generateGlobalStylesheet", - "prebuild": "faust generatePossibleTypes && faust generateGlobalStylesheet", - "dev": "faust dev", - "build": "faust build", - "blockset": "faust blockset", - "start": "faust start" + "predev": "npx faust generatePossibleTypes && faust generateGlobalStylesheet", + "prebuild": "npx faust generatePossibleTypes && faust generateGlobalStylesheet", + "dev": "npx faust dev", + "build": "npx faust build", + "blockset": "npx faust blockset", + "start": "npx faust start" }, "dependencies": { "@apollo/client": "^3.8.8", @@ -33,4 +33,4 @@ "node": ">=18", "npm": ">=10" } -} +} \ No newline at end of file diff --git a/examples/next/custom-toolbar/package.json b/examples/next/custom-toolbar/package.json index 7072e87e1..159ec3639 100644 --- a/examples/next/custom-toolbar/package.json +++ b/examples/next/custom-toolbar/package.json @@ -2,10 +2,10 @@ "name": "@faustwp/custom-toolbar", "private": true, "scripts": { - "dev": "faust dev", - "build": "faust build", - "generate": "faust generatePossibleTypes", - "start": "faust start" + "dev": "npx faust dev", + "build": "npx faust build", + "generate": "npx faust generatePossibleTypes", + "start": "npx faust start" }, "dependencies": { "@apollo/client": "^3.7.7", @@ -16,4 +16,4 @@ "react": "^18.2.0", "react-dom": "^18.2.0" } -} +} \ No newline at end of file diff --git a/examples/next/faustwp-getting-started/package.json b/examples/next/faustwp-getting-started/package.json index a9320b463..33b06a4a4 100644 --- a/examples/next/faustwp-getting-started/package.json +++ b/examples/next/faustwp-getting-started/package.json @@ -3,11 +3,11 @@ "private": true, "version": "0.1.0", "scripts": { - "dev": "faust dev", - "build": "faust build", - "generate": "faust generatePossibleTypes", - "stylesheet": "faust generateGlobalStylesheet", - "start": "faust start" + "dev": "npx faust dev", + "build": "npx faust build", + "generate": "npx faust generatePossibleTypes", + "stylesheet": "npx faust generateGlobalStylesheet", + "start": "npx faust start" }, "dependencies": { "@apollo/client": "^3.10.4", diff --git a/examples/next/getting-started/package.json b/examples/next/getting-started/package.json index 7abb0a60a..7514270c7 100644 --- a/examples/next/getting-started/package.json +++ b/examples/next/getting-started/package.json @@ -7,13 +7,13 @@ "npm": ">=6.0.0" }, "scripts": { - "dev": "next dev", - "build": "next build", - "start": "next start", - "clean": "rimraf .next node_modules", - "lint": "next lint", - "generate": "gqty generate", - "wpe-build": "next build" + "dev": "npx next dev", + "build": "npx next build", + "start": "npx next start", + "clean": "npx rimraf .next node_modules", + "lint": "npx next lint", + "generate": "npx gqty generate", + "wpe-build": "npx next build" }, "dependencies": { "@faustjs/core": "^0.15.13", diff --git a/internal/legacy.faustjs.org/package.json b/internal/legacy.faustjs.org/package.json index 33152cc10..70e8f2c01 100644 --- a/internal/legacy.faustjs.org/package.json +++ b/internal/legacy.faustjs.org/package.json @@ -7,14 +7,14 @@ "dev": "npm run downloadChangelogs && docusaurus start", "start": "npm run downloadChangelogs && docusaurus serve", "build": "npm run downloadChangelogs && docusaurus build", - "swizzle": "docusaurus swizzle", - "deploy": "docusaurus deploy", - "clear": "docusaurus clear", - "serve": "docusaurus serve", + "swizzle": "npx docusaurus swizzle", + "deploy": "npx docusaurus deploy", + "clear": "npx docusaurus clear", + "serve": "npx docusaurus serve", "downloadChangelogs": "node ./scripts/downloadChangelogs.js", "serve:prod": "npm run serve -- --build --port 8080 --host 0.0.0.0", - "write-translations": "docusaurus write-translations", - "write-heading-ids": "docusaurus write-heading-ids" + "write-translations": "npx docusaurus write-translations", + "write-heading-ids": "npx docusaurus write-heading-ids" }, "dependencies": { "@docusaurus/core": "^3.0.1", @@ -43,4 +43,4 @@ "last 1 safari version" ] } -} +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 06d5f8700..973865d80 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36151,6 +36151,66 @@ "plugins/faustwp": { "name": "@faustwp/wordpress-plugin", "version": "1.3.1" + }, + "packages/experimental-app-router/node_modules/@next/swc-android-arm-eabi": { + "version": "12.3.4", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm-eabi/-/swc-android-arm-eabi-12.3.4.tgz", + "integrity": "sha512-cM42Cw6V4Bz/2+j/xIzO8nK/Q3Ly+VSlZJTa1vHzsocJRYz8KT6MrreXaci2++SIZCF1rVRCDgAg5PpqRibdIA==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "packages/experimental-app-router/node_modules/@next/swc-android-arm64": { + "version": "12.3.4", + "resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.3.4.tgz", + "integrity": "sha512-5jf0dTBjL+rabWjGj3eghpLUxCukRhBcEJgwLedewEA/LJk2HyqCvGIwj5rH+iwmq1llCWbOky2dO3pVljrapg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + } + }, + "packages/experimental-app-router/node_modules/@next/swc-freebsd-x64": { + "version": "12.3.4", + "resolved": "https://registry.npmjs.org/@next/swc-freebsd-x64/-/swc-freebsd-x64-12.3.4.tgz", + "integrity": "sha512-KM9JXRXi/U2PUM928z7l4tnfQ9u8bTco/jb939pdFUHqc28V43Ohd31MmZD1QzEK4aFlMRaIBQOWQZh4D/E5lQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "packages/experimental-app-router/node_modules/@next/swc-linux-arm-gnueabihf": { + "version": "12.3.4", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.3.4.tgz", + "integrity": "sha512-3zqD3pO+z5CZyxtKDTnOJ2XgFFRUBciOox6EWkoZvJfc9zcidNAQxuwonUeNts6Xbm8Wtm5YGIRC0x+12YH7kw==", + "cpu": [ + "arm" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } } } } diff --git a/package.json b/package.json index 0d195a3c0..8f636b505 100644 --- a/package.json +++ b/package.json @@ -45,14 +45,14 @@ "test": "npm run build && npm test --workspace=@faustjs/core --workspace=@faustjs/react --workspace=@faustjs/next --workspace=@faustwp/core --workspace=@faustwp/cli --workspace=@faustwp/blocks --workspace=@faustwp/block-editor-utils", "test:coverage": "npm run build && npm run test:coverage --workspace=@faustjs/core --workspace=@faustjs/react --workspace=@faustjs/next --workspace=@faustwp/block-editor-utils", "wpe-build": "exit 1", - "changeset": "changeset", - "version": "changeset version && node scripts/versionPlugin.js", + "changeset": "npx changeset", + "version": "npx changeset version && node scripts/versionPlugin.js", "version:nightly": "changeset version --snapshot && node scripts/versionPlugin.js", "version:status": "changeset status", "release": "npm run build && npm run build:experimental-app-router && changeset publish", "release:nightly": "npm run build && npm run build:experimental-app-router && changeset publish --tag canary", - "lint": "eslint ./packages --ext js,jsx,ts,tsx --max-warnings=0", - "lint:fix": "eslint ./packages --ext js,jsx,ts,tsx --max-warnings=0 --fix" + "lint": "npx eslint ./packages --ext js,jsx,ts,tsx --max-warnings=0", + "lint:fix": "npx eslint ./packages --ext js,jsx,ts,tsx --max-warnings=0 --fix" }, "devDependencies": { "@changesets/cli": "^2.26.2", @@ -80,4 +80,4 @@ "postcss": "8.4.31", "axios": "^1.6.1" } -} +} \ No newline at end of file diff --git a/packages/block-editor-utils/package.json b/packages/block-editor-utils/package.json index 4f9fcde8e..4b4c3f7c9 100644 --- a/packages/block-editor-utils/package.json +++ b/packages/block-editor-utils/package.json @@ -37,13 +37,13 @@ "scripts": { "prebuild": "npm run clean", "postbuild": "npm run package", - "clean": "rimraf dist", + "clean": "npx rimraf dist", "package": "node ../../scripts/package.js", - "test": "jest", + "test": "npx jest", "build": "npm run build-esm && npm run build-cjs", - "build-esm": "tsc -p .", - "build-cjs": "tsc -p tsconfig.cjs.json", - "dev": "tsc -p tsconfig.json --watch" + "build-esm": "npx tsc -p .", + "build-cjs": "npx tsc -p tsconfig.cjs.json", + "dev": "npx tsc -p tsconfig.json --watch" }, "repository": { "type": "git", @@ -59,4 +59,4 @@ "node": ">=18", "npm": ">=8" } -} +} \ No newline at end of file diff --git a/packages/blocks/package.json b/packages/blocks/package.json index a4a02dfc1..3a200e316 100644 --- a/packages/blocks/package.json +++ b/packages/blocks/package.json @@ -24,13 +24,13 @@ "scripts": { "prebuild": "npm run clean", "postbuild": "npm run package", - "clean": "rimraf dist", + "clean": "npx rimraf dist", "package": "node ../../scripts/package.js", - "test": "jest", + "test": "npx jest", "build": "npm run build-esm && npm run build-cjs", - "build-esm": "tsc -p .", - "build-cjs": "tsc -p tsconfig.cjs.json", - "dev": "tsc -p tsconfig.json --watch" + "build-esm": "npx tsc -p .", + "build-cjs": "npx tsc -p tsconfig.cjs.json", + "dev": "npx tsc -p tsconfig.json --watch" }, "repository": { "type": "git", @@ -46,4 +46,4 @@ "node": ">=18", "npm": ">=8" } -} +} \ No newline at end of file diff --git a/packages/core/package.json b/packages/core/package.json index d52b5b26b..a4a38d311 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -34,19 +34,19 @@ "scripts": { "build": "npm run clean && npm run ts && npm run ts:cjs && npm run package", "dev": "npm run ts:watch", - "clean": "rimraf dist", + "clean": "npx rimraf dist", "package": "node ../../scripts/package.js", - "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json --fix", - "lint": "eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json", + "lint:fix": "npx eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json --fix", + "lint": "npx eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json", "prepublish": "npm run build", - "test": "jest", - "test:watch": "jest --watch", - "test:coverage": "jest --coverage", - "test:coverage:ci": "jest --ci --json --coverage --testLocationInResults --outputFile=report.json", - "ts": "tsc -p .", - "ts:cjs": "tsc -p tsconfig-cjs.json", - "ts:watch": "tsc -p . --watch", - "format": "prettier --write ." + "test": "npx jest", + "test:watch": "npx jest --watch", + "test:coverage": "npx jest --coverage", + "test:coverage:ci": "npx jest --ci --json --coverage --testLocationInResults --outputFile=report.json", + "ts": "npx tsc -p .", + "ts:cjs": "npx tsc -p tsconfig-cjs.json", + "ts:watch": "npx tsc -p . --watch", + "format": "npx prettier --write ." }, "repository": { "type": "git", @@ -86,4 +86,4 @@ "typescript": "^4.4.4", "fetch-mock": "9.11.0" } -} +} \ No newline at end of file diff --git a/packages/experimental-app-router/package.json b/packages/experimental-app-router/package.json index 0705510e7..cd0246793 100644 --- a/packages/experimental-app-router/package.json +++ b/packages/experimental-app-router/package.json @@ -22,14 +22,14 @@ "dev": "concurrently \"npm:watch-*\" --prefix-colors \"auto\"", "build": "concurrently \"npm:build-*\" --prefix-colors \"auto\"", "prebuild": "npm run clean", - "clean": "rimraf dist", - "format": "prettier --write .", + "clean": "npx rimraf dist", + "format": "npx prettier --write .", "prepublish": "npm run build", - "test:coverage:ci": "jest --ci --json --coverage --testLocationInResults --outputFile=report.json", - "test:coverage": "jest --coverage", - "test:watch": "jest --watch", - "test": "jest", - "build-js": "tsc -p .", + "test:coverage:ci": "npx jest --ci --json --coverage --testLocationInResults --outputFile=report.json", + "test:coverage": "npx jest --coverage", + "test:watch": "npx jest --watch", + "test": "npx jest", + "build-js": "npx tsc -p .", "watch-js": "concurrently \"npm:build-js -- --watch\"" }, "repository": { @@ -73,4 +73,4 @@ "ts-loader": "^9.4.4", "typescript": "^5.1.6" } -} +} \ No newline at end of file diff --git a/packages/faustwp-cli/package.json b/packages/faustwp-cli/package.json index 58eac2620..b44bfaf80 100644 --- a/packages/faustwp-cli/package.json +++ b/packages/faustwp-cli/package.json @@ -35,14 +35,14 @@ "webpack-cli": "5.1.4" }, "scripts": { - "build": "tsc -p tsconfig.json", - "clean": "rimraf dist", - "dev": "tsc -p tsconfig.json --watch", - "format": "prettier --write .", - "test": "jest", - "test:coverage:ci": "jest --ci --json --coverage --testLocationInResults --passWithNoTests --outputFile=report.json", - "test:coverage": "jest --coverage", - "test:watch": "jest --watch" + "build": "npx tsc -p tsconfig.json", + "clean": "npx rimraf dist", + "dev": "npx tsc -p tsconfig.json --watch", + "format": "npx prettier --write .", + "test": "npx jest", + "test:coverage:ci": "npx jest --ci --json --coverage --testLocationInResults --passWithNoTests --outputFile=report.json", + "test:coverage": "npx jest --coverage", + "test:watch": "npx jest --watch" }, "repository": { "type": "git", @@ -58,4 +58,4 @@ "node": ">=18", "npm": ">=8" } -} +} \ No newline at end of file diff --git a/packages/faustwp-core/package.json b/packages/faustwp-core/package.json index b6c2a9c8e..28ca9c40f 100644 --- a/packages/faustwp-core/package.json +++ b/packages/faustwp-core/package.json @@ -48,19 +48,19 @@ "build": "concurrently \"npm:build-*\" --prefix-colors \"auto\"", "prebuild": "npm run clean", "postbuild": "npm run package", - "clean": "rimraf dist", - "format": "prettier --write .", + "clean": "npx rimraf dist", + "format": "npx prettier --write .", "package": "node ../../scripts/package.js", "prepublish": "npm run build", - "test:coverage:ci": "jest --ci --json --coverage --testLocationInResults --outputFile=report.json", - "test:coverage": "jest --coverage", - "test:watch": "jest --watch", - "test": "jest", - "build-cjs": "tsc -p tsconfig-cjs.json", - "build-js": "tsc -p .", + "test:coverage:ci": "npx jest --ci --json --coverage --testLocationInResults --outputFile=report.json", + "test:coverage": "npx jest --coverage", + "test:watch": "npx jest --watch", + "test": "npx jest", + "build-cjs": "npx tsc -p tsconfig-cjs.json", + "build-js": "npx tsc -p .", "build-fonts": "mkdir -p dist/fonts && shx cp src/fonts/* dist/fonts", - "build-styles": "sass src/styles/toolbar.scss dist/css/toolbar.css --embed-sources", - "watch-styles": "sass src/styles/toolbar.scss dist/css/toolbar.css --embed-sources --watch", + "build-styles": "npx sass src/styles/toolbar.scss dist/css/toolbar.css --embed-sources", + "watch-styles": "npx sass src/styles/toolbar.scss dist/css/toolbar.css --embed-sources --watch", "watch-js": "concurrently \"npm:build-js -- --watch\" \"npm:build-cjs -- --watch\"" }, "repository": { @@ -77,4 +77,4 @@ "node": ">=18", "npm": ">=8" } -} +} \ No newline at end of file diff --git a/packages/next/package.json b/packages/next/package.json index e80eecfcb..9b75362c4 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -41,20 +41,20 @@ }, "scripts": { "build": "npm run clean && npm run ts && npm run ts:cjs && npm run package", - "clean": "rimraf dist", + "clean": "npx rimraf dist", "dev": "npm run ts:watch", - "format": "prettier --write .", - "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json --fix", - "lint": "eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json", + "format": "npx prettier --write .", + "lint:fix": "npx eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json --fix", + "lint": "npx eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json", "package": "node ../../scripts/package.js", "prepublish": "npm run build", - "test:coverage:ci": "jest --ci --json --coverage --testLocationInResults --outputFile=report.json", - "test:coverage": "jest --coverage", - "test:watch": "jest --watch", - "test": "jest", - "ts:cjs": "tsc -p tsconfig-cjs.json", - "ts:watch": "tsc -p . --watch", - "ts": "tsc -p ." + "test:coverage:ci": "npx jest --ci --json --coverage --testLocationInResults --outputFile=report.json", + "test:coverage": "npx jest --coverage", + "test:watch": "npx jest --watch", + "test": "npx jest", + "ts:cjs": "npx tsc -p tsconfig-cjs.json", + "ts:watch": "npx tsc -p . --watch", + "ts": "npx tsc -p ." }, "repository": { "type": "git", diff --git a/packages/react/package.json b/packages/react/package.json index 3f8fcb880..fcd227fe2 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -14,19 +14,19 @@ "scripts": { "build": "npm run clean && npm run ts && npm run ts:cjs && npm run package", "dev": "npm run ts:watch", - "clean": "rimraf dist", + "clean": "npx rimraf dist", "package": "node ../../scripts/package.js", - "lint:fix": "eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json --fix", - "lint": "eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json", + "lint:fix": "npx eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json --fix", + "lint": "npx eslint \"src/**/*.{ts,tsx}\" --parser-options=project:tsconfig.json", "prepublish": "npm run build", - "test": "jest", - "test:watch": "jest --watch", - "test:coverage": "jest --coverage", - "test:coverage:ci": "jest --ci --json --coverage --testLocationInResults --outputFile=report.json", - "ts": "tsc -p .", - "ts:cjs": "tsc -p tsconfig-cjs.json", - "ts:watch": "tsc -p . --watch", - "format": "prettier --write ." + "test": "npx jest", + "test:watch": "npx jest --watch", + "test:coverage": "npx jest --coverage", + "test:coverage:ci": "npx jest --ci --json --coverage --testLocationInResults --outputFile=report.json", + "ts": "npx tsc -p .", + "ts:cjs": "npx tsc -p tsconfig-cjs.json", + "ts:watch": "npx tsc -p . --watch", + "format": "npx prettier --write ." }, "repository": { "type": "git", @@ -72,4 +72,4 @@ "graphql": ">=15.6", "lodash": "^4.17.21" } -} +} \ No newline at end of file