Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: deps update #16936

Merged
merged 26 commits into from Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7f8a71f
chore: update yarn-deduplicate
alexander-akait Apr 7, 2023
978cc9d
chore: some deps
alexander-akait Apr 7, 2023
9384a9c
chore: fix dedup
alexander-akait Apr 7, 2023
0760dcd
chore: update spells
alexander-akait Apr 7, 2023
c3e18f0
ci: fix node.js 10 and 12
alexander-akait Apr 7, 2023
2fe3afa
ci: fix azure
alexander-akait Apr 7, 2023
5ec0167
ci: add validation job
alexander-akait Apr 7, 2023
df1279f
chore: update es-module-lexer
alexander-akait Apr 7, 2023
3a7f6a5
chore: update `open-cli`
alexander-akait Apr 7, 2023
d268230
chore: update `react`
alexander-akait Apr 7, 2023
2271e41
chore: update `webpack-cli`
alexander-akait Apr 7, 2023
224d902
chore: revert `open-cli`
alexander-akait Apr 7, 2023
ad46026
test: update
alexander-akait Apr 7, 2023
2c3d5d2
ci: remove dev dependecies to validate
alexander-akait Apr 7, 2023
fb56e42
chore: update examples and update deps
alexander-akait Apr 7, 2023
dec9c9b
chore: update lint-staged
alexander-akait Apr 7, 2023
79eea14
chore: update ts-loader
alexander-akait Apr 7, 2023
93d5424
ci: update
alexander-akait Apr 7, 2023
6dd49dd
chore: update husky
alexander-akait Apr 7, 2023
11db85e
chore: update simple-git
alexander-akait Apr 7, 2023
370b099
chore: update @types/estre
alexander-akait Apr 7, 2023
143aad5
chore: remove less
alexander-akait Apr 7, 2023
4a75f8e
chore: return less
alexander-akait Apr 7, 2023
136c7db
chore: update eslint
alexander-akait Apr 7, 2023
f01902c
chore: update eslint plugin
alexander-akait Apr 7, 2023
0ca8ae8
chore: update assemblyscript
alexander-akait Apr 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -50,6 +50,17 @@ jobs:
with:
flags: basic
functionalities: gcov
validate-legacy-node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 10.x
cache: "yarn"
- run: node -e "const content = require('./package.json');delete content.devDependencies;require('fs').writeFileSync('package.json', JSON.stringify(content, null, 2));"
- run: yarn install --production --frozen-lockfile
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line validate that we can install our deps on Node.js v10 (and so above), so if somebody tried to update our deps and it will not compatibility with node.js 10 we it will be failed

