chore: update meta-updater

This commit is contained in:
Zoltan Kochan
2021-06-28 18:21:55 +03:00
parent e9a345659f
commit f8efedc6ab
9 changed files with 36 additions and 30 deletions

3
.meta-updater/main.mjs Normal file
View File

@@ -0,0 +1,3 @@
import updater from './lib/index.js'
export default updater

View File

@@ -2,6 +2,7 @@
"name": "@pnpm-private/updater",
"version": "0.1.5",
"private": true,
"type": "module",
"scripts": {
"compile": "tsc"
},

View File

@@ -2,18 +2,19 @@
"extends": "@pnpm/tsconfig",
"compilerOptions": {
"outDir": "lib",
"rootDir": "src"
"rootDir": "src",
"module": "ES2020"
},
"include": [
"src/**/*.ts",
"../../typings/**/*.d.ts"
"../typings/**/*.d.ts"
],
"references": [
{
"path": "../../packages/lockfile-file"
"path": "../packages/lockfile-file"
},
{
"path": "../../packages/types"
"path": "../packages/types"
}
]
}

View File

@@ -17,7 +17,7 @@
"watch": "pnpm --filter=@pnpm/fetch run compile && pnpm --filter=pnpm run compile -- --watch",
"make-lcov": "shx mkdir -p coverage && lcov-result-merger './packages/*/coverage/lcov.info' 'coverage/lcov.info'",
"update-manifests": "pnpm run meta-updater && pnpm install",
"meta-updater": "pnpm --filter=@pnpm-private/updater compile && meta-updater ./utils/updater/lib/index.js",
"meta-updater": "pnpm --filter=@pnpm-private/updater compile && meta-updater",
"lint:meta": "pnpm run meta-updater -- --test"
},
"devDependencies": {
@@ -27,7 +27,7 @@
"@commitlint/config-conventional": "^12.1.1",
"@commitlint/prompt-cli": "^12.1.1",
"@pnpm/eslint-config": "workspace:*",
"@pnpm/meta-updater": "0.0.1",
"@pnpm/meta-updater": "0.0.2",
"@pnpm/registry-mock": "^2.5.0",
"@pnpm/tsconfig": "workspace:*",
"@types/jest": "^26.0.23",

48
pnpm-lock.yaml generated
View File

@@ -28,7 +28,7 @@ importers:
'@commitlint/config-conventional': ^12.1.1
'@commitlint/prompt-cli': ^12.1.1
'@pnpm/eslint-config': workspace:*
'@pnpm/meta-updater': 0.0.1
'@pnpm/meta-updater': 0.0.2
'@pnpm/registry-mock': ^2.5.0
'@pnpm/tsconfig': workspace:*
'@types/jest': ^26.0.23
@@ -56,7 +56,7 @@ importers:
'@commitlint/config-conventional': 12.1.4
'@commitlint/prompt-cli': 12.1.4
'@pnpm/eslint-config': link:utils/eslint-config
'@pnpm/meta-updater': 0.0.1
'@pnpm/meta-updater': 0.0.2
'@pnpm/registry-mock': 2.5.0
'@pnpm/tsconfig': link:utils/tsconfig
'@types/jest': 26.0.23
@@ -78,6 +78,26 @@ importers:
verdaccio: 5.1.1
yarn: 1.22.10
.meta-updater:
specifiers:
'@pnpm/lockfile-file': workspace:4.1.0
'@pnpm/types': workspace:7.3.0
'@types/normalize-path': ^3.0.0
is-subdir: ^1.1.1
load-json-file: ^6.2.0
normalize-path: ^3.0.0
path-exists: ^4.0.0
write-json-file: ^4.3.0
dependencies:
'@pnpm/lockfile-file': link:../packages/lockfile-file
'@pnpm/types': link:../packages/types
'@types/normalize-path': 3.0.0
is-subdir: 1.2.0
load-json-file: 6.2.0
normalize-path: 3.0.0
path-exists: 4.0.0
write-json-file: 4.3.0
packages/artifacts/linux-x64:
specifiers:
'@pnpm/linux-x64': 'link:'
@@ -3279,26 +3299,6 @@ importers:
devDependencies:
'@pnpm/tsconfig': 'link:'
utils/updater:
specifiers:
'@pnpm/lockfile-file': workspace:4.1.0
'@pnpm/types': workspace:7.3.0
'@types/normalize-path': ^3.0.0
is-subdir: ^1.1.1
load-json-file: ^6.2.0
normalize-path: ^3.0.0
path-exists: ^4.0.0
write-json-file: ^4.3.0
dependencies:
'@pnpm/lockfile-file': link:../../packages/lockfile-file
'@pnpm/types': link:../../packages/types
'@types/normalize-path': 3.0.0
is-subdir: 1.2.0
load-json-file: 6.2.0
normalize-path: 3.0.0
path-exists: 4.0.0
write-json-file: 4.3.0
packages:
/@arcanis/slice-ansi/1.0.2:
@@ -4466,8 +4466,8 @@ packages:
- '@pnpm/logger'
dev: true
/@pnpm/meta-updater/0.0.1:
resolution: {integrity: sha512-cY7/yNkRKwYSVmQbRVw13eloPBclII4zsq7+RuGM4j4Jpw2XTiayUxGQM20cCHUQxfNubSpGnsVGFqTXFSXF7g==}
/@pnpm/meta-updater/0.0.2:
resolution: {integrity: sha512-aLHSGw4v2pw1EjIqskUV8douTsgt4TPW6Z2P99L64v3X+bIsW5RMYHNkPo858RNQXsY0bqOoAH4qIZ2VcNGkaw==}
engines: {node: '>=10.12'}
hasBin: true
dependencies:

View File

@@ -4,6 +4,7 @@ packages:
- privatePackages/*
- typings
- tools
- .meta-updater
- utils/*
- "!**/__package_previews__/**"
- "!**/example/**"