Skip to content

Commit

Permalink
fix(misc): publish legacy readmes (#19762)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz authored Oct 20, 2023
1 parent 135b86e commit e20860d
Show file tree
Hide file tree
Showing 24 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages-legacy/cypress/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js cypress-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/detox/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js detox-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/devkit/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js devkit-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/esbuild/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js esbuild-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/eslint-plugin-nx/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js eslint-plugin-nx-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/expo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js expo-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/express/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js express-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/jest/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js jest-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/js/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js js-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/linter-nx/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js linter-nx-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/linter/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js linter-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/nest/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js nest-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/next/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js next-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/node/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js node-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/nx-plugin/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js nx-plugin-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/react-native/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js react-native-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js react-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/rollup/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js rollup-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/storybook/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js storybook-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/vite/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js vite-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/web/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js web-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/webpack/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js webpack-legacy"
},
"build-base": {
Expand Down
1 change: 1 addition & 0 deletions packages-legacy/workspace/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"projectType": "library",
"targets": {
"build": {
"outputs": ["{workspaceRoot}/build/packages/{projectName}/README.md"],
"command": "node ./scripts/copy-readme.js workspace-legacy"
},
"build-base": {
Expand Down
2 changes: 2 additions & 0 deletions scripts/copy-readme.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ r = r.replace(
fs.readFileSync('scripts/readme-fragments/resources.md')
);

console.log('WRITING', `build/packages/${p}/README.md`);

fs.writeFileSync(`build/packages/${p}/README.md`, r);

0 comments on commit e20860d

Please sign in to comment.