unit:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -98,7 +109,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
# Using `--ignore-engines` for Node.js 10 and 12
- run: yarn --frozen-lockfile --ignore-engines
if: matrix.node-version == '10.x' || matrix.node-version == '12.x'
- run: yarn --frozen-lockfile
if: matrix.node-version != '10.x' && matrix.node-version != '12.x'
- run: yarn link --frozen-lockfile || true
- run: yarn link webpack --frozen-lockfile
- uses: actions/cache@v3
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Expand Up @@ -141,7 +141,7 @@ jobs:
key: yarn | $(Agent.OS) | yarn.lock
path: $(YARN_CACHE_FOLDER)
displayName: "Cache Yarn packages"
- script: yarn --frozen-lockfile
- script: yarn --frozen-lockfile --ignore-engines
displayName: "Install dependencies"
- script: yarn link --frozen-lockfile || true
displayName: "Link webpack"
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
- script: |
set -e
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
yarn --frozen-lockfile
yarn --frozen-lockfile --ignore-engines
yarn link --frozen-lockfile || true
yarn link webpack --frozen-lockfile
displayName: "Install dependencies"
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
- script: |
set -e
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
yarn --frozen-lockfile
yarn --frozen-lockfile --ignore-engines
yarn link --frozen-lockfile || true
yarn link webpack --frozen-lockfile
displayName: "Install dependencies"
Expand Down
7 changes: 6 additions & 1 deletion cspell.json
Expand Up @@ -5,6 +5,8 @@
"absolutify",
"acircular",
"amdmodule",
"analyse",
"analysed",
"asmjs",
"assemblyscript",
"asyncloader",
Expand Down Expand Up @@ -181,6 +183,7 @@
"preloaded",
"preloading",
"preparsed",
"preprocess",
"prettierrc",
"prewalking",
"prioritise",
Expand Down Expand Up @@ -294,6 +297,7 @@
"types.d.ts",
"**/**/*.snap",
"test/cases/json/weird-properties/globals.json",
"test/JavascriptParser.unittest.js",
"**/*.svg",
"*.log",
"**/*.wasm",
Expand All @@ -303,6 +307,7 @@
"test/cases/**",
"test/configCases/**",
"test/statsCases/**",
"test/fixtures/**"
"test/fixtures/**",
"test/memoryLimitCases/**"
]
}
18 changes: 9 additions & 9 deletions package.json
Expand Up @@ -15,7 +15,7 @@
"browserslist": "^4.14.5",
"chrome-trace-event": "^1.0.2",
"enhanced-resolve": "^5.10.0",
"es-module-lexer": "^0.9.0",
"es-module-lexer": "^1.2.1",
"eslint-scope": "5.1.1",
"events": "^3.2.0",
"glob-to-regexp": "^0.4.1",
Expand Down Expand Up @@ -49,7 +49,7 @@
"coffeescript": "^2.5.1",
"core-js": "^3.6.5",
"coveralls": "^3.1.0",
"cspell": "^4.0.63",
"cspell": "^6.31.1",
"css-loader": "^5.0.1",
"date-fns": "^2.15.0",
"es5-ext": "^0.10.53",
Expand All @@ -59,7 +59,7 @@
"eslint-plugin-jest": "^24.7.0",
"eslint-plugin-jsdoc": "^33.0.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-prettier": "^4.2.1",
"file-loader": "^6.0.0",
"fork-ts-checker-webpack-plugin": "^6.0.5",
"hash-wasm": "^4.9.0",
Expand All @@ -79,7 +79,7 @@
"loader-utils": "^2.0.3",
"lodash": "^4.17.19",
"lodash-es": "^4.17.15",
"memfs": "^3.2.0",
"memfs": "^3.5.0",
"mini-css-extract-plugin": "^1.6.1",
"mini-svg-data-uri": "^1.2.3",
"nyc": "^15.1.0",
Expand All @@ -89,8 +89,8 @@
"pug": "^3.0.0",
"pug-loader": "^2.4.0",
"raw-loader": "^4.0.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"script-loader": "^0.7.2",
"simple-git": "^2.17.0",
Expand All @@ -104,10 +104,10 @@
"url-loader": "^4.1.0",
"wast-loader": "^1.11.0",
"webassembly-feature": "1.3.0",
"webpack-cli": "^4.3.0",
"webpack-cli": "^5.0.1",
"xxhashjs": "^0.2.2",
"yamljs": "^0.3.0",
"yarn-deduplicate": "^3.1.0"
"yarn-deduplicate": "^6.0.1"
},
"engines": {
"node": ">=10.13.0"
Expand Down Expand Up @@ -153,7 +153,7 @@
"type-lint": "tsc",
"typings-test": "tsc -p tsconfig.types.test.json",
"module-typings-test": "tsc -p tsconfig.module.test.json",
"spellcheck": "cspell \"**/*\"",
"spellcheck": "cspell \"**\"",
"special-lint": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/schemas-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-schemas && node tooling/generate-runtime-code.js && node tooling/generate-wasm-code.js && node node_modules/tooling/format-file-header && node node_modules/tooling/compile-to-definitions && node node_modules/tooling/precompile-schemas && node node_modules/tooling/generate-types --no-template-literals",
"special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node tooling/generate-wasm-code.js --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/compile-to-definitions --write && node node_modules/tooling/precompile-schemas --write && node node_modules/tooling/generate-types --no-template-literals --write",
"fix": "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix",
Expand Down
8 changes: 3 additions & 5 deletions test/__snapshots__/StatsTestCases.basictest.js.snap
Expand Up @@ -669,12 +669,10 @@ webpack x.x.x compiled <CLR=32>successfully</CLR> in X ms"
`;

exports[`StatsTestCases should print correct stats for common-libs 1`] = `
"asset react.js 3.02 KiB [emitted] [minimized] (name: react) 1 related asset
modules by path ../../../node_modules/react/ 6.48 KiB
../../../node_modules/react/index.js 190 bytes [built] [code generated]
../../../node_modules/react/cjs/react.production.min.js 6.3 KiB [built] [code generated]
"asset react.js 1.95 KiB [emitted] [minimized] (name: react) 1 related asset
./react.js 74 bytes [built] [code generated]
../../../node_modules/object-assign/index.js 2.06 KiB [built] [code generated]
../../../node_modules/react/index.js 190 bytes [built] [code generated]
../../../node_modules/react/cjs/react.production.min.js 6.75 KiB [built] [code generated]
webpack x.x.x compiled successfully in X ms"
`;

Expand Down