Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

farewell spm, hello ant-tool #1416

Open
soda-x opened this issue Jan 4, 2016 · 9 comments
Open

farewell spm, hello ant-tool #1416

soda-x opened this issue Jan 4, 2016 · 9 comments
Assignees

Comments

@soda-x
Copy link
Contributor

soda-x commented Jan 4, 2016

spm 维护到 3.9 之后便不再维护 . spm@3.9 是面向 npm 的最终形态

基于此大家可能需要做的:

spmjs.io 上的组件发布至 npm 上,并且修改 package.json 中的相关字段

具体是:

先要去判断下你在 spmjs.io上的组件是否在 npm 上有重名情况,如有重名,需要修改名字,并修复所有的依赖链。

修改 path/to/your/project/package.json

  pkg.dependencies <= pkg.spm.dependencies ;
  pkg.devDependencies <= pkg.spm.devDependencies;
  pkg.spm.build.global <= pkg.spm.build.global; //主要是命名问题
  pkg.spm.build.vendor <= pkg.spm.build.vendor;  //主要是命名问题
  pkg.main <= pkg.spm.main;

这个过程在我们内部已经自动化了, @jaredleechn 看看是不是能发一个社区版本

ant-tool 是我们新一代的工具体系. spm 迁移到 atool 构建层的文档已经准备完毕 http://ant-tool.github.io/spm-to-atool-build.html

@afc163
Copy link
Member

afc163 commented Jan 4, 2016

Good bye spm.

@jaredleechn
Copy link
Member

再见再见

@lichunqiang
Copy link

新的旅程

what's this?

@soda-x
Copy link
Contributor Author

soda-x commented Jan 11, 2016

@soda-x soda-x changed the title farewell farewell spm , hello ant-tool Jan 11, 2016
@soda-x soda-x changed the title farewell spm , hello ant-tool farewell spm, hello ant-tool Jan 11, 2016
@alvin2ye
Copy link

虽然早有预估, 但还一直抱有幻想

Good bye spm

感谢 @pigcan @afc163 @sorrycc

@soda-x soda-x assigned soda-x and unassigned sorrycc Jan 24, 2016
@soda-x
Copy link
Contributor Author

soda-x commented Jan 24, 2016

更新 spm 迁移到 atool 文档 spm 2 atool-build

@jaredleechn
Copy link
Member

👍

@nimoc
Copy link

nimoc commented Mar 9, 2016

那比如我一个组件的文档示例地址都链接到 http://docs.spmjs.io/paging/latest/ 的,有什么办法服务关闭后对应文档演示地址全部转向到所属github主页么?

@jaredleechn
Copy link
Member

@nimojs

使用 spm doc build 生成本地文档,然后发布到项目的 gh-pages 分支上

See Creating Project Pages manually

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants