chore: npmrc update (#2742)
* Updated npmrc * Removed volta in favor of engines * ignore pnpm lock * move comments
This commit is contained in:
parent
c5361a131d
commit
0281d6a65b
4 changed files with 1801 additions and 1793 deletions
5
.npmrc
5
.npmrc
|
@ -1,5 +1,10 @@
|
||||||
# Important! Never install `astro` even when new version is in registry
|
# Important! Never install `astro` even when new version is in registry
|
||||||
prefer-workspace-packages=true
|
prefer-workspace-packages=true
|
||||||
|
link-workspace-packages=true
|
||||||
|
save-workspace-protocol=false # This prevents the examples to have the `workspace:` prefix
|
||||||
|
|
||||||
|
use-node-version=14.19.0
|
||||||
|
|
||||||
# Rather than shamefully hoisting everything, just make problematic packages public
|
# Rather than shamefully hoisting everything, just make problematic packages public
|
||||||
public-hoist-pattern[]=autoprefixer
|
public-hoist-pattern[]=autoprefixer
|
||||||
public-hoist-pattern[]=astro
|
public-hoist-pattern[]=astro
|
||||||
|
|
|
@ -19,3 +19,4 @@ examples/blog/**/*.md
|
||||||
# Files
|
# Files
|
||||||
README.md
|
README.md
|
||||||
packages/webapi/mod.d.ts
|
packages/webapi/mod.d.ts
|
||||||
|
pnpm-lock.yaml
|
||||||
|
|
17
package.json
17
package.json
|
@ -34,10 +34,11 @@
|
||||||
"packages/astro/test/fixtures/custom-elements/my-component-lib",
|
"packages/astro/test/fixtures/custom-elements/my-component-lib",
|
||||||
"packages/astro/test/fixtures/static build/pkg"
|
"packages/astro/test/fixtures/static build/pkg"
|
||||||
],
|
],
|
||||||
"volta": {
|
"engines": {
|
||||||
"node": "14.17.0",
|
"node": "^14.15.0 || >=16.0.0",
|
||||||
"npm": "7.11.2"
|
"pnpm": ">=6.32.3"
|
||||||
},
|
},
|
||||||
|
"packageManager": "pnpm@6.32.3",
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"peerDependencyRules": {
|
"peerDependencyRules": {
|
||||||
"ignoreMissing": [
|
"ignoreMissing": [
|
||||||
|
@ -46,6 +47,9 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@astrojs/webapi": "workspace:*"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@changesets/changelog-github": "^0.4.2",
|
"@changesets/changelog-github": "^0.4.2",
|
||||||
"@changesets/cli": "^2.16.0",
|
"@changesets/cli": "^2.16.0",
|
||||||
|
@ -63,12 +67,5 @@
|
||||||
"tiny-glob": "^0.2.8",
|
"tiny-glob": "^0.2.8",
|
||||||
"turbo": "^1.1.5",
|
"turbo": "^1.1.5",
|
||||||
"typescript": "4.5.2"
|
"typescript": "4.5.2"
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^14.15.0 || >=16.0.0"
|
|
||||||
},
|
|
||||||
"packageManager": "pnpm@6.32.3",
|
|
||||||
"dependencies": {
|
|
||||||
"@astrojs/webapi": "workspace:*"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
lockfileVersion: 5.3
|
lockfileVersion: 5.3
|
||||||
|
|
||||||
importers:
|
importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
specifiers:
|
specifiers:
|
||||||
'@astrojs/webapi': workspace:*
|
'@astrojs/webapi': workspace:*
|
||||||
|
@ -1171,6 +1172,7 @@ importers:
|
||||||
tar: 6.1.11
|
tar: 6.1.11
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
/@algolia/cache-browser-local-storage/4.12.0:
|
/@algolia/cache-browser-local-storage/4.12.0:
|
||||||
resolution: {integrity: sha512-l+G560B6N1k0rIcOjTO1yCzFUbg2Zy2HCii9s03e13jGgqduVQmk79UUCYszjsJ5GPJpUEKcVEtAIpP7tjsXVA==}
|
resolution: {integrity: sha512-l+G560B6N1k0rIcOjTO1yCzFUbg2Zy2HCii9s03e13jGgqduVQmk79UUCYszjsJ5GPJpUEKcVEtAIpP7tjsXVA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -1393,6 +1395,9 @@ packages:
|
||||||
engines: {node: '>=6.9.0'}
|
engines: {node: '>=6.9.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@babel/core': ^7.0.0
|
'@babel/core': ^7.0.0
|
||||||
|
peerDependenciesMeta:
|
||||||
|
'@babel/core':
|
||||||
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/compat-data': 7.16.8
|
'@babel/compat-data': 7.16.8
|
||||||
'@babel/core': 7.16.12
|
'@babel/core': 7.16.12
|
||||||
|
|
Loading…
Reference in a new issue