Changeset 54650
- Timestamp:
- 10/19/2022 06:18:45 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/coding-standards.yml
r54649 r54650 22 22 - '**.js' 23 23 - '**.php' 24 # These files configure NPM. Changes could affect the outcome.24 # These files configure npm. Changes could affect the outcome. 25 25 - 'package*.json' 26 26 # These files configure Composer. Changes could affect the outcome. … … 126 126 # - Checks out the repository. 127 127 # - Logs debug information about the GitHub Action runner. 128 # - Installs Node JS.128 # - Installs Node.js. 129 129 # - Logs updated debug information. 130 # _ Installs NPMdependencies.130 # _ Installs npm dependencies. 131 131 # - Run the WordPress JSHint checks. 132 132 # - Ensures version-controlled files are not modified or deleted. … … 150 150 svn --version 151 151 152 - name: Install Node JS152 - name: Install Node.js 153 153 uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1 154 154 with: -
trunk/.github/workflows/end-to-end-tests.yml
r54511 r54650 37 37 # - Checks out the repository. 38 38 # - Logs debug information about the GitHub Action runner. 39 # - Installs Node JS.40 # _ Installs NPMdependencies.39 # - Installs Node.js. 40 # _ Installs npm dependencies. 41 41 # - Builds WordPress to run from the `build` directory. 42 42 # - Starts the WordPress Docker container. … … 73 73 locale -a 74 74 75 - name: Install Node JS75 - name: Install Node.js 76 76 uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1 77 77 with: -
trunk/.github/workflows/javascript-tests.yml
r54511 r54650 20 20 # Any change to a JavaScript file should run tests. 21 21 - '**.js' 22 # These files configure NPM. Changes could affect the outcome.22 # These files configure npm. Changes could affect the outcome. 23 23 - 'package*.json' 24 24 # This file configures ESLint. Changes could affect the outcome. … … 45 45 # - Checks out the repository. 46 46 # - Logs debug information about the GitHub Action runner. 47 # - Installs Node JS.47 # - Installs Node.js. 48 48 # - Logs updated debug information. 49 # _ Installs NPMdependencies.49 # _ Installs npm dependencies. 50 50 # - Run the WordPress QUnit tests. 51 51 # - Ensures version-controlled files are not modified or deleted. … … 67 67 svn --version 68 68 69 - name: Install Node JS69 - name: Install Node.js 70 70 uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1 71 71 with: -
trunk/.github/workflows/phpunit-tests.yml
r54649 r54650 38 38 # - Sets environment variables. 39 39 # - Sets up the environment variables needed for testing with memcached (if desired). 40 # - Installs Node JS.41 # - Installs NPMdependencies40 # - Installs Node.js. 41 # - Installs npm dependencies 42 42 # - Configures caching for Composer. 43 43 # - Installs Composer dependencies. … … 109 109 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 110 110 111 - name: Install Node JS111 - name: Install Node.js 112 112 uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1 113 113 with: -
trunk/.github/workflows/test-coverage.yml
r54649 r54650 40 40 # - Checks out the WordPress Importer plugin (needed for the Core PHPUnit tests). 41 41 # - Logs debug information about the GitHub Action runner. 42 # - Installs Node JS.43 # _ Installs NPMdependencies.42 # - Installs Node.js. 43 # _ Installs npm dependencies. 44 44 # - Logs Docker debug information (about the Docker installation within the runner). 45 45 # - Starts the WordPress Docker container. … … 87 87 locale -a 88 88 89 - name: Install Node JS89 - name: Install Node.js 90 90 uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1 91 91 with: -
trunk/.github/workflows/test-npm.yml
r54511 r54650 1 name: Test NPM1 name: Test npm 2 2 3 3 on: … … 16 16 - '[4-9].[0-9]' 17 17 paths: 18 # These files configure NPM. Changes could affect the outcome.18 # These files configure npm. Changes could affect the outcome. 19 19 - 'package*.json' 20 # JavaScript files are built using NPM.20 # JavaScript files are built using npm. 21 21 - '**.js' 22 # CSS and SCSS files are built using NPM.22 # CSS and SCSS files are built using npm. 23 23 - '**.scss' 24 24 - '**.css' … … 38 38 39 39 jobs: 40 # Verifies that installing NPMdependencies and building WordPress works as expected.40 # Verifies that installing npm dependencies and building WordPress works as expected. 41 41 # 42 42 # Performs the following steps: 43 43 # - Checks out the repository. 44 44 # - Logs debug information about the GitHub Action runner. 45 # - Installs Node JS.46 # _ Installs NPMdependencies.45 # - Installs Node.js. 46 # _ Installs npm dependencies. 47 47 # - Builds WordPress to run from the `build` directory. 48 48 # - Cleans up after building WordPress to the `build` directory. … … 52 52 # - Ensures version-controlled files are not modified or deleted. 53 53 test-npm: 54 name: Test NPMon ${{ matrix.os }}54 name: Test npm on ${{ matrix.os }} 55 55 runs-on: ${{ matrix.os }} 56 56 timeout-minutes: 20 … … 73 73 svn --version 74 74 75 - name: Install Node JS75 - name: Install Node.js 76 76 uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1 77 77 with: … … 100 100 run: git diff --exit-code 101 101 102 # Verifies that installing NPMdependencies and building WordPress works as expected on MacOS.102 # Verifies that installing npm dependencies and building WordPress works as expected on MacOS. 103 103 # 104 104 # This is separate from the job above in order to use stricter conditions about when to run. … … 108 108 # - Checks out the repository. 109 109 # - Logs debug information about the GitHub Action runner. 110 # - Installs Node JS.111 # _ Installs NPMdependencies.110 # - Installs Node.js. 111 # _ Installs npm dependencies. 112 112 # - Builds WordPress to run from the `build` directory. 113 113 # - Cleans up after building WordPress to the `build` directory. … … 117 117 # - Ensures version-controlled files are not modified or deleted. 118 118 test-npm-macos: 119 name: Test NPMon MacOS119 name: Test npm on MacOS 120 120 runs-on: macos-latest 121 121 timeout-minutes: 30 … … 133 133 svn --version 134 134 135 - name: Install Node JS135 - name: Install Node.js 136 136 uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1 137 137 with: -
trunk/README.md
r54375 r54650 20 20 If you are not using a package manager, see the [Node.js download page](https://nodejs.org/en/download/) for installers and binaries. 21 21 22 **Note:** WordPress currently only supports Node JS`14.x` and npm `6.x`.22 **Note:** WordPress currently only supports Node.js `14.x` and npm `6.x`. 23 23 24 24 You will also need [Docker](https://www.docker.com/products/docker-desktop) installed and running on your computer. Docker is the virtualization software that powers the local development environment. Docker can be installed just like any other regular application. -
trunk/SECURITY.md
r54642 r54650 77 77 * Any non-severe vulnerability on `irclogs.wordpress.org`, `lists.wordpress.org`, or any other low impact site. 78 78 * Clickjacking with minimal security implications 79 * Vulnerabilities in Composer/ NPM`devDependencies`, unless there's a practical way to exploit it remotely.79 * Vulnerabilities in Composer/npm `devDependencies`, unless there's a practical way to exploit it remotely. 80 80 * Theoretical vulnerabilities where you can't demonstrate a significant security impact with a PoC. 81 81 -
trunk/src/index.php
r53579 r54650 56 56 57 57 $die .= '<p>' . sprintf( 58 /* translators: 1: NPMURL, 2: Handbook URL. */59 __( 'This requires <a href="%1$s"> NPM</a>. <a href="%2$s">Learn more about setting up your local development environment</a>.' ),58 /* translators: 1: npm URL, 2: Handbook URL. */ 59 __( 'This requires <a href="%1$s">npm</a>. <a href="%2$s">Learn more about setting up your local development environment</a>.' ), 60 60 'https://www.npmjs.com/get-npm', 61 61 __( 'https://make.wordpress.org/core/handbook/tutorials/installing-wordpress-locally/' ) -
trunk/src/js/_enqueues/vendor/README.md
r46587 r54650 1 1 # src/js/enqueues/vendor 2 2 3 In this directory you'll find vendor JavaScript packages that cannot be installed through NPM, but are included in WordPress. Below we've documented the sources for those packages.3 In this directory you'll find vendor JavaScript packages that cannot be installed through npm, but are included in WordPress. Below we've documented the sources for those packages. 4 4 5 5 ## Folder dependencies … … 63 63 - iris: https://github.com/Automattic/Iris 64 64 - json2: https://github.com/douglascrockford/JSON-js 65 - jquery/jquery.color: https://github.com/jquery/jquery-color. Package is on NPMbut not published by maintainer.65 - jquery/jquery.color: https://github.com/jquery/jquery-color. Package is on npm but not published by maintainer. 66 66 - jquery/jquery.hotkeys: https://github.com/tzuryby/jquery.hotkeys 67 - jquery/jquery.masonry: Old version for BC purposes, can't include two versions with NPM. The newer version is included through NPMand built to `wp-includes/js/masonry.min.js`67 - jquery/jquery.masonry: Old version for BC purposes, can't include two versions with npm. The newer version is included through npm and built to `wp-includes/js/masonry.min.js` 68 68 - jquery/jquery.query: https://github.com/blairmitchelmore/jquery.plugins/blob/master/jquery.query.js 69 69 - jquery/jquery.schedule: https://github.com/rse/jquery-schedule
Note: See TracChangeset
for help on using the changeset viewer.