* Remove ESLint
* Library Updates
This commit is contained in:
Chris Trevino 2024-06-24 12:20:00 -07:00 коммит произвёл GitHub
Родитель 9916336450
Коммит 0f569c1a6a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
36 изменённых файлов: 88 добавлений и 204 удалений

9
.yarn/sdks/typescript/bin/tsc поставляемый
Просмотреть файл

@ -1,18 +1,25 @@
#!/usr/bin/env node
const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);
const relPnpApiPath = "../../../../.pnp.cjs";
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/bin/tsc
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

9
.yarn/sdks/typescript/bin/tsserver поставляемый
Просмотреть файл

@ -1,18 +1,25 @@
#!/usr/bin/env node
const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);
const relPnpApiPath = "../../../../.pnp.cjs";
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/bin/tsserver
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

9
.yarn/sdks/typescript/lib/tsc.js поставляемый
Просмотреть файл

@ -1,18 +1,25 @@
#!/usr/bin/env node
const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);
const relPnpApiPath = "../../../../.pnp.cjs";
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/lib/tsc.js
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

9
.yarn/sdks/typescript/lib/tsserver.js поставляемый
Просмотреть файл

@ -1,18 +1,25 @@
#!/usr/bin/env node
const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);
const relPnpApiPath = "../../../../.pnp.cjs";
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/lib/tsserver.js
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

Просмотреть файл

@ -1,18 +1,25 @@
#!/usr/bin/env node
const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);
const relPnpApiPath = "../../../../.pnp.cjs";
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript/lib/tsserverlibrary.js
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

9
.yarn/sdks/typescript/lib/typescript.js поставляемый
Просмотреть файл

@ -1,18 +1,25 @@
#!/usr/bin/env node
const {existsSync} = require(`fs`);
const {createRequire} = require(`module`);
const {createRequire, register} = require(`module`);
const {resolve} = require(`path`);
const {pathToFileURL} = require(`url`);
const relPnpApiPath = "../../../../.pnp.cjs";
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = createRequire(absPnpApiPath);
const absPnpLoaderPath = resolve(absPnpApiPath, `../.pnp.loader.mjs`);
const isPnpLoaderEnabled = existsSync(absPnpLoaderPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require typescript
require(absPnpApiPath).setup();
if (isPnpLoaderEnabled && register) {
register(pathToFileURL(absPnpLoaderPath));
}
}
}

