Skip to content

Commit

Permalink
chore: remove CDN
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Aug 27, 2024
1 parent ed4d1d7 commit dc9840d
Showing 14 changed files with 9 additions and 24,711 deletions.
14 changes: 7 additions & 7 deletions packages/webviews/flatjs-evolve.config.ts
Original file line number Diff line number Diff line change
@@ -6,17 +6,17 @@ import {
import { createLaunchEditorMiddleware } from '@flatjs/evolve-launch-editor';
const getHeadBeforeScripts = (serveMode: boolean) => {
return [
'https://file.40017.cn/tcsk/react/dayjs@1.11.11/dayjs.min.js',
'https://unpkg.com/dayjs@1.11.11/dayjs.min.js',
...(serveMode
? [
'https://file.40017.cn/tcsk/react/react@18.2.0/react.development.js',
'https://file.40017.cn/tcsk/react/react-dom@18.2.0/react-dom.development.js',
'https://file.40017.cn/tcsk/react/antd@5.17.0/antd.js',
'https://unpkg.com/react@18.2.0/umd/react.development.js',
'https://unpkg.com/react-dom@18.2.0/umd/react-dom.development.js',
'https://unpkg.com/antd@5.17.0/dist/antd.js',
]
: [
'https://file.40017.cn/tcsk/react/react@18.2.0/react.production.min.js',
'https://file.40017.cn/tcsk/react/react-dom@18.2.0/react-dom.production.min.js',
'https://file.40017.cn/tcsk/react/antd@5.17.0/antd.min.js',
'https://unpkg.com/react@18.2.0/umd/react.production.min.js',
'https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js',
'https://unpkg.com/antd@5.17.0/dist/antd.min.js',
]),
];
};
29 changes: 0 additions & 29 deletions packages/webviews/flatjs-plugin-ci.config.ts

This file was deleted.

5 changes: 2 additions & 3 deletions packages/webviews/package.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
],
"scripts": {
"clean": "rimraf --no-glob ./dist ./coverage ./tsconfig.tsbuildinfo",
"lint": "eslint . --cache --cache-location .cache/eslint/main.eslintcache",
"lint": "eslint .",
"test": "run-s test-unit",
"test-unit": "vitest run --passWithNoTests",
"test-unit-watch": "vitest watch --ui",
@@ -24,8 +24,7 @@
"ci:checkRequirements": "npx flat ci checkRequirements",
"build": "npx flat build evolve",
"serve": "npx flat serve evolve",
"parallel": "npx flat ci parallel --prefix abc",
"postinstall": "is-ci || yarn husky"
"prepare": "yarn husky"
},
"dependencies": {
"@dimjs/lang": "next",

This file was deleted.

Binary file not shown.
3 changes: 0 additions & 3 deletions packages/webviews/public/dashboard/bundle.css

This file was deleted.

Loading

0 comments on commit dc9840d

Please sign in to comment.