Rearrange scripts

pull/3904/head
Kamran Ahmed 2 years ago
parent 6fcb153244
commit 0ba1a8a1d1
  1. 4
      .gitignore
  2. 5
      astro.config.mjs
  3. 13
      package.json
  4. 603
      pnpm-lock.yaml
  5. 0
      scripts/best-practice-content.cjs
  6. 0
      scripts/best-practice-dirs.cjs
  7. 0
      scripts/compress-jsons.cjs
  8. 0
      scripts/page-data-agg.cjs
  9. 0
      scripts/readme.md
  10. 0
      scripts/roadmap-content.cjs
  11. 0
      scripts/roadmap-dirs.cjs
  12. 0
      scripts/roadmap-links.cjs
  13. 0
      scripts/update-sponsors.cjs

4
.gitignore vendored

@ -5,7 +5,7 @@ dist/
# dependencies
node_modules/
bin/developer-roadmap
scripts/developer-roadmap
# logs
npm-debug.log*
@ -24,4 +24,4 @@ pnpm-debug.log*
/playwright-report/
/playwright/.cache/
tests-examples
*.csv
*.csv

@ -2,7 +2,6 @@
import preact from '@astrojs/preact';
import sitemap from '@astrojs/sitemap';
import tailwind from '@astrojs/tailwind';
import compress from 'astro-compress';
import { defineConfig } from 'astro/config';
import rehypeExternalLinks from 'rehype-external-links';
import { serializeSitemap, shouldIndexPage } from './sitemap.mjs';
@ -54,10 +53,6 @@ export default defineConfig({
filter: shouldIndexPage,
serialize: serializeSitemap,
}),
compress({
css: false,
js: false,
}),
preact(),
],
});

@ -11,13 +11,13 @@
"format": "prettier --write .",
"astro": "astro",
"deploy": "NODE_DEBUG=gh-pages gh-pages -d dist -t",
"compress:jsons": "node bin/compress-jsons.cjs",
"compress:jsons": "node scripts/compress-jsons.cjs",
"upgrade": "ncu -u",
"roadmap-links": "node bin/roadmap-links.cjs",
"roadmap-dirs": "node bin/roadmap-dirs.cjs",
"roadmap-content": "node bin/roadmap-content.cjs",
"best-practice-dirs": "node bin/best-practice-dirs.cjs",
"best-practice-content": "node bin/best-practice-content.cjs",
"roadmap-links": "node scripts/roadmap-links.cjs",
"roadmap-dirs": "node scripts/roadmap-dirs.cjs",
"roadmap-content": "node scripts/roadmap-content.cjs",
"best-practice-dirs": "node scripts/best-practice-dirs.cjs",
"best-practice-content": "node scripts/best-practice-content.cjs",
"test:e2e": "playwright test"
},
"dependencies": {
@ -27,7 +27,6 @@
"@fingerprintjs/fingerprintjs": "^3.4.1",
"@nanostores/preact": "^0.3.1",
"astro": "^2.2.3",
"astro-compress": "^1.1.35",
"jose": "^4.13.2",
"js-cookie": "^3.0.1",
"nanostores": "^0.7.4",

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save