2
.yarn/sdks/typescript/package.json поставляемый
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "typescript",
"version": "5.4.5-sdk",
"version": "5.5.2-sdk",
"main": "./lib/typescript.js",
"type": "commonjs",
"bin": {

16
.yarn/versions/1ea1870d.yml поставляемый
Просмотреть файл

@ -1,16 +0,0 @@
releases:
"@essex/babel-config": patch
"@essex/jest-config": patch
"@essex/scripts": major
"@essex/storybook-config": patch
"@essex/webpack-config": patch
declined:
- "@essex/test-lib-dual"
- "@essex/test-lib-esm"
- "@essex/test-lib-md-index"
- "@essex/test-stories"
- "@essex/test-webapp-vite"
- "@essex/test-webapp-webpack"
- "@essex/test-webapp-webpack-custom"
- "@essex/test-zips"

20
.yarn/versions/5a0e9d66.yml поставляемый
Просмотреть файл

@ -1,20 +0,0 @@
releases:
"@essex/babel-config": patch
"@essex/eslint-config": patch
"@essex/eslint-plugin": patch
"@essex/jest-config": patch
"@essex/scripts": patch
"@essex/storybook-config": patch
"@essex/swc-opts": patch
"@essex/test-lib-dual": patch
"@essex/test-lib-esm": patch
"@essex/test-webapp-vite": patch
"@essex/vite-config": patch
"@essex/webpack-config": patch
declined:
- "@essex/test-lib-md-index"
- "@essex/test-stories"
- "@essex/test-webapp-webpack"
- "@essex/test-webapp-webpack-custom"
- "@essex/test-zips"

5
.yarn/versions/757be21f.yml поставляемый
Просмотреть файл

@ -1,5 +0,0 @@
releases:
"@essex/storybook-config": patch
declined:
- "@essex/test-stories"

12
.yarn/versions/76a52843.yml поставляемый
Просмотреть файл

@ -1,12 +0,0 @@
releases:
"@essex/scripts": patch
declined:
- "@essex/test-lib-dual"
- "@essex/test-lib-esm"
- "@essex/test-lib-md-index"
- "@essex/test-stories"
- "@essex/test-webapp-vite"
- "@essex/test-webapp-webpack"
- "@essex/test-webapp-webpack-custom"
- "@essex/test-zips"

13
.yarn/versions/90450cd8.yml поставляемый
Просмотреть файл

@ -1,13 +0,0 @@
releases:
"@essex/scripts": patch
"@essex/webpack-config": patch
declined:
- "@essex/test-lib-dual"
- "@essex/test-lib-esm"
- "@essex/test-lib-md-index"
- "@essex/test-stories"
- "@essex/test-webapp-vite"
- "@essex/test-webapp-webpack"
- "@essex/test-webapp-webpack-custom"
- "@essex/test-zips"

20
.yarn/versions/a01bc2d0.yml поставляемый
Просмотреть файл

@ -1,20 +0,0 @@
releases:
"@essex/babel-config": patch
"@essex/eslint-config": patch
"@essex/eslint-plugin": patch
"@essex/jest-config": patch
"@essex/scripts": patch
"@essex/storybook-config": patch
"@essex/swc-opts": patch
"@essex/vite-config": patch
"@essex/webpack-config": patch
declined:
- "@essex/test-lib-dual"
- "@essex/test-lib-esm"
- "@essex/test-lib-md-index"
- "@essex/test-stories"
- "@essex/test-webapp-vite"
- "@essex/test-webapp-webpack"
- "@essex/test-webapp-webpack-custom"
- "@essex/test-zips"

24
.yarn/versions/a3436b75.yml поставляемый
Просмотреть файл

@ -1,24 +0,0 @@
releases:
"@essex/babel-config": patch
"@essex/eslint-config": minor
"@essex/eslint-plugin": minor
"@essex/jest-config": patch
"@essex/scripts": minor
"@essex/storybook-config": patch
"@essex/swc-opts": patch
"@essex/tsconfig-base": patch
"@essex/tsconfig-node": patch
"@essex/tsconfig-node16": patch
"@essex/tsconfig-node18": patch
"@essex/vite-config": patch
"@essex/webpack-config": patch
declined:
- "@essex/test-lib-dual"
- "@essex/test-lib-esm"
- "@essex/test-lib-md-index"
- "@essex/test-stories"
- "@essex/test-webapp-vite"
- "@essex/test-webapp-webpack"
- "@essex/test-webapp-webpack-custom"
- "@essex/test-zips"

20
.yarn/versions/ce709d62.yml поставляемый
Просмотреть файл

@ -1,20 +0,0 @@
releases:
"@essex/babel-config": patch
"@essex/eslint-config": patch
"@essex/eslint-plugin": patch
"@essex/jest-config": patch
"@essex/scripts": patch
"@essex/storybook-config": patch
"@essex/swc-opts": patch
"@essex/test-webapp-webpack-custom": patch
"@essex/vite-config": patch
"@essex/webpack-config": patch
declined:
- "@essex/test-lib-dual"
- "@essex/test-lib-esm"
- "@essex/test-lib-md-index"
- "@essex/test-stories"
- "@essex/test-webapp-vite"
- "@essex/test-webapp-webpack"
- "@essex/test-zips"

18
.yarn/versions/d71122ea.yml поставляемый
Просмотреть файл

@ -1,18 +0,0 @@
releases:
"@essex/babel-config": patch
"@essex/jest-config": patch
"@essex/scripts": patch
"@essex/storybook-config": patch
"@essex/swc-opts": patch
"@essex/vite-config": major
"@essex/webpack-config": patch
declined:
- "@essex/test-lib-dual"
- "@essex/test-lib-esm"
- "@essex/test-lib-md-index"
- "@essex/test-stories"
- "@essex/test-webapp-vite"
- "@essex/test-webapp-webpack"
- "@essex/test-webapp-webpack-custom"
- "@essex/test-zips"

Просмотреть файл

@ -16,7 +16,8 @@
"package.json",
"storybook-static",
"tsconfig.cjs.json",
"tsconfig.esm.json"
"tsconfig.esm.json",
"vite.config.ts.timestamp*"
]
},
"organizeImports": {

Просмотреть файл

@ -8,7 +8,7 @@
],
"packageManager": "yarn@4.3.1",
"scripts": {
"_release_packages": "turbo run release",
"_release_packages": "yarn workspaces foreach -A npm publish --tolerate-republish --access public",
"_version_cut": "yarn version apply --all",
"_check_packages": "turbo run check",
"_fix_packages": "turbo run fix",

Просмотреть файл

@ -8,9 +8,6 @@
"LICENSE",
"README.md"
],
"scripts": {
"release": "yarn npm publish --tolerate-republish --access public"
},
"exports": {
"./api-extractor.json": "./api-extractor.json",
"./package.json": "./package.json"

Просмотреть файл

@ -1,14 +1,13 @@
{
"name": "@essex/babel-config",
"version": "21.0.1",
"version": "21.0.2",
"license": "MIT",
"author": "Chris Trevino <chtrevin@microsoft.com>",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"clean": "rimraf lib",
"build": "tsc --emitDeclarationOnly && swc src -d lib --strip-leading-paths",
"release": "yarn npm publish --tolerate-republish --access public"
"build": "tsc --emitDeclarationOnly && swc src -d lib --strip-leading-paths"
},
"repository": {
"type": "git",

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@essex/jest-config",
"version": "22.1.0",
"version": "22.1.1",
"author": "Chris Trevino <chtrevin@microsoft.com>",
"license": "MIT",
"main": "lib/index.js",
@ -16,8 +16,7 @@
},
"scripts": {
"clean": "rimraf lib",
"build": "tsc --emitDeclarationOnly && swc src -d lib --strip-leading-paths",
"release": "yarn npm publish --tolerate-republish --access public"
"build": "tsc --emitDeclarationOnly && swc src -d lib --strip-leading-paths"
},
"repository": {
"type": "git",

Просмотреть файл

@ -1,11 +1,10 @@
{
"name": "@essex/storybook-config",
"version": "1.1.0",
"version": "1.1.1",
"scripts": {
"clean": "rimraf dist",
"build": "tsc -b .",
"build:sbconfig": "yarn build",
"release": "yarn npm publish --tolerate-republish --access public"
"build:sbconfig": "yarn build"
},
"exports": {
".": "./lib/index.js",

Просмотреть файл

@ -1,10 +1,7 @@
{
"name": "@essex/tsconfig-base",
"version": "3.1.0",
"version": "3.1.1",
"exports": {
".": "./tsconfig.json"
},
"scripts": {
"release": "yarn npm publish --tolerate-republish --access public"
}
}

Просмотреть файл

@ -1,14 +1,11 @@
{
"name": "@essex/tsconfig-node",
"version": "3.1.0",
"version": "3.1.1",
"exports": {
".": "./tsconfig.esm.json",
"./esm": "./tsconfig.esm.json",
"./cjs": "./tsconfig.cjs.json"
},
"scripts": {
"release": "yarn npm publish --tolerate-republish --access public"
},
"dependencies": {
"@essex/tsconfig-node18": "workspace:^"
}

Просмотреть файл

@ -1,14 +1,11 @@
{
"name": "@essex/tsconfig-node16",
"version": "3.1.0",
"version": "3.1.1",
"exports": {
".": "./tsconfig.esm.json",
"./esm": "./tsconfig.esm.json",
"./cjs": "./tsconfig.cjs.json"
},
"scripts": {
"release": "yarn npm publish --tolerate-republish --access public"
},
"dependencies": {
"@essex/tsconfig-base": "workspace:^"
}

Просмотреть файл

@ -1,14 +1,11 @@
{
"name": "@essex/tsconfig-node18",
"version": "3.1.0",
"version": "3.1.1",
"exports": {
".": "./tsconfig.esm.json",
"./esm": "./tsconfig.esm.json",
"./cjs": "./tsconfig.cjs.json"
},
"scripts": {
"release": "yarn npm publish --tolerate-republish --access public"
},
"dependencies": {
"@essex/tsconfig-base": "workspace:^"
}

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "@essex/vite-config",
"repository": "https://github.com/microsoft/essex-alpha-build-infra/",
"version": "20.0.1",
"version": "21.0.0",
"license": "MIT",
"type": "module",
"main": "lib/index.js",
@ -9,8 +9,7 @@
"scripts": {
"clean": "rimraf lib",
"build": "tsc -b .",
"build:vite-config": "yarn build",
"release": "yarn npm publish --tolerate-republish --access public"
"build:vite-config": "yarn build"
},
"dependencies": {
"@vitejs/plugin-react": "^4.3.1",

Просмотреть файл

@ -1,13 +1,12 @@
{
"name": "@essex/webpack-config",
"version": "22.0.2",
"version": "22.0.3",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
"scripts": {
"clean": "rimraf lib",
"build": "tsc --emitDeclarationOnly && swc src -d lib --strip-leading-paths",
"release": "yarn npm publish --tolerate-republish --access public"
"build": "tsc --emitDeclarationOnly && swc src -d lib --strip-leading-paths"
},
"repository": {
"type": "git",

Просмотреть файл

@ -84,3 +84,17 @@ To view detailed options, run `essex <command> --help` or `essex --help`
}
}
```
# Release Process
First, you should define an environment variable in your shell called `NPM_AUTH_TOKEN`, which has publication permissions into the @essex/ namespace. You can get this by running `npm login` and then copying the token from `~/.npmrc`.
Each PR should generate a change file in `.yarn/versions`. These are used to calculate semver. When it's time for a release, do the following:
* Cut a new branch `release/<date>` or `release/vX.Y.Z`, where the version aligns with the next release of @essex/scripts.
* Run `yarn release`. Internally, this will:
* Run `yarn version apply --all` to bump the versions of all affected packages using the semver documents.
* Run `ci`
* Run `yarn publish` to publish the latest versions of all packages.
* Commit all changes and push the branch.
* Create a PR for the release branch.

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@essex/scripts",
"version": "26.0.1",
"version": "27.0.0",
"description": "A set of scripts to make a essex javascript engineer's life easier",
"repository": "https://github.com/microsoft/essex-alpha-build-infra/",
"author": "David Tittsworth <datittsw@microsoft.com>",
@ -12,8 +12,7 @@
"build": "npm-run-all -p transpile -s crlf perms",
"build:scripts": "yarn build",
"clean": "rimraf lib",
"check-deps": "essex check-deps --ignore @essex/api-extractor-config",
"release": "yarn npm publish --tolerate-republish --access public"
"check-deps": "essex check-deps --ignore @essex/api-extractor-config"
},
"main": "lib/index.mjs",
"type": "module",

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@essex/test-lib-dual",
"version": "21.0.0",
"version": "21.0.1",
"private": true,
"main": "src/index.ts",
"publishConfig": {

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@essex/test-lib-esm",
"version": "21.0.0",
"version": "21.0.1",
"private": true,
"type": "module",
"main": "src/index.ts",

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@essex/test-webapp-vite",
"version": "21.0.0",
"version": "21.0.1",
"private": true,
"type": "module",
"scripts": {

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "@essex/test-webapp-webpack-custom",
"type": "module",
"version": "21.0.0",
"version": "21.0.1",
"private": true,
"scripts": {
"clean": "rimraf dist docsTemp build",

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@essex/swc-opts",
"version": "21.0.1",
"version": "21.0.2",
"description": "shared utility for generating swc configuration",
"license": "MIT",
"main": "lib/index.js",
@ -9,8 +9,7 @@
"author": "Chris Trevino <chtrevin@microsoft.com>",
"scripts": {
"build": "tsc -b .",
"clean": "rimraf lib",
"release": "yarn npm publish --tolerate-republish --access public"
"clean": "rimraf lib"
},
"dependencies": {
"@swc/core": "1.6.5",

Просмотреть файл

@ -21,9 +21,6 @@
"dependsOn": ["check", "build", "test", "check-deps"],
"outputs": ["dist/**", "lib/**"]
},
"release": {
"cache": false
},
"clean": {
"cache": false
},