Skip to content

Commit

Permalink
Pull alloy from npmjs
Browse files Browse the repository at this point in the history
  • Loading branch information
joheredi committed Sep 20, 2024
1 parent e37c6d1 commit 0ab6c50
Show file tree
Hide file tree
Showing 15 changed files with 84 additions and 90 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"picocolors": "~1.1.0",
"prettier": "~3.3.3",
"prettier-plugin-organize-imports": "~4.0.0",
"@alloy-js/prettier-plugin-alloy": "https://pkg.pr.new/alloy-framework/alloy/@alloy-js/prettier-plugin-alloy@5535a9c",
"@alloy-js/prettier-plugin-alloy": "0.1.0",
"rimraf": "~6.0.1",
"syncpack": "^13.0.0",
"tsx": "^4.19.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@alloy-js/core": "https://pkg.pr.new/alloy-framework/alloy/@alloy-js/core@5535a9c",
"@alloy-js/core": "0.1.0",
"@babel/code-frame": "~7.24.7",
"ajv": "~8.17.1",
"change-case": "~5.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/efnext-cli-sketch/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
sourceMaps: true,
presets: ["@babel/preset-typescript", "babel-preset-alloy"],
presets: ["@babel/preset-typescript", "@alloy-js/babel-preset"],
};
6 changes: 3 additions & 3 deletions packages/efnext-cli-sketch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@
"@vitest/ui": "^1.6.0",
"ajv": "~8.13.0",
"ajv-formats": "~3.0.1",
"babel-preset-alloy": "https://pkg.pr.new/alloy-framework/alloy/babel-preset-alloy@5535a9c",
"@alloy-js/babel-preset": "0.1.0",
"c8": "^9.1.0",
"concurrently": "^8.2.2",
"rimraf": "~5.0.9",
"typescript": "~5.4.5",
"vitest": "^1.6.0"
},
"dependencies": {
"@alloy-js/core": "https://pkg.pr.new/alloy-framework/alloy/@alloy-js/core@5535a9c",
"@alloy-js/typescript": "https://pkg.pr.new/alloy-framework/alloy/@alloy-js/typescript@5535a9c",
"@alloy-js/core": "0.1.0",
"@alloy-js/typescript": "0.1.0",
"@typespec/emitter-framework": "workspace:~",
"change-case": "~5.4.4",
"cli-table3": "^0.6.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/efnext-cli-sketch/vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
sourceMaps: "both",
babelHelpers: "bundled",
extensions: [".ts", ".tsx"],
presets: ["@babel/preset-typescript", "babel-preset-alloy"],
presets: ["@babel/preset-typescript", "@alloy-js/babel-preset"],
}),
],
});
2 changes: 1 addition & 1 deletion packages/emitter-framework/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
sourceMaps: true,
presets: ["@babel/preset-typescript", "babel-preset-alloy"],
presets: ["@babel/preset-typescript", "@alloy-js/babel-preset"],
};
6 changes: 3 additions & 3 deletions packages/emitter-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
"@typespec/http": "workspace:~"
},
"dependencies": {
"@alloy-js/core": "https://pkg.pr.new/alloy-framework/alloy/@alloy-js/core@5535a9c",
"@alloy-js/typescript": "https://pkg.pr.new/alloy-framework/alloy/@alloy-js/typescript@5535a9c"
"@alloy-js/core": "0.1.0",
"@alloy-js/typescript": "0.1.0"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.24.9",
"@rollup/plugin-babel": "^6.0.4",
"babel-preset-alloy": "https://pkg.pr.new/alloy-framework/alloy/babel-preset-alloy@5535a9c",
"@alloy-js/babel-preset": "0.1.0",
"concurrently": "^8.2.2",
"typescript": "^5.5.3",
"vitest": "^2.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/emitter-framework/vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
sourceMaps: "both",
babelHelpers: "bundled",
extensions: [".ts", ".tsx"],
presets: ["@babel/preset-typescript", "babel-preset-alloy"],
presets: ["@babel/preset-typescript", "@alloy-js/babel-preset"],
}),
],
});
2 changes: 1 addition & 1 deletion packages/emitter-sample/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
sourceMaps: true,
presets: ["@babel/preset-typescript", "babel-preset-alloy"],
presets: ["@babel/preset-typescript", "@alloy-js/babel-preset"],
};
6 changes: 3 additions & 3 deletions packages/emitter-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
},
"dependencies": {
"@typespec/emitter-framework": "workspace:*",
"@alloy-js/core": "https://pkg.pr.new/alloy-framework/alloy/@alloy-js/core@5535a9c",
"@alloy-js/typescript": "https://pkg.pr.new/alloy-framework/alloy/@alloy-js/typescript@5535a9c"
"@alloy-js/core": "0.1.0",
"@alloy-js/typescript": "0.1.0"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.24.9",
"@rollup/plugin-babel": "^6.0.4",
"babel-preset-alloy": "https://pkg.pr.new/alloy-framework/alloy/babel-preset-alloy@5535a9c",
"@alloy-js/babel-preset": "0.1.0",
"concurrently": "^8.2.2",
"typescript": "^5.5.3",
"vitest": "^2.0.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/emitter-sample/vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
sourceMaps: "both",
babelHelpers: "bundled",
extensions: [".ts", ".tsx"],
presets: ["@babel/preset-typescript", "babel-preset-alloy"],
presets: ["@babel/preset-typescript", "@alloy-js/babel-preset"],
}),
],
});
2 changes: 1 addition & 1 deletion packages/http-client-javascript/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
sourceMaps: true,
presets: ["@babel/preset-typescript", "babel-preset-alloy"],
presets: ["@babel/preset-typescript", "@alloy-js/babel-preset"],
};
6 changes: 3 additions & 3 deletions packages/http-client-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
"@typespec/openapi3": "workspace:*"
},
"dependencies": {
"@alloy-js/core": "https://pkg.pr.new/alloy-framework/alloy/@alloy-js/core@5535a9c",
"@alloy-js/typescript": "https://pkg.pr.new/alloy-framework/alloy/@alloy-js/typescript@5535a9c"
"@alloy-js/core": "0.1.0",
"@alloy-js/typescript": "0.1.0"
},
"devDependencies": {
"@azure-tools/cadl-ranch-expect": "0.15.4",
"@azure-tools/cadl-ranch-specs": "0.37.2",
"@babel/cli": "^7.24.8",
"@babel/core": "^7.24.9",
"@rollup/plugin-babel": "^6.0.4",
"babel-preset-alloy": "https://pkg.pr.new/alloy-framework/alloy/babel-preset-alloy@5535a9c",
"@alloy-js/babel-preset": "0.1.0",
"concurrently": "^8.2.2",
"ts-morph": "^23.0.0",
"typescript": "^5.5.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/http-client-javascript/vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
sourceMaps: "both",
babelHelpers: "bundled",
extensions: [".ts", ".tsx"],
presets: ["@babel/preset-typescript", "babel-preset-alloy"],
presets: ["@babel/preset-typescript", "@alloy-js/babel-preset"],
}),
],
});
Loading

0 comments on commit 0ab6c50

Please sign in to comment.