This commit is contained in:
Nathan Bierema 2022-05-07 15:23:10 -04:00
parent dce4dee498
commit a42db72f79
21 changed files with 24128 additions and 29694 deletions

View File

@ -7,6 +7,5 @@ build
coverage coverage
node_modules node_modules
__snapshots__ __snapshots__
.yarn/*
storybook-static storybook-static
.vscode/* .vscode/*

View File

@ -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

View File

@ -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
View File

@ -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.*

View File

@ -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
View File

@ -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
}

File diff suppressed because one or more lines are too long

View File

@ -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`);

View File

@ -1,6 +0,0 @@
{
"name": "eslint",
"version": "8.6.0-sdk",
"main": "./lib/api.js",
"type": "commonjs"
}

View File

@ -1,5 +0,0 @@
# This file is automatically generated by @yarnpkg/sdks.
# Manual changes might be lost!
integrations:
- vscode

View File

@ -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`);

View File

@ -1,6 +0,0 @@
{
"name": "prettier",
"version": "2.5.1-sdk",
"main": "./index.js",
"type": "commonjs"
}

View File

@ -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`);

View File

@ -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`);

View File

@ -1,6 +0,0 @@
{
"name": "typescript",
"version": "4.5.4-sdk",
"main": "./lib/typescript.js",
"type": "commonjs"
}

View File

@ -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': '*'

View File

@ -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"]
} }

View File

@ -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

File diff suppressed because it is too large Load Diff

12
pnpm-workspace.yaml Normal file
View 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'

28754
yarn.lock

File diff suppressed because it is too large Load Diff