Skip to content

Commit b3c23e5

Browse files
committedApr 7, 2024··
Update domain
1 parent e93c293 commit b3c23e5

File tree

4 files changed

+15
-16
lines changed

4 files changed

+15
-16
lines changed
 

‎.yarn/plugins/@yarnpkg/plugin-outdated.cjs

+6-6
Large diffs are not rendered by default.

‎.yarnrc.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ enableGlobalCache: false
55
nodeLinker: node-modules
66

77
plugins:
8-
- checksum: 53df621960dbcb9cc3953b45376e0d7e0fbcb870eec71ebb8ffa575c2e834349fdcfa255c46b8fa3fff2c65f26e55c7339c2cb57ee80f92d62c9e181bcb7792d
8+
- checksum: 5e73a1acbb9741fce1e8335e243c9480ea2107b9b4b65ed7643785ddea9e3019aee254a92a853b1cd71023b16fff5b7d3afd5256fe57cd35a54f8785b8c30281
99
path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
10-
spec: "https://mskelton.dev/yarn-outdated/v4"
10+
spec: "https://go.mskelton.dev/yarn-outdated/v4"
1111

1212
yarnPath: .yarn/releases/yarn-4.1.1.cjs

‎README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Ratchet
22

33
[![Test](https://github.com/mskelton/ratchet/workflows/Test/badge.svg?branch=main)](https://github.com/mskelton/ratchet/actions?query=workflow%3ATest)
4-
[![GitHub deployments](https://img.shields.io/github/deployments/mskelton/ratchet/production?label=Deploy)](https://prop-types.vercel.app)
4+
[![GitHub deployments](https://img.shields.io/github/deployments/mskelton/ratchet/production?label=Deploy)](https://ratchet.mskelton.dev)
55

66
Codemod to convert React PropTypes to TypeScript types.
77

@@ -30,19 +30,19 @@ Or run the following command with a file glob that matches the files you want to
3030
convert.
3131

3232
```bash
33-
npx jscodeshift -t https://mskelton.dev/ratchet.ts GLOB
33+
npx jscodeshift -t https://go.mskelton.dev/ratchet.ts GLOB
3434

3535
# Example
36-
npx jscodeshift -t https://mskelton.dev/ratchet.ts src/**/*.{js,jsx}
36+
npx jscodeshift -t https://go.mskelton.dev/ratchet.ts src/**/*.{js,jsx}
3737
```
3838

3939
## Try it Online!
4040

4141
Additionally, you can use Ratchet online at
42-
[mskelton.dev/ratchet](https://mskelton.dev/ratchet)! Simply paste your input on
42+
[ratchet.mskelton.dev](https://ratchet.mskelton.dev)! Simply paste your input on
4343
the left and instantly see the output on the right!
4444

45-
[![Screenshot](web/screenshot.png?v=1)](https://mskelton.dev/ratchet)
45+
[![Screenshot](web/screenshot.png?v=1)](https://ratchet.mskelton.dev)
4646

4747
## Example: Function Component
4848

‎web/webpack.config.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const resolve = (path) => fileURLToPath(new URL(path, import.meta.url))
77

88
const mode = process.env.NODE_ENV || "development"
99
const prod = mode === "production"
10-
const publicPath = mode === "development" ? "/" : "/ratchet"
1110

1211
/** @type {import('webpack').Configuration} */
1312
export default {
@@ -21,7 +20,7 @@ export default {
2120
port: 3000,
2221
static: {
2322
directory: resolve("./public/"),
24-
publicPath,
23+
publicPath: "/",
2524
},
2625
},
2726
devtool: prod ? false : "source-map",
@@ -66,7 +65,7 @@ export default {
6665
output: {
6766
filename: "[name].[contenthash].js",
6867
path: resolve("./public/"),
69-
publicPath,
68+
publicPath: "/",
7069
},
7170
plugins: [
7271
new HtmlWebpackPlugin({ template: "index.html" }),

0 commit comments

Comments
 (0)
Please sign in to comment.