mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Added init pnpm migration
This commit is contained in:
parent
4058fa2794
commit
7cc46a570a
8 changed files with 45506 additions and 31988 deletions
5
.npmrc
Normal file
5
.npmrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
link-workspace-packages=true
|
||||
registry=http://0.0.0.0:4873/ # scotland problem, links to verdaccio due to slow internet
|
||||
public-hoist-pattern[]=*types*
|
||||
public-hoist-pattern[]=!@types/react/*
|
||||
public-hoist-pattern[]=!@types/react-dom/*
|
|
@ -10,12 +10,12 @@
|
|||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.declaration.json && vite build",
|
||||
"prepare": "yarn build",
|
||||
"test": "yarn test:unit",
|
||||
"test:unit": "yarn test:types && yarn nx build && vitest run",
|
||||
"prepare": "pnpm build",
|
||||
"test": "pnpm test:unit",
|
||||
"test:unit": "pnpm test:types && pnpm nx build && vitest run",
|
||||
"test:types": "tsc --noEmit",
|
||||
"lint:code": "eslint --ext .js,.ts,.cjs,.tsx src/ --cache",
|
||||
"lint": "yarn lint:code && yarn lint:test",
|
||||
"lint": "pnpm lint:code && pnpm lint:test",
|
||||
"lint:test": "eslint -c test/.eslintrc.cjs --ext .js,.ts,.cjs,.tsx test/ --cache",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"build-storybook": "storybook build"
|
||||
|
|
|
@ -16,7 +16,10 @@
|
|||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noFallthroughCasesInSwitch": true
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"paths": {
|
||||
"react": ["./node_modules/@types/react"]
|
||||
}
|
||||
},
|
||||
"include": ["src"],
|
||||
"references": [{ "path": "./tsconfig.node.json" }]
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
"ember-modifier": "4.1.0",
|
||||
"ember-moment": "10.0.0",
|
||||
"ember-one-way-select": "4.0.1",
|
||||
"ember-power-datepicker": "cibernox/ember-power-datepicker",
|
||||
"ember-power-datepicker": "1.0.1",
|
||||
"ember-power-select": "6.0.1",
|
||||
"ember-resolver": "8.1.0",
|
||||
"ember-simple-auth": "5.0.0",
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
"tb": "docker run --rm -v $(pwd):/ghost -w /ghost/ghost/tinybird -it tinybirdco/tinybird-cli-docker",
|
||||
"tb:update": "docker pull tinybirdco/tinybird-cli-docker"
|
||||
},
|
||||
"resolutions": {
|
||||
"overrides": {
|
||||
"@tryghost/errors": "1.3.5",
|
||||
"@tryghost/logging": "2.4.18",
|
||||
"jackspeak": "2.1.1",
|
||||
|
|
45488
pnpm-lock.yaml
generated
Normal file
45488
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load diff
3
pnpm-workspace.yaml
Normal file
3
pnpm-workspace.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
packages:
|
||||
- 'apps/*'
|
||||
- 'ghost/*'
|
Loading…
Add table
Reference in a new issue