mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Use pnpm
This commit is contained in:
parent
dce4dee498
commit
a42db72f79
|
@ -7,6 +7,5 @@ build
|
||||||
coverage
|
coverage
|
||||||
node_modules
|
node_modules
|
||||||
__snapshots__
|
__snapshots__
|
||||||
.yarn/*
|
|
||||||
storybook-static
|
storybook-static
|
||||||
.vscode/*
|
.vscode/*
|
||||||
|
|
12
.github/workflows/CI.yml
vendored
12
.github/workflows/CI.yml
vendored
|
@ -15,12 +15,12 @@ jobs:
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
cache: 'yarn'
|
cache: 'pnpm'
|
||||||
- run: yarn install
|
- run: pnpm install
|
||||||
- run: yarn format:check
|
- run: pnpm run format:check
|
||||||
- run: yarn build:all
|
- run: pnpm run build:all
|
||||||
- run: yarn lint:all
|
- run: pnpm run lint:all
|
||||||
- name: Run yarn test:all
|
- name: Run yarn test:all
|
||||||
uses: GabrielBB/xvfb-action@v1
|
uses: GabrielBB/xvfb-action@v1
|
||||||
with:
|
with:
|
||||||
run: yarn test:all
|
run: pnpm run test:all
|
||||||
|
|
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -20,17 +20,17 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 'lts/*'
|
node-version: 'lts/*'
|
||||||
cache: 'yarn'
|
cache: 'pnpm'
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Create Release Pull Request or Publish to npm
|
- name: Create Release Pull Request or Publish to npm
|
||||||
id: changesets
|
id: changesets
|
||||||
uses: changesets/action@v1
|
uses: changesets/action@v1
|
||||||
with:
|
with:
|
||||||
version: yarn changeset version
|
version: pnpm changeset version
|
||||||
publish: yarn release
|
publish: pnpm run release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -9,10 +9,3 @@ coverage
|
||||||
.idea
|
.idea
|
||||||
.eslintcache
|
.eslintcache
|
||||||
!packages/redux-devtools-slider-monitor/examples/todomvc/dist/index.html
|
!packages/redux-devtools-slider-monitor/examples/todomvc/dist/index.html
|
||||||
.yarn/*
|
|
||||||
!.yarn/patches
|
|
||||||
!.yarn/releases
|
|
||||||
!.yarn/plugins
|
|
||||||
!.yarn/sdks
|
|
||||||
!.yarn/versions
|
|
||||||
.pnp.*
|
|
||||||
|
|
|
@ -8,8 +8,6 @@ coverage
|
||||||
node_modules
|
node_modules
|
||||||
__snapshots__
|
__snapshots__
|
||||||
dev
|
dev
|
||||||
.yarn/*
|
|
||||||
.pnp.*
|
|
||||||
**/demo/public/**
|
**/demo/public/**
|
||||||
storybook-static
|
storybook-static
|
||||||
.vscode/*
|
.vscode/*
|
||||||
|
|
10
.vscode/settings.json
vendored
10
.vscode/settings.json
vendored
|
@ -1,10 +0,0 @@
|
||||||
{
|
|
||||||
"search.exclude": {
|
|
||||||
"**/.yarn": true,
|
|
||||||
"**/.pnp.*": true
|
|
||||||
},
|
|
||||||
"eslint.nodePath": ".yarn/sdks",
|
|
||||||
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
|
|
||||||
"typescript.tsdk": ".yarn/sdks/typescript/lib",
|
|
||||||
"typescript.enablePromptUseWorkspaceTsdk": true
|
|
||||||
}
|
|
768
.yarn/releases/yarn-3.1.1.cjs
vendored
768
.yarn/releases/yarn-3.1.1.cjs
vendored
File diff suppressed because one or more lines are too long
20
.yarn/sdks/eslint/bin/eslint.js
vendored
20
.yarn/sdks/eslint/bin/eslint.js
vendored
|
@ -1,20 +0,0 @@
|
||||||
#!/usr/bin/env node
|
|
||||||
|
|
||||||
const {existsSync} = require(`fs`);
|
|
||||||
const {createRequire, createRequireFromPath} = require(`module`);
|
|
||||||
const {resolve} = require(`path`);
|
|
||||||
|
|
||||||
const relPnpApiPath = "../../../../.pnp.cjs";
|
|
||||||
|
|
||||||
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
|
|
||||||
const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath);
|
|
||||||
|
|
||||||
if (existsSync(absPnpApiPath)) {
|
|
||||||
if (!process.versions.pnp) {
|
|
||||||
// Setup the environment to be able to require eslint/bin/eslint.js
|
|
||||||
require(absPnpApiPath).setup();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Defer to the real eslint/bin/eslint.js your application uses
|
|
||||||
module.exports = absRequire(`eslint/bin/eslint.js`);
|
|
6
.yarn/sdks/eslint/package.json
vendored
6
.yarn/sdks/eslint/package.json
vendored
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"name": "eslint",
|
|
||||||
"version": "8.6.0-sdk",
|
|
||||||
"main": "./lib/api.js",
|
|
||||||
"type": "commonjs"
|
|
||||||
}
|
|
5
.yarn/sdks/integrations.yml
vendored
5
.yarn/sdks/integrations.yml
vendored
|
@ -1,5 +0,0 @@
|
||||||
# This file is automatically generated by @yarnpkg/sdks.
|
|
||||||
# Manual changes might be lost!
|
|
||||||
|
|
||||||
integrations:
|
|
||||||
- vscode
|
|
20
.yarn/sdks/prettier/index.js
vendored
20
.yarn/sdks/prettier/index.js
vendored
|
@ -1,20 +0,0 @@
|
||||||
#!/usr/bin/env node
|
|
||||||
|
|
||||||
const {existsSync} = require(`fs`);
|
|
||||||
const {createRequire, createRequireFromPath} = require(`module`);
|
|
||||||
const {resolve} = require(`path`);
|
|
||||||
|
|
||||||
const relPnpApiPath = "../../../.pnp.cjs";
|
|
||||||
|
|
||||||
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
|
|
||||||
const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath);
|
|
||||||
|
|
||||||
if (existsSync(absPnpApiPath)) {
|
|
||||||
if (!process.versions.pnp) {
|
|
||||||
// Setup the environment to be able to require prettier/index.js
|
|
||||||
require(absPnpApiPath).setup();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Defer to the real prettier/index.js your application uses
|
|
||||||
module.exports = absRequire(`prettier/index.js`);
|
|
6
.yarn/sdks/prettier/package.json
vendored
6
.yarn/sdks/prettier/package.json
vendored
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"name": "prettier",
|
|
||||||
"version": "2.5.1-sdk",
|
|
||||||
"main": "./index.js",
|
|
||||||
"type": "commonjs"
|
|
||||||
}
|
|
20
.yarn/sdks/typescript/bin/tsc
vendored
20
.yarn/sdks/typescript/bin/tsc
vendored
|
@ -1,20 +0,0 @@
|
||||||
#!/usr/bin/env node
|
|
||||||
|
|
||||||
const {existsSync} = require(`fs`);
|
|
||||||
const {createRequire, createRequireFromPath} = require(`module`);
|
|
||||||
const {resolve} = require(`path`);
|
|
||||||
|
|
||||||
const relPnpApiPath = "../../../../.pnp.cjs";
|
|
||||||
|
|
||||||
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
|
|
||||||
const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath);
|
|
||||||
|
|
||||||
if (existsSync(absPnpApiPath)) {
|
|
||||||
if (!process.versions.pnp) {
|
|
||||||
// Setup the environment to be able to require typescript/bin/tsc
|
|
||||||
require(absPnpApiPath).setup();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Defer to the real typescript/bin/tsc your application uses
|
|
||||||
module.exports = absRequire(`typescript/bin/tsc`);
|
|
20
.yarn/sdks/typescript/bin/tsserver
vendored
20
.yarn/sdks/typescript/bin/tsserver
vendored
|
@ -1,20 +0,0 @@
|
||||||
#!/usr/bin/env node
|
|
||||||
|
|
||||||
const {existsSync} = require(`fs`);
|
|
||||||
const {createRequire, createRequireFromPath} = require(`module`);
|
|
||||||
const {resolve} = require(`path`);
|
|
||||||
|
|
||||||
const relPnpApiPath = "../../../../.pnp.cjs";
|
|
||||||
|
|
||||||
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
|
|
||||||
const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath);
|
|
||||||
|
|
||||||
if (existsSync(absPnpApiPath)) {
|
|
||||||
if (!process.versions.pnp) {
|
|
||||||
// Setup the environment to be able to require typescript/bin/tsserver
|
|
||||||
require(absPnpApiPath).setup();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Defer to the real typescript/bin/tsserver your application uses
|
|
||||||
module.exports = absRequire(`typescript/bin/tsserver`);
|
|
6
.yarn/sdks/typescript/package.json
vendored
6
.yarn/sdks/typescript/package.json
vendored
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"name": "typescript",
|
|
||||||
"version": "4.5.4-sdk",
|
|
||||||
"main": "./lib/typescript.js",
|
|
||||||
"type": "commonjs"
|
|
||||||
}
|
|
16
.yarnrc.yml
16
.yarnrc.yml
|
@ -1,16 +0,0 @@
|
||||||
yarnPath: .yarn/releases/yarn-3.1.1.cjs
|
|
||||||
|
|
||||||
packageExtensions:
|
|
||||||
'@storybook/react@*':
|
|
||||||
dependencies:
|
|
||||||
'@types/node': '*'
|
|
||||||
'@storybook/theming@*':
|
|
||||||
dependencies:
|
|
||||||
'@emotion/serialize': '^0.11.16'
|
|
||||||
'@emotion/utils': '^0.11.3'
|
|
||||||
'apollo-server-core@^3.4.0':
|
|
||||||
dependencies:
|
|
||||||
'@types/node': '*'
|
|
||||||
'tarn@^3.0.1':
|
|
||||||
dependencies:
|
|
||||||
'@types/node': '*'
|
|
|
@ -1,12 +1,10 @@
|
||||||
{
|
{
|
||||||
"lerna": "3.4.2",
|
|
||||||
"version": "independent",
|
"version": "independent",
|
||||||
"npmClient": "yarn",
|
"npmClient": "pnpm",
|
||||||
"useWorkspaces": true,
|
"useWorkspaces": true,
|
||||||
"command": {
|
"command": {
|
||||||
"publish": {
|
"publish": {
|
||||||
"allowBranch": "main"
|
"allowBranch": "main"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"ignoreChanges": ["**/test/**", "**/examples/**", "**/*.md"]
|
|
||||||
}
|
}
|
||||||
|
|
21
package.json
21
package.json
|
@ -22,23 +22,6 @@
|
||||||
"lint:all": "lerna run lint",
|
"lint:all": "lerna run lint",
|
||||||
"test:all": "lerna run test",
|
"test:all": "lerna run test",
|
||||||
"format:check": "prettier --check .",
|
"format:check": "prettier --check .",
|
||||||
"release": "yarn build:all && changeset publish"
|
"release": "pnpm build:all && changeset publish"
|
||||||
},
|
}
|
||||||
"workspaces": [
|
|
||||||
"extension",
|
|
||||||
"packages/*",
|
|
||||||
"packages/d3-state-visualizer/examples/tree",
|
|
||||||
"packages/react-dock/demo",
|
|
||||||
"packages/react-json-tree/examples",
|
|
||||||
"packages/redux-devtools/examples/counter",
|
|
||||||
"packages/redux-devtools/examples/todomvc",
|
|
||||||
"packages/redux-devtools-inspector-monitor/demo",
|
|
||||||
"packages/redux-devtools-inspector-monitor-test-tab/demo",
|
|
||||||
"packages/redux-devtools-rtk-query-monitor/demo",
|
|
||||||
"packages/redux-devtools-slider-monitor/examples/todomvc"
|
|
||||||
],
|
|
||||||
"resolutions": {
|
|
||||||
"@babel/highlight/chalk": "Methuselah96/chalk#head=v2-without-process"
|
|
||||||
},
|
|
||||||
"packageManager": "yarn@3.2.0"
|
|
||||||
}
|
}
|
||||||
|
|
24102
pnpm-lock.yaml
Normal file
24102
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
12
pnpm-workspace.yaml
Normal file
12
pnpm-workspace.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
packages:
|
||||||
|
- 'extension'
|
||||||
|
- 'packages/*'
|
||||||
|
- 'packages/d3-state-visualizer/examples/tree'
|
||||||
|
- 'packages/react-dock/demo'
|
||||||
|
- 'packages/react-json-tree/examples'
|
||||||
|
- 'packages/redux-devtools/examples/counter'
|
||||||
|
- 'packages/redux-devtools/examples/todomvc'
|
||||||
|
- 'packages/redux-devtools-inspector-monitor/demo'
|
||||||
|
- 'packages/redux-devtools-inspector-monitor-test-tab/demo'
|
||||||
|
- 'packages/redux-devtools-rtk-query-monitor/demo'
|
||||||
|
- 'packages/redux-devtools-slider-monitor/examples/todomvc'
|
Loading…
Reference in New Issue
Block a user